List Storage Policies
API code: LIST_STORAGE_POLICIES
Pre-authorized role(s): TENANT_ADMIN
| PROVIDER_ADMIN
Platform(s): CLOUDIAN
The region of a resource.
Indicating whether to show the buckets which are using the storage policy.
The start index of items to return for the current page.
The max count of items to return for the current page.
The sort spec of the collection. The value is of pattern 'property ASC|DESC'. Only single property order is supported.
Examples:
- lastModifiedDate DESC
- name ASC
The RSQL expression to filter page results based on property comparison.
The logical operations include:
- Logical AND ';' or 'and'
- Logical OR ',' or 'or'
- Equal to '=='
- Not equal to '!='
- Less than '=lt=' or '<'
- Less than or equal to '=le=' or '<='
- Greater than operator '=gt=' or '>'
- Greater than or equal to '=ge=' or '>='
- In '=in='
- Not in '=out='
- (..)
- (..);(..)
- (..),(..)
/api/v1/types/bucket
. Date property value format must be ISO8601 compliant, e.g.
yyyy-MM-ddTHH:mm:ss.SSSZ
. When a timezone offset is presented with a plus (+) separator, the plus character must be encoded as %2D
.Examples:
- lastModifiedDate<2018-10-14T02:36:08.262%2D0000
- foo1=="value1" and foo2>value2
- foo1=in=(value1,value2);foo2=out=(value3,value4,value5),foo3==value6*value7
OK
{
"items": [
{
"id": "string",
"name": "string",
"description": "string",
"replicationScheme": {
"replicationScheme": 0
},
"ecScheme": {
"dataCenters": [
"string"
],
"k": 0,
"m": 0,
"replicated": false
},
"usage": {
"tenants": 0,
"buckets": 0
},
"visibleTenants": [
{
"id": "string",
"name": "string",
"storageTenantId": "string",
"siteId": "string",
"isRemote": false
}
],
"regionDefault": false,
"status": "string",
"region": "string"
}
],
"pageInfo": {
"offset": 0,
"limit": 0,
"total": 0
}
}