License Manager Query License Usage
Deprecated as of vSphere API 4.0, use QueryAssignedLicenses instead.
Returns the license usage.
The license usage is a list of supported features and the number of licenses that have been reserved.
PLATFORM Specific Notes: VirtualCenter - Empty string returns the usage of non-host specific features. Must specify managed host to query. ESX Server - Host argument ignored.
Required privileges: System.Read
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.
{
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
OK
{
"_typeName": "string",
"source": {
"_typeName": "string"
},
"sourceAvailable": false,
"reservationInfo": [
{
"_typeName": "string",
"key": "string",
"state": "string",
"required": 0
}
],
"featureInfo": [
{
"_typeName": "string",
"key": "string",
"featureName": "string",
"featureDescription": "string",
"state": "string",
"costUnit": "string",
"sourceRestriction": "string",
"dependentKey": [
"string"
],
"edition": false,
"expiresOn": "string"
}
]
}
Deprecated as of vSphere API 4.0, this is not used by the system.
This data object type is used to communicate configuration about where to find licenses to use for this system.
Returns whether or not the source is currently available.
See also LicenseManager.sourceAvailable.
Includes all the features that are referenced in the reservation array.