[{"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 Pvdc Compute Policy
DescriptionGet specified provider vDC compute policy
Request
URLURL
https://{api_host}/cloudapi/2.0.0/pvdcComputePolicies/{pvdcComputePolicyId}
Path Parameters
Path Parameters
string
pvdcComputePolicyId
Required
ID of provider vDC Compute Policy
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK returns
PvdcComputePolicy2
of type(s) application/json;version=36.3
{
"description": "string",
"id": "string",
"name": "string",
"policyType": "string",
"pvdcId": "string"
}
string
name
Required
Display name.
string
policyType
Required
The discriminator type is used to differentiate among various sub policy types.
string
description
Optional
string
id
Optional
UUID for pVDC compute policy. This is immutable.
string
pvdcId
Optional
URN for Provider vDC. If not provided, then this policy is considered Global.
Errors
404
Not Found
Code Samples
cURL Command
curl https://{api_host}/cloudapi/2.0.0/pvdcComputePolicies/{pvdcComputePolicyId}
[{"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 35.0