[{"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 Org VDC Storage Policy

Description

Get specified Org VDC storage policy.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/orgVdcStoragePolicies/{orgVdcStoragePolicyUrn}
Copy

Path Parameters

Path Parameters

string
orgVdcStoragePolicyUrn Required

orgVdcStoragePolicyUrn


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns OrgVdcStoragePolicy of type(s) application/json;version=36.3
{
	"id": "string",
	"isDefaultStoragePolicy": false,
	"isEnabled": false,
	"name": "string",
	"orgVdcRef": {
		"id": "string",
		"name": "string"
	},
	"pvdcStoragePolicyRef": {
		"id": "string",
		"name": "string"
	},
	"storageLimitMb": 0
}
string
name Required

Unique name for the policy.


string
id Optional

Unique VCD Id for the policy.


boolean
isDefaultStoragePolicy Optional

Storage policy is marked as default, defaults to false.


boolean
isEnabled Optional

Enabled state of the policy, defaults to true.


orgVdcRef Optional

The Org VDC that this policy belongs to.


pvdcStoragePolicyRef Optional

The parent PVDC storage policy for this Organization VDC storage policy.


integer as int64
storageLimitMb Optional

Storage limit for the policy.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/orgVdcStoragePolicies/{orgVdcStoragePolicyUrn}


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

Was this page helpful?