@@ -34,7 +34,7 @@ resource "sumologic_muting_schedule" "muting_schedule" {
3434``` hcl
3535resource "sumologic_muting_schedule" "muting_schedule" {
3636 name = "Muting Schedule For one time"
37- description = "This is an example for one time Muting schedule for all monitor"
37+ description = "This is an example for one time muting schedule for all monitor"
3838 type = "MutingSchedulesLibraryMutingSchedule"
3939 content_type = "MutingSchedule"
4040 monitor {
@@ -54,7 +54,7 @@ resource "sumologic_muting_schedule" "muting_schedule" {
5454``` hcl
5555resource "sumologic_muting_schedule" "muting_schedule" {
5656 name = "Muting Schedule For one time"
57- description = "This is an example for one time Muting schedule for all monitor"
57+ description = "This is an example for one time muting schedule for all monitor"
5858 type = "MutingSchedulesLibraryMutingSchedule"
5959 content_type = "MutingSchedule"
6060 monitor {
@@ -75,7 +75,7 @@ resource "sumologic_muting_schedule" "muting_schedule" {
7575``` hcl
7676resource "sumologic_muting_schedule" "muting_schedule" {
7777 name = "Muting Schedule For one time"
78- description = "This is an example for one time Muting schedule for all monitor"
78+ description = "This is an example for muting schedule with rrule and specific monitor id "
7979 type = "MutingSchedulesLibraryMutingSchedule"
8080 content_type = "MutingSchedule"
8181 monitor {
@@ -96,13 +96,13 @@ resource "sumologic_muting_schedule" "muting_schedule" {
9696``` hcl
9797resource "sumologic_muting_schedule" "muting_schedule" {
9898 name = "Muting Schedule For one time"
99- description = "This is an example for one time Muting schedule for all monitor"
99+ description = "This is an example for muting schedule with rrule and specific monitor id and notification group key and values "
100100 type = "MutingSchedulesLibraryMutingSchedule"
101101 content_type = "MutingSchedule"
102102 monitor {
103103 ids = ["0000000000200B92"]
104104 }
105- notification_groups {
105+ notification_groups {
106106 group_key = "_sources"
107107 group_values =["localhost","127.0.0.1"]
108108 }
@@ -126,11 +126,11 @@ The following arguments are supported:
126126- ` description ` - (Optional) The description of the muting schedule.
127127- ` content_type ` - (Optional) The type of the content object. Valid value:
128128 - ` MutingSchedule `
129- - ` monitor ` - (Optional) The monitors which need to put in the muting schedule. see ` monitor_scope_type ` :
130- - ` schedule ` - (Required) The schedule information. see ` schedule_type ` .
131- - ` notification_groups ` -(Optional) The muting schedule group supporting key and values. see ` notification_group_type `
129+ - ` monitor ` - (Optional) The monitors which need to put in the muting schedule. see ` monitor_scope ` :
130+ - ` schedule ` - (Required) The schedule information. see ` schedule ` .
131+ - ` notification_groups ` -(Optional) The muting schedule group supporting key and values. see ` notification_group `
132132
133- #### schedule_type
133+ #### schedule
134134 - ` timezone ` - (Required) Time zone for the schedule per
135135 [ IANA Time Zone Database] ( https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List ) .
136136 - ` start_date ` - (Required) Schedule start date in the format of ` yyyy-mm-dd `
@@ -142,11 +142,11 @@ The following arguments are supported:
142142 Event that repeats monthly: every 29th of every other month! ` FREQ=MONTHLY;INTERVAL=2;BYMONTHDAY=29 `
143143 (https://freetools.textmagic.com/rrule-generator )
144144
145- #### monitor_scope_type
145+ #### monitor_scope
146146 - ` ids ` - (Optional) List of monitor Ids in hex. Must be empty if ` all ` is true.
147147 - ` all ` - (Optional) True if the schedule applies to all monitors
148148
149- #### notification_group_type
149+ #### notification_group
150150 - ` group_key ` - (Required) the monitor notification group key .
151151 - ` group_values ` - (Required) List of monitor notification group values.
152152
0 commit comments