License Manager Update License
Updates the available licenses to the one provided in licenseKey.
This is the same as removing all the licenses using RemoveLicense and adding licenseKey using AddLicense If the optional parameter labels is specify this is the same as calling updateLicense without the optioal parameter and calling updateLabel for each pair in the labels array.
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.2.0 APIs.
{
"licenseKey": "string",
"labels": [
{
"_typeName": "string",
"key": "string",
"value": "string"
}
]
}
A license. E.g. a serial license.
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