As a vSphere administrator, you can create or edit virtual machine (VM) classes that VMs in a vSphere Namespace use. For each VM class, you specify a subset of available attributes.
The following table lists all attributes that you can define within a VM class.
|VM Class Attribute||Description|
|Name||Identifies the VM class. Enter a unique DNS compliant name that follows these requirements:
|vCPU Count||Defines the number of virtual CPUs (vCPUs) for a VM. This is a VM hardware configuration. When a DevOps user assigns the VM class to a VM, this count becomes the configured number of vCPUs for the VM.|
|CPU Resource Reservation||Optional parameter. Specifies the guaranteed minimum CPU resource allocation for a virtual machine. This value is expressed in percentage (%). Value of 0 % defines no CPU reservation.
The percentage you enter is multiplied by the minimum CPU available among all the cluster nodes. The resulting value, in MHz, specifies the amount of CPU resources that vSphere guarantees for a VM.
|Memory||Defines the memory configured for a VM in MB, GB, or TB. This is a VM hardware configuration. When a DevOps user assigns the VM class policy to a VM, the VM receives the amount of memory defined by this attribute.
The value must be between 4 MB and 24 TB and a multiple of 4 MB.
|Memory Resource Reservation||Optional parameter. Defines the reserved amount of memory that is configured for a VM. The value of the attribute ranges between 0 and 100%.
If you add PCI devices to the VM class configuration, set the parameter to 100%.