Check Resources License
Check resources license
Resources license check spec
{
"forAllDomains": false,
"licenseCheckResources": [
{
"productInfo": {
"errorResponse": {
"arguments": [
"string"
],
"causes": [
{
"message": "string",
"type": "string"
}
],
"context": {
"context": "string"
},
"errorCode": "string",
"errorType": "string",
"message": "string",
"nestedErrors": [
"Error Object"
],
"referenceToken": "string",
"remediationMessage": "string"
},
"licenseKey": "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX",
"licenseKeyExpirationDate": "2021-04-08T04:37:51.662Z",
"licenseKeyStatus": "One among: EXPIRED, ACTIVE, NEVER_EXPIRES",
"licensingMode": "One among: SUBSCRIPTION, PERPETUAL",
"type": "One among: VCENTER, NSXT, VSAN, WCP, ESXI"
},
"resourceInfo": {
"clusterId": "a0bf0f65-f719-4c2d-980a-29a9094045b5",
"domainId": "f0bf0f65-f719-4c2d-980a-29a9094045b5",
"hostId": "b0bf0f65-f719-4c2d-980a-29a9094045b5"
}
}
]
}
Value that defines whether to get license check for all domains or not
A list of resources for which license check needs to be performed
OK
"ResourcesLicenseCheckResult Object"
Task end timestamp
ID of the resources license check task
List of licensing infos of resources
Task start timestamp
Task status
Accepted
"ResourcesLicenseCheckResult Object"
Task end timestamp
ID of the resources license check task
List of licensing infos of resources
Task start timestamp
Task status
Bad Request
"Error Object"
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The underlying cause exceptions.
The error context (e.g. the component where it occurred).
The minor error code
The error type
The localized error message
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
The localized remediation error message
Internal server error
"Error Object"
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The underlying cause exceptions.
The error context (e.g. the component where it occurred).
The minor error code
The error type
The localized error message
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
The localized remediation error message
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/v1/resources/license-checks