pulumi-newrelic 5.23.0a1713333809__py3-none-any.whl → 5.23.0a1713975814__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. pulumi_newrelic/_inputs.py +110 -270
  2. pulumi_newrelic/account_management.py +20 -20
  3. pulumi_newrelic/alert_channel.py +76 -92
  4. pulumi_newrelic/alert_condition.py +104 -149
  5. pulumi_newrelic/alert_muting_rule.py +33 -35
  6. pulumi_newrelic/alert_policy.py +68 -43
  7. pulumi_newrelic/alert_policy_channel.py +12 -8
  8. pulumi_newrelic/cloud/_inputs.py +322 -1072
  9. pulumi_newrelic/cloud/aws_govcloud_link_account.py +4 -6
  10. pulumi_newrelic/cloud/aws_integrations.py +13 -15
  11. pulumi_newrelic/cloud/aws_link_account.py +4 -6
  12. pulumi_newrelic/cloud/azure_integrations.py +10 -12
  13. pulumi_newrelic/cloud/azure_link_account.py +4 -6
  14. pulumi_newrelic/cloud/gcp_integrations.py +6 -6
  15. pulumi_newrelic/cloud/gcp_link_account.py +4 -6
  16. pulumi_newrelic/cloud/outputs.py +322 -1072
  17. pulumi_newrelic/data_partition_rule.py +0 -4
  18. pulumi_newrelic/entity_tags.py +13 -17
  19. pulumi_newrelic/events_to_metrics_rule.py +2 -4
  20. pulumi_newrelic/get_account.py +0 -4
  21. pulumi_newrelic/get_application.py +8 -10
  22. pulumi_newrelic/get_authentication_domain.py +4 -8
  23. pulumi_newrelic/get_cloud_account.py +0 -4
  24. pulumi_newrelic/get_entity.py +28 -32
  25. pulumi_newrelic/get_group.py +42 -8
  26. pulumi_newrelic/get_key_transaction.py +8 -10
  27. pulumi_newrelic/get_obfuscation_expression.py +2 -4
  28. pulumi_newrelic/get_service_level_alert_helper.py +22 -46
  29. pulumi_newrelic/get_test_grok_pattern.py +4 -6
  30. pulumi_newrelic/get_user.py +0 -4
  31. pulumi_newrelic/group.py +40 -42
  32. pulumi_newrelic/infra_alert_condition.py +154 -131
  33. pulumi_newrelic/insights/event.py +8 -25
  34. pulumi_newrelic/log_parsing_rule.py +6 -10
  35. pulumi_newrelic/monitor_downtime.py +174 -193
  36. pulumi_newrelic/notification_channel.py +124 -150
  37. pulumi_newrelic/nrql_alert_condition.py +38 -48
  38. pulumi_newrelic/nrql_drop_rule.py +34 -38
  39. pulumi_newrelic/obfuscation_expression.py +2 -4
  40. pulumi_newrelic/obfuscation_rule.py +4 -4
  41. pulumi_newrelic/one_dashboard.py +42 -48
  42. pulumi_newrelic/one_dashboard_raw.py +86 -86
  43. pulumi_newrelic/outputs.py +110 -270
  44. pulumi_newrelic/plugins/_inputs.py +16 -16
  45. pulumi_newrelic/plugins/application_settings.py +6 -8
  46. pulumi_newrelic/plugins/outputs.py +16 -16
  47. pulumi_newrelic/plugins/workload.py +158 -40
  48. pulumi_newrelic/service_level.py +38 -123
  49. pulumi_newrelic/synthetics/alert_condition.py +34 -64
  50. pulumi_newrelic/synthetics/broken_links_monitor.py +18 -20
  51. pulumi_newrelic/synthetics/cert_check_monitor.py +16 -18
  52. pulumi_newrelic/synthetics/get_private_location.py +0 -8
  53. pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
  54. pulumi_newrelic/synthetics/monitor.py +48 -52
  55. pulumi_newrelic/synthetics/multi_location_alert_condition.py +69 -83
  56. pulumi_newrelic/synthetics/private_location.py +6 -6
  57. pulumi_newrelic/synthetics/script_monitor.py +38 -42
  58. pulumi_newrelic/synthetics/secure_credential.py +25 -22
  59. pulumi_newrelic/synthetics/step_monitor.py +18 -20
  60. pulumi_newrelic/user.py +8 -10
  61. pulumi_newrelic/workflow.py +20 -24
  62. {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/METADATA +1 -1
  63. pulumi_newrelic-5.23.0a1713975814.dist-info/RECORD +89 -0
  64. pulumi_newrelic-5.23.0a1713333809.dist-info/RECORD +0 -89
  65. {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/WHEEL +0 -0
  66. {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/top_level.txt +0 -0
@@ -28,18 +28,17 @@ class MonitorDowntimeArgs:
28
28
  name: Optional[pulumi.Input[str]] = None):
29
29
  """
30
30
  The set of arguments for constructing a MonitorDowntime resource.
31
- :param pulumi.Input[str] end_time: The time at which the monitor downtime would end operating, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2024-01-05T14:27:07`.
32
- :param pulumi.Input[str] mode: One of the four modes of operation of monitor downtimes - `ONE_TIME`, `DAILY`, `MONTHLY` or `WEEKLY`.
33
- :param pulumi.Input[str] start_time: The time at which the monitor downtime would begin to operate, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2023-12-20T10:48:53`.
31
+ :param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
32
+ :param pulumi.Input[str] mode: An identifier of the type of Monitor Downtime to be created.
33
+ :param pulumi.Input[str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
34
34
  :param pulumi.Input[str] time_zone: The timezone that applies to the Monitor Downtime schedule.
35
- :param pulumi.Input[int] account_id: The account in which the monitor downtime would be created. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` (or the `account_id` specified in the `provider{}`), if not specified.
36
- :param pulumi.Input['MonitorDowntimeEndRepeatArgs'] end_repeat: Options which may be used to specify when the repeat cycle of the monitor should end. This argument comprises the following nested arguments -
37
- :param pulumi.Input['MonitorDowntimeFrequencyArgs'] frequency: Options which may be used to specify the configuration of a monthly monitor downtime. This argument comprises the following nested arguments -
38
- :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of days on which weekly monitor downtimes would function. Valid values which go into this list would be `"SUNDAY"`, `"MONDAY"`, `"TUESDAY"`, `"WEDNESDAY"`, `"THURSDAY"`, `"FRIDAY"` and/or `"SATURDAY"`.
39
-
40
- > **NOTE:** `maintenance_days` **can only be used with the mode** `WEEKLY`, and **is a required argument** with weekly monitor downtimes (i.e. if the `mode` is `WEEKLY`).
41
- :param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of synthetic monitors the monitor downtime would need to be applied to.
42
- :param pulumi.Input[str] name: Name of the monitor downtime to be created.
35
+ :param pulumi.Input[int] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
36
+ provider{} configuration if not specified.
37
+ :param pulumi.Input['MonitorDowntimeEndRepeatArgs'] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
38
+ :param pulumi.Input['MonitorDowntimeFrequencyArgs'] frequency: Configuration options for which days of the month a monitor downtime will occur
39
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
40
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
41
+ :param pulumi.Input[str] name: A name to identify the Monitor Downtime to be created.
43
42
  """
44
43
  pulumi.set(__self__, "end_time", end_time)
45
44
  pulumi.set(__self__, "mode", mode)
@@ -62,7 +61,7 @@ class MonitorDowntimeArgs:
62
61
  @pulumi.getter(name="endTime")
63
62
  def end_time(self) -> pulumi.Input[str]:
64
63
  """
65
- The time at which the monitor downtime would end operating, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2024-01-05T14:27:07`.
64
+ A datetime stamp signifying the end of the Monitor Downtime.
66
65
  """
67
66
  return pulumi.get(self, "end_time")
68
67
 
@@ -74,7 +73,7 @@ class MonitorDowntimeArgs:
74
73
  @pulumi.getter
75
74
  def mode(self) -> pulumi.Input[str]:
76
75
  """
77
- One of the four modes of operation of monitor downtimes - `ONE_TIME`, `DAILY`, `MONTHLY` or `WEEKLY`.
76
+ An identifier of the type of Monitor Downtime to be created.
78
77
  """
79
78
  return pulumi.get(self, "mode")
80
79
 
@@ -86,7 +85,7 @@ class MonitorDowntimeArgs:
86
85
  @pulumi.getter(name="startTime")
87
86
  def start_time(self) -> pulumi.Input[str]:
88
87
  """
89
- The time at which the monitor downtime would begin to operate, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2023-12-20T10:48:53`.
88
+ A datetime stamp signifying the start of the Monitor Downtime.
90
89
  """
91
90
  return pulumi.get(self, "start_time")
92
91
 
@@ -110,7 +109,8 @@ class MonitorDowntimeArgs:
110
109
  @pulumi.getter(name="accountId")
111
110
  def account_id(self) -> Optional[pulumi.Input[int]]:
112
111
  """
113
- The account in which the monitor downtime would be created. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` (or the `account_id` specified in the `provider{}`), if not specified.
112
+ The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
113
+ provider{} configuration if not specified.
114
114
  """
115
115
  return pulumi.get(self, "account_id")
116
116
 
@@ -122,7 +122,7 @@ class MonitorDowntimeArgs:
122
122
  @pulumi.getter(name="endRepeat")
123
123
  def end_repeat(self) -> Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']]:
124
124
  """
125
- Options which may be used to specify when the repeat cycle of the monitor should end. This argument comprises the following nested arguments -
125
+ A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
126
126
  """
127
127
  return pulumi.get(self, "end_repeat")
128
128
 
@@ -134,7 +134,7 @@ class MonitorDowntimeArgs:
134
134
  @pulumi.getter
135
135
  def frequency(self) -> Optional[pulumi.Input['MonitorDowntimeFrequencyArgs']]:
136
136
  """
137
- Options which may be used to specify the configuration of a monthly monitor downtime. This argument comprises the following nested arguments -
137
+ Configuration options for which days of the month a monitor downtime will occur
138
138
  """
139
139
  return pulumi.get(self, "frequency")
140
140
 
@@ -146,9 +146,7 @@ class MonitorDowntimeArgs:
146
146
  @pulumi.getter(name="maintenanceDays")
147
147
  def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
148
148
  """
149
- A list of days on which weekly monitor downtimes would function. Valid values which go into this list would be `"SUNDAY"`, `"MONDAY"`, `"TUESDAY"`, `"WEDNESDAY"`, `"THURSDAY"`, `"FRIDAY"` and/or `"SATURDAY"`.
150
-
151
- > **NOTE:** `maintenance_days` **can only be used with the mode** `WEEKLY`, and **is a required argument** with weekly monitor downtimes (i.e. if the `mode` is `WEEKLY`).
149
+ A list of maintenance days to be included with the created weekly Monitor Downtime.
152
150
  """
153
151
  return pulumi.get(self, "maintenance_days")
154
152
 
@@ -160,7 +158,7 @@ class MonitorDowntimeArgs:
160
158
  @pulumi.getter(name="monitorGuids")
161
159
  def monitor_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
162
160
  """
163
- A list of GUIDs of synthetic monitors the monitor downtime would need to be applied to.
161
+ A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
164
162
  """
165
163
  return pulumi.get(self, "monitor_guids")
166
164
 
@@ -172,7 +170,7 @@ class MonitorDowntimeArgs:
172
170
  @pulumi.getter
173
171
  def name(self) -> Optional[pulumi.Input[str]]:
174
172
  """
175
- Name of the monitor downtime to be created.
173
+ A name to identify the Monitor Downtime to be created.
176
174
  """
177
175
  return pulumi.get(self, "name")
178
176
 
@@ -196,17 +194,16 @@ class _MonitorDowntimeState:
196
194
  time_zone: Optional[pulumi.Input[str]] = None):
197
195
  """
198
196
  Input properties used for looking up and filtering MonitorDowntime resources.
199
- :param pulumi.Input[int] account_id: The account in which the monitor downtime would be created. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` (or the `account_id` specified in the `provider{}`), if not specified.
200
- :param pulumi.Input['MonitorDowntimeEndRepeatArgs'] end_repeat: Options which may be used to specify when the repeat cycle of the monitor should end. This argument comprises the following nested arguments -
201
- :param pulumi.Input[str] end_time: The time at which the monitor downtime would end operating, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2024-01-05T14:27:07`.
202
- :param pulumi.Input['MonitorDowntimeFrequencyArgs'] frequency: Options which may be used to specify the configuration of a monthly monitor downtime. This argument comprises the following nested arguments -
203
- :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of days on which weekly monitor downtimes would function. Valid values which go into this list would be `"SUNDAY"`, `"MONDAY"`, `"TUESDAY"`, `"WEDNESDAY"`, `"THURSDAY"`, `"FRIDAY"` and/or `"SATURDAY"`.
204
-
205
- > **NOTE:** `maintenance_days` **can only be used with the mode** `WEEKLY`, and **is a required argument** with weekly monitor downtimes (i.e. if the `mode` is `WEEKLY`).
206
- :param pulumi.Input[str] mode: One of the four modes of operation of monitor downtimes - `ONE_TIME`, `DAILY`, `MONTHLY` or `WEEKLY`.
207
- :param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of synthetic monitors the monitor downtime would need to be applied to.
208
- :param pulumi.Input[str] name: Name of the monitor downtime to be created.
209
- :param pulumi.Input[str] start_time: The time at which the monitor downtime would begin to operate, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2023-12-20T10:48:53`.
197
+ :param pulumi.Input[int] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
198
+ provider{} configuration if not specified.
199
+ :param pulumi.Input['MonitorDowntimeEndRepeatArgs'] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
200
+ :param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
201
+ :param pulumi.Input['MonitorDowntimeFrequencyArgs'] frequency: Configuration options for which days of the month a monitor downtime will occur
202
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
203
+ :param pulumi.Input[str] mode: An identifier of the type of Monitor Downtime to be created.
204
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
205
+ :param pulumi.Input[str] name: A name to identify the Monitor Downtime to be created.
206
+ :param pulumi.Input[str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
210
207
  :param pulumi.Input[str] time_zone: The timezone that applies to the Monitor Downtime schedule.
211
208
  """
212
209
  if account_id is not None:
@@ -234,7 +231,8 @@ class _MonitorDowntimeState:
234
231
  @pulumi.getter(name="accountId")
235
232
  def account_id(self) -> Optional[pulumi.Input[int]]:
236
233
  """
237
- The account in which the monitor downtime would be created. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` (or the `account_id` specified in the `provider{}`), if not specified.
234
+ The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
235
+ provider{} configuration if not specified.
238
236
  """
239
237
  return pulumi.get(self, "account_id")
240
238
 
@@ -246,7 +244,7 @@ class _MonitorDowntimeState:
246
244
  @pulumi.getter(name="endRepeat")
247
245
  def end_repeat(self) -> Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']]:
248
246
  """
249
- Options which may be used to specify when the repeat cycle of the monitor should end. This argument comprises the following nested arguments -
247
+ A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
250
248
  """
251
249
  return pulumi.get(self, "end_repeat")
252
250
 
@@ -258,7 +256,7 @@ class _MonitorDowntimeState:
258
256
  @pulumi.getter(name="endTime")
259
257
  def end_time(self) -> Optional[pulumi.Input[str]]:
260
258
  """
261
- The time at which the monitor downtime would end operating, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2024-01-05T14:27:07`.
259
+ A datetime stamp signifying the end of the Monitor Downtime.
262
260
  """
263
261
  return pulumi.get(self, "end_time")
264
262
 
@@ -270,7 +268,7 @@ class _MonitorDowntimeState:
270
268
  @pulumi.getter
271
269
  def frequency(self) -> Optional[pulumi.Input['MonitorDowntimeFrequencyArgs']]:
272
270
  """
273
- Options which may be used to specify the configuration of a monthly monitor downtime. This argument comprises the following nested arguments -
271
+ Configuration options for which days of the month a monitor downtime will occur
274
272
  """
275
273
  return pulumi.get(self, "frequency")
276
274
 
@@ -282,9 +280,7 @@ class _MonitorDowntimeState:
282
280
  @pulumi.getter(name="maintenanceDays")
283
281
  def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
284
282
  """
285
- A list of days on which weekly monitor downtimes would function. Valid values which go into this list would be `"SUNDAY"`, `"MONDAY"`, `"TUESDAY"`, `"WEDNESDAY"`, `"THURSDAY"`, `"FRIDAY"` and/or `"SATURDAY"`.
286
-
287
- > **NOTE:** `maintenance_days` **can only be used with the mode** `WEEKLY`, and **is a required argument** with weekly monitor downtimes (i.e. if the `mode` is `WEEKLY`).
283
+ A list of maintenance days to be included with the created weekly Monitor Downtime.
288
284
  """
289
285
  return pulumi.get(self, "maintenance_days")
290
286
 
@@ -296,7 +292,7 @@ class _MonitorDowntimeState:
296
292
  @pulumi.getter
297
293
  def mode(self) -> Optional[pulumi.Input[str]]:
298
294
  """
299
- One of the four modes of operation of monitor downtimes - `ONE_TIME`, `DAILY`, `MONTHLY` or `WEEKLY`.
295
+ An identifier of the type of Monitor Downtime to be created.
300
296
  """
301
297
  return pulumi.get(self, "mode")
302
298
 
@@ -308,7 +304,7 @@ class _MonitorDowntimeState:
308
304
  @pulumi.getter(name="monitorGuids")
309
305
  def monitor_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
310
306
  """
311
- A list of GUIDs of synthetic monitors the monitor downtime would need to be applied to.
307
+ A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
312
308
  """
313
309
  return pulumi.get(self, "monitor_guids")
314
310
 
@@ -320,7 +316,7 @@ class _MonitorDowntimeState:
320
316
  @pulumi.getter
321
317
  def name(self) -> Optional[pulumi.Input[str]]:
322
318
  """
323
- Name of the monitor downtime to be created.
319
+ A name to identify the Monitor Downtime to be created.
324
320
  """
325
321
  return pulumi.get(self, "name")
326
322
 
@@ -332,7 +328,7 @@ class _MonitorDowntimeState:
332
328
  @pulumi.getter(name="startTime")
333
329
  def start_time(self) -> Optional[pulumi.Input[str]]:
334
330
  """
335
- The time at which the monitor downtime would begin to operate, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2023-12-20T10:48:53`.
331
+ A datetime stamp signifying the start of the Monitor Downtime.
336
332
  """
337
333
  return pulumi.get(self, "start_time")
338
334
 
@@ -374,29 +370,28 @@ class MonitorDowntime(pulumi.CustomResource):
374
370
 
375
371
  ## Example Usage
376
372
 
377
- <!--Start PulumiCodeChooser -->
378
373
  ```python
379
374
  import pulumi
380
375
  import pulumi_newrelic as newrelic
381
376
 
382
377
  foo = newrelic.MonitorDowntime("foo",
378
+ name="Sample Monitor Downtime",
379
+ monitor_guids=[
380
+ "<GUID-1>",
381
+ "<GUID-2>",
382
+ ],
383
+ mode="WEEKLY",
384
+ start_time="2023-11-30T10:30:00",
385
+ end_time="2023-12-10T02:45:30",
386
+ time_zone="Asia/Kolkata",
383
387
  end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
384
388
  on_date="2023-12-20",
385
389
  ),
386
- end_time="2023-12-10T02:45:30",
387
390
  maintenance_days=[
388
391
  "FRIDAY",
389
392
  "SATURDAY",
390
- ],
391
- mode="WEEKLY",
392
- monitor_guids=[
393
- "<GUID-1>",
394
- "<GUID-2>",
395
- ],
396
- start_time="2023-11-30T10:30:00",
397
- time_zone="Asia/Kolkata")
393
+ ])
398
394
  ```
399
- <!--End PulumiCodeChooser -->
400
395
  Monitor Downtimes are of four types; **one-time**, **daily**, **weekly** and **monthly**. For more details on each type and the right arguments that go with them, check out the argument reference and examples sections below.
401
396
 
402
397
  ## Examples
@@ -405,22 +400,21 @@ class MonitorDowntime(pulumi.CustomResource):
405
400
 
406
401
  The below example illustrates creating a **one-time** monitor downtime.
407
402
 
408
- <!--Start PulumiCodeChooser -->
409
403
  ```python
410
404
  import pulumi
411
405
  import pulumi_newrelic as newrelic
412
406
 
413
- sample_one_time_newrelic_monitor_downtime = newrelic.MonitorDowntime("sampleOneTimeNewrelicMonitorDowntime",
414
- end_time="2024-01-04T16:24:30",
415
- mode="ONE_TIME",
407
+ sample_one_time_newrelic_monitor_downtime = newrelic.MonitorDowntime("sample_one_time_newrelic_monitor_downtime",
408
+ name="Sample One Time Monitor Downtime",
416
409
  monitor_guids=[
417
410
  "<GUID-1>",
418
411
  "<GUID-2>",
419
412
  ],
413
+ mode="ONE_TIME",
420
414
  start_time="2023-12-04T10:15:00",
415
+ end_time="2024-01-04T16:24:30",
421
416
  time_zone="America/Los_Angeles")
422
417
  ```
423
- <!--End PulumiCodeChooser -->
424
418
 
425
419
  ### Daily Monitor Downtime
426
420
 
@@ -428,25 +422,24 @@ class MonitorDowntime(pulumi.CustomResource):
428
422
 
429
423
  Note that `end_repeat` has been specified in the configuration; however, this is optional, in accordance with the rules of `end_repeat` specified in the argument reference section above. This example uses the `on_date` nested argument of `end_repeat`, however, the other nested argument, `on_repeat` may also be used _instead_, as you may see in some of the other examples below; though both `on_date` and `on_repeat` cannot be specified together, as they are mutually exclusive.
430
424
 
431
- <!--Start PulumiCodeChooser -->
432
425
  ```python
433
426
  import pulumi
434
427
  import pulumi_newrelic as newrelic
435
428
 
436
- sample_daily_newrelic_monitor_downtime = newrelic.MonitorDowntime("sampleDailyNewrelicMonitorDowntime",
437
- end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
438
- on_date="2023-12-25",
439
- ),
440
- end_time="2024-01-04T07:15:00",
441
- mode="DAILY",
429
+ sample_daily_newrelic_monitor_downtime = newrelic.MonitorDowntime("sample_daily_newrelic_monitor_downtime",
430
+ name="Sample Daily Monitor Downtime",
442
431
  monitor_guids=[
443
432
  "<GUID-1>",
444
433
  "<GUID-2>",
445
434
  ],
435
+ mode="DAILY",
446
436
  start_time="2023-12-04T18:15:00",
437
+ end_time="2024-01-04T07:15:00",
438
+ end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
439
+ on_date="2023-12-25",
440
+ ),
447
441
  time_zone="Asia/Kolkata")
448
442
  ```
449
- <!--End PulumiCodeChooser -->
450
443
 
451
444
  ### Weekly Monitor Downtime
452
445
 
@@ -454,26 +447,25 @@ class MonitorDowntime(pulumi.CustomResource):
454
447
 
455
448
  Note that `maintenance_days` has been specified in the configuration as it is required with weekly monitor downtimes; and `end_repeat` has not been specified as it is optional, all in accordance with the rules of these arguments specified in the argument reference section above.
456
449
 
457
- <!--Start PulumiCodeChooser -->
458
450
  ```python
459
451
  import pulumi
460
452
  import pulumi_newrelic as newrelic
461
453
 
462
- sample_weekly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sampleWeeklyNewrelicMonitorDowntime",
463
- end_time="2024-01-04T23:55:00",
464
- maintenance_days=[
465
- "SATURDAY",
466
- "SUNDAY",
467
- ],
468
- mode="WEEKLY",
454
+ sample_weekly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sample_weekly_newrelic_monitor_downtime",
455
+ name="Sample Weekly Monitor Downtime",
469
456
  monitor_guids=[
470
457
  "<GUID-1>",
471
458
  "<GUID-2>",
472
459
  ],
460
+ mode="WEEKLY",
473
461
  start_time="2023-12-04T14:15:00",
474
- time_zone="US/Hawaii")
462
+ end_time="2024-01-04T23:55:00",
463
+ time_zone="US/Hawaii",
464
+ maintenance_days=[
465
+ "SATURDAY",
466
+ "SUNDAY",
467
+ ])
475
468
  ```
476
- <!--End PulumiCodeChooser -->
477
469
 
478
470
  ### Monthly Monitor Downtime
479
471
 
@@ -481,42 +473,48 @@ class MonitorDowntime(pulumi.CustomResource):
481
473
 
482
474
  Note that `frequency` has been specified in the configuration as it is required with monthly monitor downtimes, and `end_repeat` has been specified too, though it is optional. `frequency` has been specified with `days_of_week` comprising both of its nested arguments, `ordinal_day_of_month` and `week_day`; all in accordance with the rules of these arguments specified in the argument reference section above.
483
475
 
484
- <!--Start PulumiCodeChooser -->
485
476
  ```python
486
477
  import pulumi
487
478
  import pulumi_newrelic as newrelic
488
479
 
489
- sample_monthly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sampleMonthlyNewrelicMonitorDowntime",
480
+ sample_monthly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sample_monthly_newrelic_monitor_downtime",
481
+ name="Sample Monthly Monitor Downtime",
482
+ monitor_guids=[
483
+ "<GUID-1>",
484
+ "<GUID-2>",
485
+ ],
486
+ mode="MONTHLY",
487
+ start_time="2023-12-04T07:15:00",
488
+ end_time="2024-01-04T19:15:00",
490
489
  end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
491
490
  on_repeat=6,
492
491
  ),
493
- end_time="2024-01-04T19:15:00",
492
+ time_zone="Europe/Dublin",
494
493
  frequency=newrelic.MonitorDowntimeFrequencyArgs(
495
494
  days_of_week=newrelic.MonitorDowntimeFrequencyDaysOfWeekArgs(
496
495
  ordinal_day_of_month="SECOND",
497
496
  week_day="SATURDAY",
498
497
  ),
499
- ),
500
- mode="MONTHLY",
501
- monitor_guids=[
502
- "<GUID-1>",
503
- "<GUID-2>",
504
- ],
505
- start_time="2023-12-04T07:15:00",
506
- time_zone="Europe/Dublin")
498
+ ))
507
499
  ```
508
- <!--End PulumiCodeChooser -->
509
500
  However, the `frequency` block in monthly monitor downtimes may also be specified with its other nested argument, `days_of_month`, as shown in the example below - though both `days_of_month` and `days_of_week` cannot be specified together, as they are mutually exclusive.
510
- <!--Start PulumiCodeChooser -->
511
501
  ```python
512
502
  import pulumi
513
503
  import pulumi_newrelic as newrelic
514
504
 
515
- sample_monthly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sampleMonthlyNewrelicMonitorDowntime",
505
+ sample_monthly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sample_monthly_newrelic_monitor_downtime",
506
+ name="Sample Monthly Monitor Downtime",
507
+ monitor_guids=[
508
+ "<GUID-1>",
509
+ "<GUID-2>",
510
+ ],
511
+ mode="MONTHLY",
512
+ start_time="2023-12-04T07:15:00",
513
+ end_time="2024-01-04T19:15:00",
516
514
  end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
517
515
  on_repeat=6,
518
516
  ),
519
- end_time="2024-01-04T19:15:00",
517
+ time_zone="Europe/Dublin",
520
518
  frequency=newrelic.MonitorDowntimeFrequencyArgs(
521
519
  days_of_months=[
522
520
  3,
@@ -524,16 +522,8 @@ class MonitorDowntime(pulumi.CustomResource):
524
522
  14,
525
523
  23,
526
524
  ],
527
- ),
528
- mode="MONTHLY",
529
- monitor_guids=[
530
- "<GUID-1>",
531
- "<GUID-2>",
532
- ],
533
- start_time="2023-12-04T07:15:00",
534
- time_zone="Europe/Dublin")
525
+ ))
535
526
  ```
536
- <!--End PulumiCodeChooser -->
537
527
 
538
528
  ## Import
539
529
 
@@ -547,17 +537,16 @@ class MonitorDowntime(pulumi.CustomResource):
547
537
 
548
538
  :param str resource_name: The name of the resource.
549
539
  :param pulumi.ResourceOptions opts: Options for the resource.
550
- :param pulumi.Input[int] account_id: The account in which the monitor downtime would be created. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` (or the `account_id` specified in the `provider{}`), if not specified.
551
- :param pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']] end_repeat: Options which may be used to specify when the repeat cycle of the monitor should end. This argument comprises the following nested arguments -
552
- :param pulumi.Input[str] end_time: The time at which the monitor downtime would end operating, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2024-01-05T14:27:07`.
553
- :param pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']] frequency: Options which may be used to specify the configuration of a monthly monitor downtime. This argument comprises the following nested arguments -
554
- :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of days on which weekly monitor downtimes would function. Valid values which go into this list would be `"SUNDAY"`, `"MONDAY"`, `"TUESDAY"`, `"WEDNESDAY"`, `"THURSDAY"`, `"FRIDAY"` and/or `"SATURDAY"`.
555
-
556
- > **NOTE:** `maintenance_days` **can only be used with the mode** `WEEKLY`, and **is a required argument** with weekly monitor downtimes (i.e. if the `mode` is `WEEKLY`).
557
- :param pulumi.Input[str] mode: One of the four modes of operation of monitor downtimes - `ONE_TIME`, `DAILY`, `MONTHLY` or `WEEKLY`.
558
- :param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of synthetic monitors the monitor downtime would need to be applied to.
559
- :param pulumi.Input[str] name: Name of the monitor downtime to be created.
560
- :param pulumi.Input[str] start_time: The time at which the monitor downtime would begin to operate, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2023-12-20T10:48:53`.
540
+ :param pulumi.Input[int] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
541
+ provider{} configuration if not specified.
542
+ :param pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
543
+ :param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
544
+ :param pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']] frequency: Configuration options for which days of the month a monitor downtime will occur
545
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
546
+ :param pulumi.Input[str] mode: An identifier of the type of Monitor Downtime to be created.
547
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
548
+ :param pulumi.Input[str] name: A name to identify the Monitor Downtime to be created.
549
+ :param pulumi.Input[str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
561
550
  :param pulumi.Input[str] time_zone: The timezone that applies to the Monitor Downtime schedule.
562
551
  """
563
552
  ...
@@ -571,29 +560,28 @@ class MonitorDowntime(pulumi.CustomResource):
571
560
 
572
561
  ## Example Usage
573
562
 
574
- <!--Start PulumiCodeChooser -->
575
563
  ```python
576
564
  import pulumi
577
565
  import pulumi_newrelic as newrelic
578
566
 
579
567
  foo = newrelic.MonitorDowntime("foo",
568
+ name="Sample Monitor Downtime",
569
+ monitor_guids=[
570
+ "<GUID-1>",
571
+ "<GUID-2>",
572
+ ],
573
+ mode="WEEKLY",
574
+ start_time="2023-11-30T10:30:00",
575
+ end_time="2023-12-10T02:45:30",
576
+ time_zone="Asia/Kolkata",
580
577
  end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
581
578
  on_date="2023-12-20",
582
579
  ),
583
- end_time="2023-12-10T02:45:30",
584
580
  maintenance_days=[
585
581
  "FRIDAY",
586
582
  "SATURDAY",
587
- ],
588
- mode="WEEKLY",
589
- monitor_guids=[
590
- "<GUID-1>",
591
- "<GUID-2>",
592
- ],
593
- start_time="2023-11-30T10:30:00",
594
- time_zone="Asia/Kolkata")
583
+ ])
595
584
  ```
596
- <!--End PulumiCodeChooser -->
597
585
  Monitor Downtimes are of four types; **one-time**, **daily**, **weekly** and **monthly**. For more details on each type and the right arguments that go with them, check out the argument reference and examples sections below.
598
586
 
599
587
  ## Examples
@@ -602,22 +590,21 @@ class MonitorDowntime(pulumi.CustomResource):
602
590
 
603
591
  The below example illustrates creating a **one-time** monitor downtime.
604
592
 
605
- <!--Start PulumiCodeChooser -->
606
593
  ```python
607
594
  import pulumi
608
595
  import pulumi_newrelic as newrelic
609
596
 
610
- sample_one_time_newrelic_monitor_downtime = newrelic.MonitorDowntime("sampleOneTimeNewrelicMonitorDowntime",
611
- end_time="2024-01-04T16:24:30",
612
- mode="ONE_TIME",
597
+ sample_one_time_newrelic_monitor_downtime = newrelic.MonitorDowntime("sample_one_time_newrelic_monitor_downtime",
598
+ name="Sample One Time Monitor Downtime",
613
599
  monitor_guids=[
614
600
  "<GUID-1>",
615
601
  "<GUID-2>",
616
602
  ],
603
+ mode="ONE_TIME",
617
604
  start_time="2023-12-04T10:15:00",
605
+ end_time="2024-01-04T16:24:30",
618
606
  time_zone="America/Los_Angeles")
619
607
  ```
620
- <!--End PulumiCodeChooser -->
621
608
 
622
609
  ### Daily Monitor Downtime
623
610
 
@@ -625,25 +612,24 @@ class MonitorDowntime(pulumi.CustomResource):
625
612
 
626
613
  Note that `end_repeat` has been specified in the configuration; however, this is optional, in accordance with the rules of `end_repeat` specified in the argument reference section above. This example uses the `on_date` nested argument of `end_repeat`, however, the other nested argument, `on_repeat` may also be used _instead_, as you may see in some of the other examples below; though both `on_date` and `on_repeat` cannot be specified together, as they are mutually exclusive.
627
614
 
628
- <!--Start PulumiCodeChooser -->
629
615
  ```python
630
616
  import pulumi
631
617
  import pulumi_newrelic as newrelic
632
618
 
633
- sample_daily_newrelic_monitor_downtime = newrelic.MonitorDowntime("sampleDailyNewrelicMonitorDowntime",
634
- end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
635
- on_date="2023-12-25",
636
- ),
637
- end_time="2024-01-04T07:15:00",
638
- mode="DAILY",
619
+ sample_daily_newrelic_monitor_downtime = newrelic.MonitorDowntime("sample_daily_newrelic_monitor_downtime",
620
+ name="Sample Daily Monitor Downtime",
639
621
  monitor_guids=[
640
622
  "<GUID-1>",
641
623
  "<GUID-2>",
642
624
  ],
625
+ mode="DAILY",
643
626
  start_time="2023-12-04T18:15:00",
627
+ end_time="2024-01-04T07:15:00",
628
+ end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
629
+ on_date="2023-12-25",
630
+ ),
644
631
  time_zone="Asia/Kolkata")
645
632
  ```
646
- <!--End PulumiCodeChooser -->
647
633
 
648
634
  ### Weekly Monitor Downtime
649
635
 
@@ -651,26 +637,25 @@ class MonitorDowntime(pulumi.CustomResource):
651
637
 
652
638
  Note that `maintenance_days` has been specified in the configuration as it is required with weekly monitor downtimes; and `end_repeat` has not been specified as it is optional, all in accordance with the rules of these arguments specified in the argument reference section above.
653
639
 
654
- <!--Start PulumiCodeChooser -->
655
640
  ```python
656
641
  import pulumi
657
642
  import pulumi_newrelic as newrelic
658
643
 
659
- sample_weekly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sampleWeeklyNewrelicMonitorDowntime",
660
- end_time="2024-01-04T23:55:00",
661
- maintenance_days=[
662
- "SATURDAY",
663
- "SUNDAY",
664
- ],
665
- mode="WEEKLY",
644
+ sample_weekly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sample_weekly_newrelic_monitor_downtime",
645
+ name="Sample Weekly Monitor Downtime",
666
646
  monitor_guids=[
667
647
  "<GUID-1>",
668
648
  "<GUID-2>",
669
649
  ],
650
+ mode="WEEKLY",
670
651
  start_time="2023-12-04T14:15:00",
671
- time_zone="US/Hawaii")
652
+ end_time="2024-01-04T23:55:00",
653
+ time_zone="US/Hawaii",
654
+ maintenance_days=[
655
+ "SATURDAY",
656
+ "SUNDAY",
657
+ ])
672
658
  ```
673
- <!--End PulumiCodeChooser -->
674
659
 
675
660
  ### Monthly Monitor Downtime
676
661
 
@@ -678,42 +663,48 @@ class MonitorDowntime(pulumi.CustomResource):
678
663
 
679
664
  Note that `frequency` has been specified in the configuration as it is required with monthly monitor downtimes, and `end_repeat` has been specified too, though it is optional. `frequency` has been specified with `days_of_week` comprising both of its nested arguments, `ordinal_day_of_month` and `week_day`; all in accordance with the rules of these arguments specified in the argument reference section above.
680
665
 
681
- <!--Start PulumiCodeChooser -->
682
666
  ```python
683
667
  import pulumi
684
668
  import pulumi_newrelic as newrelic
685
669
 
686
- sample_monthly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sampleMonthlyNewrelicMonitorDowntime",
670
+ sample_monthly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sample_monthly_newrelic_monitor_downtime",
671
+ name="Sample Monthly Monitor Downtime",
672
+ monitor_guids=[
673
+ "<GUID-1>",
674
+ "<GUID-2>",
675
+ ],
676
+ mode="MONTHLY",
677
+ start_time="2023-12-04T07:15:00",
678
+ end_time="2024-01-04T19:15:00",
687
679
  end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
688
680
  on_repeat=6,
689
681
  ),
690
- end_time="2024-01-04T19:15:00",
682
+ time_zone="Europe/Dublin",
691
683
  frequency=newrelic.MonitorDowntimeFrequencyArgs(
692
684
  days_of_week=newrelic.MonitorDowntimeFrequencyDaysOfWeekArgs(
693
685
  ordinal_day_of_month="SECOND",
694
686
  week_day="SATURDAY",
695
687
  ),
696
- ),
697
- mode="MONTHLY",
698
- monitor_guids=[
699
- "<GUID-1>",
700
- "<GUID-2>",
701
- ],
702
- start_time="2023-12-04T07:15:00",
703
- time_zone="Europe/Dublin")
688
+ ))
704
689
  ```
705
- <!--End PulumiCodeChooser -->
706
690
  However, the `frequency` block in monthly monitor downtimes may also be specified with its other nested argument, `days_of_month`, as shown in the example below - though both `days_of_month` and `days_of_week` cannot be specified together, as they are mutually exclusive.
707
- <!--Start PulumiCodeChooser -->
708
691
  ```python
709
692
  import pulumi
710
693
  import pulumi_newrelic as newrelic
711
694
 
712
- sample_monthly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sampleMonthlyNewrelicMonitorDowntime",
695
+ sample_monthly_newrelic_monitor_downtime = newrelic.MonitorDowntime("sample_monthly_newrelic_monitor_downtime",
696
+ name="Sample Monthly Monitor Downtime",
697
+ monitor_guids=[
698
+ "<GUID-1>",
699
+ "<GUID-2>",
700
+ ],
701
+ mode="MONTHLY",
702
+ start_time="2023-12-04T07:15:00",
703
+ end_time="2024-01-04T19:15:00",
713
704
  end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
714
705
  on_repeat=6,
715
706
  ),
716
- end_time="2024-01-04T19:15:00",
707
+ time_zone="Europe/Dublin",
717
708
  frequency=newrelic.MonitorDowntimeFrequencyArgs(
718
709
  days_of_months=[
719
710
  3,
@@ -721,16 +712,8 @@ class MonitorDowntime(pulumi.CustomResource):
721
712
  14,
722
713
  23,
723
714
  ],
724
- ),
725
- mode="MONTHLY",
726
- monitor_guids=[
727
- "<GUID-1>",
728
- "<GUID-2>",
729
- ],
730
- start_time="2023-12-04T07:15:00",
731
- time_zone="Europe/Dublin")
715
+ ))
732
716
  ```
733
- <!--End PulumiCodeChooser -->
734
717
 
735
718
  ## Import
736
719
 
@@ -821,17 +804,16 @@ class MonitorDowntime(pulumi.CustomResource):
821
804
  :param str resource_name: The unique name of the resulting resource.
822
805
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
823
806
  :param pulumi.ResourceOptions opts: Options for the resource.
824
- :param pulumi.Input[int] account_id: The account in which the monitor downtime would be created. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` (or the `account_id` specified in the `provider{}`), if not specified.
825
- :param pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']] end_repeat: Options which may be used to specify when the repeat cycle of the monitor should end. This argument comprises the following nested arguments -
826
- :param pulumi.Input[str] end_time: The time at which the monitor downtime would end operating, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2024-01-05T14:27:07`.
827
- :param pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']] frequency: Options which may be used to specify the configuration of a monthly monitor downtime. This argument comprises the following nested arguments -
828
- :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of days on which weekly monitor downtimes would function. Valid values which go into this list would be `"SUNDAY"`, `"MONDAY"`, `"TUESDAY"`, `"WEDNESDAY"`, `"THURSDAY"`, `"FRIDAY"` and/or `"SATURDAY"`.
829
-
830
- > **NOTE:** `maintenance_days` **can only be used with the mode** `WEEKLY`, and **is a required argument** with weekly monitor downtimes (i.e. if the `mode` is `WEEKLY`).
831
- :param pulumi.Input[str] mode: One of the four modes of operation of monitor downtimes - `ONE_TIME`, `DAILY`, `MONTHLY` or `WEEKLY`.
832
- :param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of synthetic monitors the monitor downtime would need to be applied to.
833
- :param pulumi.Input[str] name: Name of the monitor downtime to be created.
834
- :param pulumi.Input[str] start_time: The time at which the monitor downtime would begin to operate, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2023-12-20T10:48:53`.
807
+ :param pulumi.Input[int] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
808
+ provider{} configuration if not specified.
809
+ :param pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
810
+ :param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
811
+ :param pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']] frequency: Configuration options for which days of the month a monitor downtime will occur
812
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
813
+ :param pulumi.Input[str] mode: An identifier of the type of Monitor Downtime to be created.
814
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
815
+ :param pulumi.Input[str] name: A name to identify the Monitor Downtime to be created.
816
+ :param pulumi.Input[str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
835
817
  :param pulumi.Input[str] time_zone: The timezone that applies to the Monitor Downtime schedule.
836
818
  """
837
819
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -854,7 +836,8 @@ class MonitorDowntime(pulumi.CustomResource):
854
836
  @pulumi.getter(name="accountId")
855
837
  def account_id(self) -> pulumi.Output[int]:
856
838
  """
857
- The account in which the monitor downtime would be created. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` (or the `account_id` specified in the `provider{}`), if not specified.
839
+ The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
840
+ provider{} configuration if not specified.
858
841
  """
859
842
  return pulumi.get(self, "account_id")
860
843
 
@@ -862,7 +845,7 @@ class MonitorDowntime(pulumi.CustomResource):
862
845
  @pulumi.getter(name="endRepeat")
863
846
  def end_repeat(self) -> pulumi.Output[Optional['outputs.MonitorDowntimeEndRepeat']]:
864
847
  """
865
- Options which may be used to specify when the repeat cycle of the monitor should end. This argument comprises the following nested arguments -
848
+ A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
866
849
  """
867
850
  return pulumi.get(self, "end_repeat")
868
851
 
@@ -870,7 +853,7 @@ class MonitorDowntime(pulumi.CustomResource):
870
853
  @pulumi.getter(name="endTime")
871
854
  def end_time(self) -> pulumi.Output[str]:
872
855
  """
873
- The time at which the monitor downtime would end operating, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2024-01-05T14:27:07`.
856
+ A datetime stamp signifying the end of the Monitor Downtime.
874
857
  """
875
858
  return pulumi.get(self, "end_time")
876
859
 
@@ -878,7 +861,7 @@ class MonitorDowntime(pulumi.CustomResource):
878
861
  @pulumi.getter
879
862
  def frequency(self) -> pulumi.Output[Optional['outputs.MonitorDowntimeFrequency']]:
880
863
  """
881
- Options which may be used to specify the configuration of a monthly monitor downtime. This argument comprises the following nested arguments -
864
+ Configuration options for which days of the month a monitor downtime will occur
882
865
  """
883
866
  return pulumi.get(self, "frequency")
884
867
 
@@ -886,9 +869,7 @@ class MonitorDowntime(pulumi.CustomResource):
886
869
  @pulumi.getter(name="maintenanceDays")
887
870
  def maintenance_days(self) -> pulumi.Output[Optional[Sequence[str]]]:
888
871
  """
889
- A list of days on which weekly monitor downtimes would function. Valid values which go into this list would be `"SUNDAY"`, `"MONDAY"`, `"TUESDAY"`, `"WEDNESDAY"`, `"THURSDAY"`, `"FRIDAY"` and/or `"SATURDAY"`.
890
-
891
- > **NOTE:** `maintenance_days` **can only be used with the mode** `WEEKLY`, and **is a required argument** with weekly monitor downtimes (i.e. if the `mode` is `WEEKLY`).
872
+ A list of maintenance days to be included with the created weekly Monitor Downtime.
892
873
  """
893
874
  return pulumi.get(self, "maintenance_days")
894
875
 
@@ -896,7 +877,7 @@ class MonitorDowntime(pulumi.CustomResource):
896
877
  @pulumi.getter
897
878
  def mode(self) -> pulumi.Output[str]:
898
879
  """
899
- One of the four modes of operation of monitor downtimes - `ONE_TIME`, `DAILY`, `MONTHLY` or `WEEKLY`.
880
+ An identifier of the type of Monitor Downtime to be created.
900
881
  """
901
882
  return pulumi.get(self, "mode")
902
883
 
@@ -904,7 +885,7 @@ class MonitorDowntime(pulumi.CustomResource):
904
885
  @pulumi.getter(name="monitorGuids")
905
886
  def monitor_guids(self) -> pulumi.Output[Optional[Sequence[str]]]:
906
887
  """
907
- A list of GUIDs of synthetic monitors the monitor downtime would need to be applied to.
888
+ A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
908
889
  """
909
890
  return pulumi.get(self, "monitor_guids")
910
891
 
@@ -912,7 +893,7 @@ class MonitorDowntime(pulumi.CustomResource):
912
893
  @pulumi.getter
913
894
  def name(self) -> pulumi.Output[str]:
914
895
  """
915
- Name of the monitor downtime to be created.
896
+ A name to identify the Monitor Downtime to be created.
916
897
  """
917
898
  return pulumi.get(self, "name")
918
899
 
@@ -920,7 +901,7 @@ class MonitorDowntime(pulumi.CustomResource):
920
901
  @pulumi.getter(name="startTime")
921
902
  def start_time(self) -> pulumi.Output[str]:
922
903
  """
923
- The time at which the monitor downtime would begin to operate, a timestamp specified in the ISO 8601 format without the offset/timezone - for instance, `2023-12-20T10:48:53`.
904
+ A datetime stamp signifying the start of the Monitor Downtime.
924
905
  """
925
906
  return pulumi.get(self, "start_time")
926
907