License Manager Add License
Adds a license to the inventory of available licenses.
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.
"AddLicenseRequestType Object"
A license. E.g. a serial license.
array of key-value labels. Ignored by ESX Server.
Returns information about the license specified in licenseKey.
"LicenseManagerLicenseInfo Object"
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
Additional properties associated with this license
Key-value lables for this license
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/LicenseManager/{moId}/AddLicense