Clusters_VirtualMachines_Info

Clusters_VirtualMachines_Info
Clusters_VirtualMachines_Info

The VirtualMachines.Info structure contains fields that provide information regarding a virtual machine.

JSON Example
{
    "name": "string",
    "local_protection_enabled": false,
    "protection_groups": [
        "string"
    ],
    "last_snapshot_time": "string",
    "oldest_snapshot_time": "string",
    "snapshot_count": 0,
    "in_cluster": false
}
string
name
Required

Name of the virtual machine.

boolean
local_protection_enabled
Required

Whether or not local protection is enabled. Local protection is considered to be enabled when the virtual machine belongs to at least one active protection group.

array of string
protection_groups
Required

List of protection groups that this virtual machine belongs to. Empty list when the virtual machine is not part of any protection group. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.snapservice.protection_group. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.snapservice.protection_group.

string As date-time
last_snapshot_time
Optional

Time of the last snapshot for the virtual machine. unset if there are no snapshots taken for the virtual machine.

string As date-time
oldest_snapshot_time
Optional

Time of the oldest snapshot for the virtual machine. unset if there are no snapshots taken for the virtual machine.

integer As int64
snapshot_count
Required

Number of snapshots available for the virtual machine.

boolean
in_cluster
Required

Indicates whether or not the virtual mahcine is currently part of the cluster. This can be set to false when there is atleast one snapshot for the virtual machine on the target cluster, but the virtual machine is not part of the cluster.