NamespaceManagementVirtualMachineClassesInfo

The VirtualMachineClasses.Info structure contains detailed information about the virtual machine class.


Properties

config_status Required

ConfigStatus represents the config status of the VM class.
READY :
REMOVING :

Possible values are: READYREMOVING


integer as int64
cpu_count Required

The number of CPUs configured for virtual machine of this class.


messages Required

Current set of messages associated with the object.


string
description Required

Description of the VM class.


array of string
vms Required

Set of virtual machines deployed for VM class. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: VirtualMachine. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: VirtualMachine.


string
id Required

Identifier for the VM class. 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.


integer as int64
memory_MB Required

The amount of memory in MB configured for virtual machine of this class.


array of string
namespaces Required

Set of Namespaces associated with this VM class. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.vcenter.namespaces.Instance. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.vcenter.namespaces.Instance.


integer as int64
memory_reservation Optional

The percentage of available memory reserved for a virtual machine of this class. If unset, no memory reservation is requested for virtual machine.


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.


devices Optional

Virtual devices corresponding to the VM class. This field is optional because it was added in a newer version than its parent node.

JSON Example

{
	"config_status": "READY",
	"cpu_count": 0,
	"description": "string",
	"id": "string",
	"memory_MB": 0,
	"messages": [
		{
			"severity": "INFO"
		}
	],
	"namespaces": [
		"string"
	],
	"vms": [
		"string"
	]
}

Feedback

Was this page helpful?