Create Resource Warning
Create a new Resource Warning
Show optional properties
{
"resourceId": "string",
"resourceName": "string",
"resourceType": "HOST, CLUSTER, DOMAIN",
"warningType": "SKIPPED_RESOURCE, VALIDATION, CONFIGURATION, OTHER",
"severity": "MINOR, MAJOR",
"occurredAtTimestamp": 0,
"localizableWarningPack": {
"warningCode": "string",
"localBundle": "string",
"vipComponent": "string",
"defaultMessage": "string"
}
}
{
"resourceId": "string",
"resourceName": "string",
"resourceType": "HOST, CLUSTER, DOMAIN",
"warningType": "SKIPPED_RESOURCE, VALIDATION, CONFIGURATION, OTHER",
"severity": "MINOR, MAJOR",
"occurredAtTimestamp": 0,
"context": {
"context": "string"
},
"localizableWarningPack": {
"warningCode": "string",
"localBundle": "string",
"vipComponent": "string",
"defaultMessage": "string",
"arguments": [
"string"
],
"referenceToken": "string"
},
"associatedTask": {
"taskId": "string",
"subTaskId": "string"
}
}
ID of the resource to which this warning will be associated
Name of the resource to which this warning will be associated
Type of the resource to which this warning will be associated
The type of the warning
The severity of the warning
The Unix epoch timestamp of when the warning occurred
Optional additional context information to be associated to the warning
Localization warning pack containing all required data to provide localized warning messages
Task association for a resource warning. Indicates in which task the resource warning occurred
Created
{
"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
Bad Request
{
"errorCode": "string",
"errorType": "string",
"arguments": [
"string"
],
"context": {
"context": "string"
},
"message": "string",
"remediationMessage": "string",
"causes": [
{
"type": "string",
"message": "string"
}
],
"nestedErrors": [
"Error Object"
],
"referenceToken": "string"
}
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
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
{
"errorCode": "string",
"errorType": "string",
"arguments": [
"string"
],
"context": {
"context": "string"
},
"message": "string",
"remediationMessage": "string",
"causes": [
{
"type": "string",
"message": "string"
}
],
"nestedErrors": [
"Error Object"
],
"referenceToken": "string"
}
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
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.