pulumi-newrelic 5.42.1__py3-none-any.whl → 5.58.0a1766556761__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 +19 -1
- pulumi_newrelic/_inputs.py +4314 -3779
- pulumi_newrelic/_utilities.py +1 -1
- pulumi_newrelic/account_management.py +37 -36
- pulumi_newrelic/alert_channel.py +63 -62
- pulumi_newrelic/alert_condition.py +219 -218
- pulumi_newrelic/alert_muting_rule.py +96 -95
- pulumi_newrelic/alert_policy.py +71 -70
- pulumi_newrelic/alert_policy_channel.py +54 -53
- pulumi_newrelic/api_access_key.py +186 -201
- pulumi_newrelic/browser_application.py +115 -114
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +2226 -2118
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +101 -96
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +71 -70
- pulumi_newrelic/cloud/aws_integrations.py +240 -192
- pulumi_newrelic/cloud/aws_link_account.py +71 -70
- pulumi_newrelic/cloud/azure_integrations.py +180 -132
- pulumi_newrelic/cloud/azure_link_account.py +105 -104
- pulumi_newrelic/cloud/gcp_integrations.py +115 -114
- pulumi_newrelic/cloud/gcp_link_account.py +56 -55
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1512 -1410
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +2 -2
- pulumi_newrelic/config/vars.py +15 -15
- pulumi_newrelic/data_partition_rule.py +114 -113
- pulumi_newrelic/entity_tags.py +79 -22
- pulumi_newrelic/events_to_metrics_rule.py +97 -96
- pulumi_newrelic/get_account.py +22 -22
- pulumi_newrelic/get_alert_channel.py +53 -21
- pulumi_newrelic/get_alert_policy.py +52 -26
- pulumi_newrelic/get_application.py +14 -14
- pulumi_newrelic/get_authentication_domain.py +10 -10
- pulumi_newrelic/get_cloud_account.py +22 -22
- pulumi_newrelic/get_entity.py +53 -53
- pulumi_newrelic/get_group.py +22 -22
- pulumi_newrelic/get_key_transaction.py +26 -26
- pulumi_newrelic/get_notification_destination.py +31 -31
- pulumi_newrelic/get_obfuscation_expression.py +16 -16
- pulumi_newrelic/get_service_level_alert_helper.py +54 -54
- pulumi_newrelic/get_test_grok_pattern.py +23 -23
- pulumi_newrelic/get_user.py +22 -22
- pulumi_newrelic/group.py +54 -53
- pulumi_newrelic/infra_alert_condition.py +257 -256
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +33 -33
- pulumi_newrelic/insights/event.py +6 -5
- pulumi_newrelic/insights/outputs.py +23 -23
- pulumi_newrelic/key_transaction.py +106 -105
- pulumi_newrelic/log_parsing_rule.py +148 -147
- pulumi_newrelic/monitor_downtime.py +148 -154
- pulumi_newrelic/notification_channel.py +218 -163
- pulumi_newrelic/notification_destination.py +123 -136
- pulumi_newrelic/nrql_alert_condition.py +513 -414
- pulumi_newrelic/nrql_drop_rule.py +108 -147
- pulumi_newrelic/obfuscation_expression.py +71 -70
- pulumi_newrelic/obfuscation_rule.py +91 -90
- pulumi_newrelic/one_dashboard.py +95 -94
- pulumi_newrelic/one_dashboard_json.py +64 -63
- pulumi_newrelic/one_dashboard_raw.py +116 -115
- pulumi_newrelic/outputs.py +3026 -2665
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +159 -159
- pulumi_newrelic/plugins/application_settings.py +186 -171
- pulumi_newrelic/plugins/outputs.py +109 -109
- pulumi_newrelic/plugins/workload.py +133 -132
- pulumi_newrelic/provider.py +136 -116
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +78 -77
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +128 -128
- pulumi_newrelic/synthetics/alert_condition.py +97 -96
- pulumi_newrelic/synthetics/broken_links_monitor.py +218 -189
- pulumi_newrelic/synthetics/cert_check_monitor.py +226 -197
- pulumi_newrelic/synthetics/get_private_location.py +22 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +20 -20
- pulumi_newrelic/synthetics/monitor.py +399 -370
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +120 -119
- pulumi_newrelic/synthetics/outputs.py +86 -86
- pulumi_newrelic/synthetics/private_location.py +107 -106
- pulumi_newrelic/synthetics/script_monitor.py +385 -294
- pulumi_newrelic/synthetics/secure_credential.py +88 -87
- pulumi_newrelic/synthetics/step_monitor.py +241 -212
- pulumi_newrelic/user.py +71 -70
- pulumi_newrelic/workflow.py +141 -140
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/METADATA +4 -4
- pulumi_newrelic-5.58.0a1766556761.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.42.1.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -19,22 +19,22 @@ __all__ = ['AlertConditionArgs', 'AlertCondition']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class AlertConditionArgs:
|
|
21
21
|
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):
|
|
22
|
+
monitor_id: pulumi.Input[_builtins.str],
|
|
23
|
+
policy_id: pulumi.Input[_builtins.str],
|
|
24
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
25
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
runbook_url: Optional[pulumi.Input[_builtins.str]] = None):
|
|
27
27
|
"""
|
|
28
28
|
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`.
|
|
29
|
+
:param pulumi.Input[_builtins.str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
|
30
|
+
:param pulumi.Input[_builtins.str] policy_id: The ID of the policy where this condition should be used.
|
|
31
|
+
:param pulumi.Input[_builtins.bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
|
32
32
|
|
|
33
33
|
```
|
|
34
34
|
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
35
|
```
|
|
36
|
-
:param pulumi.Input[str] name: The title of this condition.
|
|
37
|
-
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
|
36
|
+
:param pulumi.Input[_builtins.str] name: The title of this condition.
|
|
37
|
+
:param pulumi.Input[_builtins.str] runbook_url: Runbook URL to display in notifications.
|
|
38
38
|
"""
|
|
39
39
|
pulumi.set(__self__, "monitor_id", monitor_id)
|
|
40
40
|
pulumi.set(__self__, "policy_id", policy_id)
|
|
@@ -45,33 +45,33 @@ class AlertConditionArgs:
|
|
|
45
45
|
if runbook_url is not None:
|
|
46
46
|
pulumi.set(__self__, "runbook_url", runbook_url)
|
|
47
47
|
|
|
48
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
49
49
|
@pulumi.getter(name="monitorId")
|
|
50
|
-
def monitor_id(self) -> pulumi.Input[str]:
|
|
50
|
+
def monitor_id(self) -> pulumi.Input[_builtins.str]:
|
|
51
51
|
"""
|
|
52
52
|
The GUID of the Synthetics monitor to be referenced in the alert condition.
|
|
53
53
|
"""
|
|
54
54
|
return pulumi.get(self, "monitor_id")
|
|
55
55
|
|
|
56
56
|
@monitor_id.setter
|
|
57
|
-
def monitor_id(self, value: pulumi.Input[str]):
|
|
57
|
+
def monitor_id(self, value: pulumi.Input[_builtins.str]):
|
|
58
58
|
pulumi.set(self, "monitor_id", value)
|
|
59
59
|
|
|
60
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
61
61
|
@pulumi.getter(name="policyId")
|
|
62
|
-
def policy_id(self) -> pulumi.Input[str]:
|
|
62
|
+
def policy_id(self) -> pulumi.Input[_builtins.str]:
|
|
63
63
|
"""
|
|
64
64
|
The ID of the policy where this condition should be used.
|
|
65
65
|
"""
|
|
66
66
|
return pulumi.get(self, "policy_id")
|
|
67
67
|
|
|
68
68
|
@policy_id.setter
|
|
69
|
-
def policy_id(self, value: pulumi.Input[str]):
|
|
69
|
+
def policy_id(self, value: pulumi.Input[_builtins.str]):
|
|
70
70
|
pulumi.set(self, "policy_id", value)
|
|
71
71
|
|
|
72
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
73
73
|
@pulumi.getter
|
|
74
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
74
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
75
75
|
"""
|
|
76
76
|
Set whether to enable the alert condition. Defaults to `true`.
|
|
77
77
|
|
|
@@ -82,55 +82,55 @@ class AlertConditionArgs:
|
|
|
82
82
|
return pulumi.get(self, "enabled")
|
|
83
83
|
|
|
84
84
|
@enabled.setter
|
|
85
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
85
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
86
86
|
pulumi.set(self, "enabled", value)
|
|
87
87
|
|
|
88
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
89
89
|
@pulumi.getter
|
|
90
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
90
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
91
91
|
"""
|
|
92
92
|
The title of this condition.
|
|
93
93
|
"""
|
|
94
94
|
return pulumi.get(self, "name")
|
|
95
95
|
|
|
96
96
|
@name.setter
|
|
97
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
97
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
98
98
|
pulumi.set(self, "name", value)
|
|
99
99
|
|
|
100
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
101
101
|
@pulumi.getter(name="runbookUrl")
|
|
102
|
-
def runbook_url(self) -> Optional[pulumi.Input[str]]:
|
|
102
|
+
def runbook_url(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
103
103
|
"""
|
|
104
104
|
Runbook URL to display in notifications.
|
|
105
105
|
"""
|
|
106
106
|
return pulumi.get(self, "runbook_url")
|
|
107
107
|
|
|
108
108
|
@runbook_url.setter
|
|
109
|
-
def runbook_url(self, value: Optional[pulumi.Input[str]]):
|
|
109
|
+
def runbook_url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
110
110
|
pulumi.set(self, "runbook_url", value)
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
@pulumi.input_type
|
|
114
114
|
class _AlertConditionState:
|
|
115
115
|
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):
|
|
116
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
117
|
+
entity_guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
118
|
+
monitor_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
119
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
120
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
121
|
+
runbook_url: Optional[pulumi.Input[_builtins.str]] = None):
|
|
122
122
|
"""
|
|
123
123
|
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`.
|
|
124
|
+
:param pulumi.Input[_builtins.bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
|
125
125
|
|
|
126
126
|
```
|
|
127
127
|
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
128
|
```
|
|
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.
|
|
129
|
+
:param pulumi.Input[_builtins.str] entity_guid: The unique entity identifier of the condition in New Relic.
|
|
130
|
+
:param pulumi.Input[_builtins.str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
|
131
|
+
:param pulumi.Input[_builtins.str] name: The title of this condition.
|
|
132
|
+
:param pulumi.Input[_builtins.str] policy_id: The ID of the policy where this condition should be used.
|
|
133
|
+
:param pulumi.Input[_builtins.str] runbook_url: Runbook URL to display in notifications.
|
|
134
134
|
"""
|
|
135
135
|
if enabled is not None:
|
|
136
136
|
pulumi.set(__self__, "enabled", enabled)
|
|
@@ -145,9 +145,9 @@ class _AlertConditionState:
|
|
|
145
145
|
if runbook_url is not None:
|
|
146
146
|
pulumi.set(__self__, "runbook_url", runbook_url)
|
|
147
147
|
|
|
148
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
149
149
|
@pulumi.getter
|
|
150
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
150
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
151
151
|
"""
|
|
152
152
|
Set whether to enable the alert condition. Defaults to `true`.
|
|
153
153
|
|
|
@@ -158,80 +158,81 @@ class _AlertConditionState:
|
|
|
158
158
|
return pulumi.get(self, "enabled")
|
|
159
159
|
|
|
160
160
|
@enabled.setter
|
|
161
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
161
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
162
162
|
pulumi.set(self, "enabled", value)
|
|
163
163
|
|
|
164
|
-
@property
|
|
164
|
+
@_builtins.property
|
|
165
165
|
@pulumi.getter(name="entityGuid")
|
|
166
|
-
def entity_guid(self) -> Optional[pulumi.Input[str]]:
|
|
166
|
+
def entity_guid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
167
167
|
"""
|
|
168
168
|
The unique entity identifier of the condition in New Relic.
|
|
169
169
|
"""
|
|
170
170
|
return pulumi.get(self, "entity_guid")
|
|
171
171
|
|
|
172
172
|
@entity_guid.setter
|
|
173
|
-
def entity_guid(self, value: Optional[pulumi.Input[str]]):
|
|
173
|
+
def entity_guid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
174
174
|
pulumi.set(self, "entity_guid", value)
|
|
175
175
|
|
|
176
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
177
177
|
@pulumi.getter(name="monitorId")
|
|
178
|
-
def monitor_id(self) -> Optional[pulumi.Input[str]]:
|
|
178
|
+
def monitor_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
179
179
|
"""
|
|
180
180
|
The GUID of the Synthetics monitor to be referenced in the alert condition.
|
|
181
181
|
"""
|
|
182
182
|
return pulumi.get(self, "monitor_id")
|
|
183
183
|
|
|
184
184
|
@monitor_id.setter
|
|
185
|
-
def monitor_id(self, value: Optional[pulumi.Input[str]]):
|
|
185
|
+
def monitor_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
186
186
|
pulumi.set(self, "monitor_id", value)
|
|
187
187
|
|
|
188
|
-
@property
|
|
188
|
+
@_builtins.property
|
|
189
189
|
@pulumi.getter
|
|
190
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
190
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
191
191
|
"""
|
|
192
192
|
The title of this condition.
|
|
193
193
|
"""
|
|
194
194
|
return pulumi.get(self, "name")
|
|
195
195
|
|
|
196
196
|
@name.setter
|
|
197
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
197
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
198
198
|
pulumi.set(self, "name", value)
|
|
199
199
|
|
|
200
|
-
@property
|
|
200
|
+
@_builtins.property
|
|
201
201
|
@pulumi.getter(name="policyId")
|
|
202
|
-
def policy_id(self) -> Optional[pulumi.Input[str]]:
|
|
202
|
+
def policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
203
203
|
"""
|
|
204
204
|
The ID of the policy where this condition should be used.
|
|
205
205
|
"""
|
|
206
206
|
return pulumi.get(self, "policy_id")
|
|
207
207
|
|
|
208
208
|
@policy_id.setter
|
|
209
|
-
def policy_id(self, value: Optional[pulumi.Input[str]]):
|
|
209
|
+
def policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
210
210
|
pulumi.set(self, "policy_id", value)
|
|
211
211
|
|
|
212
|
-
@property
|
|
212
|
+
@_builtins.property
|
|
213
213
|
@pulumi.getter(name="runbookUrl")
|
|
214
|
-
def runbook_url(self) -> Optional[pulumi.Input[str]]:
|
|
214
|
+
def runbook_url(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
215
215
|
"""
|
|
216
216
|
Runbook URL to display in notifications.
|
|
217
217
|
"""
|
|
218
218
|
return pulumi.get(self, "runbook_url")
|
|
219
219
|
|
|
220
220
|
@runbook_url.setter
|
|
221
|
-
def runbook_url(self, value: Optional[pulumi.Input[str]]):
|
|
221
|
+
def runbook_url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
222
222
|
pulumi.set(self, "runbook_url", value)
|
|
223
223
|
|
|
224
224
|
|
|
225
|
+
@pulumi.type_token("newrelic:synthetics/alertCondition:AlertCondition")
|
|
225
226
|
class AlertCondition(pulumi.CustomResource):
|
|
226
227
|
@overload
|
|
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
|
|
|
@@ -488,9 +489,9 @@ class AlertCondition(pulumi.CustomResource):
|
|
|
488
489
|
__props__.__dict__["runbook_url"] = runbook_url
|
|
489
490
|
return AlertCondition(resource_name, opts=opts, __props__=__props__)
|
|
490
491
|
|
|
491
|
-
@property
|
|
492
|
+
@_builtins.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
|
|
|
@@ -500,41 +501,41 @@ class AlertCondition(pulumi.CustomResource):
|
|
|
500
501
|
"""
|
|
501
502
|
return pulumi.get(self, "enabled")
|
|
502
503
|
|
|
503
|
-
@property
|
|
504
|
+
@_builtins.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
|
"""
|
|
509
510
|
return pulumi.get(self, "entity_guid")
|
|
510
511
|
|
|
511
|
-
@property
|
|
512
|
+
@_builtins.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
|
"""
|
|
517
518
|
return pulumi.get(self, "monitor_id")
|
|
518
519
|
|
|
519
|
-
@property
|
|
520
|
+
@_builtins.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
|
"""
|
|
525
526
|
return pulumi.get(self, "name")
|
|
526
527
|
|
|
527
|
-
@property
|
|
528
|
+
@_builtins.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
|
"""
|
|
533
534
|
return pulumi.get(self, "policy_id")
|
|
534
535
|
|
|
535
|
-
@property
|
|
536
|
+
@_builtins.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
|
"""
|