Skip to content

Commit 34e0c8c

Browse files
SYN-4581: add support for recurring downtime configurations (#70)
* SYN-4581: add support for recurring downtime configurations * use v2.0.15-1 * review comments * generate docs
1 parent c35efc5 commit 34e0c8c

32 files changed

+565
-97
lines changed

docs/data-sources/api_v2_check.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ data "synthetics_api_v2_check" "datasource_check_api" {
3434
<a id="nestedblock--test"></a>
3535
### Nested Schema for `test`
3636

37+
Required:
38+
39+
- `id` (Number)
40+
3741
Optional:
3842

3943
- `custom_properties` (Block Set) (see [below for nested schema](#nestedblock--test--custom_properties))
@@ -45,15 +49,16 @@ Read-Only:
4549
- `active` (Boolean)
4650
- `automatic_retries` (Number)
4751
- `created_at` (String)
52+
- `created_by` (String)
4853
- `device` (Set of Object) (see [below for nested schema](#nestedatt--test--device))
49-
- `id` (Number) The ID of this resource.
5054
- `last_run_at` (String)
5155
- `last_run_status` (String)
5256
- `name` (String)
5357
- `requests` (Set of Object) (see [below for nested schema](#nestedatt--test--requests))
5458
- `scheduling_strategy` (String)
5559
- `type` (String)
5660
- `updated_at` (String)
61+
- `updated_by` (String)
5762

5863
<a id="nestedblock--test--custom_properties"></a>
5964
### Nested Schema for `test.custom_properties`
@@ -139,5 +144,3 @@ Read-Only:
139144
- `type` (String)
140145
- `value` (String)
141146
- `variable` (String)
142-
143-

docs/data-sources/browser_v2_check.md

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ data "synthetics_browser_v2_check" "datasource_check_browser" {
3434
<a id="nestedblock--test"></a>
3535
### Nested Schema for `test`
3636

37+
Required:
38+
39+
- `id` (Number)
40+
3741
Optional:
3842

3943
- `custom_properties` (Block Set) (see [below for nested schema](#nestedblock--test--custom_properties))
@@ -45,9 +49,9 @@ Read-Only:
4549
- `automatic_retries` (Number)
4650
- `business_transactions` (Set of Object) (see [below for nested schema](#nestedatt--test--business_transactions))
4751
- `created_at` (String)
52+
- `created_by` (String)
4853
- `device` (Set of Object) (see [below for nested schema](#nestedatt--test--device))
4954
- `frequency` (Number)
50-
- `id` (Number) The ID of this resource.
5155
- `last_run_at` (String)
5256
- `last_run_status` (String)
5357
- `location_ids` (List of String)
@@ -56,6 +60,7 @@ Read-Only:
5660
- `transactions` (Set of Object) (see [below for nested schema](#nestedatt--test--transactions))
5761
- `type` (String)
5862
- `updated_at` (String)
63+
- `updated_by` (String)
5964

6065
<a id="nestedblock--test--custom_properties"></a>
6166
### Nested Schema for `test.custom_properties`
@@ -72,6 +77,7 @@ Optional:
7277
Read-Only:
7378

7479
- `authentication` (Set of Object) (see [below for nested schema](#nestedobjatt--test--advanced_settings--authentication))
80+
- `chrome_flags` (Set of Object) (see [below for nested schema](#nestedobjatt--test--advanced_settings--chrome_flags))
7581
- `collect_interactive_metrics` (Boolean)
7682
- `cookies` (Set of Object) (see [below for nested schema](#nestedobjatt--test--advanced_settings--cookies))
7783
- `headers` (Set of Object) (see [below for nested schema](#nestedobjatt--test--advanced_settings--headers))
@@ -88,6 +94,15 @@ Read-Only:
8894
- `username` (String)
8995

9096

97+
<a id="nestedobjatt--test--advanced_settings--chrome_flags"></a>
98+
### Nested Schema for `test.advanced_settings.chrome_flags`
99+
100+
Read-Only:
101+
102+
- `name` (String)
103+
- `value` (String)
104+
105+
91106
<a id="nestedobjatt--test--advanced_settings--cookies"></a>
92107
### Nested Schema for `test.advanced_settings.cookies`
93108

@@ -134,6 +149,7 @@ Read-Only:
134149
Read-Only:
135150

136151
- `action` (String)
152+
- `max_wait_time` (Number)
137153
- `name` (String)
138154
- `option_selector` (String)
139155
- `option_selector_type` (String)
@@ -146,7 +162,16 @@ Read-Only:
146162
- `variable_name` (String)
147163
- `wait_for_nav` (Boolean)
148164
- `wait_for_nav_timeout` (Number)
149-
- `max_wait_time` (Number)
165+
166+
<a id="nestedobjatt--test--business_transactions--steps--options"></a>
167+
### Nested Schema for `test.business_transactions.steps.options`
168+
169+
Read-Only:
170+
171+
- `url` (String)
172+
173+
174+
150175

151176
<a id="nestedatt--test--device"></a>
152177
### Nested Schema for `test.device`
@@ -188,6 +213,7 @@ Read-Only:
188213

189214
- `action` (String)
190215
- `duration` (Number)
216+
- `max_wait_time` (Number)
191217
- `name` (String)
192218
- `option_selector` (String)
193219
- `option_selector_type` (String)
@@ -200,4 +226,10 @@ Read-Only:
200226
- `variable_name` (String)
201227
- `wait_for_nav` (Boolean)
202228
- `wait_for_nav_timeout` (Number)
203-
- `max_wait_time` (Number)
229+
230+
<a id="nestedobjatt--test--transactions--steps--options"></a>
231+
### Nested Schema for `test.transactions.steps.options`
232+
233+
Read-Only:
234+
235+
- `url` (String)

docs/data-sources/check.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: |-
99
# synthetics_check (Data Source)
1010

1111

12-
**Note**: This is a Rigor (Legacy) data source
12+
1313

1414

1515
<!-- schema generated by tfplugindocs -->
@@ -108,12 +108,9 @@ Optional:
108108

109109
Optional:
110110

111+
- `id` (Number)
111112
- `name` (String)
112113

113-
Read-Only:
114-
115-
- `id` (Number) The ID of this resource.
116-
117114

118115
<a id="nestedblock--links"></a>
119116
### Nested Schema for `links`
@@ -256,7 +253,7 @@ Read-Only:
256253
- `type` (String)
257254

258255
<a id="nestedobjatt--notifications--escalations--notify_who--links"></a>
259-
### Nested Schema for `notifications.escalations.notify_who.type`
256+
### Nested Schema for `notifications.escalations.notify_who.links`
260257

261258
Read-Only:
262259

@@ -332,5 +329,3 @@ Read-Only:
332329

333330
- `id` (Number)
334331
- `name` (String)
335-
336-

docs/data-sources/devices_v2_check.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ data "synthetics_devices_v2_check" "datasource_devices" {
3232

3333
Read-Only:
3434

35-
- `id` (Number) The ID of this resource.
35+
- `id` (Number)
3636
- `label` (String)
3737
- `network_connection` (Set of Object) (see [below for nested schema](#nestedatt--devices--network_connection))
3838
- `user_agent` (String)
@@ -49,5 +49,3 @@ Read-Only:
4949
- `latency` (Number)
5050
- `packet_loss` (Number)
5151
- `upload_bandwidth` (Number)
52-
53-

docs/data-sources/downtime_configuration_v2_check.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,20 @@ data "synthetics_downtime_configuration_v2_check" "datasource_location" {
3434
<a id="nestedblock--downtime_configuration"></a>
3535
### Nested Schema for `downtime_configuration`
3636

37+
Required:
38+
39+
- `id` (Number)
40+
3741
Optional:
3842

3943
- `description` (String)
44+
- `recurrence` (Block Set) (see [below for nested schema](#nestedblock--downtime_configuration--recurrence))
45+
- `timezone` (String)
4046

4147
Read-Only:
4248

4349
- `created_at` (String)
4450
- `end_time` (String)
45-
- `id` (Number) The ID of this resource.
4651
- `name` (String)
4752
- `rule` (String)
4853
- `start_time` (String)
@@ -51,4 +56,28 @@ Read-Only:
5156
- `tests_updated_at` (String)
5257
- `updated_at` (String)
5358

59+
<a id="nestedblock--downtime_configuration--recurrence"></a>
60+
### Nested Schema for `downtime_configuration.recurrence`
61+
62+
Optional:
63+
64+
- `end` (Block Set) (see [below for nested schema](#nestedblock--downtime_configuration--recurrence--end))
65+
- `repeats` (Block Set) (see [below for nested schema](#nestedblock--downtime_configuration--recurrence--repeats))
66+
67+
<a id="nestedblock--downtime_configuration--recurrence--end"></a>
68+
### Nested Schema for `downtime_configuration.recurrence.end`
69+
70+
Optional:
71+
72+
- `type` (String)
73+
- `value` (String)
74+
75+
76+
<a id="nestedblock--downtime_configuration--recurrence--repeats"></a>
77+
### Nested Schema for `downtime_configuration.recurrence.repeats`
78+
79+
Optional:
5480

81+
- `custom_frequency` (String)
82+
- `custom_value` (Number)
83+
- `type` (String)

docs/data-sources/downtime_configurations_v2_check.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,20 @@ data "synthetics_downtime_configurations_v2_check" "datasource_locations" {
3333
<a id="nestedblock--downtime_configurations"></a>
3434
### Nested Schema for `downtime_configurations`
3535

36+
Required:
37+
38+
- `id` (Number)
39+
3640
Optional:
3741

3842
- `description` (String)
43+
- `recurrence` (Block Set) (see [below for nested schema](#nestedblock--downtime_configurations--recurrence))
44+
- `timezone` (String)
3945

4046
Read-Only:
4147

4248
- `created_at` (String)
4349
- `end_time` (String)
44-
- `id` (Number) The ID of this resource.
4550
- `name` (String)
4651
- `rule` (String)
4752
- `start_time` (String)
@@ -50,4 +55,28 @@ Read-Only:
5055
- `tests_updated_at` (String)
5156
- `updated_at` (String)
5257

58+
<a id="nestedblock--downtime_configurations--recurrence"></a>
59+
### Nested Schema for `downtime_configurations.recurrence`
60+
61+
Optional:
62+
63+
- `end` (Block Set) (see [below for nested schema](#nestedblock--downtime_configurations--recurrence--end))
64+
- `repeats` (Block Set) (see [below for nested schema](#nestedblock--downtime_configurations--recurrence--repeats))
65+
66+
<a id="nestedblock--downtime_configurations--recurrence--end"></a>
67+
### Nested Schema for `downtime_configurations.recurrence.end`
68+
69+
Optional:
70+
71+
- `type` (String)
72+
- `value` (String)
73+
74+
75+
<a id="nestedblock--downtime_configurations--recurrence--repeats"></a>
76+
### Nested Schema for `downtime_configurations.recurrence.repeats`
77+
78+
Optional:
5379

80+
- `custom_frequency` (String)
81+
- `custom_value` (Number)
82+
- `type` (String)

docs/data-sources/http_v2_check.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ data "synthetics_http_v2_check" "datasource_check_http" {
3434
<a id="nestedblock--test"></a>
3535
### Nested Schema for `test`
3636

37+
Required:
38+
39+
- `id` (Number)
40+
3741
Optional:
3842

3943
- `custom_properties` (Block Set) (see [below for nested schema](#nestedblock--test--custom_properties))
@@ -47,7 +51,7 @@ Read-Only:
4751
- `automatic_retries` (Number)
4852
- `body` (String)
4953
- `created_at` (String)
50-
- `id` (Number) The ID of this resource.
54+
- `created_by` (String)
5155
- `last_run_at` (String)
5256
- `last_run_status` (String)
5357
- `location_ids` (List of String)
@@ -56,6 +60,7 @@ Read-Only:
5660
- `scheduling_strategy` (String)
5761
- `type` (String)
5862
- `updated_at` (String)
63+
- `updated_by` (String)
5964
- `url` (String)
6065
- `user_agent` (String)
6166
- `verify_certificates` (Boolean)
@@ -93,5 +98,3 @@ Optional:
9398
- `type` (String)
9499
- `value` (String)
95100
- `variable` (String)
96-
97-

docs/data-sources/location_v2_check.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,14 @@ data "synthetics_location_v2_check" "datasource_location" {
3535
<a id="nestedblock--location"></a>
3636
### Nested Schema for `location`
3737

38+
Required:
39+
40+
- `id` (String)
41+
3842
Read-Only:
3943

4044
- `country` (String)
4145
- `default` (Boolean)
42-
- `id` (String) The ID of this resource.
4346
- `label` (String)
4447
- `type` (String)
4548

@@ -51,5 +54,3 @@ Read-Only:
5154

5255
- `active_test_ids` (List of Number)
5356
- `paused_test_ids` (List of Number)
54-
55-

docs/data-sources/locations_v2_check.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ Read-Only:
3535

3636
- `country` (String)
3737
- `default` (Boolean)
38-
- `id` (String) The ID of this resource.
38+
- `id` (String)
3939
- `label` (String)
4040
- `type` (String)
41-
42-

docs/data-sources/port_v2_check.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ data "synthetics_port_v2_check" "datasource_check_port" {
3434
<a id="nestedblock--test"></a>
3535
### Nested Schema for `test`
3636

37+
Required:
38+
39+
- `id` (Number)
40+
3741
Optional:
3842

3943
- `custom_properties` (Block Set) (see [below for nested schema](#nestedblock--test--custom_properties))
@@ -44,9 +48,9 @@ Read-Only:
4448
- `active` (Boolean)
4549
- `automatic_retries` (Number)
4650
- `created_at` (String)
51+
- `created_by` (String)
4752
- `frequency` (Number)
4853
- `host` (String)
49-
- `id` (Number) The ID of this resource.
5054
- `last_run_at` (String)
5155
- `last_run_status` (String)
5256
- `name` (String)
@@ -55,6 +59,7 @@ Read-Only:
5559
- `scheduling_strategy` (String)
5660
- `type` (String)
5761
- `updated_at` (String)
62+
- `updated_by` (String)
5863

5964
<a id="nestedblock--test--custom_properties"></a>
6065
### Nested Schema for `test.custom_properties`
@@ -63,5 +68,3 @@ Optional:
6368

6469
- `key` (String)
6570
- `value` (String)
66-
67-

0 commit comments

Comments
 (0)