License Manager Check License Feature
Deprecated as of vSphere API 4.0, use QueryAssignedLicenses instead.
Returns whether or not a given feature is enabled.
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 9.0.0.0 APIs.
"CheckLicenseFeatureRequestType Object"
Host to act on if LicenseManager is not on a host.
Name of the feature to enable.
Returns true if the feature is enabled and false if it is not.
InvalidArgument: If a feature name is not found.
InvalidState: If the feature cannot be supported on the platform, potentially because the hardware configuration does not support it.
"InvalidState Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/LicenseManager/{moId}/CheckLicenseFeature