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 and expirationTime properties. These properties will be unset otherwise.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the License used to make the method call.

Return Value

Type Description
LicenseInfoThe information on the license

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



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

NameTypeDescription
_thisManagedObjectReference A reference to the License used to make the method call.
licenseKeyxsd:string

The license key to set.

Return Value

Type Description
None

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.
InvalidLicenseThrown if the license is invalid
InvalidStatewhen #licenseMode set to SUBSCRIPTION value
InvalidTypeThrown if the type of any specified argument is invalid.
UnexpectedFaultThrown 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