ResourceWarningCreationSpec

ResourceWarningCreationSpec
ResourceWarningCreationSpec

Resource Warning creation specification

JSON Example
{
    "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"
    }
}
string
resourceId
Required

ID of the resource to which this warning will be associated

string
resourceName
Required

Name of the resource to which this warning will be associated

string
resourceType
Required

Type of the resource to which this warning will be associated

Possible values are : HOST, CLUSTER, DOMAIN,
string
warningType
Required

The type of the warning

Possible values are : CONFIGURATION, OTHER, SKIPPED_RESOURCE, VALIDATION,
string
severity
Required

The severity of the warning

Possible values are : MAJOR, MINOR,
integer As int64 As int64
occurredAtTimestamp
Required

The Unix epoch timestamp of when the warning occurred

object
context
Optional

Optional additional context information to be associated to the warning

localizableWarningPack
Required

Localization warning pack containing all required data to provide localized warning messages

associatedTask
Optional

Task association for a resource warning. Indicates in which task the resource warning occurred