NamespaceManagement_VirtualMachineClasses_Info

NamespaceManagement_VirtualMachineClasses_Info
NamespaceManagement_VirtualMachineClasses_Info

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

JSON Example
{
    "id": "string",
    "cpu_count": 0,
    "cpu_reservation": 0,
    "memory_MB": 0,
    "memory_reservation": 0,
    "description": "string",
    "namespaces": [
        "string"
    ],
    "vms": [
        "string"
    ],
    "config_status": "string",
    "messages": [
        {
            "severity": "string",
            "details": {
                "id": "string",
                "default_message": "string",
                "args": [
                    "string"
                ],
                "params": {
                    "params": {
                        "s": "string",
                        "dt": "string",
                        "i": 0,
                        "d": "number",
                        "l": {
                            "id": "string",
                            "params": {
                                "params": "Std_LocalizationParam Object"
                            }
                        },
                        "format": "string",
                        "precision": 0
                    }
                },
                "localized": "string"
            }
        }
    ],
    "devices": {
        "vgpu_devices": [
            {
                "profile_name": "string"
            }
        ],
        "dynamic_direct_path_IO_devices": [
            {
                "vendor_id": 0,
                "device_id": 0,
                "custom_label": "string"
            }
        ]
    },
    "instance_storage": {
        "policy": "string",
        "volumes": [
            {
                "size": 0
            }
        ]
    }
}
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
cpu_count
Required

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

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.

integer As int64
memory_MB
Required

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

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.

string
description
Required

Description of the VM 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.

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.

config_status
Required

ConfigStatus represents the config status of the VM class.
READY : Indicates that the instance of the VirtualMachineClasses is ready to be used.
REMOVING : Indicates that the instance of the VirtualMachineClasses is being deleted. At this state the VM class cannot be associated with new Namespace.

messages
Required

Current set of messages associated with the object.

devices
Optional

The VirtualMachineClasses.VirtualDevices structure contains information about the virtual devices associated with a VM class.

instance_storage
Optional

The VirtualMachineClasses.InstanceStorage structure encapsulates information about storage policy and instance storage volumes.