NamespaceManagementVirtualMachineClassesCreateSpec
The VirtualMachineClasses.CreateSpec structure contains the specification required to create a VM class object.
Properties
The number of CPUs configured for virtual machine of this class.
Identifier of the virtual machine class. This has DNS_LABEL restrictions as specified in . This must be an alphanumeric (a-z and 0-9) string and with maximum length of 63 characters and with the ‘-’ character allowed anywhere except the first or last character. This name is unique in this vCenter server. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.
The amount of memory in MB configured for virtual machine of this class.
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.
Description for the VM class. If unset, no description is added to the VM class.
Virtual devices that will be attached to the VMs created with this class. If unset, no Virtual device will be attached to the VMs created with this class.
Instance storage that will be attached to the VMs created with this class. If unset, instance storage specification will not be created.
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,
"id": "string",
"memory_MB": 0
}