[{"label":"Latest (v37.0)","version":"latest"},{"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

Description

Get specified Storage Policy.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/storagePolicies/{storagePolicyUrn}
Copy

Path Parameters

Path Parameters

string
storagePolicyUrn Required

storagePolicyUrn


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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 Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/storagePolicies/{storagePolicyUrn}


[{"label":"Latest (v37.0)","version":"latest"},{"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
Storage Policy Operations
Feedback

Was this page helpful?