VdcComputePolicy

VdcComputePolicy
VdcComputePolicy

Definition of VdcComputePolicy.

JSON Example
{
    "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
}
string
id
Optional

UUID for vDC compute policy. This is immutable.

string
description
Optional

description

string
name
Required

Display name.

integer As int64 As int64
cpuSpeed
Optional

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.

integer As int64 As int64
memory
Optional

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.

integer As int32 As int32
cpuCount
Optional

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.

integer As int32 As int32
coresPerSocket
Optional

The cores per socket to be configured for the VM where this policy is applied.

number As double As double
memoryReservationGuarantee
Optional

The factor of the configured memory reserved for the VM on which this policy is applied.

number As double As double
cpuReservationGuarantee
Optional

The factor of the configured CPU reserved for the VM on which this policy is applied.

integer As int64 As int64
cpuLimit
Optional

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.

integer As int64 As int64
memoryLimit
Optional

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.

integer As int32 As int32
cpuShares
Optional

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.

integer As int32 As int32
memoryShares
Optional

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.

object
extraConfigs
Optional

Map of extra configs to be set on the VM with this policy.

pvdcComputePolicyRef
Optional

pvdcComputePolicyRef

pvdcComputePolicy
Optional

pvdcComputePolicy

array of string
compatibleVdcTypes
Optional

A list of read-only compatible vDC types for this policy.

boolean
isSizingOnly
Optional

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.

string
pvdcId
Optional

URN for Provider VDC.

array
namedVmGroups
Optional

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.

logicalVmGroupReferences
Optional

List of logical vm group references. This value is set at creation time and cannot be edited later.

boolean
isAutoGenerated
Optional

This field cannot be updated and is a read-only field in the client. It defines if the policy is auto-generated.