Get ESXi Host Info

Collects the data for all ESXi hosts in Inventory. The returned identifier parameter for the necessary ESXi host is required to deploy a transporter as a VMware vSphere appliance.

Endpoint

https://<Director_IP_address>:4443/c/router

Tenant Endpoint

For tenants of the multi-tenant product the endpoint must be:
https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router

Request Example

Request Fields

Field

Type

Value(s)

action

string

InventoryManagement

method

string

list

data

array

Inventory search parameters

type

string

rpc

tid

integer

1

Response Sample

Response Fields

Field

Value

Description

message

string

Message if the request failed

where

string

Reference to the method where a problem occurred

cause

string

Cause of failure

data.children

array

See parameters below

data.totalCount

integer

Total number of located ESXi hosts in inventory

data.children

Field

Value

Description

version

string

Platform version

apiVersion

string

API version

hwVersion

string

Highest supported virtual hardware version

free

boolean

true if the ESXi host is free

standalone

boolean

true if the object is a standalone one

managed

boolean

true if the host is managed by the vCenter

powerState

string

Power state of the object

memorySize

long

host specific. Memory size

lid

string

Item identifier for licensing purposes

sc

int

Socket count

morId

string

Managed object reference ID

tc

integer


proxyTransporterNodeInfo


Proxy transporter node information, if applicable

extendedInfo


Extended info (if applicable)

identifier

long

Host ID

vid

string

Object VID

type

string

Object type

subType

string

Object subtype, if applicable

name

string

Display name

description

string

Object description

accessible

boolean

true if the object is accessible

isDisabled

boolean

true if the object is disabled

replicable

boolean

true if the object can be replicated

hvType

string

Platform type

flags

int

0th bit checks if the host is free

1st bit checks if the host is managed by vCenter

subName

string

Sub-name, if applicable

children

array

ESXi host’s child objects, if applicable