[{"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

Description

Get specified Provider VDC storage policy.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/pvdcStoragePolicies/{pvdcStoragePolicyUrn}
Copy

Path Parameters

Path Parameters

string
pvdcStoragePolicyUrn Required

pvdcStoragePolicyUrn


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

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


providerVdcRef Optional

The PVDC that this policy belongs to.


integer as int64
totalCapacityMb Optional

Total capacity in MB for this storage policy


vcRef Optional

The VC that this policy belongs to.

No error details were provided in the OpenAPI specification.

Code Samples

Code 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
Feedback

Was this page helpful?