Service - ResourcePool

Class
VMware.Hv.ResourcePool
See also
HostOrClusterId, ResourcePoolInfo
Since
Horizon View 6.0


Service Description

The service for fetching ResourcePools from VirtualCenter.

Methods

Methods defined in this Service
ResourcePool_GetResourcePoolTree

ResourcePool_GetResourcePoolTree

Gets the given host or cluster's resource pool tree from VC. Nodes of this tree may be suitable for use in desktop creation. Requires at least one of the listed privileges.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW privilege is required to get the ResourcePoolInfo.
VC_CONFIG_VIEW privilege is required to get the ResourcePoolInfo.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ResourcePool used to make the method call.
hostOrClusterHostOrClusterId

The host or cluster from which to get the resource pool tree

Return Value

Type Description
ResourcePoolInfoResourcePoolInfo the root resource pool of the tree

Faults

Type Description
EntityNotFoundThrown if any specified entity cannot be found.
InsufficientPermissionThrown if the user does not have sufficient permission to perform the operation.
InvalidArgumentThrown if any specified argument is invalid.
InvalidTypeThrown if the type of any specified argument is invalid.
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Show WSDL type definition