VirtualMachine
Properties
Timestamp of last modification
The server will populate this field when returing the resource. Ignored on PUT and POST.
Schema for this resource
List of external compute ids of the virtual machine in the format ‘id-type-key:value’ , list of external compute ids [‘uuid:xxxx-xxxx-xxxx-xxxx’, ‘moIdOnHost:moref-11’, ‘instanceUuid:xxxx-xxxx-xxxx-xxxx’]
Description of this resource
Defaults to ID if not set
Current external id of this virtual machine in the system.
Guest virtual machine details include OS name, computer name of guest VM. Currently this is supported for guests on ESXi that have VMware Tools installed.
Id of the host in which this virtual machine exists.
Id of the vm unique within the host.
Current power state of this virtual machine in the system.
Possible values are: VM_RUNNING, VM_STOPPED, VM_SUSPENDED, UNKNOWN
The type of this resource.
Reference of the Host or Public Cloud Gateway that reported the VM
Virtual Machine type; Edge, Service VM or other.
Possible values are: EDGE, SERVICE, REGULAR
JSON Example
{
"_last_sync_time": 0,
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"compute_ids": [
"string"
],
"description": "string",
"display_name": "string",
"external_id": "string",
"guest_info": {
"computer_name": "string",
"os_name": "string"
},
"host_id": "string",
"local_id_on_host": "string",
"power_state": "string",
"resource_type": "string",
"source": {
"is_valid": false,
"target_display_name": "string",
"target_id": "string",
"target_type": "string"
},
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"type": "string"
}