Service -
Datastore
- Class
- VMware.Hv.Datastore
- See also
-
DatastoreClusterInfo, DatastoreId, DatastoreInfo, DatastoreRequirementSpec, DatastoreSpaceRequirement, DatastoreSpec, DesktopOrFarmDatastoreUsageInfo, HostOrClusterId
- Since
- Horizon View 6.0
Service Description
The object for fetching Datastores from VirtualCenter.
Methods
Datastore_GetDatastoreRequirements
DatastoreSpaceRequirement can be in following combinations. Datastore
type returned will be:
- OS: When there are no separate disks for OS and replica or persisten diskt.
- OS, REPLICA: When the Pool has separate disk for replica and OS.
- OS, REPLICA, PERSISTENT: When Pool has separate OS, replica and persistent disks.
Privileges
Privilege
|
Description
|
VC_CONFIG_VIEW |
privilege is required for computing the space
requirements.
|
POOL_VIEW |
privilege is required for accessing Desktop or Farm
mentioned via desktopId
or farmId.
|
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
Datastore_GetUsage
Gets the Desktop or Farm and its usage details for a given datastore. For now, it will
lists the automated Desktops and Farms only.
Privileges
Privilege
|
Description
|
POOL_VIEW |
privilege on corresponding access group is
required to get the usage information of a Desktop and/or Farm.
|
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
Datastore_ListDatastoreClustersByHostOrCluster
Gets a list of datastore clusters from VC for the given host or cluster
that may be suitable for use in full clone desktop creation. Requires
at least one of the listed privileges.
Privileges
Privilege
|
Description
|
GLOBAL_CONFIG_VIEW |
privilege is required to get the list of
DatastoreClusterInfo.
|
VC_CONFIG_VIEW |
privilege is required to get the list of
DatastoreClusterInfo.
|
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
Datastore_ListDatastoresByDesktopOrFarm
Gets a list of datastores from VC for the given host or cluster that may
be suitable for use during desktop/farm updates. Skips the VMs calculation for the following cases:
- DesktopId provided is manual or RDS type
- FarmId provided is of manual type
Requires at least one of the listed privileges.
Privileges
Privilege
|
Description
|
GLOBAL_CONFIG_VIEW |
privilege is required to get the list of
DatastoreInfo.
|
VC_CONFIG_VIEW |
privilege is required to get the list of
DatastoreInfo.
|
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
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. Requires
at least one of the listed privileges.
Privileges
Privilege
|
Description
|
GLOBAL_CONFIG_VIEW |
privilege is required to get the list of
DatastoreInfo.
|
VC_CONFIG_VIEW |
privilege is required to get the list of
DatastoreClusterInfo.
|
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
© 2021 VMware, Inc. All rights reserved.
Revision Mar-2021 Version 8.2.0