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

NameTypeDescription
_thisManagedObjectReference A reference to the Datacenter used to make the method call.
virtualCenterVirtualCenterId



Return Value

Type Description
DatacenterInfo[]The DatacenterInfo list

Faults

Type Description
EntityNotFoundThrown if any specified entity cannot be found.
InsufficientPermissionThrown if the user does not have sufficient permission to perform the operation.
InvalidArgumentThrown if any specified argument is invalid.
InvalidTypeThrown if the type of any specified argument is invalid.
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Show WSDL type definition