Name: VirtualMachineHostResource

Represents a host resource node, like resource pool, compute resource, cluster compute resource, and host. Not all attributes are returned for all host resource types.

Data Structure
{
   "typeId": "com.tintri.api.rest.v310.dto.domain.beans.vm.VirtualMachineHostResource",
   "datastoreName": <String>,
   "displayName": <String>,
   "folderId": <String>,
   "hostname": <String>,
   "id": <String>,
   "isOfTemplate": <Boolean>,
   "isPreferred": <Boolean>,
   "isStandalone": <Boolean>,
   "path": <String>,
   "type": 'DATACENTER' | 'TEMPLATE' | 'VIRTUAL_APP' | 'DATASTORE' | 'RESOURCE_POOL' | 'COMPUTE_RESOURCE' | 'CLUSTER_COMPUTE_RESOURCE' | 'VIRTUAL_MACHINE' | 'FOLDER' | 'CLUSTER' | 'HOST' | 'OTHER',
}

Attributes
NameTypeDescription
datastoreNamexsd:stringDatastore name that the virtual machine belongs to.
displayNamexsd:stringThe name of the virtual machine host resource. For VMware and RHEV, the virtual machine's host name, for example esx2345.5tintri.com. For Hyper-V hypervisors, the share name and host is returned, for example \\vmstore.ads.tintri.com\hyperv:ads-host.tintri.com.
folderIdxsd:stringFolder managed object reference that the virtual machine belongs to.
hostnamexsd:stringThe hypervisor host name for example "qa-vcenter1.tintri.com".
idxsd:stringHypervisor host resource UUID for VMware and RHEV, for example domain-s5678.. For Hyper-V hypervisors, the share name and host is returned for example \\vmstore.ads.tintri.com\foobar:ads-host.tintri.com.
isOfTemplatexsd:boolean'True' indicates this virtual machine host resource is a template, 'false' indicates is is not a template.
isPreferredxsd:booleanSet to 'true' if this virtual machine host resource is the preferred resource for cloning, otherwise set to 'false'.
isStandalonexsd:boolean'True' indicates that the host is stand alone. 'False' indicates that the host belongs to a cluster.
pathxsd:stringThe hypervisor specific path to locate this virtual machine host resource in the external hypervisor manager.
typeDATACENTER | TEMPLATE | VIRTUAL_APP | DATASTORE | RESOURCE_POOL | COMPUTE_RESOURCE | CLUSTER_COMPUTE_RESOURCE | VIRTUAL_MACHINE | FOLDER | CLUSTER | HOST | OTHERThe virtual machine host resource type.
DATACENTERA hypervisor host and virtual machine management server.
TEMPLATEA perfect model copy of a virtual machine that be cloned to create more virtual machines.
VIRTUAL_APPOne or more appliacations that run on one or more virtual machines.
DATASTOREStorage area for the hypervisor to hold virtual machine.
RESOURCE_POOLA division of computing resources used to manage allocations between virtual machines.
COMPUTE_RESOURCERepresents a host.
CLUSTER_COMPUTE_RESOURCERepresents a cluster of compute resources.
VIRTUAL_MACHINEA software computer that runs on a host.
FOLDERA container for storing objects.
CLUSTERA virtual server group which enables high-availability solutions
HOSTA server that provides computing resources and virtualization software to run virtual machines.
OTHERHypervisor Resource is unknown.