Start License Check By Resource
Start a license check for a resource
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
{
"endTimestamp": "string",
"id": "string",
"resourceLicensingInfos": [
{
"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"
}
}
],
"startTimestamp": "string",
"status": "One among: PENDING, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED"
}
Task end timestamp
ID of the resources license check task
Task start timestamp
Task status
Accepted
{
"endTimestamp": "string",
"id": "string",
"resourceLicensingInfos": [
{
"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"
}
}
],
"startTimestamp": "string",
"status": "One among: PENDING, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED"
}
Task end timestamp
ID of the resources license check task
Task start timestamp
Task status
Bad Request
{
"arguments": [
"string"
],
"causes": [
{
"message": "string",
"type": "string"
}
],
"context": {
"context": "string"
},
"errorCode": "string",
"errorType": "string",
"message": "string",
"nestedErrors": [
"Error Object"
],
"referenceToken": "string",
"remediationMessage": "string"
}
The arguments used to localize the message, Can be used by scripts to automate the error processing.
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
{
"arguments": [
"string"
],
"causes": [
{
"message": "string",
"type": "string"
}
],
"context": {
"context": "string"
},
"errorCode": "string",
"errorType": "string",
"message": "string",
"nestedErrors": [
"Error Object"
],
"referenceToken": "string",
"remediationMessage": "string"
}
The arguments used to localize the message, Can be used by scripts to automate the error processing.
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