pulumi-newrelic 5.23.0a1713561620__py3-none-any.whl → 5.23.0a1713984329__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 +183 -270
- pulumi_newrelic/account_management.py +14 -18
- pulumi_newrelic/alert_channel.py +28 -56
- pulumi_newrelic/alert_condition.py +84 -133
- pulumi_newrelic/alert_muting_rule.py +21 -25
- pulumi_newrelic/alert_policy.py +42 -33
- pulumi_newrelic/alert_policy_channel.py +0 -4
- pulumi_newrelic/cloud/_inputs.py +322 -1072
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -4
- pulumi_newrelic/cloud/aws_integrations.py +7 -11
- pulumi_newrelic/cloud/aws_link_account.py +0 -4
- pulumi_newrelic/cloud/azure_integrations.py +0 -4
- pulumi_newrelic/cloud/azure_link_account.py +0 -4
- pulumi_newrelic/cloud/gcp_integrations.py +0 -4
- pulumi_newrelic/cloud/gcp_link_account.py +0 -4
- pulumi_newrelic/cloud/outputs.py +322 -1072
- pulumi_newrelic/data_partition_rule.py +0 -4
- pulumi_newrelic/entity_tags.py +7 -11
- pulumi_newrelic/events_to_metrics_rule.py +0 -4
- pulumi_newrelic/get_account.py +0 -4
- pulumi_newrelic/get_application.py +0 -4
- pulumi_newrelic/get_authentication_domain.py +0 -4
- pulumi_newrelic/get_cloud_account.py +0 -4
- pulumi_newrelic/get_entity.py +0 -16
- pulumi_newrelic/get_group.py +0 -8
- pulumi_newrelic/get_key_transaction.py +0 -4
- pulumi_newrelic/get_notification_destination.py +20 -1
- pulumi_newrelic/get_obfuscation_expression.py +0 -4
- pulumi_newrelic/get_service_level_alert_helper.py +0 -30
- pulumi_newrelic/get_test_grok_pattern.py +0 -4
- pulumi_newrelic/get_user.py +0 -4
- pulumi_newrelic/group.py +0 -12
- pulumi_newrelic/infra_alert_condition.py +126 -113
- pulumi_newrelic/insights/event.py +0 -17
- pulumi_newrelic/log_parsing_rule.py +0 -8
- pulumi_newrelic/monitor_downtime.py +70 -101
- pulumi_newrelic/notification_channel.py +0 -44
- pulumi_newrelic/notification_destination.py +95 -1
- pulumi_newrelic/nrql_alert_condition.py +0 -20
- pulumi_newrelic/nrql_drop_rule.py +28 -32
- pulumi_newrelic/obfuscation_expression.py +0 -4
- pulumi_newrelic/obfuscation_rule.py +0 -4
- pulumi_newrelic/one_dashboard.py +42 -48
- pulumi_newrelic/one_dashboard_raw.py +0 -4
- pulumi_newrelic/outputs.py +180 -270
- pulumi_newrelic/plugins/_inputs.py +16 -16
- pulumi_newrelic/plugins/application_settings.py +0 -4
- pulumi_newrelic/plugins/outputs.py +16 -16
- pulumi_newrelic/plugins/workload.py +28 -48
- pulumi_newrelic/service_level.py +0 -91
- pulumi_newrelic/synthetics/alert_condition.py +14 -50
- pulumi_newrelic/synthetics/broken_links_monitor.py +0 -8
- pulumi_newrelic/synthetics/cert_check_monitor.py +0 -8
- pulumi_newrelic/synthetics/get_private_location.py +0 -8
- pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
- pulumi_newrelic/synthetics/monitor.py +0 -16
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +49 -71
- pulumi_newrelic/synthetics/private_location.py +0 -4
- pulumi_newrelic/synthetics/script_monitor.py +4 -20
- pulumi_newrelic/synthetics/secure_credential.py +21 -18
- pulumi_newrelic/synthetics/step_monitor.py +4 -12
- pulumi_newrelic/user.py +0 -4
- pulumi_newrelic/workflow.py +0 -16
- {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.23.0a1713984329.dist-info/RECORD +89 -0
- pulumi_newrelic-5.23.0a1713561620.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/top_level.txt +0 -0
@@ -730,7 +730,6 @@ class Monitor(pulumi.CustomResource):
|
|
730
730
|
|
731
731
|
## Example Usage
|
732
732
|
|
733
|
-
<!--Start PulumiCodeChooser -->
|
734
733
|
```python
|
735
734
|
import pulumi
|
736
735
|
import pulumi_newrelic as newrelic
|
@@ -755,10 +754,8 @@ class Monitor(pulumi.CustomResource):
|
|
755
754
|
values=["some_value"],
|
756
755
|
)])
|
757
756
|
```
|
758
|
-
<!--End PulumiCodeChooser -->
|
759
757
|
##### Type: `SIMPLE BROWSER`
|
760
758
|
|
761
|
-
<!--Start PulumiCodeChooser -->
|
762
759
|
```python
|
763
760
|
import pulumi
|
764
761
|
import pulumi_newrelic as newrelic
|
@@ -782,7 +779,6 @@ class Monitor(pulumi.CustomResource):
|
|
782
779
|
values=["some_value"],
|
783
780
|
)])
|
784
781
|
```
|
785
|
-
<!--End PulumiCodeChooser -->
|
786
782
|
See additional examples.
|
787
783
|
|
788
784
|
## Additional Examples
|
@@ -795,7 +791,6 @@ class Monitor(pulumi.CustomResource):
|
|
795
791
|
|
796
792
|
##### Type: `SIMPLE`
|
797
793
|
|
798
|
-
<!--Start PulumiCodeChooser -->
|
799
794
|
```python
|
800
795
|
import pulumi
|
801
796
|
import pulumi_newrelic as newrelic
|
@@ -824,10 +819,8 @@ class Monitor(pulumi.CustomResource):
|
|
824
819
|
values=["some_value"],
|
825
820
|
)])
|
826
821
|
```
|
827
|
-
<!--End PulumiCodeChooser -->
|
828
822
|
##### Type: `BROWSER`
|
829
823
|
|
830
|
-
<!--Start PulumiCodeChooser -->
|
831
824
|
```python
|
832
825
|
import pulumi
|
833
826
|
import pulumi_newrelic as newrelic
|
@@ -858,7 +851,6 @@ class Monitor(pulumi.CustomResource):
|
|
858
851
|
values=["some_value"],
|
859
852
|
)])
|
860
853
|
```
|
861
|
-
<!--End PulumiCodeChooser -->
|
862
854
|
|
863
855
|
## Import
|
864
856
|
|
@@ -908,7 +900,6 @@ class Monitor(pulumi.CustomResource):
|
|
908
900
|
|
909
901
|
## Example Usage
|
910
902
|
|
911
|
-
<!--Start PulumiCodeChooser -->
|
912
903
|
```python
|
913
904
|
import pulumi
|
914
905
|
import pulumi_newrelic as newrelic
|
@@ -933,10 +924,8 @@ class Monitor(pulumi.CustomResource):
|
|
933
924
|
values=["some_value"],
|
934
925
|
)])
|
935
926
|
```
|
936
|
-
<!--End PulumiCodeChooser -->
|
937
927
|
##### Type: `SIMPLE BROWSER`
|
938
928
|
|
939
|
-
<!--Start PulumiCodeChooser -->
|
940
929
|
```python
|
941
930
|
import pulumi
|
942
931
|
import pulumi_newrelic as newrelic
|
@@ -960,7 +949,6 @@ class Monitor(pulumi.CustomResource):
|
|
960
949
|
values=["some_value"],
|
961
950
|
)])
|
962
951
|
```
|
963
|
-
<!--End PulumiCodeChooser -->
|
964
952
|
See additional examples.
|
965
953
|
|
966
954
|
## Additional Examples
|
@@ -973,7 +961,6 @@ class Monitor(pulumi.CustomResource):
|
|
973
961
|
|
974
962
|
##### Type: `SIMPLE`
|
975
963
|
|
976
|
-
<!--Start PulumiCodeChooser -->
|
977
964
|
```python
|
978
965
|
import pulumi
|
979
966
|
import pulumi_newrelic as newrelic
|
@@ -1002,10 +989,8 @@ class Monitor(pulumi.CustomResource):
|
|
1002
989
|
values=["some_value"],
|
1003
990
|
)])
|
1004
991
|
```
|
1005
|
-
<!--End PulumiCodeChooser -->
|
1006
992
|
##### Type: `BROWSER`
|
1007
993
|
|
1008
|
-
<!--Start PulumiCodeChooser -->
|
1009
994
|
```python
|
1010
995
|
import pulumi
|
1011
996
|
import pulumi_newrelic as newrelic
|
@@ -1036,7 +1021,6 @@ class Monitor(pulumi.CustomResource):
|
|
1036
1021
|
values=["some_value"],
|
1037
1022
|
)])
|
1038
1023
|
```
|
1039
|
-
<!--End PulumiCodeChooser -->
|
1040
1024
|
|
1041
1025
|
## Import
|
1042
1026
|
|
@@ -26,17 +26,15 @@ 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
|
30
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The
|
29
|
+
:param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with priority set to critical.
|
30
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The GUIDs of the Synthetics monitors to alert on.
|
31
31
|
:param pulumi.Input[int] 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 this 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
|
-
|
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.
|
35
|
+
:param pulumi.Input[int] violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
|
36
|
+
select. Must be in the range of 300 to 2592000 (inclusive)
|
37
|
+
:param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with priority set to warning.
|
40
38
|
"""
|
41
39
|
pulumi.set(__self__, "critical", critical)
|
42
40
|
pulumi.set(__self__, "entities", entities)
|
@@ -56,7 +54,7 @@ class MultiLocationAlertConditionArgs:
|
|
56
54
|
@pulumi.getter
|
57
55
|
def critical(self) -> pulumi.Input['MultiLocationAlertConditionCriticalArgs']:
|
58
56
|
"""
|
59
|
-
A condition term with
|
57
|
+
A condition term with priority set to critical.
|
60
58
|
"""
|
61
59
|
return pulumi.get(self, "critical")
|
62
60
|
|
@@ -68,7 +66,7 @@ class MultiLocationAlertConditionArgs:
|
|
68
66
|
@pulumi.getter
|
69
67
|
def entities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
70
68
|
"""
|
71
|
-
The
|
69
|
+
The GUIDs of the Synthetics monitors to alert on.
|
72
70
|
"""
|
73
71
|
return pulumi.get(self, "entities")
|
74
72
|
|
@@ -92,7 +90,7 @@ class MultiLocationAlertConditionArgs:
|
|
92
90
|
@pulumi.getter
|
93
91
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
94
92
|
"""
|
95
|
-
Set whether to enable the alert condition.
|
93
|
+
Set whether to enable the alert condition. Defaults to true.
|
96
94
|
"""
|
97
95
|
return pulumi.get(self, "enabled")
|
98
96
|
|
@@ -104,7 +102,7 @@ class MultiLocationAlertConditionArgs:
|
|
104
102
|
@pulumi.getter
|
105
103
|
def name(self) -> Optional[pulumi.Input[str]]:
|
106
104
|
"""
|
107
|
-
The title of
|
105
|
+
The title of this condition.
|
108
106
|
"""
|
109
107
|
return pulumi.get(self, "name")
|
110
108
|
|
@@ -128,7 +126,8 @@ class MultiLocationAlertConditionArgs:
|
|
128
126
|
@pulumi.getter(name="violationTimeLimitSeconds")
|
129
127
|
def violation_time_limit_seconds(self) -> Optional[pulumi.Input[int]]:
|
130
128
|
"""
|
131
|
-
|
129
|
+
Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
|
130
|
+
select. Must be in the range of 300 to 2592000 (inclusive)
|
132
131
|
"""
|
133
132
|
return pulumi.get(self, "violation_time_limit_seconds")
|
134
133
|
|
@@ -140,10 +139,7 @@ class MultiLocationAlertConditionArgs:
|
|
140
139
|
@pulumi.getter
|
141
140
|
def warning(self) -> Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']]:
|
142
141
|
"""
|
143
|
-
A condition term with
|
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.
|
142
|
+
A condition term with priority set to warning.
|
147
143
|
"""
|
148
144
|
return pulumi.get(self, "warning")
|
149
145
|
|
@@ -166,18 +162,16 @@ class _MultiLocationAlertConditionState:
|
|
166
162
|
warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None):
|
167
163
|
"""
|
168
164
|
Input properties used for looking up and filtering MultiLocationAlertCondition resources.
|
169
|
-
:param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with
|
170
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition.
|
171
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The
|
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. Defaults to true.
|
167
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The GUIDs of the Synthetics monitors to alert on.
|
172
168
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
173
|
-
:param pulumi.Input[str] name: The title of
|
169
|
+
:param pulumi.Input[str] name: The title of this condition.
|
174
170
|
:param pulumi.Input[int] policy_id: The ID of the policy where this condition will be used.
|
175
171
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
176
|
-
:param pulumi.Input[int] violation_time_limit_seconds:
|
177
|
-
|
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.
|
172
|
+
:param pulumi.Input[int] violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
|
173
|
+
select. Must be in the range of 300 to 2592000 (inclusive)
|
174
|
+
:param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with priority set to warning.
|
181
175
|
"""
|
182
176
|
if critical is not None:
|
183
177
|
pulumi.set(__self__, "critical", critical)
|
@@ -202,7 +196,7 @@ class _MultiLocationAlertConditionState:
|
|
202
196
|
@pulumi.getter
|
203
197
|
def critical(self) -> Optional[pulumi.Input['MultiLocationAlertConditionCriticalArgs']]:
|
204
198
|
"""
|
205
|
-
A condition term with
|
199
|
+
A condition term with priority set to critical.
|
206
200
|
"""
|
207
201
|
return pulumi.get(self, "critical")
|
208
202
|
|
@@ -214,7 +208,7 @@ class _MultiLocationAlertConditionState:
|
|
214
208
|
@pulumi.getter
|
215
209
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
216
210
|
"""
|
217
|
-
Set whether to enable the alert condition.
|
211
|
+
Set whether to enable the alert condition. Defaults to true.
|
218
212
|
"""
|
219
213
|
return pulumi.get(self, "enabled")
|
220
214
|
|
@@ -226,7 +220,7 @@ class _MultiLocationAlertConditionState:
|
|
226
220
|
@pulumi.getter
|
227
221
|
def entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
228
222
|
"""
|
229
|
-
The
|
223
|
+
The GUIDs of the Synthetics monitors to alert on.
|
230
224
|
"""
|
231
225
|
return pulumi.get(self, "entities")
|
232
226
|
|
@@ -250,7 +244,7 @@ class _MultiLocationAlertConditionState:
|
|
250
244
|
@pulumi.getter
|
251
245
|
def name(self) -> Optional[pulumi.Input[str]]:
|
252
246
|
"""
|
253
|
-
The title of
|
247
|
+
The title of this condition.
|
254
248
|
"""
|
255
249
|
return pulumi.get(self, "name")
|
256
250
|
|
@@ -286,7 +280,8 @@ class _MultiLocationAlertConditionState:
|
|
286
280
|
@pulumi.getter(name="violationTimeLimitSeconds")
|
287
281
|
def violation_time_limit_seconds(self) -> Optional[pulumi.Input[int]]:
|
288
282
|
"""
|
289
|
-
|
283
|
+
Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
|
284
|
+
select. Must be in the range of 300 to 2592000 (inclusive)
|
290
285
|
"""
|
291
286
|
return pulumi.get(self, "violation_time_limit_seconds")
|
292
287
|
|
@@ -298,10 +293,7 @@ class _MultiLocationAlertConditionState:
|
|
298
293
|
@pulumi.getter
|
299
294
|
def warning(self) -> Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']]:
|
300
295
|
"""
|
301
|
-
A condition term with
|
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.
|
296
|
+
A condition term with priority set to warning.
|
305
297
|
"""
|
306
298
|
return pulumi.get(self, "warning")
|
307
299
|
|
@@ -331,7 +323,6 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
331
323
|
|
332
324
|
## Example Usage
|
333
325
|
|
334
|
-
<!--Start PulumiCodeChooser -->
|
335
326
|
```python
|
336
327
|
import pulumi
|
337
328
|
import pulumi_newrelic as newrelic
|
@@ -358,12 +349,10 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
358
349
|
threshold=1,
|
359
350
|
))
|
360
351
|
```
|
361
|
-
<!--End PulumiCodeChooser -->
|
362
352
|
## Tags
|
363
353
|
|
364
354
|
Manage synthetics multilocation alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
|
365
355
|
|
366
|
-
<!--Start PulumiCodeChooser -->
|
367
356
|
```python
|
368
357
|
import pulumi
|
369
358
|
import pulumi_newrelic as newrelic
|
@@ -417,7 +406,6 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
417
406
|
),
|
418
407
|
])
|
419
408
|
```
|
420
|
-
<!--End PulumiCodeChooser -->
|
421
409
|
|
422
410
|
## Import
|
423
411
|
|
@@ -433,17 +421,15 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
433
421
|
|
434
422
|
:param str resource_name: The name of the resource.
|
435
423
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
436
|
-
:param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with
|
437
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition.
|
438
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The
|
439
|
-
:param pulumi.Input[str] name: The title of
|
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. Defaults to true.
|
426
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The GUIDs of the Synthetics monitors to alert on.
|
427
|
+
:param pulumi.Input[str] name: The title of this condition.
|
440
428
|
:param pulumi.Input[int] policy_id: The ID of the policy where this condition will be used.
|
441
429
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
442
|
-
:param pulumi.Input[int] violation_time_limit_seconds:
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
> **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.
|
430
|
+
:param pulumi.Input[int] violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
|
431
|
+
select. Must be in the range of 300 to 2592000 (inclusive)
|
432
|
+
:param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']] warning: A condition term with priority set to warning.
|
447
433
|
"""
|
448
434
|
...
|
449
435
|
@overload
|
@@ -458,7 +444,6 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
458
444
|
|
459
445
|
## Example Usage
|
460
446
|
|
461
|
-
<!--Start PulumiCodeChooser -->
|
462
447
|
```python
|
463
448
|
import pulumi
|
464
449
|
import pulumi_newrelic as newrelic
|
@@ -485,12 +470,10 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
485
470
|
threshold=1,
|
486
471
|
))
|
487
472
|
```
|
488
|
-
<!--End PulumiCodeChooser -->
|
489
473
|
## Tags
|
490
474
|
|
491
475
|
Manage synthetics multilocation alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
|
492
476
|
|
493
|
-
<!--Start PulumiCodeChooser -->
|
494
477
|
```python
|
495
478
|
import pulumi
|
496
479
|
import pulumi_newrelic as newrelic
|
@@ -544,7 +527,6 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
544
527
|
),
|
545
528
|
])
|
546
529
|
```
|
547
|
-
<!--End PulumiCodeChooser -->
|
548
530
|
|
549
531
|
## Import
|
550
532
|
|
@@ -631,18 +613,16 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
631
613
|
:param str resource_name: The unique name of the resulting resource.
|
632
614
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
633
615
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
634
|
-
:param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with
|
635
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition.
|
636
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The
|
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. Defaults to true.
|
618
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The GUIDs of the Synthetics monitors to alert on.
|
637
619
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
638
|
-
:param pulumi.Input[str] name: The title of
|
620
|
+
:param pulumi.Input[str] name: The title of this condition.
|
639
621
|
:param pulumi.Input[int] policy_id: The ID of the policy where this condition will be used.
|
640
622
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
641
|
-
:param pulumi.Input[int] violation_time_limit_seconds:
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
> **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.
|
623
|
+
:param pulumi.Input[int] violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
|
624
|
+
select. Must be in the range of 300 to 2592000 (inclusive)
|
625
|
+
:param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']] warning: A condition term with priority set to warning.
|
646
626
|
"""
|
647
627
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
648
628
|
|
@@ -663,7 +643,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
663
643
|
@pulumi.getter
|
664
644
|
def critical(self) -> pulumi.Output['outputs.MultiLocationAlertConditionCritical']:
|
665
645
|
"""
|
666
|
-
A condition term with
|
646
|
+
A condition term with priority set to critical.
|
667
647
|
"""
|
668
648
|
return pulumi.get(self, "critical")
|
669
649
|
|
@@ -671,7 +651,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
671
651
|
@pulumi.getter
|
672
652
|
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
673
653
|
"""
|
674
|
-
Set whether to enable the alert condition.
|
654
|
+
Set whether to enable the alert condition. Defaults to true.
|
675
655
|
"""
|
676
656
|
return pulumi.get(self, "enabled")
|
677
657
|
|
@@ -679,7 +659,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
679
659
|
@pulumi.getter
|
680
660
|
def entities(self) -> pulumi.Output[Sequence[str]]:
|
681
661
|
"""
|
682
|
-
The
|
662
|
+
The GUIDs of the Synthetics monitors to alert on.
|
683
663
|
"""
|
684
664
|
return pulumi.get(self, "entities")
|
685
665
|
|
@@ -695,7 +675,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
695
675
|
@pulumi.getter
|
696
676
|
def name(self) -> pulumi.Output[str]:
|
697
677
|
"""
|
698
|
-
The title of
|
678
|
+
The title of this condition.
|
699
679
|
"""
|
700
680
|
return pulumi.get(self, "name")
|
701
681
|
|
@@ -719,7 +699,8 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
719
699
|
@pulumi.getter(name="violationTimeLimitSeconds")
|
720
700
|
def violation_time_limit_seconds(self) -> pulumi.Output[Optional[int]]:
|
721
701
|
"""
|
722
|
-
|
702
|
+
Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
|
703
|
+
select. Must be in the range of 300 to 2592000 (inclusive)
|
723
704
|
"""
|
724
705
|
return pulumi.get(self, "violation_time_limit_seconds")
|
725
706
|
|
@@ -727,10 +708,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
727
708
|
@pulumi.getter
|
728
709
|
def warning(self) -> pulumi.Output[Optional['outputs.MultiLocationAlertConditionWarning']]:
|
729
710
|
"""
|
730
|
-
A condition term with
|
731
|
-
|
732
|
-
|
733
|
-
> **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.
|
711
|
+
A condition term with priority set to warning.
|
734
712
|
"""
|
735
713
|
return pulumi.get(self, "warning")
|
736
714
|
|
@@ -233,7 +233,6 @@ class PrivateLocation(pulumi.CustomResource):
|
|
233
233
|
|
234
234
|
## Example Usage
|
235
235
|
|
236
|
-
<!--Start PulumiCodeChooser -->
|
237
236
|
```python
|
238
237
|
import pulumi
|
239
238
|
import pulumi_newrelic as newrelic
|
@@ -242,7 +241,6 @@ class PrivateLocation(pulumi.CustomResource):
|
|
242
241
|
description="The private location description",
|
243
242
|
name="The name of the private location")
|
244
243
|
```
|
245
|
-
<!--End PulumiCodeChooser -->
|
246
244
|
|
247
245
|
## Import
|
248
246
|
|
@@ -270,7 +268,6 @@ class PrivateLocation(pulumi.CustomResource):
|
|
270
268
|
|
271
269
|
## Example Usage
|
272
270
|
|
273
|
-
<!--Start PulumiCodeChooser -->
|
274
271
|
```python
|
275
272
|
import pulumi
|
276
273
|
import pulumi_newrelic as newrelic
|
@@ -279,7 +276,6 @@ class PrivateLocation(pulumi.CustomResource):
|
|
279
276
|
description="The private location description",
|
280
277
|
name="The name of the private location")
|
281
278
|
```
|
282
|
-
<!--End PulumiCodeChooser -->
|
283
279
|
|
284
280
|
## Import
|
285
281
|
|
@@ -288,7 +288,7 @@ class _ScriptMonitorState:
|
|
288
288
|
:param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
289
289
|
:param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
290
290
|
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
291
|
-
:param pulumi.Input[str] guid: The unique identifier
|
291
|
+
:param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
|
292
292
|
:param pulumi.Input[Sequence[pulumi.Input['ScriptMonitorLocationPrivateArgs']]] location_privates: The location the monitor will run from. See Nested location_private blocks below for details. **At least one of either** `locations_public` **or** `location_private` **is required**.
|
293
293
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. The `AWS_` prefix is not needed, as the provider uses NerdGraph. **At least one of either** `locations_public` **or** `location_private` **is required**.
|
294
294
|
:param pulumi.Input[str] name: The name for the monitor.
|
@@ -391,7 +391,7 @@ class _ScriptMonitorState:
|
|
391
391
|
@pulumi.getter
|
392
392
|
def guid(self) -> Optional[pulumi.Input[str]]:
|
393
393
|
"""
|
394
|
-
The unique identifier
|
394
|
+
The unique entity identifier of the monitor in New Relic.
|
395
395
|
"""
|
396
396
|
return pulumi.get(self, "guid")
|
397
397
|
|
@@ -574,7 +574,6 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
574
574
|
|
575
575
|
##### Type: `SCRIPT_API`
|
576
576
|
|
577
|
-
<!--Start PulumiCodeChooser -->
|
578
577
|
```python
|
579
578
|
import pulumi
|
580
579
|
import pulumi_newrelic as newrelic
|
@@ -597,10 +596,8 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
597
596
|
values=["some_value"],
|
598
597
|
)])
|
599
598
|
```
|
600
|
-
<!--End PulumiCodeChooser -->
|
601
599
|
##### Type: `SCRIPT_BROWSER`
|
602
600
|
|
603
|
-
<!--Start PulumiCodeChooser -->
|
604
601
|
```python
|
605
602
|
import pulumi
|
606
603
|
import pulumi_newrelic as newrelic
|
@@ -624,7 +621,6 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
624
621
|
values=["some_value"],
|
625
622
|
)])
|
626
623
|
```
|
627
|
-
<!--End PulumiCodeChooser -->
|
628
624
|
See additional examples.
|
629
625
|
|
630
626
|
## Additional Examples
|
@@ -637,7 +633,6 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
637
633
|
|
638
634
|
##### Type: `SCRIPT_API`
|
639
635
|
|
640
|
-
<!--Start PulumiCodeChooser -->
|
641
636
|
```python
|
642
637
|
import pulumi
|
643
638
|
import pulumi_newrelic as newrelic
|
@@ -664,10 +659,8 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
664
659
|
values=["some_value"],
|
665
660
|
)])
|
666
661
|
```
|
667
|
-
<!--End PulumiCodeChooser -->
|
668
662
|
##### Type: `SCRIPT_BROWSER`
|
669
663
|
|
670
|
-
<!--Start PulumiCodeChooser -->
|
671
664
|
```python
|
672
665
|
import pulumi
|
673
666
|
import pulumi_newrelic as newrelic
|
@@ -695,7 +688,6 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
695
688
|
values=["some_value"],
|
696
689
|
)])
|
697
690
|
```
|
698
|
-
<!--End PulumiCodeChooser -->
|
699
691
|
|
700
692
|
## Import
|
701
693
|
|
@@ -740,7 +732,6 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
740
732
|
|
741
733
|
##### Type: `SCRIPT_API`
|
742
734
|
|
743
|
-
<!--Start PulumiCodeChooser -->
|
744
735
|
```python
|
745
736
|
import pulumi
|
746
737
|
import pulumi_newrelic as newrelic
|
@@ -763,10 +754,8 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
763
754
|
values=["some_value"],
|
764
755
|
)])
|
765
756
|
```
|
766
|
-
<!--End PulumiCodeChooser -->
|
767
757
|
##### Type: `SCRIPT_BROWSER`
|
768
758
|
|
769
|
-
<!--Start PulumiCodeChooser -->
|
770
759
|
```python
|
771
760
|
import pulumi
|
772
761
|
import pulumi_newrelic as newrelic
|
@@ -790,7 +779,6 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
790
779
|
values=["some_value"],
|
791
780
|
)])
|
792
781
|
```
|
793
|
-
<!--End PulumiCodeChooser -->
|
794
782
|
See additional examples.
|
795
783
|
|
796
784
|
## Additional Examples
|
@@ -803,7 +791,6 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
803
791
|
|
804
792
|
##### Type: `SCRIPT_API`
|
805
793
|
|
806
|
-
<!--Start PulumiCodeChooser -->
|
807
794
|
```python
|
808
795
|
import pulumi
|
809
796
|
import pulumi_newrelic as newrelic
|
@@ -830,10 +817,8 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
830
817
|
values=["some_value"],
|
831
818
|
)])
|
832
819
|
```
|
833
|
-
<!--End PulumiCodeChooser -->
|
834
820
|
##### Type: `SCRIPT_BROWSER`
|
835
821
|
|
836
|
-
<!--Start PulumiCodeChooser -->
|
837
822
|
```python
|
838
823
|
import pulumi
|
839
824
|
import pulumi_newrelic as newrelic
|
@@ -861,7 +846,6 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
861
846
|
values=["some_value"],
|
862
847
|
)])
|
863
848
|
```
|
864
|
-
<!--End PulumiCodeChooser -->
|
865
849
|
|
866
850
|
## Import
|
867
851
|
|
@@ -973,7 +957,7 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
973
957
|
:param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
974
958
|
:param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
975
959
|
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
976
|
-
:param pulumi.Input[str] guid: The unique identifier
|
960
|
+
:param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
|
977
961
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorLocationPrivateArgs']]]] location_privates: The location the monitor will run from. See Nested location_private blocks below for details. **At least one of either** `locations_public` **or** `location_private` **is required**.
|
978
962
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. The `AWS_` prefix is not needed, as the provider uses NerdGraph. **At least one of either** `locations_public` **or** `location_private` **is required**.
|
979
963
|
:param pulumi.Input[str] name: The name for the monitor.
|
@@ -1048,7 +1032,7 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
1048
1032
|
@pulumi.getter
|
1049
1033
|
def guid(self) -> pulumi.Output[str]:
|
1050
1034
|
"""
|
1051
|
-
The unique identifier
|
1035
|
+
The unique entity identifier of the monitor in New Relic.
|
1052
1036
|
"""
|
1053
1037
|
return pulumi.get(self, "guid")
|
1054
1038
|
|