[{"label":"Latest (v37.1)","version":"latest"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Get Pvdc Storage Policy
DescriptionGet specified Provider VDC storage policy.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/pvdcStoragePolicies/{pvdcStoragePolicyUrn}
Path Parameters
Path Parameters
string
pvdcStoragePolicyUrn
Required
pvdcStoragePolicyUrn
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
PvdcStoragePolicy
of type(s) application/json;version=37.1
{
"id": "string",
"isEnabled": false,
"name": "string",
"providerVdcRef": {
"id": "string",
"name": "string"
},
"storagePolicyMoref": "string",
"totalCapacityMb": 0,
"vcRef": {
"id": "string",
"name": "string"
}
}
string
name
Required
Unique name for the policy.
string
storagePolicyMoref
Required
Unique Id in Virtual Center of the policy.
string
id
Optional
Unique VCD Id for the policy.
boolean
isEnabled
Optional
Enabled state of the policy, defaults to true.
integer as int64
totalCapacityMb
Optional
Total capacity in MB for this storage policy
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl https://{api_host}/cloudapi/1.0.0/pvdcStoragePolicies/{pvdcStoragePolicyUrn}
[{"label":"Latest (v37.1)","version":"latest"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 35.2