Get Pvdc Storage Policy

Get Pvdc Storage Policy

Get specified Provider VDC storage policy.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/pvdcStoragePolicies/{pvdcStoragePolicyUrn}
COPY
Path Parameters
string
pvdcStoragePolicyUrn
Required

pvdcStoragePolicyUrn


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns PvdcStoragePolicy of type(s) application/json;version=39.1
{
    "id": "string",
    "name": "string",
    "storagePolicyMoref": "string",
    "isEnabled": false,
    "providerVdcRef": {
        "name": "string",
        "id": "string"
    },
    "vcRef": {
        "name": "string",
        "id": "string"
    },
    "totalCapacityMb": 0
}
string
id
Optional

Unique VCD Id for the policy.

string
name
Required
Constraints: minLength: 1 maxLength: 128

Unique name for the policy.

string
storagePolicyMoref
Required

Unique Id in Virtual Center of the policy.

boolean
isEnabled
Optional
Constraints: default: true

Enabled state of the policy, defaults to true.

object
providerVdcRef
Optional

Entity reference used to describe VCD entities

object
vcRef
Optional

Entity reference used to describe VCD entities

integer As int64 As int64
totalCapacityMb
Optional

Total capacity in MB for this storage policy


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/pvdcStoragePolicies/{pvdcStoragePolicyUrn}