NamespaceManagementVirtualMachineClassesUpdateSpec

The VirtualMachineClasses.UpdateSpec structure contains the specification required to update a VM class object.


Properties

integer as int64
cpu_count Optional

The number of CPUs configured for virtual machine of this class. If unset the current value the will not be modified.


integer as int64
cpu_reservation Optional

The percentage of total available CPUs reserved for a virtual machine. We multiply this percentage by the minimum frequency amongst all the cluster nodes to get the CPU reservation that is specified to vSphere in MHz. If unset, no CPU reservation is requested for the virtual machine.


string
description Optional

Description for the VM class. If unset, description is not updated.


devices Optional

Virtual devices corresponding to the VM class. If unset, virtual devices will not be updated.


instance_storage Optional

Instance storage associated with the VM class. If unset, instance storage specification will not be updated.


integer as int64
memory_MB Optional

The amount of memory in MB configured for virtual machine of this class. If unset the current value the will not be modified.


integer as int64
memory_reservation Optional

The percentage of available memory reserved for a virtual machine of this class. Memory reservation must be set to 100% for VM class with vGPU or Dynamic DirectPath I/O devices. If unset, no memory reservation is requested for virtual machine.

JSON Example

{
	"cpu_count": 0,
	"cpu_reservation": 0,
	"description": "string",
	"devices": {
		"dynamic_direct_path_IO_devices": [
			{
				"custom_label": "string",
				"device_id": 0,
				"vendor_id": 0
			}
		],
		"vgpu_devices": [
			{
				"profile_name": "string"
			}
		]
	},
	"instance_storage": {
		"policy": "string",
		"volumes": [
			{
				"size": 0
			}
		]
	},
	"memory_MB": 0,
	"memory_reservation": 0
}

Feedback

Was this page helpful?