pulumi-newrelic 5.48.0a1753156041__py3-none-any.whl → 5.49.0a1753398082__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.
Potentially problematic release.
This version of pulumi-newrelic might be problematic. Click here for more details.
- pulumi_newrelic/__init__.py +1 -1
- pulumi_newrelic/_inputs.py +3759 -3760
- pulumi_newrelic/account_management.py +35 -36
- pulumi_newrelic/alert_channel.py +55 -56
- pulumi_newrelic/alert_condition.py +217 -218
- pulumi_newrelic/alert_muting_rule.py +92 -93
- pulumi_newrelic/alert_policy.py +69 -70
- pulumi_newrelic/alert_policy_channel.py +52 -53
- pulumi_newrelic/api_access_key.py +112 -113
- pulumi_newrelic/browser_application.py +113 -114
- pulumi_newrelic/cloud/__init__.py +1 -1
- pulumi_newrelic/cloud/_inputs.py +2129 -2130
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +95 -96
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +69 -70
- pulumi_newrelic/cloud/aws_integrations.py +194 -195
- pulumi_newrelic/cloud/aws_link_account.py +69 -70
- pulumi_newrelic/cloud/azure_integrations.py +131 -132
- pulumi_newrelic/cloud/azure_link_account.py +103 -104
- pulumi_newrelic/cloud/gcp_integrations.py +113 -114
- pulumi_newrelic/cloud/gcp_link_account.py +52 -53
- pulumi_newrelic/cloud/outputs.py +1417 -1418
- pulumi_newrelic/config/__init__.py +1 -1
- pulumi_newrelic/config/__init__.pyi +1 -2
- pulumi_newrelic/config/vars.py +14 -15
- pulumi_newrelic/data_partition_rule.py +112 -113
- pulumi_newrelic/entity_tags.py +21 -22
- pulumi_newrelic/events_to_metrics_rule.py +95 -96
- pulumi_newrelic/get_account.py +21 -22
- pulumi_newrelic/get_alert_channel.py +20 -21
- pulumi_newrelic/get_alert_policy.py +25 -26
- pulumi_newrelic/get_application.py +13 -14
- pulumi_newrelic/get_authentication_domain.py +9 -10
- pulumi_newrelic/get_cloud_account.py +21 -22
- pulumi_newrelic/get_entity.py +52 -53
- pulumi_newrelic/get_group.py +17 -18
- pulumi_newrelic/get_key_transaction.py +25 -26
- pulumi_newrelic/get_notification_destination.py +29 -30
- pulumi_newrelic/get_obfuscation_expression.py +15 -16
- pulumi_newrelic/get_service_level_alert_helper.py +53 -54
- pulumi_newrelic/get_test_grok_pattern.py +22 -23
- pulumi_newrelic/get_user.py +21 -22
- pulumi_newrelic/group.py +52 -53
- pulumi_newrelic/infra_alert_condition.py +255 -256
- pulumi_newrelic/insights/__init__.py +1 -1
- pulumi_newrelic/insights/_inputs.py +32 -33
- pulumi_newrelic/insights/event.py +4 -5
- pulumi_newrelic/insights/outputs.py +22 -23
- pulumi_newrelic/key_transaction.py +104 -105
- pulumi_newrelic/log_parsing_rule.py +146 -147
- pulumi_newrelic/monitor_downtime.py +143 -144
- pulumi_newrelic/notification_channel.py +115 -116
- pulumi_newrelic/notification_destination.py +111 -112
- pulumi_newrelic/nrql_alert_condition.py +430 -431
- pulumi_newrelic/nrql_drop_rule.py +78 -79
- pulumi_newrelic/obfuscation_expression.py +69 -70
- pulumi_newrelic/obfuscation_rule.py +89 -90
- pulumi_newrelic/one_dashboard.py +93 -94
- pulumi_newrelic/one_dashboard_json.py +62 -63
- pulumi_newrelic/one_dashboard_raw.py +90 -91
- pulumi_newrelic/outputs.py +2646 -2647
- pulumi_newrelic/plugins/__init__.py +1 -1
- pulumi_newrelic/plugins/_inputs.py +158 -159
- pulumi_newrelic/plugins/application_settings.py +167 -168
- pulumi_newrelic/plugins/outputs.py +108 -109
- pulumi_newrelic/plugins/workload.py +131 -132
- pulumi_newrelic/provider.py +106 -107
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +76 -77
- pulumi_newrelic/synthetics/__init__.py +1 -1
- pulumi_newrelic/synthetics/_inputs.py +127 -128
- pulumi_newrelic/synthetics/alert_condition.py +95 -96
- pulumi_newrelic/synthetics/broken_links_monitor.py +197 -198
- pulumi_newrelic/synthetics/cert_check_monitor.py +205 -206
- pulumi_newrelic/synthetics/get_private_location.py +21 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +19 -20
- pulumi_newrelic/synthetics/monitor.py +378 -379
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +118 -119
- pulumi_newrelic/synthetics/outputs.py +85 -86
- pulumi_newrelic/synthetics/private_location.py +105 -106
- pulumi_newrelic/synthetics/script_monitor.py +302 -303
- pulumi_newrelic/synthetics/secure_credential.py +86 -87
- pulumi_newrelic/synthetics/step_monitor.py +220 -221
- pulumi_newrelic/user.py +69 -70
- pulumi_newrelic/workflow.py +139 -140
- {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0a1753398082.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.49.0a1753398082.dist-info/RECORD +90 -0
- pulumi_newrelic-5.48.0a1753156041.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0a1753398082.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0a1753398082.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,22 +21,22 @@ __all__ = ['NotificationChannelArgs', 'NotificationChannel']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class NotificationChannelArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
destination_id: pulumi.Input[
|
|
26
|
-
product: pulumi.Input[
|
|
24
|
+
destination_id: pulumi.Input[_builtins.str],
|
|
25
|
+
product: pulumi.Input[_builtins.str],
|
|
27
26
|
properties: pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]],
|
|
28
|
-
type: pulumi.Input[
|
|
29
|
-
account_id: Optional[pulumi.Input[
|
|
30
|
-
active: Optional[pulumi.Input[
|
|
31
|
-
name: Optional[pulumi.Input[
|
|
27
|
+
type: pulumi.Input[_builtins.str],
|
|
28
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
active: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
30
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
32
31
|
"""
|
|
33
32
|
The set of arguments for constructing a NotificationChannel resource.
|
|
34
|
-
:param pulumi.Input[
|
|
35
|
-
:param pulumi.Input[
|
|
33
|
+
:param pulumi.Input[_builtins.str] destination_id: The id of the destination.
|
|
34
|
+
:param pulumi.Input[_builtins.str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
|
36
35
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
|
|
37
|
-
:param pulumi.Input[
|
|
38
|
-
:param pulumi.Input[
|
|
39
|
-
:param pulumi.Input[
|
|
40
|
-
:param pulumi.Input[
|
|
36
|
+
:param pulumi.Input[_builtins.str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION`, `MICROSOFT_TEAMS` or `WORKFLOW_AUTOMATION`.
|
|
37
|
+
:param pulumi.Input[_builtins.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.
|
|
38
|
+
:param pulumi.Input[_builtins.bool] active: Indicates whether the channel is active.
|
|
39
|
+
:param pulumi.Input[_builtins.str] name: The name of the channel.
|
|
41
40
|
"""
|
|
42
41
|
pulumi.set(__self__, "destination_id", destination_id)
|
|
43
42
|
pulumi.set(__self__, "product", product)
|
|
@@ -50,31 +49,31 @@ class NotificationChannelArgs:
|
|
|
50
49
|
if name is not None:
|
|
51
50
|
pulumi.set(__self__, "name", name)
|
|
52
51
|
|
|
53
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
54
53
|
@pulumi.getter(name="destinationId")
|
|
55
|
-
def destination_id(self) -> pulumi.Input[
|
|
54
|
+
def destination_id(self) -> pulumi.Input[_builtins.str]:
|
|
56
55
|
"""
|
|
57
56
|
The id of the destination.
|
|
58
57
|
"""
|
|
59
58
|
return pulumi.get(self, "destination_id")
|
|
60
59
|
|
|
61
60
|
@destination_id.setter
|
|
62
|
-
def destination_id(self, value: pulumi.Input[
|
|
61
|
+
def destination_id(self, value: pulumi.Input[_builtins.str]):
|
|
63
62
|
pulumi.set(self, "destination_id", value)
|
|
64
63
|
|
|
65
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
66
65
|
@pulumi.getter
|
|
67
|
-
def product(self) -> pulumi.Input[
|
|
66
|
+
def product(self) -> pulumi.Input[_builtins.str]:
|
|
68
67
|
"""
|
|
69
68
|
The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
|
70
69
|
"""
|
|
71
70
|
return pulumi.get(self, "product")
|
|
72
71
|
|
|
73
72
|
@product.setter
|
|
74
|
-
def product(self, value: pulumi.Input[
|
|
73
|
+
def product(self, value: pulumi.Input[_builtins.str]):
|
|
75
74
|
pulumi.set(self, "product", value)
|
|
76
75
|
|
|
77
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
78
77
|
@pulumi.getter
|
|
79
78
|
def properties(self) -> pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]]:
|
|
80
79
|
"""
|
|
@@ -86,76 +85,76 @@ class NotificationChannelArgs:
|
|
|
86
85
|
def properties(self, value: pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]]):
|
|
87
86
|
pulumi.set(self, "properties", value)
|
|
88
87
|
|
|
89
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
90
89
|
@pulumi.getter
|
|
91
|
-
def type(self) -> pulumi.Input[
|
|
90
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
92
91
|
"""
|
|
93
92
|
The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION`, `MICROSOFT_TEAMS` or `WORKFLOW_AUTOMATION`.
|
|
94
93
|
"""
|
|
95
94
|
return pulumi.get(self, "type")
|
|
96
95
|
|
|
97
96
|
@type.setter
|
|
98
|
-
def type(self, value: pulumi.Input[
|
|
97
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
99
98
|
pulumi.set(self, "type", value)
|
|
100
99
|
|
|
101
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
102
101
|
@pulumi.getter(name="accountId")
|
|
103
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
102
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
104
103
|
"""
|
|
105
104
|
Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
|
106
105
|
"""
|
|
107
106
|
return pulumi.get(self, "account_id")
|
|
108
107
|
|
|
109
108
|
@account_id.setter
|
|
110
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
109
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
111
110
|
pulumi.set(self, "account_id", value)
|
|
112
111
|
|
|
113
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
114
113
|
@pulumi.getter
|
|
115
|
-
def active(self) -> Optional[pulumi.Input[
|
|
114
|
+
def active(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
116
115
|
"""
|
|
117
116
|
Indicates whether the channel is active.
|
|
118
117
|
"""
|
|
119
118
|
return pulumi.get(self, "active")
|
|
120
119
|
|
|
121
120
|
@active.setter
|
|
122
|
-
def active(self, value: Optional[pulumi.Input[
|
|
121
|
+
def active(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
123
122
|
pulumi.set(self, "active", value)
|
|
124
123
|
|
|
125
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
126
125
|
@pulumi.getter
|
|
127
|
-
def name(self) -> Optional[pulumi.Input[
|
|
126
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
128
127
|
"""
|
|
129
128
|
The name of the channel.
|
|
130
129
|
"""
|
|
131
130
|
return pulumi.get(self, "name")
|
|
132
131
|
|
|
133
132
|
@name.setter
|
|
134
|
-
def name(self, value: Optional[pulumi.Input[
|
|
133
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
135
134
|
pulumi.set(self, "name", value)
|
|
136
135
|
|
|
137
136
|
|
|
138
137
|
@pulumi.input_type
|
|
139
138
|
class _NotificationChannelState:
|
|
140
139
|
def __init__(__self__, *,
|
|
141
|
-
account_id: Optional[pulumi.Input[
|
|
142
|
-
active: Optional[pulumi.Input[
|
|
143
|
-
destination_id: Optional[pulumi.Input[
|
|
144
|
-
name: Optional[pulumi.Input[
|
|
145
|
-
product: Optional[pulumi.Input[
|
|
140
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
141
|
+
active: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
142
|
+
destination_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
143
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
144
|
+
product: Optional[pulumi.Input[_builtins.str]] = None,
|
|
146
145
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]]] = None,
|
|
147
|
-
status: Optional[pulumi.Input[
|
|
148
|
-
type: Optional[pulumi.Input[
|
|
146
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
147
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
149
148
|
"""
|
|
150
149
|
Input properties used for looking up and filtering NotificationChannel resources.
|
|
151
|
-
:param pulumi.Input[
|
|
152
|
-
:param pulumi.Input[
|
|
153
|
-
:param pulumi.Input[
|
|
154
|
-
:param pulumi.Input[
|
|
155
|
-
:param pulumi.Input[
|
|
150
|
+
:param pulumi.Input[_builtins.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.
|
|
151
|
+
:param pulumi.Input[_builtins.bool] active: Indicates whether the channel is active.
|
|
152
|
+
:param pulumi.Input[_builtins.str] destination_id: The id of the destination.
|
|
153
|
+
:param pulumi.Input[_builtins.str] name: The name of the channel.
|
|
154
|
+
:param pulumi.Input[_builtins.str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
|
156
155
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
|
|
157
|
-
:param pulumi.Input[
|
|
158
|
-
:param pulumi.Input[
|
|
156
|
+
:param pulumi.Input[_builtins.str] status: The status of the channel.
|
|
157
|
+
:param pulumi.Input[_builtins.str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION`, `MICROSOFT_TEAMS` or `WORKFLOW_AUTOMATION`.
|
|
159
158
|
"""
|
|
160
159
|
if account_id is not None:
|
|
161
160
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -174,67 +173,67 @@ class _NotificationChannelState:
|
|
|
174
173
|
if type is not None:
|
|
175
174
|
pulumi.set(__self__, "type", type)
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter(name="accountId")
|
|
179
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
178
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
180
179
|
"""
|
|
181
180
|
Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
|
182
181
|
"""
|
|
183
182
|
return pulumi.get(self, "account_id")
|
|
184
183
|
|
|
185
184
|
@account_id.setter
|
|
186
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
185
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
187
186
|
pulumi.set(self, "account_id", value)
|
|
188
187
|
|
|
189
|
-
@property
|
|
188
|
+
@_builtins.property
|
|
190
189
|
@pulumi.getter
|
|
191
|
-
def active(self) -> Optional[pulumi.Input[
|
|
190
|
+
def active(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
192
191
|
"""
|
|
193
192
|
Indicates whether the channel is active.
|
|
194
193
|
"""
|
|
195
194
|
return pulumi.get(self, "active")
|
|
196
195
|
|
|
197
196
|
@active.setter
|
|
198
|
-
def active(self, value: Optional[pulumi.Input[
|
|
197
|
+
def active(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
199
198
|
pulumi.set(self, "active", value)
|
|
200
199
|
|
|
201
|
-
@property
|
|
200
|
+
@_builtins.property
|
|
202
201
|
@pulumi.getter(name="destinationId")
|
|
203
|
-
def destination_id(self) -> Optional[pulumi.Input[
|
|
202
|
+
def destination_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
204
203
|
"""
|
|
205
204
|
The id of the destination.
|
|
206
205
|
"""
|
|
207
206
|
return pulumi.get(self, "destination_id")
|
|
208
207
|
|
|
209
208
|
@destination_id.setter
|
|
210
|
-
def destination_id(self, value: Optional[pulumi.Input[
|
|
209
|
+
def destination_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
211
210
|
pulumi.set(self, "destination_id", value)
|
|
212
211
|
|
|
213
|
-
@property
|
|
212
|
+
@_builtins.property
|
|
214
213
|
@pulumi.getter
|
|
215
|
-
def name(self) -> Optional[pulumi.Input[
|
|
214
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
216
215
|
"""
|
|
217
216
|
The name of the channel.
|
|
218
217
|
"""
|
|
219
218
|
return pulumi.get(self, "name")
|
|
220
219
|
|
|
221
220
|
@name.setter
|
|
222
|
-
def name(self, value: Optional[pulumi.Input[
|
|
221
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
223
222
|
pulumi.set(self, "name", value)
|
|
224
223
|
|
|
225
|
-
@property
|
|
224
|
+
@_builtins.property
|
|
226
225
|
@pulumi.getter
|
|
227
|
-
def product(self) -> Optional[pulumi.Input[
|
|
226
|
+
def product(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
228
227
|
"""
|
|
229
228
|
The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
|
230
229
|
"""
|
|
231
230
|
return pulumi.get(self, "product")
|
|
232
231
|
|
|
233
232
|
@product.setter
|
|
234
|
-
def product(self, value: Optional[pulumi.Input[
|
|
233
|
+
def product(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
235
234
|
pulumi.set(self, "product", value)
|
|
236
235
|
|
|
237
|
-
@property
|
|
236
|
+
@_builtins.property
|
|
238
237
|
@pulumi.getter
|
|
239
238
|
def properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]]]:
|
|
240
239
|
"""
|
|
@@ -246,28 +245,28 @@ class _NotificationChannelState:
|
|
|
246
245
|
def properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]]]):
|
|
247
246
|
pulumi.set(self, "properties", value)
|
|
248
247
|
|
|
249
|
-
@property
|
|
248
|
+
@_builtins.property
|
|
250
249
|
@pulumi.getter
|
|
251
|
-
def status(self) -> Optional[pulumi.Input[
|
|
250
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
252
251
|
"""
|
|
253
252
|
The status of the channel.
|
|
254
253
|
"""
|
|
255
254
|
return pulumi.get(self, "status")
|
|
256
255
|
|
|
257
256
|
@status.setter
|
|
258
|
-
def status(self, value: Optional[pulumi.Input[
|
|
257
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
259
258
|
pulumi.set(self, "status", value)
|
|
260
259
|
|
|
261
|
-
@property
|
|
260
|
+
@_builtins.property
|
|
262
261
|
@pulumi.getter
|
|
263
|
-
def type(self) -> Optional[pulumi.Input[
|
|
262
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
264
263
|
"""
|
|
265
264
|
The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION`, `MICROSOFT_TEAMS` or `WORKFLOW_AUTOMATION`.
|
|
266
265
|
"""
|
|
267
266
|
return pulumi.get(self, "type")
|
|
268
267
|
|
|
269
268
|
@type.setter
|
|
270
|
-
def type(self, value: Optional[pulumi.Input[
|
|
269
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
271
270
|
pulumi.set(self, "type", value)
|
|
272
271
|
|
|
273
272
|
|
|
@@ -277,13 +276,13 @@ class NotificationChannel(pulumi.CustomResource):
|
|
|
277
276
|
def __init__(__self__,
|
|
278
277
|
resource_name: str,
|
|
279
278
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
280
|
-
account_id: Optional[pulumi.Input[
|
|
281
|
-
active: Optional[pulumi.Input[
|
|
282
|
-
destination_id: Optional[pulumi.Input[
|
|
283
|
-
name: Optional[pulumi.Input[
|
|
284
|
-
product: Optional[pulumi.Input[
|
|
279
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
280
|
+
active: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
281
|
+
destination_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
282
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
283
|
+
product: Optional[pulumi.Input[_builtins.str]] = None,
|
|
285
284
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]]] = None,
|
|
286
|
-
type: Optional[pulumi.Input[
|
|
285
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
287
286
|
__props__=None):
|
|
288
287
|
"""
|
|
289
288
|
Use this resource to create and manage New Relic notification channels. Details regarding supported products and permissions can be found [here](https://docs.newrelic.com/docs/alerts-applied-intelligence/notifications/destinations).
|
|
@@ -642,13 +641,13 @@ class NotificationChannel(pulumi.CustomResource):
|
|
|
642
641
|
|
|
643
642
|
:param str resource_name: The name of the resource.
|
|
644
643
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
645
|
-
:param pulumi.Input[
|
|
646
|
-
:param pulumi.Input[
|
|
647
|
-
:param pulumi.Input[
|
|
648
|
-
:param pulumi.Input[
|
|
649
|
-
:param pulumi.Input[
|
|
644
|
+
:param pulumi.Input[_builtins.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.
|
|
645
|
+
:param pulumi.Input[_builtins.bool] active: Indicates whether the channel is active.
|
|
646
|
+
:param pulumi.Input[_builtins.str] destination_id: The id of the destination.
|
|
647
|
+
:param pulumi.Input[_builtins.str] name: The name of the channel.
|
|
648
|
+
:param pulumi.Input[_builtins.str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
|
650
649
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
|
|
651
|
-
:param pulumi.Input[
|
|
650
|
+
:param pulumi.Input[_builtins.str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION`, `MICROSOFT_TEAMS` or `WORKFLOW_AUTOMATION`.
|
|
652
651
|
"""
|
|
653
652
|
...
|
|
654
653
|
@overload
|
|
@@ -1026,13 +1025,13 @@ class NotificationChannel(pulumi.CustomResource):
|
|
|
1026
1025
|
def _internal_init(__self__,
|
|
1027
1026
|
resource_name: str,
|
|
1028
1027
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1029
|
-
account_id: Optional[pulumi.Input[
|
|
1030
|
-
active: Optional[pulumi.Input[
|
|
1031
|
-
destination_id: Optional[pulumi.Input[
|
|
1032
|
-
name: Optional[pulumi.Input[
|
|
1033
|
-
product: Optional[pulumi.Input[
|
|
1028
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1029
|
+
active: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1030
|
+
destination_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1031
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1032
|
+
product: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1034
1033
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]]] = None,
|
|
1035
|
-
type: Optional[pulumi.Input[
|
|
1034
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1036
1035
|
__props__=None):
|
|
1037
1036
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1038
1037
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1068,14 +1067,14 @@ class NotificationChannel(pulumi.CustomResource):
|
|
|
1068
1067
|
def get(resource_name: str,
|
|
1069
1068
|
id: pulumi.Input[str],
|
|
1070
1069
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1071
|
-
account_id: Optional[pulumi.Input[
|
|
1072
|
-
active: Optional[pulumi.Input[
|
|
1073
|
-
destination_id: Optional[pulumi.Input[
|
|
1074
|
-
name: Optional[pulumi.Input[
|
|
1075
|
-
product: Optional[pulumi.Input[
|
|
1070
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1071
|
+
active: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1072
|
+
destination_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1073
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1074
|
+
product: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1076
1075
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]]] = None,
|
|
1077
|
-
status: Optional[pulumi.Input[
|
|
1078
|
-
type: Optional[pulumi.Input[
|
|
1076
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1077
|
+
type: Optional[pulumi.Input[_builtins.str]] = None) -> 'NotificationChannel':
|
|
1079
1078
|
"""
|
|
1080
1079
|
Get an existing NotificationChannel resource's state with the given name, id, and optional extra
|
|
1081
1080
|
properties used to qualify the lookup.
|
|
@@ -1083,14 +1082,14 @@ class NotificationChannel(pulumi.CustomResource):
|
|
|
1083
1082
|
:param str resource_name: The unique name of the resulting resource.
|
|
1084
1083
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1085
1084
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1086
|
-
:param pulumi.Input[
|
|
1087
|
-
:param pulumi.Input[
|
|
1088
|
-
:param pulumi.Input[
|
|
1089
|
-
:param pulumi.Input[
|
|
1090
|
-
:param pulumi.Input[
|
|
1085
|
+
:param pulumi.Input[_builtins.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.
|
|
1086
|
+
:param pulumi.Input[_builtins.bool] active: Indicates whether the channel is active.
|
|
1087
|
+
:param pulumi.Input[_builtins.str] destination_id: The id of the destination.
|
|
1088
|
+
:param pulumi.Input[_builtins.str] name: The name of the channel.
|
|
1089
|
+
:param pulumi.Input[_builtins.str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
|
1091
1090
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
|
|
1092
|
-
:param pulumi.Input[
|
|
1093
|
-
:param pulumi.Input[
|
|
1091
|
+
:param pulumi.Input[_builtins.str] status: The status of the channel.
|
|
1092
|
+
:param pulumi.Input[_builtins.str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION`, `MICROSOFT_TEAMS` or `WORKFLOW_AUTOMATION`.
|
|
1094
1093
|
"""
|
|
1095
1094
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1096
1095
|
|
|
@@ -1106,47 +1105,47 @@ class NotificationChannel(pulumi.CustomResource):
|
|
|
1106
1105
|
__props__.__dict__["type"] = type
|
|
1107
1106
|
return NotificationChannel(resource_name, opts=opts, __props__=__props__)
|
|
1108
1107
|
|
|
1109
|
-
@property
|
|
1108
|
+
@_builtins.property
|
|
1110
1109
|
@pulumi.getter(name="accountId")
|
|
1111
|
-
def account_id(self) -> pulumi.Output[
|
|
1110
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
1112
1111
|
"""
|
|
1113
1112
|
Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
|
1114
1113
|
"""
|
|
1115
1114
|
return pulumi.get(self, "account_id")
|
|
1116
1115
|
|
|
1117
|
-
@property
|
|
1116
|
+
@_builtins.property
|
|
1118
1117
|
@pulumi.getter
|
|
1119
|
-
def active(self) -> pulumi.Output[Optional[
|
|
1118
|
+
def active(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1120
1119
|
"""
|
|
1121
1120
|
Indicates whether the channel is active.
|
|
1122
1121
|
"""
|
|
1123
1122
|
return pulumi.get(self, "active")
|
|
1124
1123
|
|
|
1125
|
-
@property
|
|
1124
|
+
@_builtins.property
|
|
1126
1125
|
@pulumi.getter(name="destinationId")
|
|
1127
|
-
def destination_id(self) -> pulumi.Output[
|
|
1126
|
+
def destination_id(self) -> pulumi.Output[_builtins.str]:
|
|
1128
1127
|
"""
|
|
1129
1128
|
The id of the destination.
|
|
1130
1129
|
"""
|
|
1131
1130
|
return pulumi.get(self, "destination_id")
|
|
1132
1131
|
|
|
1133
|
-
@property
|
|
1132
|
+
@_builtins.property
|
|
1134
1133
|
@pulumi.getter
|
|
1135
|
-
def name(self) -> pulumi.Output[
|
|
1134
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
1136
1135
|
"""
|
|
1137
1136
|
The name of the channel.
|
|
1138
1137
|
"""
|
|
1139
1138
|
return pulumi.get(self, "name")
|
|
1140
1139
|
|
|
1141
|
-
@property
|
|
1140
|
+
@_builtins.property
|
|
1142
1141
|
@pulumi.getter
|
|
1143
|
-
def product(self) -> pulumi.Output[
|
|
1142
|
+
def product(self) -> pulumi.Output[_builtins.str]:
|
|
1144
1143
|
"""
|
|
1145
1144
|
The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
|
1146
1145
|
"""
|
|
1147
1146
|
return pulumi.get(self, "product")
|
|
1148
1147
|
|
|
1149
|
-
@property
|
|
1148
|
+
@_builtins.property
|
|
1150
1149
|
@pulumi.getter
|
|
1151
1150
|
def properties(self) -> pulumi.Output[Sequence['outputs.NotificationChannelProperty']]:
|
|
1152
1151
|
"""
|
|
@@ -1154,17 +1153,17 @@ class NotificationChannel(pulumi.CustomResource):
|
|
|
1154
1153
|
"""
|
|
1155
1154
|
return pulumi.get(self, "properties")
|
|
1156
1155
|
|
|
1157
|
-
@property
|
|
1156
|
+
@_builtins.property
|
|
1158
1157
|
@pulumi.getter
|
|
1159
|
-
def status(self) -> pulumi.Output[
|
|
1158
|
+
def status(self) -> pulumi.Output[_builtins.str]:
|
|
1160
1159
|
"""
|
|
1161
1160
|
The status of the channel.
|
|
1162
1161
|
"""
|
|
1163
1162
|
return pulumi.get(self, "status")
|
|
1164
1163
|
|
|
1165
|
-
@property
|
|
1164
|
+
@_builtins.property
|
|
1166
1165
|
@pulumi.getter
|
|
1167
|
-
def type(self) -> pulumi.Output[
|
|
1166
|
+
def type(self) -> pulumi.Output[_builtins.str]:
|
|
1168
1167
|
"""
|
|
1169
1168
|
The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION`, `MICROSOFT_TEAMS` or `WORKFLOW_AUTOMATION`.
|
|
1170
1169
|
"""
|