pulumi-newrelic 5.25.0a1716265462__py3-none-any.whl → 5.25.0a1716510846__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.
- pulumi_newrelic/_inputs.py +168 -42
- pulumi_newrelic/account_management.py +14 -14
- pulumi_newrelic/alert_channel.py +28 -28
- pulumi_newrelic/alert_condition.py +125 -84
- pulumi_newrelic/alert_muting_rule.py +21 -21
- pulumi_newrelic/alert_policy.py +27 -21
- pulumi_newrelic/entity_tags.py +7 -7
- pulumi_newrelic/get_alert_policy.py +9 -0
- pulumi_newrelic/get_service_level_alert_helper.py +18 -0
- pulumi_newrelic/infra_alert_condition.py +105 -126
- pulumi_newrelic/insights/event.py +13 -0
- pulumi_newrelic/nrql_drop_rule.py +28 -28
- pulumi_newrelic/one_dashboard.py +48 -42
- pulumi_newrelic/outputs.py +168 -42
- pulumi_newrelic/plugins/_inputs.py +8 -8
- pulumi_newrelic/plugins/outputs.py +8 -8
- pulumi_newrelic/plugins/workload.py +28 -28
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +79 -0
- pulumi_newrelic/synthetics/alert_condition.py +42 -14
- pulumi_newrelic/synthetics/broken_links_monitor.py +18 -0
- pulumi_newrelic/synthetics/cert_check_monitor.py +18 -0
- pulumi_newrelic/synthetics/get_secure_credential.py +8 -0
- pulumi_newrelic/synthetics/monitor.py +4 -0
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +63 -49
- pulumi_newrelic/synthetics/script_monitor.py +4 -0
- pulumi_newrelic/synthetics/secure_credential.py +14 -21
- pulumi_newrelic/synthetics/step_monitor.py +18 -0
- {pulumi_newrelic-5.25.0a1716265462.dist-info → pulumi_newrelic-5.25.0a1716510846.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.25.0a1716265462.dist-info → pulumi_newrelic-5.25.0a1716510846.dist-info}/RECORD +32 -32
- {pulumi_newrelic-5.25.0a1716265462.dist-info → pulumi_newrelic-5.25.0a1716510846.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.25.0a1716265462.dist-info → pulumi_newrelic-5.25.0a1716510846.dist-info}/top_level.txt +0 -0
@@ -39,6 +39,8 @@ class BrokenLinksMonitorArgs:
|
|
39
39
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
40
40
|
|
41
41
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
42
|
+
|
43
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
42
44
|
:param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
43
45
|
"""
|
44
46
|
pulumi.set(__self__, "period", period)
|
@@ -162,6 +164,8 @@ class BrokenLinksMonitorArgs:
|
|
162
164
|
The specific version of the runtime type selected.
|
163
165
|
|
164
166
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
167
|
+
|
168
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
165
169
|
"""
|
166
170
|
return pulumi.get(self, "runtime_type_version")
|
167
171
|
|
@@ -210,6 +214,8 @@ class _BrokenLinksMonitorState:
|
|
210
214
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
211
215
|
|
212
216
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
217
|
+
|
218
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
213
219
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
214
220
|
:param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
215
221
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
@@ -342,6 +348,8 @@ class _BrokenLinksMonitorState:
|
|
342
348
|
The specific version of the runtime type selected.
|
343
349
|
|
344
350
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
351
|
+
|
352
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
345
353
|
"""
|
346
354
|
return pulumi.get(self, "runtime_type_version")
|
347
355
|
|
@@ -403,6 +411,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
403
411
|
uri: Optional[pulumi.Input[str]] = None,
|
404
412
|
__props__=None):
|
405
413
|
"""
|
414
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
415
|
+
|
406
416
|
Use this resource to create, update, and delete a Synthetics Broken Links monitor in New Relic.
|
407
417
|
|
408
418
|
## Example Usage
|
@@ -475,6 +485,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
475
485
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
476
486
|
|
477
487
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
488
|
+
|
489
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
478
490
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
479
491
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
480
492
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
@@ -486,6 +498,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
486
498
|
args: BrokenLinksMonitorArgs,
|
487
499
|
opts: Optional[pulumi.ResourceOptions] = None):
|
488
500
|
"""
|
501
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
502
|
+
|
489
503
|
Use this resource to create, update, and delete a Synthetics Broken Links monitor in New Relic.
|
490
504
|
|
491
505
|
## Example Usage
|
@@ -639,6 +653,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
639
653
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
640
654
|
|
641
655
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
656
|
+
|
657
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
642
658
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
643
659
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
644
660
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
@@ -732,6 +748,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
732
748
|
The specific version of the runtime type selected.
|
733
749
|
|
734
750
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
751
|
+
|
752
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
735
753
|
"""
|
736
754
|
return pulumi.get(self, "runtime_type_version")
|
737
755
|
|
@@ -41,6 +41,8 @@ class CertCheckMonitorArgs:
|
|
41
41
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
42
42
|
|
43
43
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
44
|
+
|
45
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
44
46
|
:param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
45
47
|
"""
|
46
48
|
pulumi.set(__self__, "certificate_expiration", certificate_expiration)
|
@@ -177,6 +179,8 @@ class CertCheckMonitorArgs:
|
|
177
179
|
The specific version of the runtime type selected.
|
178
180
|
|
179
181
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
182
|
+
|
183
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
180
184
|
"""
|
181
185
|
return pulumi.get(self, "runtime_type_version")
|
182
186
|
|
@@ -226,6 +230,8 @@ class _CertCheckMonitorState:
|
|
226
230
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
227
231
|
|
228
232
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
233
|
+
|
234
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
229
235
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
230
236
|
:param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
231
237
|
"""
|
@@ -369,6 +375,8 @@ class _CertCheckMonitorState:
|
|
369
375
|
The specific version of the runtime type selected.
|
370
376
|
|
371
377
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
378
|
+
|
379
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
372
380
|
"""
|
373
381
|
return pulumi.get(self, "runtime_type_version")
|
374
382
|
|
@@ -419,6 +427,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
419
427
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]]] = None,
|
420
428
|
__props__=None):
|
421
429
|
"""
|
430
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
431
|
+
|
422
432
|
Use this resource to create, update, and delete a Synthetics Certificate Check monitor in New Relic.
|
423
433
|
|
424
434
|
## Example Usage
|
@@ -495,6 +505,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
495
505
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
496
506
|
|
497
507
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
508
|
+
|
509
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
498
510
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
499
511
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
500
512
|
"""
|
@@ -505,6 +517,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
505
517
|
args: CertCheckMonitorArgs,
|
506
518
|
opts: Optional[pulumi.ResourceOptions] = None):
|
507
519
|
"""
|
520
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
521
|
+
|
508
522
|
Use this resource to create, update, and delete a Synthetics Certificate Check monitor in New Relic.
|
509
523
|
|
510
524
|
## Example Usage
|
@@ -664,6 +678,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
664
678
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
665
679
|
|
666
680
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
681
|
+
|
682
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
667
683
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
668
684
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
669
685
|
"""
|
@@ -764,6 +780,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
764
780
|
The specific version of the runtime type selected.
|
765
781
|
|
766
782
|
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
783
|
+
|
784
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
767
785
|
"""
|
768
786
|
return pulumi.get(self, "runtime_type_version")
|
769
787
|
|
@@ -102,6 +102,10 @@ def get_secure_credential(account_id: Optional[str] = None,
|
|
102
102
|
|
103
103
|
foo = newrelic.synthetics.get_secure_credential(key="MY_KEY")
|
104
104
|
```
|
105
|
+
|
106
|
+
|
107
|
+
:param str account_id: The account in New Relic associated with the secure credential. Defaults to the account associated with the API key used.
|
108
|
+
:param str key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
105
109
|
"""
|
106
110
|
__args__ = dict()
|
107
111
|
__args__['accountId'] = account_id
|
@@ -134,5 +138,9 @@ def get_secure_credential_output(account_id: Optional[pulumi.Input[Optional[str]
|
|
134
138
|
|
135
139
|
foo = newrelic.synthetics.get_secure_credential(key="MY_KEY")
|
136
140
|
```
|
141
|
+
|
142
|
+
|
143
|
+
:param str account_id: The account in New Relic associated with the secure credential. Defaults to the account associated with the API key used.
|
144
|
+
:param str key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
137
145
|
"""
|
138
146
|
...
|
@@ -726,6 +726,8 @@ class Monitor(pulumi.CustomResource):
|
|
726
726
|
verify_ssl: Optional[pulumi.Input[bool]] = None,
|
727
727
|
__props__=None):
|
728
728
|
"""
|
729
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
730
|
+
|
729
731
|
Use this resource to create, update, and delete a Simple or Browser Synthetics Monitor in New Relic.
|
730
732
|
|
731
733
|
## Example Usage
|
@@ -896,6 +898,8 @@ class Monitor(pulumi.CustomResource):
|
|
896
898
|
args: MonitorArgs,
|
897
899
|
opts: Optional[pulumi.ResourceOptions] = None):
|
898
900
|
"""
|
901
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
902
|
+
|
899
903
|
Use this resource to create, update, and delete a Simple or Browser Synthetics Monitor in New Relic.
|
900
904
|
|
901
905
|
## Example Usage
|
@@ -26,15 +26,17 @@ class MultiLocationAlertConditionArgs:
|
|
26
26
|
warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None):
|
27
27
|
"""
|
28
28
|
The set of arguments for constructing a MultiLocationAlertCondition resource.
|
29
|
-
:param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with priority set to critical.
|
30
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The
|
29
|
+
:param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with the priority set to critical.
|
30
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
31
31
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
|
32
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition.
|
33
|
-
:param pulumi.Input[str] name: The title of
|
32
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
33
|
+
:param pulumi.Input[str] name: The title of the condition.
|
34
34
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
35
|
-
:param pulumi.Input[int] violation_time_limit_seconds:
|
36
|
-
|
37
|
-
|
35
|
+
:param pulumi.Input[int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
|
36
|
+
:param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with the priority set to warning.
|
37
|
+
|
38
|
+
|
39
|
+
> **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
38
40
|
"""
|
39
41
|
pulumi.set(__self__, "critical", critical)
|
40
42
|
pulumi.set(__self__, "entities", entities)
|
@@ -54,7 +56,7 @@ class MultiLocationAlertConditionArgs:
|
|
54
56
|
@pulumi.getter
|
55
57
|
def critical(self) -> pulumi.Input['MultiLocationAlertConditionCriticalArgs']:
|
56
58
|
"""
|
57
|
-
A condition term with priority set to critical.
|
59
|
+
A condition term with the priority set to critical.
|
58
60
|
"""
|
59
61
|
return pulumi.get(self, "critical")
|
60
62
|
|
@@ -66,7 +68,7 @@ class MultiLocationAlertConditionArgs:
|
|
66
68
|
@pulumi.getter
|
67
69
|
def entities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
68
70
|
"""
|
69
|
-
The
|
71
|
+
The Monitor GUID's of the Synthetics monitors to alert on.
|
70
72
|
"""
|
71
73
|
return pulumi.get(self, "entities")
|
72
74
|
|
@@ -90,7 +92,7 @@ class MultiLocationAlertConditionArgs:
|
|
90
92
|
@pulumi.getter
|
91
93
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
92
94
|
"""
|
93
|
-
Set whether to enable the alert condition.
|
95
|
+
Set whether to enable the alert condition. Defaults to true.
|
94
96
|
"""
|
95
97
|
return pulumi.get(self, "enabled")
|
96
98
|
|
@@ -102,7 +104,7 @@ class MultiLocationAlertConditionArgs:
|
|
102
104
|
@pulumi.getter
|
103
105
|
def name(self) -> Optional[pulumi.Input[str]]:
|
104
106
|
"""
|
105
|
-
The title of
|
107
|
+
The title of the condition.
|
106
108
|
"""
|
107
109
|
return pulumi.get(self, "name")
|
108
110
|
|
@@ -126,8 +128,7 @@ class MultiLocationAlertConditionArgs:
|
|
126
128
|
@pulumi.getter(name="violationTimeLimitSeconds")
|
127
129
|
def violation_time_limit_seconds(self) -> Optional[pulumi.Input[int]]:
|
128
130
|
"""
|
129
|
-
|
130
|
-
select. Must be in the range of 300 to 2592000 (inclusive)
|
131
|
+
The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
|
131
132
|
"""
|
132
133
|
return pulumi.get(self, "violation_time_limit_seconds")
|
133
134
|
|
@@ -139,7 +140,10 @@ class MultiLocationAlertConditionArgs:
|
|
139
140
|
@pulumi.getter
|
140
141
|
def warning(self) -> Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']]:
|
141
142
|
"""
|
142
|
-
A condition term with priority set to warning.
|
143
|
+
A condition term with the priority set to warning.
|
144
|
+
|
145
|
+
|
146
|
+
> **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
143
147
|
"""
|
144
148
|
return pulumi.get(self, "warning")
|
145
149
|
|
@@ -162,16 +166,18 @@ class _MultiLocationAlertConditionState:
|
|
162
166
|
warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None):
|
163
167
|
"""
|
164
168
|
Input properties used for looking up and filtering MultiLocationAlertCondition resources.
|
165
|
-
:param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with priority set to critical.
|
166
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition.
|
167
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The
|
169
|
+
:param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with the priority set to critical.
|
170
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
171
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
168
172
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
169
|
-
:param pulumi.Input[str] name: The title of
|
173
|
+
:param pulumi.Input[str] name: The title of the condition.
|
170
174
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
|
171
175
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
172
|
-
:param pulumi.Input[int] violation_time_limit_seconds:
|
173
|
-
|
174
|
-
|
176
|
+
:param pulumi.Input[int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
|
177
|
+
:param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with the priority set to warning.
|
178
|
+
|
179
|
+
|
180
|
+
> **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
175
181
|
"""
|
176
182
|
if critical is not None:
|
177
183
|
pulumi.set(__self__, "critical", critical)
|
@@ -196,7 +202,7 @@ class _MultiLocationAlertConditionState:
|
|
196
202
|
@pulumi.getter
|
197
203
|
def critical(self) -> Optional[pulumi.Input['MultiLocationAlertConditionCriticalArgs']]:
|
198
204
|
"""
|
199
|
-
A condition term with priority set to critical.
|
205
|
+
A condition term with the priority set to critical.
|
200
206
|
"""
|
201
207
|
return pulumi.get(self, "critical")
|
202
208
|
|
@@ -208,7 +214,7 @@ class _MultiLocationAlertConditionState:
|
|
208
214
|
@pulumi.getter
|
209
215
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
210
216
|
"""
|
211
|
-
Set whether to enable the alert condition.
|
217
|
+
Set whether to enable the alert condition. Defaults to true.
|
212
218
|
"""
|
213
219
|
return pulumi.get(self, "enabled")
|
214
220
|
|
@@ -220,7 +226,7 @@ class _MultiLocationAlertConditionState:
|
|
220
226
|
@pulumi.getter
|
221
227
|
def entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
222
228
|
"""
|
223
|
-
The
|
229
|
+
The Monitor GUID's of the Synthetics monitors to alert on.
|
224
230
|
"""
|
225
231
|
return pulumi.get(self, "entities")
|
226
232
|
|
@@ -244,7 +250,7 @@ class _MultiLocationAlertConditionState:
|
|
244
250
|
@pulumi.getter
|
245
251
|
def name(self) -> Optional[pulumi.Input[str]]:
|
246
252
|
"""
|
247
|
-
The title of
|
253
|
+
The title of the condition.
|
248
254
|
"""
|
249
255
|
return pulumi.get(self, "name")
|
250
256
|
|
@@ -280,8 +286,7 @@ class _MultiLocationAlertConditionState:
|
|
280
286
|
@pulumi.getter(name="violationTimeLimitSeconds")
|
281
287
|
def violation_time_limit_seconds(self) -> Optional[pulumi.Input[int]]:
|
282
288
|
"""
|
283
|
-
|
284
|
-
select. Must be in the range of 300 to 2592000 (inclusive)
|
289
|
+
The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
|
285
290
|
"""
|
286
291
|
return pulumi.get(self, "violation_time_limit_seconds")
|
287
292
|
|
@@ -293,7 +298,10 @@ class _MultiLocationAlertConditionState:
|
|
293
298
|
@pulumi.getter
|
294
299
|
def warning(self) -> Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']]:
|
295
300
|
"""
|
296
|
-
A condition term with priority set to warning.
|
301
|
+
A condition term with the priority set to warning.
|
302
|
+
|
303
|
+
|
304
|
+
> **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
297
305
|
"""
|
298
306
|
return pulumi.get(self, "warning")
|
299
307
|
|
@@ -421,15 +429,17 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
421
429
|
|
422
430
|
:param str resource_name: The name of the resource.
|
423
431
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
424
|
-
:param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with priority set to critical.
|
425
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition.
|
426
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The
|
427
|
-
:param pulumi.Input[str] name: The title of
|
432
|
+
:param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with the priority set to critical.
|
433
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
434
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
435
|
+
:param pulumi.Input[str] name: The title of the condition.
|
428
436
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
|
429
437
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
430
|
-
:param pulumi.Input[int] violation_time_limit_seconds:
|
431
|
-
|
432
|
-
|
438
|
+
:param pulumi.Input[int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
|
439
|
+
:param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']] warning: A condition term with the priority set to warning.
|
440
|
+
|
441
|
+
|
442
|
+
> **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
433
443
|
"""
|
434
444
|
...
|
435
445
|
@overload
|
@@ -613,16 +623,18 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
613
623
|
:param str resource_name: The unique name of the resulting resource.
|
614
624
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
615
625
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
616
|
-
:param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with priority set to critical.
|
617
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition.
|
618
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The
|
626
|
+
:param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with the priority set to critical.
|
627
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
628
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
619
629
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
620
|
-
:param pulumi.Input[str] name: The title of
|
630
|
+
:param pulumi.Input[str] name: The title of the condition.
|
621
631
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
|
622
632
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
623
|
-
:param pulumi.Input[int] violation_time_limit_seconds:
|
624
|
-
|
625
|
-
|
633
|
+
:param pulumi.Input[int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
|
634
|
+
:param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']] warning: A condition term with the priority set to warning.
|
635
|
+
|
636
|
+
|
637
|
+
> **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
626
638
|
"""
|
627
639
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
628
640
|
|
@@ -643,7 +655,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
643
655
|
@pulumi.getter
|
644
656
|
def critical(self) -> pulumi.Output['outputs.MultiLocationAlertConditionCritical']:
|
645
657
|
"""
|
646
|
-
A condition term with priority set to critical.
|
658
|
+
A condition term with the priority set to critical.
|
647
659
|
"""
|
648
660
|
return pulumi.get(self, "critical")
|
649
661
|
|
@@ -651,7 +663,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
651
663
|
@pulumi.getter
|
652
664
|
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
653
665
|
"""
|
654
|
-
Set whether to enable the alert condition.
|
666
|
+
Set whether to enable the alert condition. Defaults to true.
|
655
667
|
"""
|
656
668
|
return pulumi.get(self, "enabled")
|
657
669
|
|
@@ -659,7 +671,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
659
671
|
@pulumi.getter
|
660
672
|
def entities(self) -> pulumi.Output[Sequence[str]]:
|
661
673
|
"""
|
662
|
-
The
|
674
|
+
The Monitor GUID's of the Synthetics monitors to alert on.
|
663
675
|
"""
|
664
676
|
return pulumi.get(self, "entities")
|
665
677
|
|
@@ -675,7 +687,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
675
687
|
@pulumi.getter
|
676
688
|
def name(self) -> pulumi.Output[str]:
|
677
689
|
"""
|
678
|
-
The title of
|
690
|
+
The title of the condition.
|
679
691
|
"""
|
680
692
|
return pulumi.get(self, "name")
|
681
693
|
|
@@ -699,8 +711,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
699
711
|
@pulumi.getter(name="violationTimeLimitSeconds")
|
700
712
|
def violation_time_limit_seconds(self) -> pulumi.Output[Optional[int]]:
|
701
713
|
"""
|
702
|
-
|
703
|
-
select. Must be in the range of 300 to 2592000 (inclusive)
|
714
|
+
The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
|
704
715
|
"""
|
705
716
|
return pulumi.get(self, "violation_time_limit_seconds")
|
706
717
|
|
@@ -708,7 +719,10 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
708
719
|
@pulumi.getter
|
709
720
|
def warning(self) -> pulumi.Output[Optional['outputs.MultiLocationAlertConditionWarning']]:
|
710
721
|
"""
|
711
|
-
A condition term with priority set to warning.
|
722
|
+
A condition term with the priority set to warning.
|
723
|
+
|
724
|
+
|
725
|
+
> **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
712
726
|
"""
|
713
727
|
return pulumi.get(self, "warning")
|
714
728
|
|
@@ -568,6 +568,8 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
568
568
|
type: Optional[pulumi.Input[str]] = None,
|
569
569
|
__props__=None):
|
570
570
|
"""
|
571
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
572
|
+
|
571
573
|
Use this resource to create update, and delete a Script API or Script Browser Synthetics Monitor in New Relic.
|
572
574
|
|
573
575
|
## Example Usage
|
@@ -726,6 +728,8 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
726
728
|
args: ScriptMonitorArgs,
|
727
729
|
opts: Optional[pulumi.ResourceOptions] = None):
|
728
730
|
"""
|
731
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
732
|
+
|
729
733
|
Use this resource to create update, and delete a Script API or Script Browser Synthetics Monitor in New Relic.
|
730
734
|
|
731
735
|
## Example Usage
|