License Manager Enable Feature
Deprecated as of vSphere API 4.0, use UpdateAssignedLicense instead.
Enable a feature that has an optional state.
Required privileges: Global.Licenses
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case LicenseManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Show optional properties
{
"featureKey": "string"
}
{
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"featureKey": "string"
}
Name of the feature to enable.
Returns true if enabling the feature was successful, false otherwise.
InvalidArgument: If a feature name is not found or it is not optional.
LicenseServerUnavailable: If the license server is unavailable.
InvalidState: If the feature cannot be supported on the platform, potentially because the hardware configuration does not support it.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}