License Manager Query License Source Availability
Deprecated as of vSphere API 4.0, use QueryAssignedLicenses instead.
Queries the current license source for total and available licenses available for each feature known to this system.
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 9.1.0.0 APIs.
{
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
Use the license source of the specified host.
OK
[
{
"_typeName": "string",
"feature": {
"_typeName": "string",
"key": "string",
"featureName": "string",
"featureDescription": "string",
"state": "string",
"costUnit": "string",
"sourceRestriction": "string",
"dependentKey": [
"string"
],
"edition": false,
"expiresOn": "string"
},
"total": 0,
"available": 0
}
]
Deprecated as of vSphere API 4.0, this is not used by the system.
Describes how many licenses of a particular feature is provided by the licensing source.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/sdk/vim25/{release}/LicenseManager/{moId}/QueryLicenseSourceAvailability