VdcComputePolicy
Definition of VdcComputePolicy.
{
"id": "string",
"description": "string",
"name": "string",
"cpuSpeed": 0,
"memory": 0,
"cpuCount": 0,
"coresPerSocket": 0,
"memoryReservationGuarantee": "number",
"cpuReservationGuarantee": "number",
"cpuLimit": 0,
"memoryLimit": 0,
"cpuShares": 0,
"memoryShares": 0,
"pvdcComputePolicyRef": {
"name": "string",
"id": "string"
},
"pvdcComputePolicy": {
"name": "string",
"id": "string"
},
"compatibleVdcTypes": [
"string"
],
"isSizingOnly": false,
"pvdcId": "string",
"namedVmGroups": [
[
{
"name": "string",
"id": "string"
}
]
],
"logicalVmGroupReferences": [
{
"name": "string",
"id": "string"
}
],
"isAutoGenerated": false
}
UUID for vDC compute policy. This is immutable.
description
Display name.
The CPU speed in MHz of this VM. This is optional. When provided, VMs with this policy cannot have more than CPU speed defined by this field.
The maximum memory in MB allowed for a VM. This is optional. When provided, VMs with this policy cannot have configured memory more than defined by this field.
The maximum number of CPUs allowed for a VM. This is optional. When provided, VMs with this policy cannot have more than number of CPUs defined by this field.
The cores per socket to be configured for the VM where this policy is applied.
The factor of the configured memory reserved for the VM on which this policy is applied.
The factor of the configured CPU reserved for the VM on which this policy is applied.
The limit of CPU in MHz for the VM on which this policy is applied. -1 means unlimited. This is optional. If not provided, limit would be equal to the vCPUSpeed multiplied by numCPU.
The limit of memory in MB for the VM on which this policy is applied. -1 means unlimited. This is optional. If not provided, limit would be equal to the configured memory of the VM.
The number of CPU shares for the VM on which this policy is applied. This is optional. If not provided, Normal shares would be applied to the VM.
The number of memory shares for the VM on which this policy is applied. This is optional. If not provided, Normal shares would be applied to the VM.
Map of extra configs to be set on the VM with this policy.
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.
URN for Provider VDC.
List of list of vmGroups grouped together in a meaningful manner. A group of vmGroups would consist of one functionally equal vmGroup picked from each cluster of the pvdc.
List of logical vm group references. This value is set at creation time and cannot be edited later.
This field cannot be updated and is a read-only field in the client. It defines if the policy is auto-generated.