1+ # alicloud_arms_alert_contact
2+ variable "alert_contact_name" {
3+ description = " The name of the alert contact."
4+ type = string
5+ default = " tf-testacc-user"
6+ }
7+
8+ variable "email" {
9+ description = " The email address of the alert contact."
10+ type = string
11+ 12+ }
13+
14+ # alicloud_arms_alert_contact_group
15+ variable "alert_contact_group_name" {
16+ description = " The name of arms contract group."
17+ type = string
18+ default = " tf-testacc-group"
19+ }
20+
21+ # alicloud_arms_dispatch_rule
22+ variable "dispatch_rule_name" {
23+ description = " The rule name of dispatch."
24+ type = string
25+ default = " tf-testacc-rule"
26+ }
27+
28+ variable "dispatch_type" {
29+ description = " The type of dispatch."
30+ type = string
31+ default = " CREATE_ALERT"
32+ }
33+
34+ variable "group_wait_time" {
35+ description = " The waiting time of arms contract group."
36+ type = number
37+ default = 10
38+ }
39+
40+ variable "group_interval" {
41+ description = " The interval time of arms contract group."
42+ type = number
43+ default = 10
44+ }
45+
46+ variable "repeat_interval" {
47+ description = " The repeat interval time of arms contract group."
48+ type = number
49+ default = 10
50+ }
51+
52+ variable "grouping_fields" {
53+ description = " The files of arms contract group."
54+ type = list (string )
55+ default = [" CreateDispatchRuleValue" ]
56+ }
57+
58+ variable "match_expressions" {
59+ description = " The lable of match expresoins."
60+ type = list (object ({
61+ key = string
62+ value = string
63+ operator = string
64+ }))
65+ default = [
66+ {
67+ key = " _aliyun_arms_alert_name" ,
68+ value = " tf-testacc-app" ,
69+ operator = " eq"
70+ }
71+ ]
72+ }
73+
74+ variable "notify_type" {
75+ description = " The type of the alert contact. Valid values: ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group."
76+ type = string
77+ default = " ARMS_CONTACT_GROUP"
78+ }
79+
80+ variable "notification_name" {
81+ description = " The name of arms notification."
82+ type = string
83+ default = " tf-testacc-notification"
84+ }
85+
86+ variable "notify_channels" {
87+ description = " The name of arms notification."
88+ type = list (string )
89+ default = [" dingTalk" ]
90+ }
91+
92+ # alicloud_arms_prometheus_alert_rule
93+ variable "alert_notify_type" {
94+ description = " The notify type of prometheus."
95+ type = string
96+ default = " ALERT_MANAGER"
97+ }
0 commit comments