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
@@ -18,8 +18,8 @@ class AccountManagementArgs:
|
|
18
18
|
name: Optional[pulumi.Input[str]] = None):
|
19
19
|
"""
|
20
20
|
The set of arguments for constructing a AccountManagement resource.
|
21
|
-
:param pulumi.Input[str] region:
|
22
|
-
:param pulumi.Input[str] name:
|
21
|
+
:param pulumi.Input[str] region: The region code of the account. One of: `us01`, `eu01`.
|
22
|
+
:param pulumi.Input[str] name: The name of the Account.
|
23
23
|
"""
|
24
24
|
pulumi.set(__self__, "region", region)
|
25
25
|
if name is not None:
|
@@ -29,7 +29,7 @@ class AccountManagementArgs:
|
|
29
29
|
@pulumi.getter
|
30
30
|
def region(self) -> pulumi.Input[str]:
|
31
31
|
"""
|
32
|
-
|
32
|
+
The region code of the account. One of: `us01`, `eu01`.
|
33
33
|
"""
|
34
34
|
return pulumi.get(self, "region")
|
35
35
|
|
@@ -41,7 +41,7 @@ class AccountManagementArgs:
|
|
41
41
|
@pulumi.getter
|
42
42
|
def name(self) -> Optional[pulumi.Input[str]]:
|
43
43
|
"""
|
44
|
-
|
44
|
+
The name of the Account.
|
45
45
|
"""
|
46
46
|
return pulumi.get(self, "name")
|
47
47
|
|
@@ -57,8 +57,8 @@ class _AccountManagementState:
|
|
57
57
|
region: Optional[pulumi.Input[str]] = None):
|
58
58
|
"""
|
59
59
|
Input properties used for looking up and filtering AccountManagement resources.
|
60
|
-
:param pulumi.Input[str] name:
|
61
|
-
:param pulumi.Input[str] region:
|
60
|
+
:param pulumi.Input[str] name: The name of the Account.
|
61
|
+
:param pulumi.Input[str] region: The region code of the account. One of: `us01`, `eu01`.
|
62
62
|
"""
|
63
63
|
if name is not None:
|
64
64
|
pulumi.set(__self__, "name", name)
|
@@ -69,7 +69,7 @@ class _AccountManagementState:
|
|
69
69
|
@pulumi.getter
|
70
70
|
def name(self) -> Optional[pulumi.Input[str]]:
|
71
71
|
"""
|
72
|
-
|
72
|
+
The name of the Account.
|
73
73
|
"""
|
74
74
|
return pulumi.get(self, "name")
|
75
75
|
|
@@ -81,7 +81,7 @@ class _AccountManagementState:
|
|
81
81
|
@pulumi.getter
|
82
82
|
def region(self) -> Optional[pulumi.Input[str]]:
|
83
83
|
"""
|
84
|
-
|
84
|
+
The region code of the account. One of: `us01`, `eu01`.
|
85
85
|
"""
|
86
86
|
return pulumi.get(self, "region")
|
87
87
|
|
@@ -127,8 +127,8 @@ class AccountManagement(pulumi.CustomResource):
|
|
127
127
|
|
128
128
|
:param str resource_name: The name of the resource.
|
129
129
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
130
|
-
:param pulumi.Input[str] name:
|
131
|
-
:param pulumi.Input[str] region:
|
130
|
+
:param pulumi.Input[str] name: The name of the Account.
|
131
|
+
:param pulumi.Input[str] region: The region code of the account. One of: `us01`, `eu01`.
|
132
132
|
"""
|
133
133
|
...
|
134
134
|
@overload
|
@@ -212,8 +212,8 @@ class AccountManagement(pulumi.CustomResource):
|
|
212
212
|
:param str resource_name: The unique name of the resulting resource.
|
213
213
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
214
214
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
215
|
-
:param pulumi.Input[str] name:
|
216
|
-
:param pulumi.Input[str] region:
|
215
|
+
:param pulumi.Input[str] name: The name of the Account.
|
216
|
+
:param pulumi.Input[str] region: The region code of the account. One of: `us01`, `eu01`.
|
217
217
|
"""
|
218
218
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
219
219
|
|
@@ -227,7 +227,7 @@ class AccountManagement(pulumi.CustomResource):
|
|
227
227
|
@pulumi.getter
|
228
228
|
def name(self) -> pulumi.Output[str]:
|
229
229
|
"""
|
230
|
-
|
230
|
+
The name of the Account.
|
231
231
|
"""
|
232
232
|
return pulumi.get(self, "name")
|
233
233
|
|
@@ -235,7 +235,7 @@ class AccountManagement(pulumi.CustomResource):
|
|
235
235
|
@pulumi.getter
|
236
236
|
def region(self) -> pulumi.Output[str]:
|
237
237
|
"""
|
238
|
-
|
238
|
+
The region code of the account. One of: `us01`, `eu01`.
|
239
239
|
"""
|
240
240
|
return pulumi.get(self, "region")
|
241
241
|
|
pulumi_newrelic/alert_channel.py
CHANGED
@@ -17,15 +17,15 @@ __all__ = ['AlertChannelArgs', 'AlertChannel']
|
|
17
17
|
class AlertChannelArgs:
|
18
18
|
def __init__(__self__, *,
|
19
19
|
type: pulumi.Input[str],
|
20
|
-
account_id: Optional[pulumi.Input[
|
20
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
21
21
|
config: Optional[pulumi.Input['AlertChannelConfigArgs']] = None,
|
22
22
|
name: Optional[pulumi.Input[str]] = None):
|
23
23
|
"""
|
24
24
|
The set of arguments for constructing a AlertChannel resource.
|
25
|
-
:param pulumi.Input[str] type:
|
26
|
-
:param pulumi.Input[
|
27
|
-
:param pulumi.Input['AlertChannelConfigArgs'] config:
|
28
|
-
:param pulumi.Input[str] name:
|
25
|
+
:param pulumi.Input[str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
26
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
27
|
+
:param pulumi.Input['AlertChannelConfigArgs'] config: A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
28
|
+
:param pulumi.Input[str] name: The name of the channel.
|
29
29
|
"""
|
30
30
|
pulumi.set(__self__, "type", type)
|
31
31
|
if account_id is not None:
|
@@ -39,7 +39,7 @@ class AlertChannelArgs:
|
|
39
39
|
@pulumi.getter
|
40
40
|
def type(self) -> pulumi.Input[str]:
|
41
41
|
"""
|
42
|
-
|
42
|
+
The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
43
43
|
"""
|
44
44
|
return pulumi.get(self, "type")
|
45
45
|
|
@@ -49,21 +49,21 @@ class AlertChannelArgs:
|
|
49
49
|
|
50
50
|
@property
|
51
51
|
@pulumi.getter(name="accountId")
|
52
|
-
def account_id(self) -> Optional[pulumi.Input[
|
52
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
53
53
|
"""
|
54
|
-
|
54
|
+
Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
55
55
|
"""
|
56
56
|
return pulumi.get(self, "account_id")
|
57
57
|
|
58
58
|
@account_id.setter
|
59
|
-
def account_id(self, value: Optional[pulumi.Input[
|
59
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
60
60
|
pulumi.set(self, "account_id", value)
|
61
61
|
|
62
62
|
@property
|
63
63
|
@pulumi.getter
|
64
64
|
def config(self) -> Optional[pulumi.Input['AlertChannelConfigArgs']]:
|
65
65
|
"""
|
66
|
-
|
66
|
+
A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
67
67
|
"""
|
68
68
|
return pulumi.get(self, "config")
|
69
69
|
|
@@ -75,7 +75,7 @@ class AlertChannelArgs:
|
|
75
75
|
@pulumi.getter
|
76
76
|
def name(self) -> Optional[pulumi.Input[str]]:
|
77
77
|
"""
|
78
|
-
|
78
|
+
The name of the channel.
|
79
79
|
"""
|
80
80
|
return pulumi.get(self, "name")
|
81
81
|
|
@@ -87,16 +87,16 @@ class AlertChannelArgs:
|
|
87
87
|
@pulumi.input_type
|
88
88
|
class _AlertChannelState:
|
89
89
|
def __init__(__self__, *,
|
90
|
-
account_id: Optional[pulumi.Input[
|
90
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
91
91
|
config: Optional[pulumi.Input['AlertChannelConfigArgs']] = None,
|
92
92
|
name: Optional[pulumi.Input[str]] = None,
|
93
93
|
type: Optional[pulumi.Input[str]] = None):
|
94
94
|
"""
|
95
95
|
Input properties used for looking up and filtering AlertChannel resources.
|
96
|
-
:param pulumi.Input[
|
97
|
-
:param pulumi.Input['AlertChannelConfigArgs'] config:
|
98
|
-
:param pulumi.Input[str] name:
|
99
|
-
:param pulumi.Input[str] type:
|
96
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
97
|
+
:param pulumi.Input['AlertChannelConfigArgs'] config: A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
98
|
+
:param pulumi.Input[str] name: The name of the channel.
|
99
|
+
:param pulumi.Input[str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
100
100
|
"""
|
101
101
|
if account_id is not None:
|
102
102
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -109,21 +109,21 @@ class _AlertChannelState:
|
|
109
109
|
|
110
110
|
@property
|
111
111
|
@pulumi.getter(name="accountId")
|
112
|
-
def account_id(self) -> Optional[pulumi.Input[
|
112
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
113
113
|
"""
|
114
|
-
|
114
|
+
Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
115
115
|
"""
|
116
116
|
return pulumi.get(self, "account_id")
|
117
117
|
|
118
118
|
@account_id.setter
|
119
|
-
def account_id(self, value: Optional[pulumi.Input[
|
119
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
120
120
|
pulumi.set(self, "account_id", value)
|
121
121
|
|
122
122
|
@property
|
123
123
|
@pulumi.getter
|
124
124
|
def config(self) -> Optional[pulumi.Input['AlertChannelConfigArgs']]:
|
125
125
|
"""
|
126
|
-
|
126
|
+
A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
127
127
|
"""
|
128
128
|
return pulumi.get(self, "config")
|
129
129
|
|
@@ -135,7 +135,7 @@ class _AlertChannelState:
|
|
135
135
|
@pulumi.getter
|
136
136
|
def name(self) -> Optional[pulumi.Input[str]]:
|
137
137
|
"""
|
138
|
-
|
138
|
+
The name of the channel.
|
139
139
|
"""
|
140
140
|
return pulumi.get(self, "name")
|
141
141
|
|
@@ -147,7 +147,7 @@ class _AlertChannelState:
|
|
147
147
|
@pulumi.getter
|
148
148
|
def type(self) -> Optional[pulumi.Input[str]]:
|
149
149
|
"""
|
150
|
-
|
150
|
+
The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
151
151
|
"""
|
152
152
|
return pulumi.get(self, "type")
|
153
153
|
|
@@ -161,7 +161,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
161
161
|
def __init__(__self__,
|
162
162
|
resource_name: str,
|
163
163
|
opts: Optional[pulumi.ResourceOptions] = None,
|
164
|
-
account_id: Optional[pulumi.Input[
|
164
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
165
165
|
config: Optional[pulumi.Input[pulumi.InputType['AlertChannelConfigArgs']]] = None,
|
166
166
|
name: Optional[pulumi.Input[str]] = None,
|
167
167
|
type: Optional[pulumi.Input[str]] = None,
|
@@ -303,10 +303,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
303
303
|
|
304
304
|
:param str resource_name: The name of the resource.
|
305
305
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
306
|
-
:param pulumi.Input[
|
307
|
-
:param pulumi.Input[pulumi.InputType['AlertChannelConfigArgs']] config:
|
308
|
-
:param pulumi.Input[str] name:
|
309
|
-
:param pulumi.Input[str] type:
|
306
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
307
|
+
:param pulumi.Input[pulumi.InputType['AlertChannelConfigArgs']] config: A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
308
|
+
:param pulumi.Input[str] name: The name of the channel.
|
309
|
+
:param pulumi.Input[str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
310
310
|
"""
|
311
311
|
...
|
312
312
|
@overload
|
@@ -464,7 +464,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
464
464
|
def _internal_init(__self__,
|
465
465
|
resource_name: str,
|
466
466
|
opts: Optional[pulumi.ResourceOptions] = None,
|
467
|
-
account_id: Optional[pulumi.Input[
|
467
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
468
468
|
config: Optional[pulumi.Input[pulumi.InputType['AlertChannelConfigArgs']]] = None,
|
469
469
|
name: Optional[pulumi.Input[str]] = None,
|
470
470
|
type: Optional[pulumi.Input[str]] = None,
|
@@ -493,7 +493,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
493
493
|
def get(resource_name: str,
|
494
494
|
id: pulumi.Input[str],
|
495
495
|
opts: Optional[pulumi.ResourceOptions] = None,
|
496
|
-
account_id: Optional[pulumi.Input[
|
496
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
497
497
|
config: Optional[pulumi.Input[pulumi.InputType['AlertChannelConfigArgs']]] = None,
|
498
498
|
name: Optional[pulumi.Input[str]] = None,
|
499
499
|
type: Optional[pulumi.Input[str]] = None) -> 'AlertChannel':
|
@@ -504,10 +504,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
504
504
|
:param str resource_name: The unique name of the resulting resource.
|
505
505
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
506
506
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
507
|
-
:param pulumi.Input[
|
508
|
-
:param pulumi.Input[pulumi.InputType['AlertChannelConfigArgs']] config:
|
509
|
-
:param pulumi.Input[str] name:
|
510
|
-
:param pulumi.Input[str] type:
|
507
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
508
|
+
:param pulumi.Input[pulumi.InputType['AlertChannelConfigArgs']] config: A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
509
|
+
:param pulumi.Input[str] name: The name of the channel.
|
510
|
+
:param pulumi.Input[str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
511
511
|
"""
|
512
512
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
513
513
|
|
@@ -521,9 +521,9 @@ class AlertChannel(pulumi.CustomResource):
|
|
521
521
|
|
522
522
|
@property
|
523
523
|
@pulumi.getter(name="accountId")
|
524
|
-
def account_id(self) -> pulumi.Output[
|
524
|
+
def account_id(self) -> pulumi.Output[str]:
|
525
525
|
"""
|
526
|
-
|
526
|
+
Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
527
527
|
"""
|
528
528
|
return pulumi.get(self, "account_id")
|
529
529
|
|
@@ -531,7 +531,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
531
531
|
@pulumi.getter
|
532
532
|
def config(self) -> pulumi.Output[Optional['outputs.AlertChannelConfig']]:
|
533
533
|
"""
|
534
|
-
|
534
|
+
A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
535
535
|
"""
|
536
536
|
return pulumi.get(self, "config")
|
537
537
|
|
@@ -539,7 +539,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
539
539
|
@pulumi.getter
|
540
540
|
def name(self) -> pulumi.Output[str]:
|
541
541
|
"""
|
542
|
-
|
542
|
+
The name of the channel.
|
543
543
|
"""
|
544
544
|
return pulumi.get(self, "name")
|
545
545
|
|
@@ -547,7 +547,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
547
547
|
@pulumi.getter
|
548
548
|
def type(self) -> pulumi.Output[str]:
|
549
549
|
"""
|
550
|
-
|
550
|
+
The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
551
551
|
"""
|
552
552
|
return pulumi.get(self, "type")
|
553
553
|
|