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
|
@@ -22,26 +23,26 @@ __all__ = ['NotificationDestinationArgs', 'NotificationDestination']
|
|
22
23
|
class NotificationDestinationArgs:
|
23
24
|
def __init__(__self__, *,
|
24
25
|
properties: pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]],
|
25
|
-
type: pulumi.Input[str],
|
26
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
27
|
-
active: Optional[pulumi.Input[bool]] = None,
|
26
|
+
type: pulumi.Input[builtins.str],
|
27
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
28
|
+
active: Optional[pulumi.Input[builtins.bool]] = None,
|
28
29
|
auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
|
29
30
|
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
|
30
31
|
auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
|
31
|
-
name: Optional[pulumi.Input[str]] = None,
|
32
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
32
33
|
secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None):
|
33
34
|
"""
|
34
35
|
The set of arguments for constructing a NotificationDestination resource.
|
35
36
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
36
|
-
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
37
|
+
:param pulumi.Input[builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
37
38
|
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
38
39
|
MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
|
39
|
-
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
40
|
-
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
40
|
+
:param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
41
|
+
:param pulumi.Input[builtins.bool] active: Indicates whether the destination is active.
|
41
42
|
:param pulumi.Input['NotificationDestinationAuthBasicArgs'] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
|
42
43
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
43
44
|
:param pulumi.Input['NotificationDestinationAuthTokenArgs'] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
44
|
-
:param pulumi.Input[str] name: The name of the destination.
|
45
|
+
:param pulumi.Input[builtins.str] name: The name of the destination.
|
45
46
|
:param pulumi.Input['NotificationDestinationSecureUrlArgs'] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
46
47
|
"""
|
47
48
|
pulumi.set(__self__, "properties", properties)
|
@@ -75,7 +76,7 @@ class NotificationDestinationArgs:
|
|
75
76
|
|
76
77
|
@property
|
77
78
|
@pulumi.getter
|
78
|
-
def type(self) -> pulumi.Input[str]:
|
79
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
79
80
|
"""
|
80
81
|
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
81
82
|
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
@@ -84,31 +85,31 @@ class NotificationDestinationArgs:
|
|
84
85
|
return pulumi.get(self, "type")
|
85
86
|
|
86
87
|
@type.setter
|
87
|
-
def type(self, value: pulumi.Input[str]):
|
88
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
88
89
|
pulumi.set(self, "type", value)
|
89
90
|
|
90
91
|
@property
|
91
92
|
@pulumi.getter(name="accountId")
|
92
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
93
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
93
94
|
"""
|
94
95
|
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
95
96
|
"""
|
96
97
|
return pulumi.get(self, "account_id")
|
97
98
|
|
98
99
|
@account_id.setter
|
99
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
100
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
100
101
|
pulumi.set(self, "account_id", value)
|
101
102
|
|
102
103
|
@property
|
103
104
|
@pulumi.getter
|
104
|
-
def active(self) -> Optional[pulumi.Input[bool]]:
|
105
|
+
def active(self) -> Optional[pulumi.Input[builtins.bool]]:
|
105
106
|
"""
|
106
107
|
Indicates whether the destination is active.
|
107
108
|
"""
|
108
109
|
return pulumi.get(self, "active")
|
109
110
|
|
110
111
|
@active.setter
|
111
|
-
def active(self, value: Optional[pulumi.Input[bool]]):
|
112
|
+
def active(self, value: Optional[pulumi.Input[builtins.bool]]):
|
112
113
|
pulumi.set(self, "active", value)
|
113
114
|
|
114
115
|
@property
|
@@ -149,14 +150,14 @@ class NotificationDestinationArgs:
|
|
149
150
|
|
150
151
|
@property
|
151
152
|
@pulumi.getter
|
152
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
153
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
153
154
|
"""
|
154
155
|
The name of the destination.
|
155
156
|
"""
|
156
157
|
return pulumi.get(self, "name")
|
157
158
|
|
158
159
|
@name.setter
|
159
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
160
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
160
161
|
pulumi.set(self, "name", value)
|
161
162
|
|
162
163
|
@property
|
@@ -175,32 +176,32 @@ class NotificationDestinationArgs:
|
|
175
176
|
@pulumi.input_type
|
176
177
|
class _NotificationDestinationState:
|
177
178
|
def __init__(__self__, *,
|
178
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
179
|
-
active: Optional[pulumi.Input[bool]] = None,
|
179
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
180
|
+
active: Optional[pulumi.Input[builtins.bool]] = None,
|
180
181
|
auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
|
181
182
|
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
|
182
183
|
auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
|
183
|
-
guid: Optional[pulumi.Input[str]] = None,
|
184
|
-
last_sent: Optional[pulumi.Input[str]] = None,
|
185
|
-
name: Optional[pulumi.Input[str]] = None,
|
184
|
+
guid: Optional[pulumi.Input[builtins.str]] = None,
|
185
|
+
last_sent: Optional[pulumi.Input[builtins.str]] = None,
|
186
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
186
187
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]] = None,
|
187
188
|
secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None,
|
188
|
-
status: Optional[pulumi.Input[str]] = None,
|
189
|
-
type: Optional[pulumi.Input[str]] = None):
|
189
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
190
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
190
191
|
"""
|
191
192
|
Input properties used for looking up and filtering NotificationDestination resources.
|
192
|
-
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
193
|
-
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
193
|
+
:param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
194
|
+
:param pulumi.Input[builtins.bool] active: Indicates whether the destination is active.
|
194
195
|
:param pulumi.Input['NotificationDestinationAuthBasicArgs'] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
|
195
196
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
196
197
|
:param pulumi.Input['NotificationDestinationAuthTokenArgs'] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
197
|
-
:param pulumi.Input[str] guid: The unique entity identifier of the destination in New Relic.
|
198
|
-
:param pulumi.Input[str] last_sent: The last time a notification was sent.
|
199
|
-
:param pulumi.Input[str] name: The name of the destination.
|
198
|
+
:param pulumi.Input[builtins.str] guid: The unique entity identifier of the destination in New Relic.
|
199
|
+
:param pulumi.Input[builtins.str] last_sent: The last time a notification was sent.
|
200
|
+
:param pulumi.Input[builtins.str] name: The name of the destination.
|
200
201
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
201
202
|
:param pulumi.Input['NotificationDestinationSecureUrlArgs'] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
202
|
-
:param pulumi.Input[str] status: The status of the destination.
|
203
|
-
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
203
|
+
:param pulumi.Input[builtins.str] status: The status of the destination.
|
204
|
+
:param pulumi.Input[builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
204
205
|
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
205
206
|
MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
|
206
207
|
"""
|
@@ -231,26 +232,26 @@ class _NotificationDestinationState:
|
|
231
232
|
|
232
233
|
@property
|
233
234
|
@pulumi.getter(name="accountId")
|
234
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
235
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
235
236
|
"""
|
236
237
|
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
237
238
|
"""
|
238
239
|
return pulumi.get(self, "account_id")
|
239
240
|
|
240
241
|
@account_id.setter
|
241
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
242
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
242
243
|
pulumi.set(self, "account_id", value)
|
243
244
|
|
244
245
|
@property
|
245
246
|
@pulumi.getter
|
246
|
-
def active(self) -> Optional[pulumi.Input[bool]]:
|
247
|
+
def active(self) -> Optional[pulumi.Input[builtins.bool]]:
|
247
248
|
"""
|
248
249
|
Indicates whether the destination is active.
|
249
250
|
"""
|
250
251
|
return pulumi.get(self, "active")
|
251
252
|
|
252
253
|
@active.setter
|
253
|
-
def active(self, value: Optional[pulumi.Input[bool]]):
|
254
|
+
def active(self, value: Optional[pulumi.Input[builtins.bool]]):
|
254
255
|
pulumi.set(self, "active", value)
|
255
256
|
|
256
257
|
@property
|
@@ -291,38 +292,38 @@ class _NotificationDestinationState:
|
|
291
292
|
|
292
293
|
@property
|
293
294
|
@pulumi.getter
|
294
|
-
def guid(self) -> Optional[pulumi.Input[str]]:
|
295
|
+
def guid(self) -> Optional[pulumi.Input[builtins.str]]:
|
295
296
|
"""
|
296
297
|
The unique entity identifier of the destination in New Relic.
|
297
298
|
"""
|
298
299
|
return pulumi.get(self, "guid")
|
299
300
|
|
300
301
|
@guid.setter
|
301
|
-
def guid(self, value: Optional[pulumi.Input[str]]):
|
302
|
+
def guid(self, value: Optional[pulumi.Input[builtins.str]]):
|
302
303
|
pulumi.set(self, "guid", value)
|
303
304
|
|
304
305
|
@property
|
305
306
|
@pulumi.getter(name="lastSent")
|
306
|
-
def last_sent(self) -> Optional[pulumi.Input[str]]:
|
307
|
+
def last_sent(self) -> Optional[pulumi.Input[builtins.str]]:
|
307
308
|
"""
|
308
309
|
The last time a notification was sent.
|
309
310
|
"""
|
310
311
|
return pulumi.get(self, "last_sent")
|
311
312
|
|
312
313
|
@last_sent.setter
|
313
|
-
def last_sent(self, value: Optional[pulumi.Input[str]]):
|
314
|
+
def last_sent(self, value: Optional[pulumi.Input[builtins.str]]):
|
314
315
|
pulumi.set(self, "last_sent", value)
|
315
316
|
|
316
317
|
@property
|
317
318
|
@pulumi.getter
|
318
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
319
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
319
320
|
"""
|
320
321
|
The name of the destination.
|
321
322
|
"""
|
322
323
|
return pulumi.get(self, "name")
|
323
324
|
|
324
325
|
@name.setter
|
325
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
326
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
326
327
|
pulumi.set(self, "name", value)
|
327
328
|
|
328
329
|
@property
|
@@ -351,19 +352,19 @@ class _NotificationDestinationState:
|
|
351
352
|
|
352
353
|
@property
|
353
354
|
@pulumi.getter
|
354
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
355
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
355
356
|
"""
|
356
357
|
The status of the destination.
|
357
358
|
"""
|
358
359
|
return pulumi.get(self, "status")
|
359
360
|
|
360
361
|
@status.setter
|
361
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
362
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
362
363
|
pulumi.set(self, "status", value)
|
363
364
|
|
364
365
|
@property
|
365
366
|
@pulumi.getter
|
366
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
367
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
367
368
|
"""
|
368
369
|
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
369
370
|
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
@@ -372,7 +373,7 @@ class _NotificationDestinationState:
|
|
372
373
|
return pulumi.get(self, "type")
|
373
374
|
|
374
375
|
@type.setter
|
375
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
376
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
376
377
|
pulumi.set(self, "type", value)
|
377
378
|
|
378
379
|
|
@@ -381,15 +382,15 @@ class NotificationDestination(pulumi.CustomResource):
|
|
381
382
|
def __init__(__self__,
|
382
383
|
resource_name: str,
|
383
384
|
opts: Optional[pulumi.ResourceOptions] = None,
|
384
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
385
|
-
active: Optional[pulumi.Input[bool]] = None,
|
385
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
386
|
+
active: Optional[pulumi.Input[builtins.bool]] = None,
|
386
387
|
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
387
388
|
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
388
389
|
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
389
|
-
name: Optional[pulumi.Input[str]] = None,
|
390
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
390
391
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
391
392
|
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
392
|
-
type: Optional[pulumi.Input[str]] = None,
|
393
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
393
394
|
__props__=None):
|
394
395
|
"""
|
395
396
|
## Import
|
@@ -462,15 +463,15 @@ class NotificationDestination(pulumi.CustomResource):
|
|
462
463
|
|
463
464
|
:param str resource_name: The name of the resource.
|
464
465
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
465
|
-
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
466
|
-
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
466
|
+
:param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
467
|
+
:param pulumi.Input[builtins.bool] active: Indicates whether the destination is active.
|
467
468
|
:param pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
|
468
469
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
469
470
|
:param pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
470
|
-
:param pulumi.Input[str] name: The name of the destination.
|
471
|
+
:param pulumi.Input[builtins.str] name: The name of the destination.
|
471
472
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
472
473
|
:param pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
473
|
-
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
474
|
+
:param pulumi.Input[builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
474
475
|
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
475
476
|
MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
|
476
477
|
"""
|
@@ -564,15 +565,15 @@ class NotificationDestination(pulumi.CustomResource):
|
|
564
565
|
def _internal_init(__self__,
|
565
566
|
resource_name: str,
|
566
567
|
opts: Optional[pulumi.ResourceOptions] = None,
|
567
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
568
|
-
active: Optional[pulumi.Input[bool]] = None,
|
568
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
569
|
+
active: Optional[pulumi.Input[builtins.bool]] = None,
|
569
570
|
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
570
571
|
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
571
572
|
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
572
|
-
name: Optional[pulumi.Input[str]] = None,
|
573
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
573
574
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
574
575
|
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
575
|
-
type: Optional[pulumi.Input[str]] = None,
|
576
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
576
577
|
__props__=None):
|
577
578
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
578
579
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -608,18 +609,18 @@ class NotificationDestination(pulumi.CustomResource):
|
|
608
609
|
def get(resource_name: str,
|
609
610
|
id: pulumi.Input[str],
|
610
611
|
opts: Optional[pulumi.ResourceOptions] = None,
|
611
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
612
|
-
active: Optional[pulumi.Input[bool]] = None,
|
612
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
613
|
+
active: Optional[pulumi.Input[builtins.bool]] = None,
|
613
614
|
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
614
615
|
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
615
616
|
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
616
|
-
guid: Optional[pulumi.Input[str]] = None,
|
617
|
-
last_sent: Optional[pulumi.Input[str]] = None,
|
618
|
-
name: Optional[pulumi.Input[str]] = None,
|
617
|
+
guid: Optional[pulumi.Input[builtins.str]] = None,
|
618
|
+
last_sent: Optional[pulumi.Input[builtins.str]] = None,
|
619
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
619
620
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
620
621
|
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
621
|
-
status: Optional[pulumi.Input[str]] = None,
|
622
|
-
type: Optional[pulumi.Input[str]] = None) -> 'NotificationDestination':
|
622
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
623
|
+
type: Optional[pulumi.Input[builtins.str]] = None) -> 'NotificationDestination':
|
623
624
|
"""
|
624
625
|
Get an existing NotificationDestination resource's state with the given name, id, and optional extra
|
625
626
|
properties used to qualify the lookup.
|
@@ -627,18 +628,18 @@ class NotificationDestination(pulumi.CustomResource):
|
|
627
628
|
:param str resource_name: The unique name of the resulting resource.
|
628
629
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
629
630
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
630
|
-
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
631
|
-
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
631
|
+
:param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
632
|
+
:param pulumi.Input[builtins.bool] active: Indicates whether the destination is active.
|
632
633
|
:param pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
|
633
634
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
634
635
|
:param pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
635
|
-
:param pulumi.Input[str] guid: The unique entity identifier of the destination in New Relic.
|
636
|
-
:param pulumi.Input[str] last_sent: The last time a notification was sent.
|
637
|
-
:param pulumi.Input[str] name: The name of the destination.
|
636
|
+
:param pulumi.Input[builtins.str] guid: The unique entity identifier of the destination in New Relic.
|
637
|
+
:param pulumi.Input[builtins.str] last_sent: The last time a notification was sent.
|
638
|
+
:param pulumi.Input[builtins.str] name: The name of the destination.
|
638
639
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
639
640
|
:param pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
640
|
-
:param pulumi.Input[str] status: The status of the destination.
|
641
|
-
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
641
|
+
:param pulumi.Input[builtins.str] status: The status of the destination.
|
642
|
+
:param pulumi.Input[builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
642
643
|
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
643
644
|
MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
|
644
645
|
"""
|
@@ -662,7 +663,7 @@ class NotificationDestination(pulumi.CustomResource):
|
|
662
663
|
|
663
664
|
@property
|
664
665
|
@pulumi.getter(name="accountId")
|
665
|
-
def account_id(self) -> pulumi.Output[str]:
|
666
|
+
def account_id(self) -> pulumi.Output[builtins.str]:
|
666
667
|
"""
|
667
668
|
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
668
669
|
"""
|
@@ -670,7 +671,7 @@ class NotificationDestination(pulumi.CustomResource):
|
|
670
671
|
|
671
672
|
@property
|
672
673
|
@pulumi.getter
|
673
|
-
def active(self) -> pulumi.Output[Optional[bool]]:
|
674
|
+
def active(self) -> pulumi.Output[Optional[builtins.bool]]:
|
674
675
|
"""
|
675
676
|
Indicates whether the destination is active.
|
676
677
|
"""
|
@@ -702,7 +703,7 @@ class NotificationDestination(pulumi.CustomResource):
|
|
702
703
|
|
703
704
|
@property
|
704
705
|
@pulumi.getter
|
705
|
-
def guid(self) -> pulumi.Output[str]:
|
706
|
+
def guid(self) -> pulumi.Output[builtins.str]:
|
706
707
|
"""
|
707
708
|
The unique entity identifier of the destination in New Relic.
|
708
709
|
"""
|
@@ -710,7 +711,7 @@ class NotificationDestination(pulumi.CustomResource):
|
|
710
711
|
|
711
712
|
@property
|
712
713
|
@pulumi.getter(name="lastSent")
|
713
|
-
def last_sent(self) -> pulumi.Output[str]:
|
714
|
+
def last_sent(self) -> pulumi.Output[builtins.str]:
|
714
715
|
"""
|
715
716
|
The last time a notification was sent.
|
716
717
|
"""
|
@@ -718,7 +719,7 @@ class NotificationDestination(pulumi.CustomResource):
|
|
718
719
|
|
719
720
|
@property
|
720
721
|
@pulumi.getter
|
721
|
-
def name(self) -> pulumi.Output[str]:
|
722
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
722
723
|
"""
|
723
724
|
The name of the destination.
|
724
725
|
"""
|
@@ -742,7 +743,7 @@ class NotificationDestination(pulumi.CustomResource):
|
|
742
743
|
|
743
744
|
@property
|
744
745
|
@pulumi.getter
|
745
|
-
def status(self) -> pulumi.Output[str]:
|
746
|
+
def status(self) -> pulumi.Output[builtins.str]:
|
746
747
|
"""
|
747
748
|
The status of the destination.
|
748
749
|
"""
|
@@ -750,7 +751,7 @@ class NotificationDestination(pulumi.CustomResource):
|
|
750
751
|
|
751
752
|
@property
|
752
753
|
@pulumi.getter
|
753
|
-
def type(self) -> pulumi.Output[str]:
|
754
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
754
755
|
"""
|
755
756
|
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
756
757
|
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|