[{"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
Connection state
Possible values are: CONNECTED , DISCONNECTED , ORPHANED , INACCESSIBLE , INVALID
string
id
Optional
Unique identifier of the VM
string
name
Optional
string
power_state
Optional
Power state of the VM
Possible values are: POWERED_OFF , POWERED_ON , SUSPENDED
boolean
template
Optional
boolean
vr_privilege_granted
Optional
A flag to 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