View API
|
| Local Methods | ||
| Service Types | Data Object Types | All Properties | All Methods |
Service - License
- Class
- VMware.Hv.License
- See also
- LicenseInfo
- Since
- Horizon View 6.0
Service Description
The license service interface.Methods
| Methods defined in this Service |
|---|
| License_Get, License_Set |
License_Get
Gets the license information.Privileges
| Privilege | Description |
|---|---|
| GLOBAL_CONFIG_VIEW | Global configuration view is required to read licenseKey, expirationTime and licenseMode properties. These properties will be unset otherwise. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the License used to make the method call. |
Return Value
| Type | Description |
|---|---|
| LicenseInfo | The information on the license |
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
License_Set
Sets the license key for the View instance.Privileges
| Privilege | Description |
|---|---|
| GLOBAL_CONFIG_MANAGEMENT | Global configuration management is required to set the license. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the License used to make the method call. |
| licenseKey | xsd:string |
The license key to set.
|
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. |
| InvalidLicense | Thrown if the license is invalid |
| InvalidState | when #licenseMode set to SUBSCRIPTION value |
| 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 |
|---|---|
| ADMIN_ADD_LICENSE | If the license key was successfully set. |
| ADMIN_ADD_LICENSE_FAILED | If the license key could not be set. |
Show WSDL type definition
| Top of page | Local Methods | ||
| Service Types | Data Object Types | All Properties | All Methods |