VMware Cloud Director API - VMWHostReferences

VMware Cloud Director API - VMWHostReferences

VMWHostReferencesType

Element:
VMWHostReferences
Type:
VMWHostReferencesType
Namespace:
http://www.vmware.com/vcloud/extension/v1.5
Description:
Represents a list of available hosts.
Since:
1.0
Schema:
vmwextensions.xsd
Media type(s):
application/vnd.vmware.admin.vmwHostReferences+json
application/vnd.vmware.admin.vmwHostReferences+xml
Extends:
ResourceType
XML Representation:
<VMWHostReferences xmlns="http://www.vmware.com/vcloud/extension/v1.5" xmlns:vcloud_v1.5="http://www.vmware.com/vcloud/v1.5" href="xs:anyURI" type="xs:string">
    <vcloud_v1.5:Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
            rel="xs:string" model="xs:string"/>
    <vcloud_v1.5:HostReference href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
</VMWHostReferences>

Attributes

Attribute Type Required Modifiable Since Deprecated Description
href anyURI No always 1.0 The URI of the entity.
type string No always 1.0 The MIME type of the entity.

Elements

Element Type Required Modifiable Since Deprecated Description
HostReference ReferenceType No none 1.0 Reference to a host.
Link LinkType No none 1.0 A reference to an entity or operation associated with this object.
VCloudExtension VCloudExtensionType No always 1.0 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.

Operations

CRUD Operation Description Since Deprecated
read GET /admin/extension/hostReferences Retrieve a list of references to ESX/ESXi hosts attached to the system. 1.0
read GET /admin/extension/vimServer/{id}/hostReferences Retrieve the list of ESX/ESXi hosts in the cloud. 1.5