[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

InlineVirtualMachine1

Properties

array of string
compute_ids Required

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’]


string
external_id Required

Current external id of this virtual machine in the system.


string
local_id_on_host Required

Id of the vm unique within the host.


string
power_state Required

Current power state of this virtual machine in the system.

Possible values are: VM_RUNNINGVM_STOPPEDVM_SUSPENDEDUNKNOWN


guest_info Optional

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.


string
host_id Optional

Id of the host in which this virtual machine exists.


source Optional

Reference of the Host or Public Cloud Gateway that reported the VM


string
type Optional

Virtual Machine type; Edge, Service VM or other.

Possible values are: EDGESERVICEREGULAR

JSON Example

{
	"compute_ids": [
		"string"
	],
	"external_id": "string",
	"local_id_on_host": "string",
	"power_state": "VM_RUNNING"
}

Vendor Extensions

This class contains the following vendor extensions defined in the spec:
x-vmw-nsx-module: Inventory
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Used By

VirtualMachine

Feedback

Was this page helpful?