License Assignment Manager Update Assigned License
Update the license associated with an entity
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 LicenseAssignmentManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"entity": "string",
"licenseKey": "string",
"entityDisplayName": "string"
}
ID of the entity. E.g. HostSystem.
A license.
Display name for the entity
Returns information about the license specified in licenseKey
{
"_typeName": "string",
"licenseKey": "string",
"editionKey": "string",
"name": "string",
"total": 0,
"used": 0,
"costUnit": "string",
"properties": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"labels": [
{
"_typeName": "string",
"key": "string",
"value": "string"
}
]
}
Key for the license.
E.g. serial number.
Edition key.
Display name for the license
Total number of units contain in the license
Number of units used from this license
The cost unit for this license
Failure
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
],
"entityId": "string"
}
entityId