CommentAlarmsCreate

CommentAlarmsCreate
CommentAlarmsCreate

Task resource for comment alarms operation Skipped properties: These are the properties not required while creating the commentAlarms object: state, commentedAlarm

JSON Example
{
    "comment": {
        "comment": "Testing Comment Alarms OpenAPI"
    },
    "alarmPattern": [
        {
            "alarmedObjectType": "Container",
            "state": "ACTIVE"
        },
        {
            "id": "Name:NOTIFICATION-VPN_VPN-100_:9900_Impacted$Source:INCHARGE-SA-PRES$"
        }
    ]
}
string
state
Optional

Current state of the operation task

array of Alarm
alarmPattern
Required
Constraints: minItems: 1

Alarm patterns to match target alarms. An alarm will match if an attribute in any of the patterns is equal to the corresponding attribute of the alarm. The attributes which are supported with matching are - id, alarmType, alarmedObjectType, perceivedSeverity, plannedOutageIndicator and state.

comment
Required

Indicates the comments entered on the alarm.

commentedAlarm
Optional

The successfully commented alarms