alertclasses.update

Update default Alert settings.

Set ClassName’s level to LEVEL and policy to POLICY. Reset settings for other alert classes.

{ “classes”: { “ClassName”: { “level”: “LEVEL”, “policy”: “POLICY”, }

} }

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: alert_class_update

alert_class_update

Type: object

Updated alert class configuration settings.

No Additional Properties

Classes

Type: object

Object mapping alert class names to their configuration settings.

Each additional property must conform to the following schema

AlertClassConfiguration

Type: object
No Additional Properties

Level

Type: enum (of string)

Severity level for alerts of this class.

Must be one of:
  • "INFO"
  • "NOTICE"
  • "WARNING"
  • "ERROR"
  • "CRITICAL"
  • "ALERT"
  • "EMERGENCY"

Policy

Type: enum (of string)

Notification policy for alerts of this class.

  • IMMEDIATELY: Send notifications as soon as alerts occur
  • HOURLY: Batch notifications and send hourly
  • DAILY: Batch notifications and send daily
  • NEVER: Do not send notifications for this alert class
Must be one of:
  • "IMMEDIATELY"
  • "HOURLY"
  • "DAILY"
  • "NEVER"

Proactive Support

Type: boolean Default: false

Whether to include alerts of this class in proactive support reporting.

AlertClassesEntry

Type: object

The updated alert classes configuration.

No Additional Properties

Id

Type: integer

Unique identifier for the alert classes configuration.

Classes

Type: object

Object mapping alert class names to their configuration settings.

Each additional property must conform to the following schema

AlertClassConfiguration

Type: object
No Additional Properties

Level

Type: enum (of string)

Severity level for alerts of this class.

Must be one of:
  • "INFO"
  • "NOTICE"
  • "WARNING"
  • "ERROR"
  • "CRITICAL"
  • "ALERT"
  • "EMERGENCY"

Policy

Type: enum (of string)

Notification policy for alerts of this class.

  • IMMEDIATELY: Send notifications as soon as alerts occur
  • HOURLY: Batch notifications and send hourly
  • DAILY: Batch notifications and send daily
  • NEVER: Do not send notifications for this alert class
Must be one of:
  • "IMMEDIATELY"
  • "HOURLY"
  • "DAILY"
  • "NEVER"

Proactive Support

Type: boolean Default: false

Whether to include alerts of this class in proactive support reporting.



Required roles: ALERT_WRITE