[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
vsphere-replication-api

VirtualMachine

Information about a virtual machine


Properties

string
connection_state Optional

The state of the VM connection.

Possible values are: CONNECTEDDISCONNECTEDORPHANEDINACCESSIBLEINVALID


array of VmDisk
disks Optional

Information about the VM disks.


string
id Optional

The unique identifier of the VM.


managed_by_info Optional

string
name Optional

The name of the VM.


string
power_state Optional

The VM power state.

Possible values are: POWERED_OFFPOWERED_ONSUSPENDED


boolean
template Optional

boolean
vr_privilege_granted Optional

Indicate whether the current user has the VirtualMachine.Hbr.ConfigureReplication privilege.

JSON Example

{
	"connection_state": "CONNECTED",
	"disks": [
		{
			"capacity": 0,
			"controller_key": 0,
			"controller_label": "string",
			"device_key": 0,
			"encrypted": false,
			"is_vm_home": false,
			"label": "string",
			"source_disk_format": "SAME_AS_SOURCE",
			"source_path": {
				"datastore_id": "Datastore:datastore-16:ff4a23e7-2fed-4be0-be39-479ae372badd",
				"datastore_name": "local-datastore",
				"filename": "vmDisk1.vmdk",
				"path": "/path/to/folder"
			},
			"source_storage_policy_id": "dsbrowser.defaultStoragePolicy",
			"source_storage_policy_name": "string",
			"supported_for_replication": false,
			"vm_id": "VirtualMachine:vm-80:e594ad24-5f75-41e3-a276-88a2116dbed0"
		}
	],
	"id": "string",
	"managed_by_info": {
		"extension_key": "string",
		"type": "string"
	},
	"name": "string",
	"power_state": "POWERED_OFF",
	"template": false,
	"vr_privilege_granted": false
}
[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
vsphere-replication-api
Property Of

VirtualMachineDrResponseList
Used By

VirtualMachineDrResponseEntity

Feedback

Was this page helpful?