Service - VirtualDisk

Class
VMware.Hv.VirtualDisk
See also
DatastoreId, VirtualCenterId, VirtualDiskInfo
Since
Horizon View 6.0


Service Description

Service for fetching Virtual Disks from VirtualCenter that are not already attached to a Linked-Clone VM.

Methods

Methods defined in this Service
VirtualDisk_List

VirtualDisk_List

Gets a list of VirtualDiskInfo from VC for a given datastore. If datastoreId is not specified, it gets the VirtualDisks for all datastores. Requires at least one of the listed privileges.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW privilege is required to get the list of VirtualDiskInfo.
VC_CONFIG_VIEW privilege is required to get the list of VirtualDiskInfo.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VirtualDisk used to make the method call.
virtualCenterVirtualCenterId

unique identifier for vc entry
datastoreDatastoreId

datastore entityId (optional)
  • Optional parameter. If not specifing any value, this should be set to null.

Return Value

Type Description
VirtualDiskInfo[]Array of VirtualDiskInfo

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