vcenter VM: summary

The summary structure contains commonly used information about a virtual machine.

Representation:

{
    "memory_size_MiB"1,
    "vm""obj-103",
    "name""string",
    "power_state""POWERED_OFF",
    "cpu_count"1
}

Attributes:

Name Type Description
Required
vm string Identifier of the virtual machine.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: VirtualMachine. When operations return a value of this structure as a result, the field will be an identifier for the resource type: VirtualMachine.

name string Name of the Virtual machine.

power_state string Power state of the virtual machine.

Defines the valid power states for a virtual machine. Value is one of:
POWERED_OFF: The virtual machine is powered off.
POWERED_ON: The virtual machine is powered on.
SUSPENDED: The virtual machine is suspended.

Optional
cpu_count long Number of CPU cores.

Optional. This field will be unset if the virtual machine configuration is not available. For example, the configuration information would be unavailable if the server is unable to access the virtual machine files on disk, and is often also unavailable during the intial phases of virtual machine creation.

memory_size_MiB long Memory size in mebibytes.

Optional. This field will be unset if the virtual machine configuration is not available. For example, the configuration information would be unavailable if the server is unable to access the virtual machine files on disk, and is often also unavailable during the intial phases of virtual machine creation.