Skip to content

Service - HostOrCluster

Java Class

com.omnissa.vdi.vlsi.binding.vdi.utils.virtualcenter.HostOrCluster

See also

DatacenterId, HostOrClusterTreeNode

Since

Horizon View 6.0

Service Description

The HostOrCluster service.

Methods

Methods defined in this Service: HostOrCluster_GetHostOrClusterTree

Gets the HostOrClusterTree from VC for use in selecting the host or cluster for full or linked clone desktop creation. The returned root folder of the tree represents the top level datacenter which may contain hosts, clusters, or further nested containers. Requires at least one of the listed privileges.

The datacenter id may be obtained from the Desktop's BaseImageVm, BaseImageSnapshot, or VmTemplate.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW privilege is required to get the HostOrClusterTree root.
VC_CONFIG_VIEW privilege is required to get the HostOrClusterTree root.

Parameters

Name Type Description
_this ManagedObjectReference A reference to the HostOrCluster used to make the method call.
datacenter DatacenterId datacenter id at the root of the tree

Return Value

Type Description
HostOrClusterTreeNode folder tree root node representing the datacenter that stores the VM template

Faults

Type Description
EntityNotFound Thrown if any specified entity cannot be found.
InsufficientPermission Thrown if the user does not have sufficient permission to perform the operation.
InvalidArgument Thrown if any specified argument is invalid.
InvalidType Thrown if the type of any specified argument is invalid.
UnexpectedFault Thrown if an unexpected error occurs while performing the operation.

Show WSDL type definition