Get Storage Policy

Get Storage Policy

API code: GET_STORAGE_POLICY
Pre-authorized role(s): TENANT_ADMIN | PROVIDER_ADMIN
Platform(s): CLOUDIAN

Request
URI
GET
https://apaas-29.eng.vmware.com//api/v1/core/storage-policies/{storagePolicyId}
COPY
Path Parameters
string
storagePolicyId
Required

The ID of storage policy.

Query Parameters
boolean
include-usage
Optional

Indicating whether to show the buckets which are using the storage policy.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns StoragePolicy of type(s) application/json
{
    "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"
}
string
id
Optional

id

string
name
Optional

name

string
description
Optional

description

object
replicationScheme
Optional

replicationScheme

ecScheme
Optional

ecScheme

usage
Optional

usage

visibleTenants
Optional

visibleTenants

boolean
regionDefault
Optional

regionDefault

string
status
Optional

status

Possible values are : ACTIVE, PENDING, INACTIVE, FAILED, DELETED,
string
region
Optional

region