pulumi-newrelic 5.45.0a1743574084__py3-none-any.whl → 5.45.0a1744183332__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_newrelic/__init__.py +1 -0
- pulumi_newrelic/_inputs.py +2961 -2960
- pulumi_newrelic/account_management.py +29 -28
- pulumi_newrelic/alert_channel.py +43 -42
- pulumi_newrelic/alert_condition.py +176 -175
- pulumi_newrelic/alert_muting_rule.py +71 -70
- pulumi_newrelic/alert_policy.py +57 -56
- pulumi_newrelic/alert_policy_channel.py +43 -42
- pulumi_newrelic/api_access_key.py +92 -91
- pulumi_newrelic/browser_application.py +92 -91
- pulumi_newrelic/cloud/__init__.py +1 -0
- pulumi_newrelic/cloud/_inputs.py +1765 -1764
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
- pulumi_newrelic/cloud/aws_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_link_account.py +57 -56
- pulumi_newrelic/cloud/azure_integrations.py +29 -28
- pulumi_newrelic/cloud/azure_link_account.py +85 -84
- pulumi_newrelic/cloud/gcp_integrations.py +29 -28
- pulumi_newrelic/cloud/gcp_link_account.py +45 -44
- pulumi_newrelic/cloud/outputs.py +1057 -1056
- pulumi_newrelic/config/__init__.py +1 -0
- pulumi_newrelic/config/__init__.pyi +1 -0
- pulumi_newrelic/config/vars.py +1 -0
- pulumi_newrelic/data_partition_rule.py +92 -91
- pulumi_newrelic/entity_tags.py +15 -14
- pulumi_newrelic/events_to_metrics_rule.py +78 -77
- pulumi_newrelic/get_account.py +17 -16
- pulumi_newrelic/get_alert_channel.py +14 -13
- pulumi_newrelic/get_alert_policy.py +19 -18
- pulumi_newrelic/get_application.py +9 -8
- pulumi_newrelic/get_authentication_domain.py +7 -6
- pulumi_newrelic/get_cloud_account.py +17 -16
- pulumi_newrelic/get_entity.py +40 -39
- pulumi_newrelic/get_group.py +13 -12
- pulumi_newrelic/get_key_transaction.py +19 -18
- pulumi_newrelic/get_notification_destination.py +20 -19
- pulumi_newrelic/get_obfuscation_expression.py +12 -11
- pulumi_newrelic/get_service_level_alert_helper.py +41 -40
- pulumi_newrelic/get_test_grok_pattern.py +17 -16
- pulumi_newrelic/get_user.py +17 -16
- pulumi_newrelic/group.py +43 -42
- pulumi_newrelic/infra_alert_condition.py +204 -203
- pulumi_newrelic/insights/__init__.py +1 -0
- pulumi_newrelic/insights/_inputs.py +26 -25
- pulumi_newrelic/insights/event.py +1 -0
- pulumi_newrelic/insights/outputs.py +16 -15
- pulumi_newrelic/key_transaction.py +85 -84
- pulumi_newrelic/log_parsing_rule.py +120 -119
- pulumi_newrelic/monitor_downtime.py +113 -112
- pulumi_newrelic/notification_channel.py +92 -91
- pulumi_newrelic/notification_destination.py +78 -77
- pulumi_newrelic/nrql_alert_condition.py +330 -329
- pulumi_newrelic/nrql_drop_rule.py +64 -63
- pulumi_newrelic/obfuscation_expression.py +57 -56
- pulumi_newrelic/obfuscation_rule.py +71 -70
- pulumi_newrelic/one_dashboard.py +71 -70
- pulumi_newrelic/one_dashboard_json.py +50 -49
- pulumi_newrelic/one_dashboard_raw.py +71 -70
- pulumi_newrelic/outputs.py +1831 -1830
- pulumi_newrelic/plugins/__init__.py +1 -0
- pulumi_newrelic/plugins/_inputs.py +126 -125
- pulumi_newrelic/plugins/application_settings.py +132 -131
- pulumi_newrelic/plugins/outputs.py +76 -75
- pulumi_newrelic/plugins/workload.py +99 -98
- pulumi_newrelic/provider.py +80 -79
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +57 -56
- pulumi_newrelic/synthetics/__init__.py +1 -0
- pulumi_newrelic/synthetics/_inputs.py +106 -105
- pulumi_newrelic/synthetics/alert_condition.py +78 -77
- pulumi_newrelic/synthetics/broken_links_monitor.py +151 -150
- pulumi_newrelic/synthetics/cert_check_monitor.py +158 -157
- pulumi_newrelic/synthetics/get_private_location.py +17 -16
- pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
- pulumi_newrelic/synthetics/monitor.py +298 -297
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
- pulumi_newrelic/synthetics/outputs.py +64 -63
- pulumi_newrelic/synthetics/private_location.py +85 -84
- pulumi_newrelic/synthetics/script_monitor.py +235 -234
- pulumi_newrelic/synthetics/secure_credential.py +71 -70
- pulumi_newrelic/synthetics/step_monitor.py +165 -164
- pulumi_newrelic/user.py +57 -56
- pulumi_newrelic/workflow.py +106 -105
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.45.0a1744183332.dist-info/RECORD +90 -0
- pulumi_newrelic-5.45.0a1743574084.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -21,22 +22,22 @@ __all__ = ['NotificationChannelArgs', 'NotificationChannel']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class NotificationChannelArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
destination_id: pulumi.Input[str],
|
25
|
-
product: pulumi.Input[str],
|
25
|
+
destination_id: pulumi.Input[builtins.str],
|
26
|
+
product: pulumi.Input[builtins.str],
|
26
27
|
properties: pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]],
|
27
|
-
type: pulumi.Input[str],
|
28
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
29
|
-
active: Optional[pulumi.Input[bool]] = None,
|
30
|
-
name: Optional[pulumi.Input[str]] = None):
|
28
|
+
type: pulumi.Input[builtins.str],
|
29
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
30
|
+
active: Optional[pulumi.Input[builtins.bool]] = None,
|
31
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
31
32
|
"""
|
32
33
|
The set of arguments for constructing a NotificationChannel resource.
|
33
|
-
:param pulumi.Input[str] destination_id: The id of the destination.
|
34
|
-
:param pulumi.Input[str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
34
|
+
:param pulumi.Input[builtins.str] destination_id: The id of the destination.
|
35
|
+
:param pulumi.Input[builtins.str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
35
36
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
|
36
|
-
:param pulumi.Input[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` or `MICROSOFT_TEAMS`.
|
37
|
-
: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.
|
38
|
-
:param pulumi.Input[bool] active: Indicates whether the channel is active.
|
39
|
-
:param pulumi.Input[str] name: The name of the channel.
|
37
|
+
: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` or `MICROSOFT_TEAMS`.
|
38
|
+
: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.
|
39
|
+
:param pulumi.Input[builtins.bool] active: Indicates whether the channel is active.
|
40
|
+
:param pulumi.Input[builtins.str] name: The name of the channel.
|
40
41
|
"""
|
41
42
|
pulumi.set(__self__, "destination_id", destination_id)
|
42
43
|
pulumi.set(__self__, "product", product)
|
@@ -51,26 +52,26 @@ class NotificationChannelArgs:
|
|
51
52
|
|
52
53
|
@property
|
53
54
|
@pulumi.getter(name="destinationId")
|
54
|
-
def destination_id(self) -> pulumi.Input[str]:
|
55
|
+
def destination_id(self) -> pulumi.Input[builtins.str]:
|
55
56
|
"""
|
56
57
|
The id of the destination.
|
57
58
|
"""
|
58
59
|
return pulumi.get(self, "destination_id")
|
59
60
|
|
60
61
|
@destination_id.setter
|
61
|
-
def destination_id(self, value: pulumi.Input[str]):
|
62
|
+
def destination_id(self, value: pulumi.Input[builtins.str]):
|
62
63
|
pulumi.set(self, "destination_id", value)
|
63
64
|
|
64
65
|
@property
|
65
66
|
@pulumi.getter
|
66
|
-
def product(self) -> pulumi.Input[str]:
|
67
|
+
def product(self) -> pulumi.Input[builtins.str]:
|
67
68
|
"""
|
68
69
|
The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
69
70
|
"""
|
70
71
|
return pulumi.get(self, "product")
|
71
72
|
|
72
73
|
@product.setter
|
73
|
-
def product(self, value: pulumi.Input[str]):
|
74
|
+
def product(self, value: pulumi.Input[builtins.str]):
|
74
75
|
pulumi.set(self, "product", value)
|
75
76
|
|
76
77
|
@property
|
@@ -87,74 +88,74 @@ class NotificationChannelArgs:
|
|
87
88
|
|
88
89
|
@property
|
89
90
|
@pulumi.getter
|
90
|
-
def type(self) -> pulumi.Input[str]:
|
91
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
91
92
|
"""
|
92
93
|
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` or `MICROSOFT_TEAMS`.
|
93
94
|
"""
|
94
95
|
return pulumi.get(self, "type")
|
95
96
|
|
96
97
|
@type.setter
|
97
|
-
def type(self, value: pulumi.Input[str]):
|
98
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
98
99
|
pulumi.set(self, "type", value)
|
99
100
|
|
100
101
|
@property
|
101
102
|
@pulumi.getter(name="accountId")
|
102
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
103
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
103
104
|
"""
|
104
105
|
Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
105
106
|
"""
|
106
107
|
return pulumi.get(self, "account_id")
|
107
108
|
|
108
109
|
@account_id.setter
|
109
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
110
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
110
111
|
pulumi.set(self, "account_id", value)
|
111
112
|
|
112
113
|
@property
|
113
114
|
@pulumi.getter
|
114
|
-
def active(self) -> Optional[pulumi.Input[bool]]:
|
115
|
+
def active(self) -> Optional[pulumi.Input[builtins.bool]]:
|
115
116
|
"""
|
116
117
|
Indicates whether the channel is active.
|
117
118
|
"""
|
118
119
|
return pulumi.get(self, "active")
|
119
120
|
|
120
121
|
@active.setter
|
121
|
-
def active(self, value: Optional[pulumi.Input[bool]]):
|
122
|
+
def active(self, value: Optional[pulumi.Input[builtins.bool]]):
|
122
123
|
pulumi.set(self, "active", value)
|
123
124
|
|
124
125
|
@property
|
125
126
|
@pulumi.getter
|
126
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
127
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
127
128
|
"""
|
128
129
|
The name of the channel.
|
129
130
|
"""
|
130
131
|
return pulumi.get(self, "name")
|
131
132
|
|
132
133
|
@name.setter
|
133
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
134
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
134
135
|
pulumi.set(self, "name", value)
|
135
136
|
|
136
137
|
|
137
138
|
@pulumi.input_type
|
138
139
|
class _NotificationChannelState:
|
139
140
|
def __init__(__self__, *,
|
140
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
141
|
-
active: Optional[pulumi.Input[bool]] = None,
|
142
|
-
destination_id: Optional[pulumi.Input[str]] = None,
|
143
|
-
name: Optional[pulumi.Input[str]] = None,
|
144
|
-
product: Optional[pulumi.Input[str]] = None,
|
141
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
142
|
+
active: Optional[pulumi.Input[builtins.bool]] = None,
|
143
|
+
destination_id: Optional[pulumi.Input[builtins.str]] = None,
|
144
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
145
|
+
product: Optional[pulumi.Input[builtins.str]] = None,
|
145
146
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]]] = None,
|
146
|
-
status: Optional[pulumi.Input[str]] = None,
|
147
|
-
type: Optional[pulumi.Input[str]] = None):
|
147
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
148
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
148
149
|
"""
|
149
150
|
Input properties used for looking up and filtering NotificationChannel resources.
|
150
|
-
: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.
|
151
|
-
:param pulumi.Input[bool] active: Indicates whether the channel is active.
|
152
|
-
:param pulumi.Input[str] destination_id: The id of the destination.
|
153
|
-
:param pulumi.Input[str] name: The name of the channel.
|
154
|
-
:param pulumi.Input[str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
151
|
+
: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.
|
152
|
+
:param pulumi.Input[builtins.bool] active: Indicates whether the channel is active.
|
153
|
+
:param pulumi.Input[builtins.str] destination_id: The id of the destination.
|
154
|
+
:param pulumi.Input[builtins.str] name: The name of the channel.
|
155
|
+
:param pulumi.Input[builtins.str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
155
156
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
|
156
|
-
:param pulumi.Input[str] status: The status of the channel.
|
157
|
-
:param pulumi.Input[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` or `MICROSOFT_TEAMS`.
|
157
|
+
:param pulumi.Input[builtins.str] status: The status of the channel.
|
158
|
+
: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` or `MICROSOFT_TEAMS`.
|
158
159
|
"""
|
159
160
|
if account_id is not None:
|
160
161
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -175,62 +176,62 @@ class _NotificationChannelState:
|
|
175
176
|
|
176
177
|
@property
|
177
178
|
@pulumi.getter(name="accountId")
|
178
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
179
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
179
180
|
"""
|
180
181
|
Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
181
182
|
"""
|
182
183
|
return pulumi.get(self, "account_id")
|
183
184
|
|
184
185
|
@account_id.setter
|
185
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
186
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
186
187
|
pulumi.set(self, "account_id", value)
|
187
188
|
|
188
189
|
@property
|
189
190
|
@pulumi.getter
|
190
|
-
def active(self) -> Optional[pulumi.Input[bool]]:
|
191
|
+
def active(self) -> Optional[pulumi.Input[builtins.bool]]:
|
191
192
|
"""
|
192
193
|
Indicates whether the channel is active.
|
193
194
|
"""
|
194
195
|
return pulumi.get(self, "active")
|
195
196
|
|
196
197
|
@active.setter
|
197
|
-
def active(self, value: Optional[pulumi.Input[bool]]):
|
198
|
+
def active(self, value: Optional[pulumi.Input[builtins.bool]]):
|
198
199
|
pulumi.set(self, "active", value)
|
199
200
|
|
200
201
|
@property
|
201
202
|
@pulumi.getter(name="destinationId")
|
202
|
-
def destination_id(self) -> Optional[pulumi.Input[str]]:
|
203
|
+
def destination_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
203
204
|
"""
|
204
205
|
The id of the destination.
|
205
206
|
"""
|
206
207
|
return pulumi.get(self, "destination_id")
|
207
208
|
|
208
209
|
@destination_id.setter
|
209
|
-
def destination_id(self, value: Optional[pulumi.Input[str]]):
|
210
|
+
def destination_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
210
211
|
pulumi.set(self, "destination_id", value)
|
211
212
|
|
212
213
|
@property
|
213
214
|
@pulumi.getter
|
214
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
215
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
215
216
|
"""
|
216
217
|
The name of the channel.
|
217
218
|
"""
|
218
219
|
return pulumi.get(self, "name")
|
219
220
|
|
220
221
|
@name.setter
|
221
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
222
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
222
223
|
pulumi.set(self, "name", value)
|
223
224
|
|
224
225
|
@property
|
225
226
|
@pulumi.getter
|
226
|
-
def product(self) -> Optional[pulumi.Input[str]]:
|
227
|
+
def product(self) -> Optional[pulumi.Input[builtins.str]]:
|
227
228
|
"""
|
228
229
|
The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
229
230
|
"""
|
230
231
|
return pulumi.get(self, "product")
|
231
232
|
|
232
233
|
@product.setter
|
233
|
-
def product(self, value: Optional[pulumi.Input[str]]):
|
234
|
+
def product(self, value: Optional[pulumi.Input[builtins.str]]):
|
234
235
|
pulumi.set(self, "product", value)
|
235
236
|
|
236
237
|
@property
|
@@ -247,26 +248,26 @@ class _NotificationChannelState:
|
|
247
248
|
|
248
249
|
@property
|
249
250
|
@pulumi.getter
|
250
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
251
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
251
252
|
"""
|
252
253
|
The status of the channel.
|
253
254
|
"""
|
254
255
|
return pulumi.get(self, "status")
|
255
256
|
|
256
257
|
@status.setter
|
257
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
258
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
258
259
|
pulumi.set(self, "status", value)
|
259
260
|
|
260
261
|
@property
|
261
262
|
@pulumi.getter
|
262
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
263
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
263
264
|
"""
|
264
265
|
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` or `MICROSOFT_TEAMS`.
|
265
266
|
"""
|
266
267
|
return pulumi.get(self, "type")
|
267
268
|
|
268
269
|
@type.setter
|
269
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
270
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
270
271
|
pulumi.set(self, "type", value)
|
271
272
|
|
272
273
|
|
@@ -275,13 +276,13 @@ class NotificationChannel(pulumi.CustomResource):
|
|
275
276
|
def __init__(__self__,
|
276
277
|
resource_name: str,
|
277
278
|
opts: Optional[pulumi.ResourceOptions] = None,
|
278
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
279
|
-
active: Optional[pulumi.Input[bool]] = None,
|
280
|
-
destination_id: Optional[pulumi.Input[str]] = None,
|
281
|
-
name: Optional[pulumi.Input[str]] = None,
|
282
|
-
product: Optional[pulumi.Input[str]] = None,
|
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,
|
283
284
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]]] = None,
|
284
|
-
type: Optional[pulumi.Input[str]] = None,
|
285
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
285
286
|
__props__=None):
|
286
287
|
"""
|
287
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).
|
@@ -640,13 +641,13 @@ class NotificationChannel(pulumi.CustomResource):
|
|
640
641
|
|
641
642
|
:param str resource_name: The name of the resource.
|
642
643
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
643
|
-
: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.
|
644
|
-
:param pulumi.Input[bool] active: Indicates whether the channel is active.
|
645
|
-
:param pulumi.Input[str] destination_id: The id of the destination.
|
646
|
-
:param pulumi.Input[str] name: The name of the channel.
|
647
|
-
:param pulumi.Input[str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
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).
|
648
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.
|
649
|
-
:param pulumi.Input[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` or `MICROSOFT_TEAMS`.
|
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` or `MICROSOFT_TEAMS`.
|
650
651
|
"""
|
651
652
|
...
|
652
653
|
@overload
|
@@ -1024,13 +1025,13 @@ class NotificationChannel(pulumi.CustomResource):
|
|
1024
1025
|
def _internal_init(__self__,
|
1025
1026
|
resource_name: str,
|
1026
1027
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1027
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
1028
|
-
active: Optional[pulumi.Input[bool]] = None,
|
1029
|
-
destination_id: Optional[pulumi.Input[str]] = None,
|
1030
|
-
name: Optional[pulumi.Input[str]] = None,
|
1031
|
-
product: Optional[pulumi.Input[str]] = None,
|
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,
|
1032
1033
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]]] = None,
|
1033
|
-
type: Optional[pulumi.Input[str]] = None,
|
1034
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
1034
1035
|
__props__=None):
|
1035
1036
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
1036
1037
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -1066,14 +1067,14 @@ class NotificationChannel(pulumi.CustomResource):
|
|
1066
1067
|
def get(resource_name: str,
|
1067
1068
|
id: pulumi.Input[str],
|
1068
1069
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1069
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
1070
|
-
active: Optional[pulumi.Input[bool]] = None,
|
1071
|
-
destination_id: Optional[pulumi.Input[str]] = None,
|
1072
|
-
name: Optional[pulumi.Input[str]] = None,
|
1073
|
-
product: Optional[pulumi.Input[str]] = None,
|
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,
|
1074
1075
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]]] = None,
|
1075
|
-
status: Optional[pulumi.Input[str]] = None,
|
1076
|
-
type: Optional[pulumi.Input[str]] = None) -> 'NotificationChannel':
|
1076
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
1077
|
+
type: Optional[pulumi.Input[builtins.str]] = None) -> 'NotificationChannel':
|
1077
1078
|
"""
|
1078
1079
|
Get an existing NotificationChannel resource's state with the given name, id, and optional extra
|
1079
1080
|
properties used to qualify the lookup.
|
@@ -1081,14 +1082,14 @@ class NotificationChannel(pulumi.CustomResource):
|
|
1081
1082
|
:param str resource_name: The unique name of the resulting resource.
|
1082
1083
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1083
1084
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1084
|
-
: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.
|
1085
|
-
:param pulumi.Input[bool] active: Indicates whether the channel is active.
|
1086
|
-
:param pulumi.Input[str] destination_id: The id of the destination.
|
1087
|
-
:param pulumi.Input[str] name: The name of the channel.
|
1088
|
-
:param pulumi.Input[str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
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).
|
1089
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.
|
1090
|
-
:param pulumi.Input[str] status: The status of the channel.
|
1091
|
-
:param pulumi.Input[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` or `MICROSOFT_TEAMS`.
|
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` or `MICROSOFT_TEAMS`.
|
1092
1093
|
"""
|
1093
1094
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1094
1095
|
|
@@ -1106,7 +1107,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
1106
1107
|
|
1107
1108
|
@property
|
1108
1109
|
@pulumi.getter(name="accountId")
|
1109
|
-
def account_id(self) -> pulumi.Output[str]:
|
1110
|
+
def account_id(self) -> pulumi.Output[builtins.str]:
|
1110
1111
|
"""
|
1111
1112
|
Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
|
1112
1113
|
"""
|
@@ -1114,7 +1115,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
1114
1115
|
|
1115
1116
|
@property
|
1116
1117
|
@pulumi.getter
|
1117
|
-
def active(self) -> pulumi.Output[Optional[bool]]:
|
1118
|
+
def active(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1118
1119
|
"""
|
1119
1120
|
Indicates whether the channel is active.
|
1120
1121
|
"""
|
@@ -1122,7 +1123,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
1122
1123
|
|
1123
1124
|
@property
|
1124
1125
|
@pulumi.getter(name="destinationId")
|
1125
|
-
def destination_id(self) -> pulumi.Output[str]:
|
1126
|
+
def destination_id(self) -> pulumi.Output[builtins.str]:
|
1126
1127
|
"""
|
1127
1128
|
The id of the destination.
|
1128
1129
|
"""
|
@@ -1130,7 +1131,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
1130
1131
|
|
1131
1132
|
@property
|
1132
1133
|
@pulumi.getter
|
1133
|
-
def name(self) -> pulumi.Output[str]:
|
1134
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
1134
1135
|
"""
|
1135
1136
|
The name of the channel.
|
1136
1137
|
"""
|
@@ -1138,7 +1139,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
1138
1139
|
|
1139
1140
|
@property
|
1140
1141
|
@pulumi.getter
|
1141
|
-
def product(self) -> pulumi.Output[str]:
|
1142
|
+
def product(self) -> pulumi.Output[builtins.str]:
|
1142
1143
|
"""
|
1143
1144
|
The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
|
1144
1145
|
"""
|
@@ -1154,7 +1155,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
1154
1155
|
|
1155
1156
|
@property
|
1156
1157
|
@pulumi.getter
|
1157
|
-
def status(self) -> pulumi.Output[str]:
|
1158
|
+
def status(self) -> pulumi.Output[builtins.str]:
|
1158
1159
|
"""
|
1159
1160
|
The status of the channel.
|
1160
1161
|
"""
|
@@ -1162,7 +1163,7 @@ class NotificationChannel(pulumi.CustomResource):
|
|
1162
1163
|
|
1163
1164
|
@property
|
1164
1165
|
@pulumi.getter
|
1165
|
-
def type(self) -> pulumi.Output[str]:
|
1166
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
1166
1167
|
"""
|
1167
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` or `MICROSOFT_TEAMS`.
|
1168
1169
|
"""
|