pulumi-newrelic 5.45.0a1743574084__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.0a1743574084.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.0a1743574084.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.45.0a1743574084.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
|
@@ -19,22 +20,22 @@ __all__ = ['AlertConditionArgs', 'AlertCondition']
|
|
19
20
|
@pulumi.input_type
|
20
21
|
class AlertConditionArgs:
|
21
22
|
def __init__(__self__, *,
|
22
|
-
monitor_id: pulumi.Input[str],
|
23
|
-
policy_id: pulumi.Input[str],
|
24
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
25
|
-
name: Optional[pulumi.Input[str]] = None,
|
26
|
-
runbook_url: Optional[pulumi.Input[str]] = None):
|
23
|
+
monitor_id: pulumi.Input[builtins.str],
|
24
|
+
policy_id: pulumi.Input[builtins.str],
|
25
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
26
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
27
|
+
runbook_url: Optional[pulumi.Input[builtins.str]] = None):
|
27
28
|
"""
|
28
29
|
The set of arguments for constructing a AlertCondition resource.
|
29
|
-
:param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
30
|
-
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
31
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
30
|
+
:param pulumi.Input[builtins.str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
31
|
+
:param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition should be used.
|
32
|
+
:param pulumi.Input[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
32
33
|
|
33
34
|
```
|
34
35
|
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
36
|
```
|
36
|
-
:param pulumi.Input[str] name: The title of this condition.
|
37
|
-
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
37
|
+
:param pulumi.Input[builtins.str] name: The title of this condition.
|
38
|
+
:param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
|
38
39
|
"""
|
39
40
|
pulumi.set(__self__, "monitor_id", monitor_id)
|
40
41
|
pulumi.set(__self__, "policy_id", policy_id)
|
@@ -47,31 +48,31 @@ class AlertConditionArgs:
|
|
47
48
|
|
48
49
|
@property
|
49
50
|
@pulumi.getter(name="monitorId")
|
50
|
-
def monitor_id(self) -> pulumi.Input[str]:
|
51
|
+
def monitor_id(self) -> pulumi.Input[builtins.str]:
|
51
52
|
"""
|
52
53
|
The GUID of the Synthetics monitor to be referenced in the alert condition.
|
53
54
|
"""
|
54
55
|
return pulumi.get(self, "monitor_id")
|
55
56
|
|
56
57
|
@monitor_id.setter
|
57
|
-
def monitor_id(self, value: pulumi.Input[str]):
|
58
|
+
def monitor_id(self, value: pulumi.Input[builtins.str]):
|
58
59
|
pulumi.set(self, "monitor_id", value)
|
59
60
|
|
60
61
|
@property
|
61
62
|
@pulumi.getter(name="policyId")
|
62
|
-
def policy_id(self) -> pulumi.Input[str]:
|
63
|
+
def policy_id(self) -> pulumi.Input[builtins.str]:
|
63
64
|
"""
|
64
65
|
The ID of the policy where this condition should be used.
|
65
66
|
"""
|
66
67
|
return pulumi.get(self, "policy_id")
|
67
68
|
|
68
69
|
@policy_id.setter
|
69
|
-
def policy_id(self, value: pulumi.Input[str]):
|
70
|
+
def policy_id(self, value: pulumi.Input[builtins.str]):
|
70
71
|
pulumi.set(self, "policy_id", value)
|
71
72
|
|
72
73
|
@property
|
73
74
|
@pulumi.getter
|
74
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
75
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
75
76
|
"""
|
76
77
|
Set whether to enable the alert condition. Defaults to `true`.
|
77
78
|
|
@@ -82,55 +83,55 @@ class AlertConditionArgs:
|
|
82
83
|
return pulumi.get(self, "enabled")
|
83
84
|
|
84
85
|
@enabled.setter
|
85
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
86
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
86
87
|
pulumi.set(self, "enabled", value)
|
87
88
|
|
88
89
|
@property
|
89
90
|
@pulumi.getter
|
90
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
91
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
91
92
|
"""
|
92
93
|
The title of this condition.
|
93
94
|
"""
|
94
95
|
return pulumi.get(self, "name")
|
95
96
|
|
96
97
|
@name.setter
|
97
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
98
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
98
99
|
pulumi.set(self, "name", value)
|
99
100
|
|
100
101
|
@property
|
101
102
|
@pulumi.getter(name="runbookUrl")
|
102
|
-
def runbook_url(self) -> Optional[pulumi.Input[str]]:
|
103
|
+
def runbook_url(self) -> Optional[pulumi.Input[builtins.str]]:
|
103
104
|
"""
|
104
105
|
Runbook URL to display in notifications.
|
105
106
|
"""
|
106
107
|
return pulumi.get(self, "runbook_url")
|
107
108
|
|
108
109
|
@runbook_url.setter
|
109
|
-
def runbook_url(self, value: Optional[pulumi.Input[str]]):
|
110
|
+
def runbook_url(self, value: Optional[pulumi.Input[builtins.str]]):
|
110
111
|
pulumi.set(self, "runbook_url", value)
|
111
112
|
|
112
113
|
|
113
114
|
@pulumi.input_type
|
114
115
|
class _AlertConditionState:
|
115
116
|
def __init__(__self__, *,
|
116
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
117
|
-
entity_guid: Optional[pulumi.Input[str]] = None,
|
118
|
-
monitor_id: Optional[pulumi.Input[str]] = None,
|
119
|
-
name: Optional[pulumi.Input[str]] = None,
|
120
|
-
policy_id: Optional[pulumi.Input[str]] = None,
|
121
|
-
runbook_url: Optional[pulumi.Input[str]] = None):
|
117
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
118
|
+
entity_guid: Optional[pulumi.Input[builtins.str]] = None,
|
119
|
+
monitor_id: Optional[pulumi.Input[builtins.str]] = None,
|
120
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
121
|
+
policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
122
|
+
runbook_url: Optional[pulumi.Input[builtins.str]] = None):
|
122
123
|
"""
|
123
124
|
Input properties used for looking up and filtering AlertCondition resources.
|
124
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
125
|
+
:param pulumi.Input[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
125
126
|
|
126
127
|
```
|
127
128
|
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.
|
128
129
|
```
|
129
|
-
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
130
|
-
:param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
131
|
-
:param pulumi.Input[str] name: The title of this condition.
|
132
|
-
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
133
|
-
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
130
|
+
:param pulumi.Input[builtins.str] entity_guid: The unique entity identifier of the condition in New Relic.
|
131
|
+
:param pulumi.Input[builtins.str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
132
|
+
:param pulumi.Input[builtins.str] name: The title of this condition.
|
133
|
+
:param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition should be used.
|
134
|
+
:param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
|
134
135
|
"""
|
135
136
|
if enabled is not None:
|
136
137
|
pulumi.set(__self__, "enabled", enabled)
|
@@ -147,7 +148,7 @@ class _AlertConditionState:
|
|
147
148
|
|
148
149
|
@property
|
149
150
|
@pulumi.getter
|
150
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
151
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
151
152
|
"""
|
152
153
|
Set whether to enable the alert condition. Defaults to `true`.
|
153
154
|
|
@@ -158,67 +159,67 @@ class _AlertConditionState:
|
|
158
159
|
return pulumi.get(self, "enabled")
|
159
160
|
|
160
161
|
@enabled.setter
|
161
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
162
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
162
163
|
pulumi.set(self, "enabled", value)
|
163
164
|
|
164
165
|
@property
|
165
166
|
@pulumi.getter(name="entityGuid")
|
166
|
-
def entity_guid(self) -> Optional[pulumi.Input[str]]:
|
167
|
+
def entity_guid(self) -> Optional[pulumi.Input[builtins.str]]:
|
167
168
|
"""
|
168
169
|
The unique entity identifier of the condition in New Relic.
|
169
170
|
"""
|
170
171
|
return pulumi.get(self, "entity_guid")
|
171
172
|
|
172
173
|
@entity_guid.setter
|
173
|
-
def entity_guid(self, value: Optional[pulumi.Input[str]]):
|
174
|
+
def entity_guid(self, value: Optional[pulumi.Input[builtins.str]]):
|
174
175
|
pulumi.set(self, "entity_guid", value)
|
175
176
|
|
176
177
|
@property
|
177
178
|
@pulumi.getter(name="monitorId")
|
178
|
-
def monitor_id(self) -> Optional[pulumi.Input[str]]:
|
179
|
+
def monitor_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
179
180
|
"""
|
180
181
|
The GUID of the Synthetics monitor to be referenced in the alert condition.
|
181
182
|
"""
|
182
183
|
return pulumi.get(self, "monitor_id")
|
183
184
|
|
184
185
|
@monitor_id.setter
|
185
|
-
def monitor_id(self, value: Optional[pulumi.Input[str]]):
|
186
|
+
def monitor_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
186
187
|
pulumi.set(self, "monitor_id", value)
|
187
188
|
|
188
189
|
@property
|
189
190
|
@pulumi.getter
|
190
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
191
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
191
192
|
"""
|
192
193
|
The title of this condition.
|
193
194
|
"""
|
194
195
|
return pulumi.get(self, "name")
|
195
196
|
|
196
197
|
@name.setter
|
197
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
198
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
198
199
|
pulumi.set(self, "name", value)
|
199
200
|
|
200
201
|
@property
|
201
202
|
@pulumi.getter(name="policyId")
|
202
|
-
def policy_id(self) -> Optional[pulumi.Input[str]]:
|
203
|
+
def policy_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
203
204
|
"""
|
204
205
|
The ID of the policy where this condition should be used.
|
205
206
|
"""
|
206
207
|
return pulumi.get(self, "policy_id")
|
207
208
|
|
208
209
|
@policy_id.setter
|
209
|
-
def policy_id(self, value: Optional[pulumi.Input[str]]):
|
210
|
+
def policy_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
210
211
|
pulumi.set(self, "policy_id", value)
|
211
212
|
|
212
213
|
@property
|
213
214
|
@pulumi.getter(name="runbookUrl")
|
214
|
-
def runbook_url(self) -> Optional[pulumi.Input[str]]:
|
215
|
+
def runbook_url(self) -> Optional[pulumi.Input[builtins.str]]:
|
215
216
|
"""
|
216
217
|
Runbook URL to display in notifications.
|
217
218
|
"""
|
218
219
|
return pulumi.get(self, "runbook_url")
|
219
220
|
|
220
221
|
@runbook_url.setter
|
221
|
-
def runbook_url(self, value: Optional[pulumi.Input[str]]):
|
222
|
+
def runbook_url(self, value: Optional[pulumi.Input[builtins.str]]):
|
222
223
|
pulumi.set(self, "runbook_url", value)
|
223
224
|
|
224
225
|
|
@@ -227,11 +228,11 @@ class AlertCondition(pulumi.CustomResource):
|
|
227
228
|
def __init__(__self__,
|
228
229
|
resource_name: str,
|
229
230
|
opts: Optional[pulumi.ResourceOptions] = None,
|
230
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
231
|
-
monitor_id: Optional[pulumi.Input[str]] = None,
|
232
|
-
name: Optional[pulumi.Input[str]] = None,
|
233
|
-
policy_id: Optional[pulumi.Input[str]] = None,
|
234
|
-
runbook_url: Optional[pulumi.Input[str]] = None,
|
231
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
232
|
+
monitor_id: Optional[pulumi.Input[builtins.str]] = None,
|
233
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
234
|
+
policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
235
|
+
runbook_url: Optional[pulumi.Input[builtins.str]] = None,
|
235
236
|
__props__=None):
|
236
237
|
"""
|
237
238
|
Use this resource to create and manage synthetics alert conditions in New Relic.
|
@@ -311,15 +312,15 @@ class AlertCondition(pulumi.CustomResource):
|
|
311
312
|
|
312
313
|
:param str resource_name: The name of the resource.
|
313
314
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
314
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
315
|
+
:param pulumi.Input[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
315
316
|
|
316
317
|
```
|
317
318
|
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.
|
318
319
|
```
|
319
|
-
:param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
320
|
-
:param pulumi.Input[str] name: The title of this condition.
|
321
|
-
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
322
|
-
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
320
|
+
:param pulumi.Input[builtins.str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
321
|
+
:param pulumi.Input[builtins.str] name: The title of this condition.
|
322
|
+
:param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition should be used.
|
323
|
+
:param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
|
323
324
|
"""
|
324
325
|
...
|
325
326
|
@overload
|
@@ -418,11 +419,11 @@ class AlertCondition(pulumi.CustomResource):
|
|
418
419
|
def _internal_init(__self__,
|
419
420
|
resource_name: str,
|
420
421
|
opts: Optional[pulumi.ResourceOptions] = None,
|
421
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
422
|
-
monitor_id: Optional[pulumi.Input[str]] = None,
|
423
|
-
name: Optional[pulumi.Input[str]] = None,
|
424
|
-
policy_id: Optional[pulumi.Input[str]] = None,
|
425
|
-
runbook_url: Optional[pulumi.Input[str]] = None,
|
422
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
423
|
+
monitor_id: Optional[pulumi.Input[builtins.str]] = None,
|
424
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
425
|
+
policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
426
|
+
runbook_url: Optional[pulumi.Input[builtins.str]] = None,
|
426
427
|
__props__=None):
|
427
428
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
428
429
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -452,12 +453,12 @@ class AlertCondition(pulumi.CustomResource):
|
|
452
453
|
def get(resource_name: str,
|
453
454
|
id: pulumi.Input[str],
|
454
455
|
opts: Optional[pulumi.ResourceOptions] = None,
|
455
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
456
|
-
entity_guid: Optional[pulumi.Input[str]] = None,
|
457
|
-
monitor_id: Optional[pulumi.Input[str]] = None,
|
458
|
-
name: Optional[pulumi.Input[str]] = None,
|
459
|
-
policy_id: Optional[pulumi.Input[str]] = None,
|
460
|
-
runbook_url: Optional[pulumi.Input[str]] = None) -> 'AlertCondition':
|
456
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
457
|
+
entity_guid: Optional[pulumi.Input[builtins.str]] = None,
|
458
|
+
monitor_id: Optional[pulumi.Input[builtins.str]] = None,
|
459
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
460
|
+
policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
461
|
+
runbook_url: Optional[pulumi.Input[builtins.str]] = None) -> 'AlertCondition':
|
461
462
|
"""
|
462
463
|
Get an existing AlertCondition resource's state with the given name, id, and optional extra
|
463
464
|
properties used to qualify the lookup.
|
@@ -465,16 +466,16 @@ class AlertCondition(pulumi.CustomResource):
|
|
465
466
|
:param str resource_name: The unique name of the resulting resource.
|
466
467
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
467
468
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
468
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
469
|
+
:param pulumi.Input[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
469
470
|
|
470
471
|
```
|
471
472
|
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.
|
472
473
|
```
|
473
|
-
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
474
|
-
:param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
475
|
-
:param pulumi.Input[str] name: The title of this condition.
|
476
|
-
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
477
|
-
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
474
|
+
:param pulumi.Input[builtins.str] entity_guid: The unique entity identifier of the condition in New Relic.
|
475
|
+
:param pulumi.Input[builtins.str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
476
|
+
:param pulumi.Input[builtins.str] name: The title of this condition.
|
477
|
+
:param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition should be used.
|
478
|
+
:param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
|
478
479
|
"""
|
479
480
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
480
481
|
|
@@ -490,7 +491,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
490
491
|
|
491
492
|
@property
|
492
493
|
@pulumi.getter
|
493
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
494
|
+
def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
494
495
|
"""
|
495
496
|
Set whether to enable the alert condition. Defaults to `true`.
|
496
497
|
|
@@ -502,7 +503,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
502
503
|
|
503
504
|
@property
|
504
505
|
@pulumi.getter(name="entityGuid")
|
505
|
-
def entity_guid(self) -> pulumi.Output[str]:
|
506
|
+
def entity_guid(self) -> pulumi.Output[builtins.str]:
|
506
507
|
"""
|
507
508
|
The unique entity identifier of the condition in New Relic.
|
508
509
|
"""
|
@@ -510,7 +511,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
510
511
|
|
511
512
|
@property
|
512
513
|
@pulumi.getter(name="monitorId")
|
513
|
-
def monitor_id(self) -> pulumi.Output[str]:
|
514
|
+
def monitor_id(self) -> pulumi.Output[builtins.str]:
|
514
515
|
"""
|
515
516
|
The GUID of the Synthetics monitor to be referenced in the alert condition.
|
516
517
|
"""
|
@@ -518,7 +519,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
518
519
|
|
519
520
|
@property
|
520
521
|
@pulumi.getter
|
521
|
-
def name(self) -> pulumi.Output[str]:
|
522
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
522
523
|
"""
|
523
524
|
The title of this condition.
|
524
525
|
"""
|
@@ -526,7 +527,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
526
527
|
|
527
528
|
@property
|
528
529
|
@pulumi.getter(name="policyId")
|
529
|
-
def policy_id(self) -> pulumi.Output[str]:
|
530
|
+
def policy_id(self) -> pulumi.Output[builtins.str]:
|
530
531
|
"""
|
531
532
|
The ID of the policy where this condition should be used.
|
532
533
|
"""
|
@@ -534,7 +535,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
534
535
|
|
535
536
|
@property
|
536
537
|
@pulumi.getter(name="runbookUrl")
|
537
|
-
def runbook_url(self) -> pulumi.Output[Optional[str]]:
|
538
|
+
def runbook_url(self) -> pulumi.Output[Optional[builtins.str]]:
|
538
539
|
"""
|
539
540
|
Runbook URL to display in notifications.
|
540
541
|
"""
|