VMware Cloud Director API - HostObjectRefType

VMware Cloud Director API - HostObjectRefType

HostObjectRefType

Type:
HostObjectRefType
Namespace:
http://www.vmware.com/vcloud/extension/v1.5
Description:
A reference to a host in vCenter inventory.
Since:
5.1
Schema:
vmwextensions.xsd
Media type(s):
None
Extends:
VimObjectRefType (extension/v1.5)
XML Representation:
<HostObjectRefType xmlns="http://www.vmware.com/vcloud/extension/v1.5" xmlns:vcloud_v1.5="http://www.vmware.com/vcloud/v1.5">
    <vcloud_v1.5:VimServerRef href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
    <MoRef> xs:string </MoRef>
    <VimObjectType> xs:string </VimObjectType>
    <Username> xs:string </Username>
    <Password> xs:string </Password>
</HostObjectRefType>

Elements

Element Type Required Modifiable Since Deprecated Description
MoRef string Yes none 5.1 Managed object reference of the object.
Password string Yes always 5.1 Password of the ESX/ESXi host Administrator, in cleartext.
Username string Yes always 5.1 Username of the ESX/ESXi host Administrator.
VimObjectType string Yes none 5.1 The vSphere type of the object. One of: CLUSTER_COMPUTE_RESOURCE (The object is a vSphere cluster compute resource.), RESOURCE_POOL (The object is a vSphere resource pool.), DATASTORE (The object is a vSphere datastore.), HOST (The object is an ESX/ESXi host.), VIRTUAL_MACHINE (The object is a vSphere VM.), VIRTUAL_APP (The object is a vSphere vApp.), NETWORK (The object is a vSphere network.), DV_PORTGROUP (The object is a vSphere distributed virtual portgroup.), DV_SWITCH (The object is a vSphere distributed virtual switch.), DATASTORE_CLUSTER (The object is a vSphere storage pod.)
VimServerRef ReferenceType Yes none 5.1 The vCenter server reference.