Get Resource Warning
Get a Resource Warning by ID
id
OK
{
"id": "string",
"warningCode": "string",
"message": "string",
"remediationMessage": "string",
"referenceToken": "string",
"resourceId": "string",
"resourceType": "One among: HOST, CLUSTER, DOMAIN",
"resourceName": "string",
"warningType": "One among: SKIPPED_RESOURCE, VALIDATION, CONFIGURATION, OTHER",
"severity": "One among: MINOR, MAJOR",
"occurredAtTimestamp": "string",
"context": {
"context": "string"
},
"associatedTask": {
"taskId": "string",
"subTaskId": "string"
}
}
ID of the resource warning
The warning code
The localized warning message
The localized remediation warning message
A reference token correlating the warning with the relevant detailed logs. Should be sent to the service provider when reporting issues
ID of the associated resource
Type of the associated resource
Name of the associated resource
Type of the warning
Severity of the warning
Timestamp when the warning occurred
Optional additional context information in a key value form
Task association for a resource warning. Indicates in which task the resource warning occurred
Resource Warning not found
"Error Object"
The minor error code
The error type
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 localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
Internal Server Error
"Error Object"
The minor error code
The error type
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 localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
curl -H 'Authorization: <value>' https://{api_host}/v1/resource-warnings/{id}