View API
|
| Local Methods | ||
| Service Types | Data Object Types | All Properties | All Methods |
Service - Farm
- Class
- VMware.Hv.Farm
- See also
- ApplicationDiscoveryData, FarmId, FarmInfo, FarmMissingApplicationInstallationData, FarmRecomposeSpec, FarmSpec, FarmSummaryView, MapEntry, RDSServerId
- Since
- Horizon View 6.0
Service Description
Service that represents FarmMethods
| Methods defined in this Service |
|---|
| Farm_AddRDSServers, Farm_Create, Farm_Delete, Farm_DiscoverInstalledApplications, Farm_Get, Farm_GetSummaryView, Farm_Recompose, Farm_RemoveRDSServers, Farm_Update, Farm_ValidateInstalledApplications |
Farm_AddRDSServers
Adds a set of RDS servers to the Farm. This operation is only applicable for manual farms.Privileges
| Privilege | Description |
|---|---|
| POOL_MANAGEMENT | privilege is required to add RDSServers to the Farm. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Farm used to make the method call. |
| id | FarmId |
The entityId of the Farm.
|
| rdsServers | RDSServerId[] |
The array of RDSServerIds to be added to the Farm.
|
Return Value
| Type | Description |
|---|---|
| None | |
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. |
Events
| Event | Description |
|---|---|
| VLSI_FARM_RDSSERVER_ADDED | An RDSServer is successfully added to the Farm. |
| VLSI_FARM_RDSSERVER_ADD_FAILED | The RDSServer addition failed. |
Show WSDL type definition
Farm_Create
Create a new Farm.Privileges
| Privilege | Description |
|---|---|
| POOL_MANAGEMENT | privilege is required create the Farm. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Farm used to make the method call. |
| spec | FarmSpec |
The information required to create the new Farm
|
Return Value
| Type | Description |
|---|---|
| FarmId | The id of the new Farm |
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. |
Events
| Event | Description |
|---|---|
| VLSI_FARM_CREATED | if Farm creation succeeds. |
| VLSI_FARM_CREATE_FAILED | if Farm creation fails. |
Show WSDL type definition
Farm_Delete
Delete a given Farm. For an automated farm, all the RDS Server VMs are deleted from disk whereas for a manual farm only the RDS Server associations are removed.Privileges
| Privilege | Description |
|---|---|
| POOL_MANAGEMENT | privilege is required to delete the Farm. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Farm used to make the method call. |
| id | FarmId |
The entityId of the Farm to delete
|
Return Value
| Type | Description |
|---|---|
| None | |
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. |
Events
| Event | Description |
|---|---|
| VLSI_FARM_DELETED | if the Farm is successfully deleted. |
| VLSI_FARM_DELETE_FAILED | if the Farm deletion failed. |
Show WSDL type definition
Farm_DiscoverInstalledApplications
Query AppTap for the list of installed applications on the given Farm.Privileges
| Privilege | Description |
|---|---|
| POOL_VIEW | privilege is required to discover installed Applications. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Farm used to make the method call. |
| id | FarmId |
The entityId of the Farm on which to discover installed
applications
|
Return Value
| Type | Description |
|---|---|
| ApplicationDiscoveryData[] | The list of installed applications |
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
Farm_Get
Get a Farm by Id.Privileges
| Privilege | Description |
|---|---|
| POOL_VIEW | privilege is required get the Farm information. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Farm used to make the method call. |
| id | FarmId |
The entityId of the Farm to get
|
Return Value
| Type | Description |
|---|---|
| FarmInfo | requested Farm entity |
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
Farm_GetSummaryView
Get Farm Summary View by Id.Privileges
| Privilege | Description |
|---|---|
| POOL_VIEW | privilege is required get the Farm Summary view. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Farm used to make the method call. |
| id | FarmId |
The entityId of the Farm
|
Return Value
| Type | Description |
|---|---|
| FarmSummaryView | requested Farm entity |
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
Farm_Recompose
Requests a recompose of RDS Servers in the specified automated farm. This marks the RDS Servers for recompose, which is performed asynchronously.Privileges
| Privilege | Description |
|---|---|
| POOL_MANAGEMENT | privilege with the corresponding access group permission is required to recompose the farm. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Farm used to make the method call. |
| id | FarmId |
unique identifier for a farm entry
|
| spec | FarmRecomposeSpec |
The specification for the recompose operation.
|
Return Value
| Type | Description |
|---|---|
| None | |
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. |
| PartialFailureFault | Thrown if all operations were not successful, a PartialFailureFault will be thrown indicating which RDS servers were successfully marked for recompose and which ones failed. The index of results in the PartialFailureFault correspond to the index of the original RDS server. The result entry will contain either be the original return type (on success) or an exception (on failure). |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Events
| Event | Description |
|---|---|
| VLSI_FARM_RECOMPOSED | This will be sent if all RDS servers were successfully marked for recompose. |
| VLSI_RDSSERVER_RECOMPOSED | This will be sent if an RDS server was successfully marked for recompose. |
| VLSI_FARM_RECOMPOSE_FAILED | This will be sent if any RDS server failed to be marked for recompose. |
| VLSI_RDSSERVER_RECOMPOSE_FAILED | This will be sent if an RDS server failed to be marked for recompose. |
Show WSDL type definition
Farm_RemoveRDSServers
Removes a set of RDS servers from the Farm. For an automated farm, removing an RDS server deletes it from disk where as for a manual farm only the association is removed.Privileges
| Privilege | Description |
|---|---|
| POOL_MANAGEMENT | privilege is required to remove RDSServers from the Farm. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Farm used to make the method call. |
| id | FarmId |
The entityId of the Farm.
|
| rdsServers | RDSServerId[] |
The array of RDSServerIds to be removed from the Farm.
|
Return Value
| Type | Description |
|---|---|
| None | |
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. |
Events
| Event | Description |
|---|---|
| VLSI_FARM_RDSSERVER_REMOVED | An RDSServer is successfully removed from the Farm. |
| VLSI_FARM_RDSSERVER_REMOVE_FAILED | The RDSServer removal failed. |
Show WSDL type definition
Farm_Update
Update a Farm with the set of attributes in the map.Privileges
| Privilege | Description |
|---|---|
| POOL_ENABLE | privilege is required to update enabled flag. |
| POOL_MANAGEMENT | privilege is required on current and (to be updated) access group, to update access group. |
| POOL_MANAGEMENT | privilege is required on current access group, to update any other attributes. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Farm used to make the method call. |
| id | FarmId |
The entityId of the Farm to be updated
|
| updates | MapEntry[] |
The key-value pairs describing attributes to be updated
|
Return Value
| Type | Description |
|---|---|
| None | |
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. |
Events
| Event | Description |
|---|---|
| VLSI_FARM_UPDATED | for each Farm attribute that was updated. |
| VLSI_FARM_UPDATE_FAILED | if the Farm update failed. |
Show WSDL type definition
Farm_ValidateInstalledApplications
Validate that each application in the given list is installed on the RDS Servers belonging to the specified Farm.Privileges
| Privilege | Description |
|---|---|
| POOL_VIEW | privilege is required to validate installed Applications. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Farm used to make the method call. |
| id | FarmId |
The entityId of the Farm on which to validate installed
applications
|
| applicationExePaths | xsd:string[] |
Array of applicationExePaths for the applications to be
validated
|
Return Value
| Type | Description |
|---|---|
| FarmMissingApplicationInstallationData[] | The list of MissingApplicationInstallationData *NOT INSTALLED* on the RDS Servers belonging to the Farm. |
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 |