Service - VirtualDisk
Java Class
com.omnissa.vdi.vlsi.binding.vdi.utils.virtualcenter.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
Methods defined in this Service: VirtualDisk_List, VirtualDisk_ListAllDisks
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) 1 |
Return Value
Type | Description |
---|---|
VirtualDiskInfo[] | Array of VirtualDiskInfo |
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
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
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VirtualDisk used to make the method call. |
virtualDiskListSpec | VirtualDiskListSpec |
Return Value
Type | Description |
---|---|
VirtualDiskInfo[] | Array of VirtualDiskInfo |
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
-
This parameter need not be set. ↩