View API
| Local Methods | ||
Service Types | Data Object Types | All Properties | All Methods |
Service - Datacenter
- Class
- VMware.Hv.Datacenter
- See also
- DatacenterInfo, VirtualCenterId
- Since
- Horizon 7.8
Service Description
Service for fetching Datacenters from VirtualCenter.Methods
Methods defined in this Service |
---|
Datacenter_List |
Datacenter_List
Lists all the datacenters of a vCenter. Requires at least one of the listed privileges.Privileges
Privilege | Description |
---|---|
VC_CONFIG_VIEW | privilege is required to list datacenters of the vCenter. |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Datacenter used to make the method call. |
virtualCenter | VirtualCenterId |
|
Return Value
Type | Description |
---|---|
DatacenterInfo[] | The DatacenterInfo list |
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 |