pulumi-newrelic 5.45.0a1743488085__py3-none-any.whl → 5.45.0a1744183332__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/__init__.py +1 -0
- pulumi_newrelic/_inputs.py +2961 -2960
- pulumi_newrelic/account_management.py +29 -28
- pulumi_newrelic/alert_channel.py +43 -42
- pulumi_newrelic/alert_condition.py +176 -175
- pulumi_newrelic/alert_muting_rule.py +71 -70
- pulumi_newrelic/alert_policy.py +57 -56
- pulumi_newrelic/alert_policy_channel.py +43 -42
- pulumi_newrelic/api_access_key.py +92 -91
- pulumi_newrelic/browser_application.py +92 -91
- pulumi_newrelic/cloud/__init__.py +1 -0
- pulumi_newrelic/cloud/_inputs.py +1765 -1764
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
- pulumi_newrelic/cloud/aws_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_link_account.py +57 -56
- pulumi_newrelic/cloud/azure_integrations.py +29 -28
- pulumi_newrelic/cloud/azure_link_account.py +85 -84
- pulumi_newrelic/cloud/gcp_integrations.py +29 -28
- pulumi_newrelic/cloud/gcp_link_account.py +45 -44
- pulumi_newrelic/cloud/outputs.py +1057 -1056
- pulumi_newrelic/config/__init__.py +1 -0
- pulumi_newrelic/config/__init__.pyi +1 -0
- pulumi_newrelic/config/vars.py +1 -0
- pulumi_newrelic/data_partition_rule.py +92 -91
- pulumi_newrelic/entity_tags.py +15 -14
- pulumi_newrelic/events_to_metrics_rule.py +78 -77
- pulumi_newrelic/get_account.py +17 -16
- pulumi_newrelic/get_alert_channel.py +14 -13
- pulumi_newrelic/get_alert_policy.py +19 -18
- pulumi_newrelic/get_application.py +9 -8
- pulumi_newrelic/get_authentication_domain.py +7 -6
- pulumi_newrelic/get_cloud_account.py +17 -16
- pulumi_newrelic/get_entity.py +40 -39
- pulumi_newrelic/get_group.py +13 -12
- pulumi_newrelic/get_key_transaction.py +19 -18
- pulumi_newrelic/get_notification_destination.py +20 -19
- pulumi_newrelic/get_obfuscation_expression.py +12 -11
- pulumi_newrelic/get_service_level_alert_helper.py +41 -40
- pulumi_newrelic/get_test_grok_pattern.py +17 -16
- pulumi_newrelic/get_user.py +17 -16
- pulumi_newrelic/group.py +43 -42
- pulumi_newrelic/infra_alert_condition.py +204 -203
- pulumi_newrelic/insights/__init__.py +1 -0
- pulumi_newrelic/insights/_inputs.py +26 -25
- pulumi_newrelic/insights/event.py +1 -0
- pulumi_newrelic/insights/outputs.py +16 -15
- pulumi_newrelic/key_transaction.py +85 -84
- pulumi_newrelic/log_parsing_rule.py +120 -119
- pulumi_newrelic/monitor_downtime.py +113 -112
- pulumi_newrelic/notification_channel.py +92 -91
- pulumi_newrelic/notification_destination.py +78 -77
- pulumi_newrelic/nrql_alert_condition.py +330 -329
- pulumi_newrelic/nrql_drop_rule.py +64 -63
- pulumi_newrelic/obfuscation_expression.py +57 -56
- pulumi_newrelic/obfuscation_rule.py +71 -70
- pulumi_newrelic/one_dashboard.py +71 -70
- pulumi_newrelic/one_dashboard_json.py +50 -49
- pulumi_newrelic/one_dashboard_raw.py +71 -70
- pulumi_newrelic/outputs.py +1831 -1830
- pulumi_newrelic/plugins/__init__.py +1 -0
- pulumi_newrelic/plugins/_inputs.py +126 -125
- pulumi_newrelic/plugins/application_settings.py +132 -131
- pulumi_newrelic/plugins/outputs.py +76 -75
- pulumi_newrelic/plugins/workload.py +99 -98
- pulumi_newrelic/provider.py +80 -79
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +57 -56
- pulumi_newrelic/synthetics/__init__.py +1 -0
- pulumi_newrelic/synthetics/_inputs.py +106 -105
- pulumi_newrelic/synthetics/alert_condition.py +78 -77
- pulumi_newrelic/synthetics/broken_links_monitor.py +151 -150
- pulumi_newrelic/synthetics/cert_check_monitor.py +158 -157
- pulumi_newrelic/synthetics/get_private_location.py +17 -16
- pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
- pulumi_newrelic/synthetics/monitor.py +298 -297
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
- pulumi_newrelic/synthetics/outputs.py +64 -63
- pulumi_newrelic/synthetics/private_location.py +85 -84
- pulumi_newrelic/synthetics/script_monitor.py +235 -234
- pulumi_newrelic/synthetics/secure_credential.py +71 -70
- pulumi_newrelic/synthetics/step_monitor.py +165 -164
- pulumi_newrelic/user.py +57 -56
- pulumi_newrelic/workflow.py +106 -105
- {pulumi_newrelic-5.45.0a1743488085.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.45.0a1744183332.dist-info/RECORD +90 -0
- pulumi_newrelic-5.45.0a1743488085.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.45.0a1743488085.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.45.0a1743488085.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -22,22 +23,22 @@ __all__ = ['MultiLocationAlertConditionArgs', 'MultiLocationAlertCondition']
|
|
22
23
|
class MultiLocationAlertConditionArgs:
|
23
24
|
def __init__(__self__, *,
|
24
25
|
critical: pulumi.Input['MultiLocationAlertConditionCriticalArgs'],
|
25
|
-
entities: pulumi.Input[Sequence[pulumi.Input[str]]],
|
26
|
-
policy_id: pulumi.Input[str],
|
27
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
28
|
-
name: Optional[pulumi.Input[str]] = None,
|
29
|
-
runbook_url: Optional[pulumi.Input[str]] = None,
|
30
|
-
violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
|
26
|
+
entities: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
27
|
+
policy_id: pulumi.Input[builtins.str],
|
28
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
29
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
30
|
+
runbook_url: Optional[pulumi.Input[builtins.str]] = None,
|
31
|
+
violation_time_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
31
32
|
warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None):
|
32
33
|
"""
|
33
34
|
The set of arguments for constructing a MultiLocationAlertCondition resource.
|
34
35
|
:param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with the priority set to critical.
|
35
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
36
|
-
:param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
|
37
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
38
|
-
:param pulumi.Input[str] name: The title of the condition.
|
39
|
-
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
40
|
-
: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[Sequence[pulumi.Input[builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
37
|
+
:param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition will be used.
|
38
|
+
:param pulumi.Input[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
39
|
+
:param pulumi.Input[builtins.str] name: The title of the condition.
|
40
|
+
:param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
|
41
|
+
:param pulumi.Input[builtins.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).
|
41
42
|
:param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with the priority set to warning.
|
42
43
|
|
43
44
|
|
@@ -71,74 +72,74 @@ class MultiLocationAlertConditionArgs:
|
|
71
72
|
|
72
73
|
@property
|
73
74
|
@pulumi.getter
|
74
|
-
def entities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
75
|
+
def entities(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
75
76
|
"""
|
76
77
|
The Monitor GUID's of the Synthetics monitors to alert on.
|
77
78
|
"""
|
78
79
|
return pulumi.get(self, "entities")
|
79
80
|
|
80
81
|
@entities.setter
|
81
|
-
def entities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
82
|
+
def entities(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
82
83
|
pulumi.set(self, "entities", value)
|
83
84
|
|
84
85
|
@property
|
85
86
|
@pulumi.getter(name="policyId")
|
86
|
-
def policy_id(self) -> pulumi.Input[str]:
|
87
|
+
def policy_id(self) -> pulumi.Input[builtins.str]:
|
87
88
|
"""
|
88
89
|
The ID of the policy where this condition will be used.
|
89
90
|
"""
|
90
91
|
return pulumi.get(self, "policy_id")
|
91
92
|
|
92
93
|
@policy_id.setter
|
93
|
-
def policy_id(self, value: pulumi.Input[str]):
|
94
|
+
def policy_id(self, value: pulumi.Input[builtins.str]):
|
94
95
|
pulumi.set(self, "policy_id", value)
|
95
96
|
|
96
97
|
@property
|
97
98
|
@pulumi.getter
|
98
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
99
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
99
100
|
"""
|
100
101
|
Set whether to enable the alert condition. Defaults to true.
|
101
102
|
"""
|
102
103
|
return pulumi.get(self, "enabled")
|
103
104
|
|
104
105
|
@enabled.setter
|
105
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
106
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
106
107
|
pulumi.set(self, "enabled", value)
|
107
108
|
|
108
109
|
@property
|
109
110
|
@pulumi.getter
|
110
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
111
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
111
112
|
"""
|
112
113
|
The title of the condition.
|
113
114
|
"""
|
114
115
|
return pulumi.get(self, "name")
|
115
116
|
|
116
117
|
@name.setter
|
117
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
118
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
118
119
|
pulumi.set(self, "name", value)
|
119
120
|
|
120
121
|
@property
|
121
122
|
@pulumi.getter(name="runbookUrl")
|
122
|
-
def runbook_url(self) -> Optional[pulumi.Input[str]]:
|
123
|
+
def runbook_url(self) -> Optional[pulumi.Input[builtins.str]]:
|
123
124
|
"""
|
124
125
|
Runbook URL to display in notifications.
|
125
126
|
"""
|
126
127
|
return pulumi.get(self, "runbook_url")
|
127
128
|
|
128
129
|
@runbook_url.setter
|
129
|
-
def runbook_url(self, value: Optional[pulumi.Input[str]]):
|
130
|
+
def runbook_url(self, value: Optional[pulumi.Input[builtins.str]]):
|
130
131
|
pulumi.set(self, "runbook_url", value)
|
131
132
|
|
132
133
|
@property
|
133
134
|
@pulumi.getter(name="violationTimeLimitSeconds")
|
134
|
-
def violation_time_limit_seconds(self) -> Optional[pulumi.Input[int]]:
|
135
|
+
def violation_time_limit_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
135
136
|
"""
|
136
137
|
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).
|
137
138
|
"""
|
138
139
|
return pulumi.get(self, "violation_time_limit_seconds")
|
139
140
|
|
140
141
|
@violation_time_limit_seconds.setter
|
141
|
-
def violation_time_limit_seconds(self, value: Optional[pulumi.Input[int]]):
|
142
|
+
def violation_time_limit_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
142
143
|
pulumi.set(self, "violation_time_limit_seconds", value)
|
143
144
|
|
144
145
|
@property
|
@@ -161,24 +162,24 @@ class MultiLocationAlertConditionArgs:
|
|
161
162
|
class _MultiLocationAlertConditionState:
|
162
163
|
def __init__(__self__, *,
|
163
164
|
critical: Optional[pulumi.Input['MultiLocationAlertConditionCriticalArgs']] = None,
|
164
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
165
|
-
entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
166
|
-
entity_guid: Optional[pulumi.Input[str]] = None,
|
167
|
-
name: Optional[pulumi.Input[str]] = None,
|
168
|
-
policy_id: Optional[pulumi.Input[str]] = None,
|
169
|
-
runbook_url: Optional[pulumi.Input[str]] = None,
|
170
|
-
violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
|
165
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
166
|
+
entities: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
167
|
+
entity_guid: Optional[pulumi.Input[builtins.str]] = None,
|
168
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
169
|
+
policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
170
|
+
runbook_url: Optional[pulumi.Input[builtins.str]] = None,
|
171
|
+
violation_time_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
171
172
|
warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None):
|
172
173
|
"""
|
173
174
|
Input properties used for looking up and filtering MultiLocationAlertCondition resources.
|
174
175
|
:param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with the priority set to critical.
|
175
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
176
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
177
|
-
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
178
|
-
:param pulumi.Input[str] name: The title of the condition.
|
179
|
-
:param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
|
180
|
-
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
181
|
-
: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).
|
176
|
+
:param pulumi.Input[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
177
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
178
|
+
:param pulumi.Input[builtins.str] entity_guid: The unique entity identifier of the condition in New Relic.
|
179
|
+
:param pulumi.Input[builtins.str] name: The title of the condition.
|
180
|
+
:param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition will be used.
|
181
|
+
:param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
|
182
|
+
:param pulumi.Input[builtins.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).
|
182
183
|
:param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with the priority set to warning.
|
183
184
|
|
184
185
|
|
@@ -217,86 +218,86 @@ class _MultiLocationAlertConditionState:
|
|
217
218
|
|
218
219
|
@property
|
219
220
|
@pulumi.getter
|
220
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
221
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
221
222
|
"""
|
222
223
|
Set whether to enable the alert condition. Defaults to true.
|
223
224
|
"""
|
224
225
|
return pulumi.get(self, "enabled")
|
225
226
|
|
226
227
|
@enabled.setter
|
227
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
228
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
228
229
|
pulumi.set(self, "enabled", value)
|
229
230
|
|
230
231
|
@property
|
231
232
|
@pulumi.getter
|
232
|
-
def entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
233
|
+
def entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
233
234
|
"""
|
234
235
|
The Monitor GUID's of the Synthetics monitors to alert on.
|
235
236
|
"""
|
236
237
|
return pulumi.get(self, "entities")
|
237
238
|
|
238
239
|
@entities.setter
|
239
|
-
def entities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
240
|
+
def entities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
240
241
|
pulumi.set(self, "entities", value)
|
241
242
|
|
242
243
|
@property
|
243
244
|
@pulumi.getter(name="entityGuid")
|
244
|
-
def entity_guid(self) -> Optional[pulumi.Input[str]]:
|
245
|
+
def entity_guid(self) -> Optional[pulumi.Input[builtins.str]]:
|
245
246
|
"""
|
246
247
|
The unique entity identifier of the condition in New Relic.
|
247
248
|
"""
|
248
249
|
return pulumi.get(self, "entity_guid")
|
249
250
|
|
250
251
|
@entity_guid.setter
|
251
|
-
def entity_guid(self, value: Optional[pulumi.Input[str]]):
|
252
|
+
def entity_guid(self, value: Optional[pulumi.Input[builtins.str]]):
|
252
253
|
pulumi.set(self, "entity_guid", value)
|
253
254
|
|
254
255
|
@property
|
255
256
|
@pulumi.getter
|
256
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
257
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
257
258
|
"""
|
258
259
|
The title of the condition.
|
259
260
|
"""
|
260
261
|
return pulumi.get(self, "name")
|
261
262
|
|
262
263
|
@name.setter
|
263
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
264
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
264
265
|
pulumi.set(self, "name", value)
|
265
266
|
|
266
267
|
@property
|
267
268
|
@pulumi.getter(name="policyId")
|
268
|
-
def policy_id(self) -> Optional[pulumi.Input[str]]:
|
269
|
+
def policy_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
269
270
|
"""
|
270
271
|
The ID of the policy where this condition will be used.
|
271
272
|
"""
|
272
273
|
return pulumi.get(self, "policy_id")
|
273
274
|
|
274
275
|
@policy_id.setter
|
275
|
-
def policy_id(self, value: Optional[pulumi.Input[str]]):
|
276
|
+
def policy_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
276
277
|
pulumi.set(self, "policy_id", value)
|
277
278
|
|
278
279
|
@property
|
279
280
|
@pulumi.getter(name="runbookUrl")
|
280
|
-
def runbook_url(self) -> Optional[pulumi.Input[str]]:
|
281
|
+
def runbook_url(self) -> Optional[pulumi.Input[builtins.str]]:
|
281
282
|
"""
|
282
283
|
Runbook URL to display in notifications.
|
283
284
|
"""
|
284
285
|
return pulumi.get(self, "runbook_url")
|
285
286
|
|
286
287
|
@runbook_url.setter
|
287
|
-
def runbook_url(self, value: Optional[pulumi.Input[str]]):
|
288
|
+
def runbook_url(self, value: Optional[pulumi.Input[builtins.str]]):
|
288
289
|
pulumi.set(self, "runbook_url", value)
|
289
290
|
|
290
291
|
@property
|
291
292
|
@pulumi.getter(name="violationTimeLimitSeconds")
|
292
|
-
def violation_time_limit_seconds(self) -> Optional[pulumi.Input[int]]:
|
293
|
+
def violation_time_limit_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
293
294
|
"""
|
294
295
|
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).
|
295
296
|
"""
|
296
297
|
return pulumi.get(self, "violation_time_limit_seconds")
|
297
298
|
|
298
299
|
@violation_time_limit_seconds.setter
|
299
|
-
def violation_time_limit_seconds(self, value: Optional[pulumi.Input[int]]):
|
300
|
+
def violation_time_limit_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
300
301
|
pulumi.set(self, "violation_time_limit_seconds", value)
|
301
302
|
|
302
303
|
@property
|
@@ -321,12 +322,12 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
321
322
|
resource_name: str,
|
322
323
|
opts: Optional[pulumi.ResourceOptions] = None,
|
323
324
|
critical: Optional[pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']]] = None,
|
324
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
325
|
-
entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
326
|
-
name: Optional[pulumi.Input[str]] = None,
|
327
|
-
policy_id: Optional[pulumi.Input[str]] = None,
|
328
|
-
runbook_url: Optional[pulumi.Input[str]] = None,
|
329
|
-
violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
|
325
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
326
|
+
entities: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
327
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
328
|
+
policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
329
|
+
runbook_url: Optional[pulumi.Input[builtins.str]] = None,
|
330
|
+
violation_time_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
330
331
|
warning: Optional[pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']]] = None,
|
331
332
|
__props__=None):
|
332
333
|
"""
|
@@ -435,12 +436,12 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
435
436
|
:param str resource_name: The name of the resource.
|
436
437
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
437
438
|
:param pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']] critical: A condition term with the priority set to critical.
|
438
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
439
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
440
|
-
:param pulumi.Input[str] name: The title of the condition.
|
441
|
-
:param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
|
442
|
-
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
443
|
-
: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[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
440
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
441
|
+
:param pulumi.Input[builtins.str] name: The title of the condition.
|
442
|
+
:param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition will be used.
|
443
|
+
:param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
|
444
|
+
:param pulumi.Input[builtins.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).
|
444
445
|
:param pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']] warning: A condition term with the priority set to warning.
|
445
446
|
|
446
447
|
|
@@ -571,12 +572,12 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
571
572
|
resource_name: str,
|
572
573
|
opts: Optional[pulumi.ResourceOptions] = None,
|
573
574
|
critical: Optional[pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']]] = None,
|
574
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
575
|
-
entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
576
|
-
name: Optional[pulumi.Input[str]] = None,
|
577
|
-
policy_id: Optional[pulumi.Input[str]] = None,
|
578
|
-
runbook_url: Optional[pulumi.Input[str]] = None,
|
579
|
-
violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
|
575
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
576
|
+
entities: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
577
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
578
|
+
policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
579
|
+
runbook_url: Optional[pulumi.Input[builtins.str]] = None,
|
580
|
+
violation_time_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
580
581
|
warning: Optional[pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']]] = None,
|
581
582
|
__props__=None):
|
582
583
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -613,13 +614,13 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
613
614
|
id: pulumi.Input[str],
|
614
615
|
opts: Optional[pulumi.ResourceOptions] = None,
|
615
616
|
critical: Optional[pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']]] = None,
|
616
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
617
|
-
entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
618
|
-
entity_guid: Optional[pulumi.Input[str]] = None,
|
619
|
-
name: Optional[pulumi.Input[str]] = None,
|
620
|
-
policy_id: Optional[pulumi.Input[str]] = None,
|
621
|
-
runbook_url: Optional[pulumi.Input[str]] = None,
|
622
|
-
violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
|
617
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
618
|
+
entities: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
619
|
+
entity_guid: Optional[pulumi.Input[builtins.str]] = None,
|
620
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
621
|
+
policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
622
|
+
runbook_url: Optional[pulumi.Input[builtins.str]] = None,
|
623
|
+
violation_time_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
623
624
|
warning: Optional[pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']]] = None) -> 'MultiLocationAlertCondition':
|
624
625
|
"""
|
625
626
|
Get an existing MultiLocationAlertCondition resource's state with the given name, id, and optional extra
|
@@ -629,13 +630,13 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
629
630
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
630
631
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
631
632
|
:param pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']] critical: A condition term with the priority set to critical.
|
632
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
633
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
634
|
-
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
635
|
-
:param pulumi.Input[str] name: The title of the condition.
|
636
|
-
:param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
|
637
|
-
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
638
|
-
: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).
|
633
|
+
:param pulumi.Input[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
634
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
|
635
|
+
:param pulumi.Input[builtins.str] entity_guid: The unique entity identifier of the condition in New Relic.
|
636
|
+
:param pulumi.Input[builtins.str] name: The title of the condition.
|
637
|
+
:param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition will be used.
|
638
|
+
:param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
|
639
|
+
:param pulumi.Input[builtins.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).
|
639
640
|
:param pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']] warning: A condition term with the priority set to warning.
|
640
641
|
|
641
642
|
|
@@ -666,7 +667,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
666
667
|
|
667
668
|
@property
|
668
669
|
@pulumi.getter
|
669
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
670
|
+
def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
670
671
|
"""
|
671
672
|
Set whether to enable the alert condition. Defaults to true.
|
672
673
|
"""
|
@@ -674,7 +675,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
674
675
|
|
675
676
|
@property
|
676
677
|
@pulumi.getter
|
677
|
-
def entities(self) -> pulumi.Output[Sequence[str]]:
|
678
|
+
def entities(self) -> pulumi.Output[Sequence[builtins.str]]:
|
678
679
|
"""
|
679
680
|
The Monitor GUID's of the Synthetics monitors to alert on.
|
680
681
|
"""
|
@@ -682,7 +683,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
682
683
|
|
683
684
|
@property
|
684
685
|
@pulumi.getter(name="entityGuid")
|
685
|
-
def entity_guid(self) -> pulumi.Output[str]:
|
686
|
+
def entity_guid(self) -> pulumi.Output[builtins.str]:
|
686
687
|
"""
|
687
688
|
The unique entity identifier of the condition in New Relic.
|
688
689
|
"""
|
@@ -690,7 +691,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
690
691
|
|
691
692
|
@property
|
692
693
|
@pulumi.getter
|
693
|
-
def name(self) -> pulumi.Output[str]:
|
694
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
694
695
|
"""
|
695
696
|
The title of the condition.
|
696
697
|
"""
|
@@ -698,7 +699,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
698
699
|
|
699
700
|
@property
|
700
701
|
@pulumi.getter(name="policyId")
|
701
|
-
def policy_id(self) -> pulumi.Output[str]:
|
702
|
+
def policy_id(self) -> pulumi.Output[builtins.str]:
|
702
703
|
"""
|
703
704
|
The ID of the policy where this condition will be used.
|
704
705
|
"""
|
@@ -706,7 +707,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
706
707
|
|
707
708
|
@property
|
708
709
|
@pulumi.getter(name="runbookUrl")
|
709
|
-
def runbook_url(self) -> pulumi.Output[Optional[str]]:
|
710
|
+
def runbook_url(self) -> pulumi.Output[Optional[builtins.str]]:
|
710
711
|
"""
|
711
712
|
Runbook URL to display in notifications.
|
712
713
|
"""
|
@@ -714,7 +715,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
|
|
714
715
|
|
715
716
|
@property
|
716
717
|
@pulumi.getter(name="violationTimeLimitSeconds")
|
717
|
-
def violation_time_limit_seconds(self) -> pulumi.Output[Optional[int]]:
|
718
|
+
def violation_time_limit_seconds(self) -> pulumi.Output[Optional[builtins.int]]:
|
718
719
|
"""
|
719
720
|
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).
|
720
721
|
"""
|