Update Vdc Max Compute Policy
Updates Max Compute Policy of the vDC. Returns 400 if policy type is not VdcVmPolicy.
orgVdcId
Show optional properties
{
"policyType": "VdcKubernetesPolicy",
"name": "myPolicy"
}
{
"id": "string",
"description": "string",
"policyType": "string",
"name": "string",
"pvdcComputePolicy": {
"name": "string",
"id": "string"
},
"compatibleVdcTypes": [
"string"
],
"isSizingOnly": false,
"hasSizingInfo": false,
"pvdcId": "string",
"org": {
"name": "string",
"id": "string"
},
"isAutoGenerated": false
}
OK
"VdcComputePolicy2 Object"
UUID for vDC compute policy. This is immutable.
description
The discriminator type is used to differentiate among various sub policy types.
Display name.
Entity reference used to describe VCD entities
A list of read-only compatible vDC types for this policy.
This field cannot be updated and is a read-only field in the client after creation. It defines whether the policy is SIZING_ONLY or if it also contains affinity information.
This field cannot be updated and is a read-only field in the client after creation. It defines whether the policy has sizing details.
URN for Provider vDC.
Entity reference used to describe VCD entities
It is a read-only field. It indicates whether the policy is auto-generated.
Invalid configuration.
"Error Object"
minorErrorCode
message
stackTrace
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","policyType:"string"}' https://{api_host}/cloudapi/2.0.0/vdcs/{orgVdcId}/maxComputePolicy