View API
| Local Methods | ||
Service Types | Data Object Types | All Properties | All Methods |
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
Methods defined in this Service |
---|
VirtualDisk_List, VirtualDisk_ListAllDisks |
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)
|
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
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
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
Top of page | Local Methods | ||
Service Types | Data Object Types | All Properties | All Methods |