You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Nested Schema for `rules.condition_groups.conditions`
159
+
160
+
Optional:
161
+
162
+
-`alert_urgency_ids` (List of String) The Alert Urgency IDs to check in the condition
163
+
-`conditionable_id` (String) The ID of the conditionable
164
+
-`conditionable_type` (String) The type of the conditionable. Value must be one of `AlertField`.
165
+
-`property_field_condition_type` (String) Value must be one of `is_one_of`, `is_not_one_of`, `contains`, `does_not_contain`, `starts_with`, `ends_with`, `matches_regex`, `is_empty`.
166
+
-`property_field_name` (String) The name of the property field
167
+
-`property_field_type` (String) Value must be one of `attribute`, `payload`, `alert_field`.
168
+
-`property_field_value` (String) The value of the property field
169
+
-`property_field_values` (List of String)
170
+
171
+
172
+
173
+
<aid="nestedblock--rules--destinations"></a>
174
+
### Nested Schema for `rules.destinations`
175
+
176
+
Optional:
177
+
178
+
-`target_id` (String) The ID of the target
179
+
-`target_type` (String) The type of the target. Value must be one of `Service`, `Group`, `EscalationPolicy`.
180
+
137
181
## Import
138
182
139
183
rootly_alert_route can be imported using the [`import` command](https://developer.hashicorp.com/terraform/cli/commands/import).
Description: "The position of the condition group",
186
+
},
187
+
188
+
"conditions": &schema.Schema{
189
+
Type: schema.TypeList,
190
+
Computed: false,
191
+
Required: false,
192
+
Optional: true,
193
+
Sensitive: false,
194
+
ForceNew: false,
195
+
WriteOnly: false,
196
+
Description: "",
197
+
DiffSuppressFunc: tools.EqualIgnoringOrder,
198
+
Elem: &schema.Resource{
199
+
Schema: map[string]*schema.Schema{
200
+
201
+
"property_field_condition_type": &schema.Schema{
202
+
Type: schema.TypeString,
203
+
Default: "is_one_of",
204
+
Required: false,
205
+
Optional: true,
206
+
Sensitive: false,
207
+
ForceNew: false,
208
+
WriteOnly: false,
209
+
Description: "Value must be one of `is_one_of`, `is_not_one_of`, `contains`, `does_not_contain`, `starts_with`, `ends_with`, `matches_regex`, `is_empty`.",
0 commit comments