| Local Methods | ||
Service Types | Data Object Types | All Properties | All Methods |
Methods
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
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Datastore used to make the method call. |
spec | DatastoreRequirementSpec |
DatastoreRequirementSpec
|
Return Value
Type | Description |
---|---|
DatastoreSpaceRequirement[] | Array of DatastoreSpaceRequirement |
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. |
Privileges
Privilege | Description |
---|---|
POOL_VIEW | privilege on corresponding access group is required to get the usage information of a Desktop and/or Farm. |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Datastore used to make the method call. |
id | DatastoreId |
The resource id of the datastore.
|
Return Value
Type | Description |
---|---|
DesktopOrFarmDatastoreUsageInfo[] | An array of DesktopOrFarmUsageInfo |
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. |
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
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Datastore used to make the method call. |
hostOrCluster | HostOrClusterId |
host or cluster to list datastore clusters for
|
Return Value
Type | Description |
---|---|
DatastoreClusterInfo[] | Array of DatastoreClusterInfo |
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. |
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
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Datastore used to make the method call. |
spec | DatastoreSpec |
|
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. |
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
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. |
Top of page | Local Methods | ||
Service Types | Data Object Types | All Properties | All Methods |