ResourceWarningCreationSpec
Resource Warning creation specification
{
"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