pulumi-newrelic 5.24.0a1715356536__py3-none-any.whl → 5.25.0__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 +499 -93
- pulumi_newrelic/account_management.py +14 -14
- pulumi_newrelic/alert_channel.py +38 -38
- pulumi_newrelic/alert_condition.py +153 -112
- pulumi_newrelic/alert_muting_rule.py +31 -31
- pulumi_newrelic/alert_policy.py +47 -41
- pulumi_newrelic/alert_policy_channel.py +42 -42
- pulumi_newrelic/api_access_key.py +28 -28
- pulumi_newrelic/browser_application.py +14 -14
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +28 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +14 -14
- pulumi_newrelic/cloud/aws_integrations.py +28 -28
- pulumi_newrelic/cloud/aws_link_account.py +14 -14
- pulumi_newrelic/cloud/azure_integrations.py +28 -28
- pulumi_newrelic/cloud/azure_link_account.py +14 -14
- pulumi_newrelic/cloud/gcp_integrations.py +28 -28
- pulumi_newrelic/cloud/gcp_link_account.py +14 -14
- pulumi_newrelic/config/__init__.pyi +1 -1
- pulumi_newrelic/config/vars.py +2 -2
- pulumi_newrelic/data_partition_rule.py +14 -14
- pulumi_newrelic/entity_tags.py +7 -7
- pulumi_newrelic/events_to_metrics_rule.py +16 -16
- pulumi_newrelic/get_account.py +7 -7
- pulumi_newrelic/get_alert_channel.py +8 -8
- pulumi_newrelic/get_alert_policy.py +16 -7
- pulumi_newrelic/get_application.py +2 -2
- pulumi_newrelic/get_cloud_account.py +9 -9
- pulumi_newrelic/get_entity.py +15 -15
- pulumi_newrelic/get_notification_destination.py +7 -7
- pulumi_newrelic/get_obfuscation_expression.py +9 -9
- pulumi_newrelic/get_service_level_alert_helper.py +28 -10
- pulumi_newrelic/get_test_grok_pattern.py +7 -7
- pulumi_newrelic/infra_alert_condition.py +119 -140
- pulumi_newrelic/insights/event.py +13 -0
- pulumi_newrelic/log_parsing_rule.py +14 -14
- pulumi_newrelic/monitor_downtime.py +14 -14
- pulumi_newrelic/notification_channel.py +36 -36
- pulumi_newrelic/notification_destination.py +28 -24
- pulumi_newrelic/nrql_alert_condition.py +32 -32
- pulumi_newrelic/nrql_drop_rule.py +44 -44
- pulumi_newrelic/obfuscation_expression.py +16 -16
- pulumi_newrelic/obfuscation_rule.py +14 -14
- pulumi_newrelic/one_dashboard.py +58 -52
- pulumi_newrelic/one_dashboard_json.py +14 -14
- pulumi_newrelic/one_dashboard_raw.py +14 -14
- pulumi_newrelic/outputs.py +482 -77
- pulumi_newrelic/plugins/_inputs.py +8 -8
- pulumi_newrelic/plugins/outputs.py +8 -8
- pulumi_newrelic/plugins/workload.py +83 -83
- pulumi_newrelic/provider.py +14 -9
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +85 -6
- pulumi_newrelic/synthetics/alert_condition.py +56 -28
- pulumi_newrelic/synthetics/broken_links_monitor.py +32 -14
- pulumi_newrelic/synthetics/cert_check_monitor.py +32 -14
- pulumi_newrelic/synthetics/get_private_location.py +11 -11
- pulumi_newrelic/synthetics/get_secure_credential.py +13 -5
- pulumi_newrelic/synthetics/monitor.py +18 -14
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +77 -63
- pulumi_newrelic/synthetics/private_location.py +14 -14
- pulumi_newrelic/synthetics/script_monitor.py +18 -14
- pulumi_newrelic/synthetics/secure_credential.py +24 -31
- pulumi_newrelic/synthetics/step_monitor.py +32 -14
- pulumi_newrelic/workflow.py +14 -14
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.25.0.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.25.0.dist-info/RECORD +89 -0
- pulumi_newrelic-5.24.0a1715356536.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.25.0.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.25.0.dist-info}/top_level.txt +0 -0
@@ -19,12 +19,16 @@ class EventArgs:
|
|
19
19
|
events: pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]):
|
20
20
|
"""
|
21
21
|
The set of arguments for constructing a Event resource.
|
22
|
+
:param pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
22
23
|
"""
|
23
24
|
pulumi.set(__self__, "events", events)
|
24
25
|
|
25
26
|
@property
|
26
27
|
@pulumi.getter
|
27
28
|
def events(self) -> pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]:
|
29
|
+
"""
|
30
|
+
An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
31
|
+
"""
|
28
32
|
return pulumi.get(self, "events")
|
29
33
|
|
30
34
|
@events.setter
|
@@ -38,6 +42,7 @@ class _EventState:
|
|
38
42
|
events: Optional[pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]] = None):
|
39
43
|
"""
|
40
44
|
Input properties used for looking up and filtering Event resources.
|
45
|
+
:param pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
41
46
|
"""
|
42
47
|
if events is not None:
|
43
48
|
pulumi.set(__self__, "events", events)
|
@@ -45,6 +50,9 @@ class _EventState:
|
|
45
50
|
@property
|
46
51
|
@pulumi.getter
|
47
52
|
def events(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]]:
|
53
|
+
"""
|
54
|
+
An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
55
|
+
"""
|
48
56
|
return pulumi.get(self, "events")
|
49
57
|
|
50
58
|
@events.setter
|
@@ -108,6 +116,7 @@ class Event(pulumi.CustomResource):
|
|
108
116
|
|
109
117
|
:param str resource_name: The name of the resource.
|
110
118
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
119
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EventEventArgs']]]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
111
120
|
"""
|
112
121
|
...
|
113
122
|
@overload
|
@@ -208,6 +217,7 @@ class Event(pulumi.CustomResource):
|
|
208
217
|
:param str resource_name: The unique name of the resulting resource.
|
209
218
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
210
219
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
220
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EventEventArgs']]]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
211
221
|
"""
|
212
222
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
213
223
|
|
@@ -219,5 +229,8 @@ class Event(pulumi.CustomResource):
|
|
219
229
|
@property
|
220
230
|
@pulumi.getter
|
221
231
|
def events(self) -> pulumi.Output[Sequence['outputs.EventEvent']]:
|
232
|
+
"""
|
233
|
+
An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
234
|
+
"""
|
222
235
|
return pulumi.get(self, "events")
|
223
236
|
|
@@ -18,7 +18,7 @@ class LogParsingRuleArgs:
|
|
18
18
|
grok: pulumi.Input[str],
|
19
19
|
lucene: pulumi.Input[str],
|
20
20
|
nrql: pulumi.Input[str],
|
21
|
-
account_id: Optional[pulumi.Input[
|
21
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
22
22
|
attribute: Optional[pulumi.Input[str]] = None,
|
23
23
|
matched: Optional[pulumi.Input[bool]] = None,
|
24
24
|
name: Optional[pulumi.Input[str]] = None):
|
@@ -28,7 +28,7 @@ class LogParsingRuleArgs:
|
|
28
28
|
:param pulumi.Input[str] grok: The Grok of what to parse.
|
29
29
|
:param pulumi.Input[str] lucene: The Lucene to match events to the parsing rule.
|
30
30
|
:param pulumi.Input[str] nrql: The NRQL to match events to the parsing rule.
|
31
|
-
:param pulumi.Input[
|
31
|
+
:param pulumi.Input[str] account_id: The account id associated with the obfuscation rule.
|
32
32
|
:param pulumi.Input[str] attribute: The parsing rule will apply to value of this attribute. If field is not provided, value will default to message.
|
33
33
|
:param pulumi.Input[bool] matched: Whether the Grok pattern matched.
|
34
34
|
:param pulumi.Input[str] name: Name of rule.
|
@@ -96,14 +96,14 @@ class LogParsingRuleArgs:
|
|
96
96
|
|
97
97
|
@property
|
98
98
|
@pulumi.getter(name="accountId")
|
99
|
-
def account_id(self) -> Optional[pulumi.Input[
|
99
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
100
100
|
"""
|
101
101
|
The account id associated with the obfuscation rule.
|
102
102
|
"""
|
103
103
|
return pulumi.get(self, "account_id")
|
104
104
|
|
105
105
|
@account_id.setter
|
106
|
-
def account_id(self, value: Optional[pulumi.Input[
|
106
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
107
107
|
pulumi.set(self, "account_id", value)
|
108
108
|
|
109
109
|
@property
|
@@ -146,7 +146,7 @@ class LogParsingRuleArgs:
|
|
146
146
|
@pulumi.input_type
|
147
147
|
class _LogParsingRuleState:
|
148
148
|
def __init__(__self__, *,
|
149
|
-
account_id: Optional[pulumi.Input[
|
149
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
150
150
|
attribute: Optional[pulumi.Input[str]] = None,
|
151
151
|
deleted: Optional[pulumi.Input[bool]] = None,
|
152
152
|
enabled: Optional[pulumi.Input[bool]] = None,
|
@@ -157,7 +157,7 @@ class _LogParsingRuleState:
|
|
157
157
|
nrql: Optional[pulumi.Input[str]] = None):
|
158
158
|
"""
|
159
159
|
Input properties used for looking up and filtering LogParsingRule resources.
|
160
|
-
:param pulumi.Input[
|
160
|
+
:param pulumi.Input[str] account_id: The account id associated with the obfuscation rule.
|
161
161
|
:param pulumi.Input[str] attribute: The parsing rule will apply to value of this attribute. If field is not provided, value will default to message.
|
162
162
|
:param pulumi.Input[bool] deleted: Whether or not this rule is deleted.
|
163
163
|
:param pulumi.Input[bool] enabled: Whether the rule should be applied or not to incoming data.
|
@@ -188,14 +188,14 @@ class _LogParsingRuleState:
|
|
188
188
|
|
189
189
|
@property
|
190
190
|
@pulumi.getter(name="accountId")
|
191
|
-
def account_id(self) -> Optional[pulumi.Input[
|
191
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
192
192
|
"""
|
193
193
|
The account id associated with the obfuscation rule.
|
194
194
|
"""
|
195
195
|
return pulumi.get(self, "account_id")
|
196
196
|
|
197
197
|
@account_id.setter
|
198
|
-
def account_id(self, value: Optional[pulumi.Input[
|
198
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
199
199
|
pulumi.set(self, "account_id", value)
|
200
200
|
|
201
201
|
@property
|
@@ -300,7 +300,7 @@ class LogParsingRule(pulumi.CustomResource):
|
|
300
300
|
def __init__(__self__,
|
301
301
|
resource_name: str,
|
302
302
|
opts: Optional[pulumi.ResourceOptions] = None,
|
303
|
-
account_id: Optional[pulumi.Input[
|
303
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
304
304
|
attribute: Optional[pulumi.Input[str]] = None,
|
305
305
|
enabled: Optional[pulumi.Input[bool]] = None,
|
306
306
|
grok: Optional[pulumi.Input[str]] = None,
|
@@ -360,7 +360,7 @@ class LogParsingRule(pulumi.CustomResource):
|
|
360
360
|
|
361
361
|
:param str resource_name: The name of the resource.
|
362
362
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
363
|
-
:param pulumi.Input[
|
363
|
+
:param pulumi.Input[str] account_id: The account id associated with the obfuscation rule.
|
364
364
|
:param pulumi.Input[str] attribute: The parsing rule will apply to value of this attribute. If field is not provided, value will default to message.
|
365
365
|
:param pulumi.Input[bool] enabled: Whether the rule should be applied or not to incoming data.
|
366
366
|
:param pulumi.Input[str] grok: The Grok of what to parse.
|
@@ -439,7 +439,7 @@ class LogParsingRule(pulumi.CustomResource):
|
|
439
439
|
def _internal_init(__self__,
|
440
440
|
resource_name: str,
|
441
441
|
opts: Optional[pulumi.ResourceOptions] = None,
|
442
|
-
account_id: Optional[pulumi.Input[
|
442
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
443
443
|
attribute: Optional[pulumi.Input[str]] = None,
|
444
444
|
enabled: Optional[pulumi.Input[bool]] = None,
|
445
445
|
grok: Optional[pulumi.Input[str]] = None,
|
@@ -483,7 +483,7 @@ class LogParsingRule(pulumi.CustomResource):
|
|
483
483
|
def get(resource_name: str,
|
484
484
|
id: pulumi.Input[str],
|
485
485
|
opts: Optional[pulumi.ResourceOptions] = None,
|
486
|
-
account_id: Optional[pulumi.Input[
|
486
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
487
487
|
attribute: Optional[pulumi.Input[str]] = None,
|
488
488
|
deleted: Optional[pulumi.Input[bool]] = None,
|
489
489
|
enabled: Optional[pulumi.Input[bool]] = None,
|
@@ -499,7 +499,7 @@ class LogParsingRule(pulumi.CustomResource):
|
|
499
499
|
:param str resource_name: The unique name of the resulting resource.
|
500
500
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
501
501
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
502
|
-
:param pulumi.Input[
|
502
|
+
:param pulumi.Input[str] account_id: The account id associated with the obfuscation rule.
|
503
503
|
:param pulumi.Input[str] attribute: The parsing rule will apply to value of this attribute. If field is not provided, value will default to message.
|
504
504
|
:param pulumi.Input[bool] deleted: Whether or not this rule is deleted.
|
505
505
|
:param pulumi.Input[bool] enabled: Whether the rule should be applied or not to incoming data.
|
@@ -526,7 +526,7 @@ class LogParsingRule(pulumi.CustomResource):
|
|
526
526
|
|
527
527
|
@property
|
528
528
|
@pulumi.getter(name="accountId")
|
529
|
-
def account_id(self) -> pulumi.Output[
|
529
|
+
def account_id(self) -> pulumi.Output[str]:
|
530
530
|
"""
|
531
531
|
The account id associated with the obfuscation rule.
|
532
532
|
"""
|
@@ -20,7 +20,7 @@ class MonitorDowntimeArgs:
|
|
20
20
|
mode: pulumi.Input[str],
|
21
21
|
start_time: pulumi.Input[str],
|
22
22
|
time_zone: pulumi.Input[str],
|
23
|
-
account_id: Optional[pulumi.Input[
|
23
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
24
24
|
end_repeat: Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']] = None,
|
25
25
|
frequency: Optional[pulumi.Input['MonitorDowntimeFrequencyArgs']] = None,
|
26
26
|
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -32,7 +32,7 @@ class MonitorDowntimeArgs:
|
|
32
32
|
:param pulumi.Input[str] mode: An identifier of the type of Monitor Downtime to be created.
|
33
33
|
:param pulumi.Input[str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
34
34
|
:param pulumi.Input[str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
35
|
-
:param pulumi.Input[
|
35
|
+
:param pulumi.Input[str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
36
36
|
provider{} configuration if not specified.
|
37
37
|
:param pulumi.Input['MonitorDowntimeEndRepeatArgs'] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
|
38
38
|
:param pulumi.Input['MonitorDowntimeFrequencyArgs'] frequency: Configuration options for which days of the month a monitor downtime will occur
|
@@ -107,7 +107,7 @@ class MonitorDowntimeArgs:
|
|
107
107
|
|
108
108
|
@property
|
109
109
|
@pulumi.getter(name="accountId")
|
110
|
-
def account_id(self) -> Optional[pulumi.Input[
|
110
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
111
111
|
"""
|
112
112
|
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
113
113
|
provider{} configuration if not specified.
|
@@ -115,7 +115,7 @@ class MonitorDowntimeArgs:
|
|
115
115
|
return pulumi.get(self, "account_id")
|
116
116
|
|
117
117
|
@account_id.setter
|
118
|
-
def account_id(self, value: Optional[pulumi.Input[
|
118
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
119
119
|
pulumi.set(self, "account_id", value)
|
120
120
|
|
121
121
|
@property
|
@@ -182,7 +182,7 @@ class MonitorDowntimeArgs:
|
|
182
182
|
@pulumi.input_type
|
183
183
|
class _MonitorDowntimeState:
|
184
184
|
def __init__(__self__, *,
|
185
|
-
account_id: Optional[pulumi.Input[
|
185
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
186
186
|
end_repeat: Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']] = None,
|
187
187
|
end_time: Optional[pulumi.Input[str]] = None,
|
188
188
|
frequency: Optional[pulumi.Input['MonitorDowntimeFrequencyArgs']] = None,
|
@@ -194,7 +194,7 @@ class _MonitorDowntimeState:
|
|
194
194
|
time_zone: Optional[pulumi.Input[str]] = None):
|
195
195
|
"""
|
196
196
|
Input properties used for looking up and filtering MonitorDowntime resources.
|
197
|
-
:param pulumi.Input[
|
197
|
+
:param pulumi.Input[str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
198
198
|
provider{} configuration if not specified.
|
199
199
|
:param pulumi.Input['MonitorDowntimeEndRepeatArgs'] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
|
200
200
|
:param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
@@ -229,7 +229,7 @@ class _MonitorDowntimeState:
|
|
229
229
|
|
230
230
|
@property
|
231
231
|
@pulumi.getter(name="accountId")
|
232
|
-
def account_id(self) -> Optional[pulumi.Input[
|
232
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
233
233
|
"""
|
234
234
|
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
235
235
|
provider{} configuration if not specified.
|
@@ -237,7 +237,7 @@ class _MonitorDowntimeState:
|
|
237
237
|
return pulumi.get(self, "account_id")
|
238
238
|
|
239
239
|
@account_id.setter
|
240
|
-
def account_id(self, value: Optional[pulumi.Input[
|
240
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
241
241
|
pulumi.set(self, "account_id", value)
|
242
242
|
|
243
243
|
@property
|
@@ -354,7 +354,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
354
354
|
def __init__(__self__,
|
355
355
|
resource_name: str,
|
356
356
|
opts: Optional[pulumi.ResourceOptions] = None,
|
357
|
-
account_id: Optional[pulumi.Input[
|
357
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
358
358
|
end_repeat: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']]] = None,
|
359
359
|
end_time: Optional[pulumi.Input[str]] = None,
|
360
360
|
frequency: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']]] = None,
|
@@ -537,7 +537,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
537
537
|
|
538
538
|
:param str resource_name: The name of the resource.
|
539
539
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
540
|
-
:param pulumi.Input[
|
540
|
+
:param pulumi.Input[str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
541
541
|
provider{} configuration if not specified.
|
542
542
|
:param pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
|
543
543
|
:param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
@@ -740,7 +740,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
740
740
|
def _internal_init(__self__,
|
741
741
|
resource_name: str,
|
742
742
|
opts: Optional[pulumi.ResourceOptions] = None,
|
743
|
-
account_id: Optional[pulumi.Input[
|
743
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
744
744
|
end_repeat: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']]] = None,
|
745
745
|
end_time: Optional[pulumi.Input[str]] = None,
|
746
746
|
frequency: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']]] = None,
|
@@ -787,7 +787,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
787
787
|
def get(resource_name: str,
|
788
788
|
id: pulumi.Input[str],
|
789
789
|
opts: Optional[pulumi.ResourceOptions] = None,
|
790
|
-
account_id: Optional[pulumi.Input[
|
790
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
791
791
|
end_repeat: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']]] = None,
|
792
792
|
end_time: Optional[pulumi.Input[str]] = None,
|
793
793
|
frequency: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']]] = None,
|
@@ -804,7 +804,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
804
804
|
:param str resource_name: The unique name of the resulting resource.
|
805
805
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
806
806
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
807
|
-
:param pulumi.Input[
|
807
|
+
:param pulumi.Input[str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
808
808
|
provider{} configuration if not specified.
|
809
809
|
:param pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
|
810
810
|
:param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
@@ -834,7 +834,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
834
834
|
|
835
835
|
@property
|
836
836
|
@pulumi.getter(name="accountId")
|
837
|
-
def account_id(self) -> pulumi.Output[
|
837
|
+
def account_id(self) -> pulumi.Output[str]:
|
838
838
|
"""
|
839
839
|
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
840
840
|
provider{} configuration if not specified.
|
@@ -20,7 +20,7 @@ class NotificationChannelArgs:
|
|
20
20
|
product: pulumi.Input[str],
|
21
21
|
properties: pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]],
|
22
22
|
type: pulumi.Input[str],
|
23
|
-
account_id: Optional[pulumi.Input[
|
23
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
24
24
|
active: Optional[pulumi.Input[bool]] = None,
|
25
25
|
name: Optional[pulumi.Input[str]] = None):
|
26
26
|
"""
|
@@ -29,7 +29,7 @@ class NotificationChannelArgs:
|
|
29
29
|
:param pulumi.Input[str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
30
30
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
|
31
31
|
:param pulumi.Input[str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
|
32
|
-
:param pulumi.Input[
|
32
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
33
33
|
:param pulumi.Input[bool] active: Indicates whether the channel is active.
|
34
34
|
:param pulumi.Input[str] name: The name of the channel.
|
35
35
|
"""
|
@@ -94,14 +94,14 @@ class NotificationChannelArgs:
|
|
94
94
|
|
95
95
|
@property
|
96
96
|
@pulumi.getter(name="accountId")
|
97
|
-
def account_id(self) -> Optional[pulumi.Input[
|
97
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
98
98
|
"""
|
99
99
|
Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
100
100
|
"""
|
101
101
|
return pulumi.get(self, "account_id")
|
102
102
|
|
103
103
|
@account_id.setter
|
104
|
-
def account_id(self, value: Optional[pulumi.Input[
|
104
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
105
105
|
pulumi.set(self, "account_id", value)
|
106
106
|
|
107
107
|
@property
|
@@ -132,7 +132,7 @@ class NotificationChannelArgs:
|
|
132
132
|
@pulumi.input_type
|
133
133
|
class _NotificationChannelState:
|
134
134
|
def __init__(__self__, *,
|
135
|
-
account_id: Optional[pulumi.Input[
|
135
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
136
136
|
active: Optional[pulumi.Input[bool]] = None,
|
137
137
|
destination_id: Optional[pulumi.Input[str]] = None,
|
138
138
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -142,7 +142,7 @@ class _NotificationChannelState:
|
|
142
142
|
type: Optional[pulumi.Input[str]] = None):
|
143
143
|
"""
|
144
144
|
Input properties used for looking up and filtering NotificationChannel resources.
|
145
|
-
:param pulumi.Input[
|
145
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
146
146
|
:param pulumi.Input[bool] active: Indicates whether the channel is active.
|
147
147
|
:param pulumi.Input[str] destination_id: The id of the destination.
|
148
148
|
:param pulumi.Input[str] name: The name of the channel.
|
@@ -170,14 +170,14 @@ class _NotificationChannelState:
|
|
170
170
|
|
171
171
|
@property
|
172
172
|
@pulumi.getter(name="accountId")
|
173
|
-
def account_id(self) -> Optional[pulumi.Input[
|
173
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
174
174
|
"""
|
175
175
|
Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
176
176
|
"""
|
177
177
|
return pulumi.get(self, "account_id")
|
178
178
|
|
179
179
|
@account_id.setter
|
180
|
-
def account_id(self, value: Optional[pulumi.Input[
|
180
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
181
181
|
pulumi.set(self, "account_id", value)
|
182
182
|
|
183
183
|
@property
|
@@ -270,7 +270,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
270
270
|
def __init__(__self__,
|
271
271
|
resource_name: str,
|
272
272
|
opts: Optional[pulumi.ResourceOptions] = None,
|
273
|
-
account_id: Optional[pulumi.Input[
|
273
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
274
274
|
active: Optional[pulumi.Input[bool]] = None,
|
275
275
|
destination_id: Optional[pulumi.Input[str]] = None,
|
276
276
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -291,7 +291,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
291
291
|
import pulumi_newrelic as newrelic
|
292
292
|
|
293
293
|
foo = newrelic.NotificationChannel("foo",
|
294
|
-
account_id=12345678,
|
294
|
+
account_id="12345678",
|
295
295
|
name="webhook-example",
|
296
296
|
type="WEBHOOK",
|
297
297
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -316,7 +316,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
316
316
|
import pulumi_newrelic as newrelic
|
317
317
|
|
318
318
|
foo = newrelic.NotificationChannel("foo",
|
319
|
-
account_id=12345678,
|
319
|
+
account_id="12345678",
|
320
320
|
name="servicenow-incident-example",
|
321
321
|
type="SERVICENOW_INCIDENTS",
|
322
322
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -339,7 +339,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
339
339
|
import pulumi_newrelic as newrelic
|
340
340
|
|
341
341
|
foo = newrelic.NotificationChannel("foo",
|
342
|
-
account_id=12345678,
|
342
|
+
account_id="12345678",
|
343
343
|
name="email-example",
|
344
344
|
type="EMAIL",
|
345
345
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -362,7 +362,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
362
362
|
import pulumi_newrelic as newrelic
|
363
363
|
|
364
364
|
foo = newrelic.NotificationChannel("foo",
|
365
|
-
account_id=12345678,
|
365
|
+
account_id="12345678",
|
366
366
|
name="jira-example",
|
367
367
|
type="JIRA_CLASSIC",
|
368
368
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -393,7 +393,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
393
393
|
import pulumi_newrelic as newrelic
|
394
394
|
|
395
395
|
foo = newrelic.NotificationChannel("foo",
|
396
|
-
account_id=12345678,
|
396
|
+
account_id="12345678",
|
397
397
|
name="pagerduty-account-example",
|
398
398
|
type="PAGERDUTY_ACCOUNT_INTEGRATION",
|
399
399
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -438,7 +438,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
438
438
|
import pulumi_newrelic as newrelic
|
439
439
|
|
440
440
|
foo = newrelic.NotificationChannel("foo",
|
441
|
-
account_id=12345678,
|
441
|
+
account_id="12345678",
|
442
442
|
name="pagerduty-account-example",
|
443
443
|
type="PAGERDUTY_SERVICE_INTEGRATION",
|
444
444
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -474,7 +474,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
474
474
|
import pulumi_newrelic as newrelic
|
475
475
|
|
476
476
|
foo = newrelic.NotificationChannel("foo",
|
477
|
-
account_id=12345678,
|
477
|
+
account_id="12345678",
|
478
478
|
name="mobile-push-example",
|
479
479
|
type="MOBILE_PUSH",
|
480
480
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -487,7 +487,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
487
487
|
import pulumi_newrelic as newrelic
|
488
488
|
|
489
489
|
foo = newrelic.NotificationChannel("foo",
|
490
|
-
account_id=12345678,
|
490
|
+
account_id="12345678",
|
491
491
|
name="event-bridge-example",
|
492
492
|
type="EVENT_BRIDGE",
|
493
493
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -510,7 +510,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
510
510
|
import pulumi_newrelic as newrelic
|
511
511
|
|
512
512
|
foo = newrelic.NotificationChannel("foo",
|
513
|
-
account_id=12345678,
|
513
|
+
account_id="12345678",
|
514
514
|
name="slack-example",
|
515
515
|
type="SLACK",
|
516
516
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -539,7 +539,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
539
539
|
import pulumi_newrelic as newrelic
|
540
540
|
|
541
541
|
webhook_destination = newrelic.NotificationDestination("webhook-destination",
|
542
|
-
account_id=12345678,
|
542
|
+
account_id="12345678",
|
543
543
|
name="destination-webhook",
|
544
544
|
type="WEBHOOK",
|
545
545
|
properties=[newrelic.NotificationDestinationPropertyArgs(
|
@@ -558,7 +558,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
558
558
|
import pulumi_newrelic as newrelic
|
559
559
|
|
560
560
|
webhook_channel = newrelic.NotificationChannel("webhook-channel",
|
561
|
-
account_id=12345678,
|
561
|
+
account_id="12345678",
|
562
562
|
name="channel-webhook",
|
563
563
|
type="WEBHOOK",
|
564
564
|
destination_id=webhook_destination["id"],
|
@@ -590,7 +590,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
590
590
|
|
591
591
|
:param str resource_name: The name of the resource.
|
592
592
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
593
|
-
:param pulumi.Input[
|
593
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
594
594
|
:param pulumi.Input[bool] active: Indicates whether the channel is active.
|
595
595
|
:param pulumi.Input[str] destination_id: The id of the destination.
|
596
596
|
:param pulumi.Input[str] name: The name of the channel.
|
@@ -617,7 +617,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
617
617
|
import pulumi_newrelic as newrelic
|
618
618
|
|
619
619
|
foo = newrelic.NotificationChannel("foo",
|
620
|
-
account_id=12345678,
|
620
|
+
account_id="12345678",
|
621
621
|
name="webhook-example",
|
622
622
|
type="WEBHOOK",
|
623
623
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -642,7 +642,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
642
642
|
import pulumi_newrelic as newrelic
|
643
643
|
|
644
644
|
foo = newrelic.NotificationChannel("foo",
|
645
|
-
account_id=12345678,
|
645
|
+
account_id="12345678",
|
646
646
|
name="servicenow-incident-example",
|
647
647
|
type="SERVICENOW_INCIDENTS",
|
648
648
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -665,7 +665,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
665
665
|
import pulumi_newrelic as newrelic
|
666
666
|
|
667
667
|
foo = newrelic.NotificationChannel("foo",
|
668
|
-
account_id=12345678,
|
668
|
+
account_id="12345678",
|
669
669
|
name="email-example",
|
670
670
|
type="EMAIL",
|
671
671
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -688,7 +688,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
688
688
|
import pulumi_newrelic as newrelic
|
689
689
|
|
690
690
|
foo = newrelic.NotificationChannel("foo",
|
691
|
-
account_id=12345678,
|
691
|
+
account_id="12345678",
|
692
692
|
name="jira-example",
|
693
693
|
type="JIRA_CLASSIC",
|
694
694
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -719,7 +719,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
719
719
|
import pulumi_newrelic as newrelic
|
720
720
|
|
721
721
|
foo = newrelic.NotificationChannel("foo",
|
722
|
-
account_id=12345678,
|
722
|
+
account_id="12345678",
|
723
723
|
name="pagerduty-account-example",
|
724
724
|
type="PAGERDUTY_ACCOUNT_INTEGRATION",
|
725
725
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -764,7 +764,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
764
764
|
import pulumi_newrelic as newrelic
|
765
765
|
|
766
766
|
foo = newrelic.NotificationChannel("foo",
|
767
|
-
account_id=12345678,
|
767
|
+
account_id="12345678",
|
768
768
|
name="pagerduty-account-example",
|
769
769
|
type="PAGERDUTY_SERVICE_INTEGRATION",
|
770
770
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -800,7 +800,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
800
800
|
import pulumi_newrelic as newrelic
|
801
801
|
|
802
802
|
foo = newrelic.NotificationChannel("foo",
|
803
|
-
account_id=12345678,
|
803
|
+
account_id="12345678",
|
804
804
|
name="mobile-push-example",
|
805
805
|
type="MOBILE_PUSH",
|
806
806
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -813,7 +813,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
813
813
|
import pulumi_newrelic as newrelic
|
814
814
|
|
815
815
|
foo = newrelic.NotificationChannel("foo",
|
816
|
-
account_id=12345678,
|
816
|
+
account_id="12345678",
|
817
817
|
name="event-bridge-example",
|
818
818
|
type="EVENT_BRIDGE",
|
819
819
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -836,7 +836,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
836
836
|
import pulumi_newrelic as newrelic
|
837
837
|
|
838
838
|
foo = newrelic.NotificationChannel("foo",
|
839
|
-
account_id=12345678,
|
839
|
+
account_id="12345678",
|
840
840
|
name="slack-example",
|
841
841
|
type="SLACK",
|
842
842
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
@@ -865,7 +865,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
865
865
|
import pulumi_newrelic as newrelic
|
866
866
|
|
867
867
|
webhook_destination = newrelic.NotificationDestination("webhook-destination",
|
868
|
-
account_id=12345678,
|
868
|
+
account_id="12345678",
|
869
869
|
name="destination-webhook",
|
870
870
|
type="WEBHOOK",
|
871
871
|
properties=[newrelic.NotificationDestinationPropertyArgs(
|
@@ -884,7 +884,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
884
884
|
import pulumi_newrelic as newrelic
|
885
885
|
|
886
886
|
webhook_channel = newrelic.NotificationChannel("webhook-channel",
|
887
|
-
account_id=12345678,
|
887
|
+
account_id="12345678",
|
888
888
|
name="channel-webhook",
|
889
889
|
type="WEBHOOK",
|
890
890
|
destination_id=webhook_destination["id"],
|
@@ -929,7 +929,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
929
929
|
def _internal_init(__self__,
|
930
930
|
resource_name: str,
|
931
931
|
opts: Optional[pulumi.ResourceOptions] = None,
|
932
|
-
account_id: Optional[pulumi.Input[
|
932
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
933
933
|
active: Optional[pulumi.Input[bool]] = None,
|
934
934
|
destination_id: Optional[pulumi.Input[str]] = None,
|
935
935
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -971,7 +971,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
971
971
|
def get(resource_name: str,
|
972
972
|
id: pulumi.Input[str],
|
973
973
|
opts: Optional[pulumi.ResourceOptions] = None,
|
974
|
-
account_id: Optional[pulumi.Input[
|
974
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
975
975
|
active: Optional[pulumi.Input[bool]] = None,
|
976
976
|
destination_id: Optional[pulumi.Input[str]] = None,
|
977
977
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -986,7 +986,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
986
986
|
:param str resource_name: The unique name of the resulting resource.
|
987
987
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
988
988
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
989
|
-
:param pulumi.Input[
|
989
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
990
990
|
:param pulumi.Input[bool] active: Indicates whether the channel is active.
|
991
991
|
:param pulumi.Input[str] destination_id: The id of the destination.
|
992
992
|
:param pulumi.Input[str] name: The name of the channel.
|
@@ -1011,7 +1011,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
1011
1011
|
|
1012
1012
|
@property
|
1013
1013
|
@pulumi.getter(name="accountId")
|
1014
|
-
def account_id(self) -> pulumi.Output[
|
1014
|
+
def account_id(self) -> pulumi.Output[str]:
|
1015
1015
|
"""
|
1016
1016
|
Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
1017
1017
|
"""
|