View API
| Local Methods | ||
Service Types | Data Object Types | All Properties | All Methods |
Service - Datastore
- Class
- VMware.Hv.Datastore
- See also
- DatastoreInfo, HostOrClusterId
- Since
- Horizon View 6.0
Service Description
The object for fetching Datastores from VirtualCenter.Methods
Methods defined in this Service |
---|
Datastore_ListDatastoresByHostOrCluster |
Datastore_ListDatastoresByHostOrCluster
Gets a list of datastores from VC for the given host or cluster that may be suitable for use in full or linked clone desktop creation.Privileges
Privilege | Description |
---|---|
GLOBAL_CONFIG_VIEW | privilege is required to get the list of DatastoreInfo. |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Datastore used to make the method call. |
hostOrCluster | HostOrClusterId |
host or cluster to list datastores for
|
Return Value
Type | Description |
---|---|
DatastoreInfo[] | Array of DatastoreInfo |
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 |