[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"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 Storage Policy
DescriptionGet specified Storage Policy.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/storagePolicies/{storagePolicyUrn}
Path Parameters
Path Parameters
string
storagePolicyUrn
Required
storagePolicyUrn
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
StoragePolicy
of type(s) application/json;version=36.3
{
"id": "string",
"name": "string"
}
string
id
Optional
Unique VCD Id for the Storage Policy.
string
name
Optional
Name for the Storage Policy.
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl https://{api_host}/cloudapi/1.0.0/storagePolicies/{storagePolicyUrn}
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"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 36.0