Parameters | Type | Sample value | Description |
Data | - | Notification policy details. |
Parameters | Type | Sample value | Description |
Id | String | 189898***00 | Notification policy ID. |
Name | String | notification-demo | Notification policy name. |
Levels | Array of String | notice | Alert notification levels. |
RuleIds | Array of String | | ID of the associated alert policy. |
CreatedAt | String | 2021-10-20T20:27:53+08:00 | The time when the notification policy was created. |
UpdatedAt | String | 2021-10-20T20:27:53+08:00 | The time when the notification policy was last updated. |
EffectEndAt | String | 23:59 | The time when the notification policy stops being in effect. The time is in the format HH:MM (example: 23:59). |
EffectStartAt | String | 00:00 | The time when the notification policy starts taking effect. The time is in the format HH:MM (example: 00:00). |
Notifications | - | Details of the notification policy for leveled alerting. |
Parameters | Type | Sample value | Description |
Level | String | critical | Alerting level. |
WebhookIds | Array of String | 18913208***4528 | Webhook callback ID. |
AlertMethods | Array of String | Email | Alert notification method. |
ContactGroupIds | Array of String | 145080093687100**** | Alert contact group ID. |
NotifyTemplates | - | Notification template configuration. |
Parameters | Types | Sample value | Description |
Channel | String | email | Notification channel. Values:
|
NotifyTemplateId | String | 189828***00 | Notification template ID. warning Only one notification template ID can be specified for each notification channel. |