Service -
Site
- Class
- VMware.Hv.Site
- See also
-
MapEntry, SiteBase, SiteId, SiteInfo
- Since
- Horizon View 6.0
Service Description
The interface representing a site in a PodFederation. A site is basically a
grouping of pods that utilize shared resources: networking, storage, etc.
Usually a site comprises of pods in the same datacenter.
Methods
Site_Create
Create a new Site. After creation, this site will have no Pod in it. To
move a pod to a site, use Pod.upate()
Privileges
Privilege
|
Description
|
FEDERATED_LDAP_MANAGE |
Global LDAP management is required to
create a site.
|
Parameters
Return Value
Type
|
Description
|
SiteId | Unique identifier for the created site. |
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. |
InvalidState | Thrown if the PodFederation is not initialized. |
InvalidType | Thrown if the type of any specified argument is invalid. |
UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Events
Event
|
Description
|
VLSI_SITE_CREATE_SUCCESS |
If the site was successfully created.
|
VLSI_SITE_CREATE_FAILURE |
If the site could not be created.
|
Show WSDL type definition
Site_Delete
Delete a site. This can only be done when the site has no pods in it.
Privileges
Privilege
|
Description
|
FEDERATED_LDAP_MANAGE |
Global LDAP management is required to
delete a site.
|
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. |
InvalidState | Thrown if PodFederation has not been initialized or if the site has pods in it. |
InvalidType | Thrown if the type of any specified argument is invalid. |
UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Events
Event
|
Description
|
VLSI_SITE_DELETE_SUCCESS |
If the site was successfully deleted.
|
VLSI_SITE_DELETE_FAILURE |
If the site could not be deleted.
|
Show WSDL type definition
Site_Get
Retrieve the information about a Site.
Privileges
Privilege
|
Description
|
FEDERATED_LDAP_VIEW |
Global LDAP read is required to read a
site.
|
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. |
InvalidState | Thrown if PodFederation has not been initialized. |
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
Site_List
List all the sites in the PodFederation.
Privileges
Privilege
|
Description
|
FEDERATED_LDAP_VIEW |
Global LDAP read is required to list sites.
|
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. |
InvalidState | Thrown if the PodFederation has not been initialized. |
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
Site_Update
Update displayName or description of a site.
To change site for a pod, use MapEntry[]).
Privileges
Privilege
|
Description
|
FEDERATED_LDAP_MANAGE |
Global LDAP management is required to
update a site.
|
Parameters
Return Value
Faults
Events
Event
|
Description
|
VLSI_SITE_UPDATE_SUCCESS |
If the site was successfully updated.
|
VLSI_SITE_UPDATE_FAILURE |
If the site could not be updated.
|
Show WSDL type definition
© 2023 VMware, Inc. All rights reserved.
Revision Sep-2023 Version 8.11.0