Service -
VirtualDisk
- Class
- VMware.Hv.VirtualDisk
- See also
-
DatastoreId, VirtualCenterId, VirtualDiskInfo, VirtualDiskListSpec
- 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
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
Name | Type | Description |
_this | ManagedObjectReference |
A reference to the
VirtualDisk
used to make the method call.
|
virtualCenter | VirtualCenterId |
unique identifier for vc entry
|
datastore | DatastoreId |
datastore entityId (optional)
- Optional parameter. If not specifing any value, this should be set to null.
|
Return Value
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
VirtualDisk_ListAllDisks
Gets a list of all 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
Return Value
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
© 2020 VMware, Inc. All rights reserved.
Revision Nov-2020 Version 8.1.0