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 VirtualDiskId from VC for a given datastore. If datastoreId is not specified, it gets the VirtualDisks for all datastores.

Privileges

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

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 VirtualDiskId

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