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:
  • Use a unique name that does not duplicate the names of default or custom VM classes in your environment.
  • Use alphanumeric string with maximum length of 63 characters.
  • Do not use uppercase letters or spaces.
  • Use a dash anywhere except as a first or last character. For example, vm-class1.
After you create the VM class, you cannot change its name.
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%.