Service - VmFolder

Class
VMware.Hv.VmFolder
See also
DatacenterId, VmFolderInfo
Since
Horizon View 6.0


Service Description

The service for fetching Folders from VirtualCenter.

Methods

Methods defined in this Service
VmFolder_GetVmFolderTree

VmFolder_GetVmFolderTree

Gets the root of the VmFolder tree from VC under the given datacenter. The VmFolder's may be suitable for desktop creation.
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 VmFolderInfo.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VmFolder used to make the method call.
datacenterDatacenterId

datacenter to root the VmFolder tree

Return Value

Type Description
VmFolderInfoVmFolderInfo the root of the tree from the given datacenter

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