public static class ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
emailContent
The content of the alert notification sent by email.
|
String |
emailRecoverContent
The content of the alert resolution notification sent by email.
|
String |
emailRecoverTitle
The title of the alert resolution notification sent by email.
|
String |
emailTitle
The title of the alert notification sent by email.
|
String |
robotContent
The content of the alert notification sent by an IM chatbot.
|
String |
smsContent
The content of the alert notification sent by text message.
|
String |
smsRecoverContent
The content of the alert resolution notification sent by text message.
|
String |
ttsContent
The content of the alert notification sent by phone.
|
String |
ttsRecoverContent
The content of the alert resolution notification sent by phone.
|
@NameInMap(value="EmailContent") public String emailContent
The content of the alert notification sent by email.
example:Alert Name: {{ .commonLabels.alertname }}{{if .commonLabels.clustername }} Cluster Name: {{ .commonLabels.clustername }} {{ end }}{{if eq "app" .commonLabels._aliyun_arms_involvedObject_kind }} App Name: {{ .commonLabels._aliyun_arms_involvedObject_name }} {{ end }} Notification Policy: {{ .dispatchRuleName }} Alert Time: {{ .startTime }} Description: {{ for .alerts }} {{ .annotations.message }} {{if .generatorURL }} <a href="{{.generatorURL}}" > Details</a> {{ end }} {{ end }}
@NameInMap(value="EmailRecoverContent") public String emailRecoverContent
The content of the alert resolution notification sent by email.
example:Alert Name: {{ .commonLabels.alertname }}{{if .commonLabels.clustername }} Cluster Name: {{ .commonLabels.clustername }} {{ end }}{{if eq "app" .commonLabels._aliyun_arms_involvedObject_kind }} App Name: {{ .commonLabels._aliyun_arms_involvedObject_name }} {{ end }} Notification Policy: {{ .dispatchRuleName }} Recover Time: {{ .endTime }} Description: {{ for .alerts }} {{ .annotations.message }} {{if .generatorURL }} <a href="{{.generatorURL}}" > Details</a> {{ end }} {{ end }}
@NameInMap(value="EmailRecoverTitle") public String emailRecoverTitle
The title of the alert resolution notification sent by email.
example:{{ .commonLabels.alertname }}
@NameInMap(value="EmailTitle") public String emailTitle
The title of the alert notification sent by email.
example:{{ .commonLabels.alertname }}
@NameInMap(value="RobotContent") public String robotContent
The content of the alert notification sent by an IM chatbot.
example:{{if .commonLabels.clustername }}
> Cluster Name: {{ .commonLabels.clustername }}
{{ end }}{{if eq "app" .commonLabels._aliyun_arms_involvedObject_kind }}
> App Name: {{ .commonLabels._aliyun_arms_involvedObject_name }}
{{ end }}{{ for .alerts }} > {{ .annotations.message }} {{if .generatorURL }} Details {{end}} {{if .annotations._aliyun_arms_insights_analyze_link }}[<font color=\"#ff0000\">diagnostic analysis</font>]({{ .annotations._aliyun_arms_insights_analyze_link}}){{ end }}{{if eq "1" .labels._aliyun_arms_denoise_code }} (Important:{{.labels._aliyun_arms_important_reason }}) {{end}}
{{end}}
@NameInMap(value="SmsContent") public String smsContent
The content of the alert notification sent by text message.
example:{{ .level }}Alert Occurs Alert Name: {{ .commonLabels.alertname }}{{if .commonLabels.clustername }} Cluster Name: {{ .commonLabels.clustername }} {{ end }}{{if eq "app" .commonLabels._aliyun_arms_involvedObject_kind }} App Name: {{ .commonLabels._aliyun_arms_involvedObject_name }} {{ end }} Notification Policy: {{ .dispatchRuleName }} Alert Time: {{ .startTime }} Description: {{ for .alerts }} {{ .annotations.message }} {{ end }}
@NameInMap(value="SmsRecoverContent") public String smsRecoverContent
The content of the alert resolution notification sent by text message.
example:Alert Recovery Notification Alert Name: {{ .commonLabels.alertname }}{{if .commonLabels.clustername }} Cluster Name: {{ .commonLabels.clustername }} {{ end }}{{if eq "app" .commonLabels._aliyun_arms_involvedObject_kind }} App Name: {{ .commonLabels._aliyun_arms_involvedObject_name }} {{ end }} Notification Policy: {{ .dispatchRuleName }} Recover Time: {{ .endTime }} Description: {{ for .alerts }} {{ .annotations.message }} {{ end }}
@NameInMap(value="TtsContent") public String ttsContent
The content of the alert notification sent by phone.
example:Alert Name: {{ .commonLabels.alertname }}{{if .commonLabels.clustername }} Cluster Name: {{ .commonLabels.clustername }} {{ end }}{{if eq "app" .commonLabels._aliyun_arms_involvedObject_kind }} App Name: {{ .commonLabels._aliyun_arms_involvedObject_name }} {{ end }} Notification Policy: {{ .dispatchRuleName }} Alert Time: {{ .startTime }} Description: {{ for .alerts }} {{ .annotations.message }} {{ end }}
@NameInMap(value="TtsRecoverContent") public String ttsRecoverContent
The content of the alert resolution notification sent by phone.
example:Alert Name: {{ .commonLabels.alertname }}{{if .commonLabels.clustername }} Cluster Name: {{ .commonLabels.clustername }} {{ end }}{{if eq "app" .commonLabels._aliyun_arms_involvedObject_kind }} App Name: {{ .commonLabels._aliyun_arms_involvedObject_name }} {{ end }} Notification Policy: {{ .dispatchRuleName }} Recover Time: {{ .endTime }} Description: {{ for .alerts }} {{ .annotations.message }} {{ end }}
public ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate()
public static ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate build(Map<String,?> map) throws Exception
Exceptionpublic ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate setEmailContent(String emailContent)
public String getEmailContent()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate setEmailRecoverContent(String emailRecoverContent)
public String getEmailRecoverContent()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate setEmailRecoverTitle(String emailRecoverTitle)
public String getEmailRecoverTitle()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate setEmailTitle(String emailTitle)
public String getEmailTitle()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate setRobotContent(String robotContent)
public String getRobotContent()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate setSmsContent(String smsContent)
public String getSmsContent()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate setSmsRecoverContent(String smsRecoverContent)
public String getSmsRecoverContent()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate setTtsContent(String ttsContent)
public String getTtsContent()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate setTtsRecoverContent(String ttsRecoverContent)
public String getTtsRecoverContent()
Copyright © 2024. All rights reserved.