pulumi-newrelic 5.47.0a1750228491__py3-none-any.whl → 5.57.2a1762486520__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 +18 -1
- pulumi_newrelic/_inputs.py +4271 -3797
- pulumi_newrelic/account_management.py +35 -36
- pulumi_newrelic/alert_channel.py +61 -62
- 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 +190 -159
- pulumi_newrelic/browser_application.py +113 -114
- pulumi_newrelic/cloud/__init__.py +2 -1
- pulumi_newrelic/cloud/_inputs.py +2225 -2118
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +99 -96
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +69 -70
- pulumi_newrelic/cloud/aws_integrations.py +238 -192
- pulumi_newrelic/cloud/aws_link_account.py +69 -70
- pulumi_newrelic/cloud/azure_integrations.py +178 -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/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1511 -1410
- 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 +77 -22
- pulumi_newrelic/events_to_metrics_rule.py +95 -96
- pulumi_newrelic/get_account.py +21 -22
- pulumi_newrelic/get_alert_channel.py +24 -21
- pulumi_newrelic/get_alert_policy.py +29 -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 +30 -31
- 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 +146 -154
- pulumi_newrelic/notification_channel.py +164 -165
- pulumi_newrelic/notification_destination.py +121 -136
- pulumi_newrelic/nrql_alert_condition.py +479 -431
- pulumi_newrelic/nrql_drop_rule.py +106 -147
- 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 +114 -115
- pulumi_newrelic/outputs.py +2992 -2674
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- 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 +364 -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.47.0a1750228491.dist-info → pulumi_newrelic-5.57.2a1762486520.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.57.2a1762486520.dist-info/RECORD +92 -0
- pulumi_newrelic-5.47.0a1750228491.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.47.0a1750228491.dist-info → pulumi_newrelic-5.57.2a1762486520.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.47.0a1750228491.dist-info → pulumi_newrelic-5.57.2a1762486520.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
|
|
@@ -23,26 +22,24 @@ __all__ = ['NotificationDestinationArgs', 'NotificationDestination']
|
|
|
23
22
|
class NotificationDestinationArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
24
|
properties: pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]],
|
|
26
|
-
type: pulumi.Input[
|
|
27
|
-
account_id: Optional[pulumi.Input[
|
|
28
|
-
active: Optional[pulumi.Input[
|
|
25
|
+
type: pulumi.Input[_builtins.str],
|
|
26
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
active: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
29
28
|
auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
|
|
30
29
|
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
|
|
31
30
|
auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
|
|
32
|
-
name: Optional[pulumi.Input[
|
|
31
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
32
|
secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None):
|
|
34
33
|
"""
|
|
35
34
|
The set of arguments for constructing a NotificationDestination resource.
|
|
36
35
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
|
37
|
-
:param pulumi.Input[
|
|
38
|
-
|
|
39
|
-
|
|
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.
|
|
36
|
+
:param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
|
|
37
|
+
: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.
|
|
38
|
+
:param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
|
|
42
39
|
: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.
|
|
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.
|
|
40
|
+
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]] auth_custom_headers: A nested block that describes a custom header authentication credentials. This field is required when the destination type is WORKFLOW_AUTOMATION and optional for other destination types. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
|
44
41
|
: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.
|
|
45
|
-
:param pulumi.Input[
|
|
42
|
+
:param pulumi.Input[_builtins.str] name: The name of the destination.
|
|
46
43
|
: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.
|
|
47
44
|
"""
|
|
48
45
|
pulumi.set(__self__, "properties", properties)
|
|
@@ -62,7 +59,7 @@ class NotificationDestinationArgs:
|
|
|
62
59
|
if secure_url is not None:
|
|
63
60
|
pulumi.set(__self__, "secure_url", secure_url)
|
|
64
61
|
|
|
65
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
66
63
|
@pulumi.getter
|
|
67
64
|
def properties(self) -> pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]:
|
|
68
65
|
"""
|
|
@@ -74,45 +71,43 @@ class NotificationDestinationArgs:
|
|
|
74
71
|
def properties(self, value: pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]):
|
|
75
72
|
pulumi.set(self, "properties", value)
|
|
76
73
|
|
|
77
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
78
75
|
@pulumi.getter
|
|
79
|
-
def type(self) -> pulumi.Input[
|
|
76
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
80
77
|
"""
|
|
81
|
-
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
|
82
|
-
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
|
83
|
-
MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
|
|
78
|
+
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
|
|
84
79
|
"""
|
|
85
80
|
return pulumi.get(self, "type")
|
|
86
81
|
|
|
87
82
|
@type.setter
|
|
88
|
-
def type(self, value: pulumi.Input[
|
|
83
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
89
84
|
pulumi.set(self, "type", value)
|
|
90
85
|
|
|
91
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
92
87
|
@pulumi.getter(name="accountId")
|
|
93
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
88
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
94
89
|
"""
|
|
95
90
|
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
|
96
91
|
"""
|
|
97
92
|
return pulumi.get(self, "account_id")
|
|
98
93
|
|
|
99
94
|
@account_id.setter
|
|
100
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
95
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
101
96
|
pulumi.set(self, "account_id", value)
|
|
102
97
|
|
|
103
|
-
@property
|
|
98
|
+
@_builtins.property
|
|
104
99
|
@pulumi.getter
|
|
105
|
-
def active(self) -> Optional[pulumi.Input[
|
|
100
|
+
def active(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
106
101
|
"""
|
|
107
102
|
Indicates whether the destination is active.
|
|
108
103
|
"""
|
|
109
104
|
return pulumi.get(self, "active")
|
|
110
105
|
|
|
111
106
|
@active.setter
|
|
112
|
-
def active(self, value: Optional[pulumi.Input[
|
|
107
|
+
def active(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
113
108
|
pulumi.set(self, "active", value)
|
|
114
109
|
|
|
115
|
-
@property
|
|
110
|
+
@_builtins.property
|
|
116
111
|
@pulumi.getter(name="authBasic")
|
|
117
112
|
def auth_basic(self) -> Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]:
|
|
118
113
|
"""
|
|
@@ -124,11 +119,11 @@ class NotificationDestinationArgs:
|
|
|
124
119
|
def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
|
|
125
120
|
pulumi.set(self, "auth_basic", value)
|
|
126
121
|
|
|
127
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
128
123
|
@pulumi.getter(name="authCustomHeaders")
|
|
129
124
|
def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
|
|
130
125
|
"""
|
|
131
|
-
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.
|
|
126
|
+
A nested block that describes a custom header authentication credentials. This field is required when the destination type is WORKFLOW_AUTOMATION and optional for other destination types. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
|
132
127
|
"""
|
|
133
128
|
return pulumi.get(self, "auth_custom_headers")
|
|
134
129
|
|
|
@@ -136,7 +131,7 @@ class NotificationDestinationArgs:
|
|
|
136
131
|
def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
|
|
137
132
|
pulumi.set(self, "auth_custom_headers", value)
|
|
138
133
|
|
|
139
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
140
135
|
@pulumi.getter(name="authToken")
|
|
141
136
|
def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
|
|
142
137
|
"""
|
|
@@ -148,19 +143,19 @@ class NotificationDestinationArgs:
|
|
|
148
143
|
def auth_token(self, value: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]):
|
|
149
144
|
pulumi.set(self, "auth_token", value)
|
|
150
145
|
|
|
151
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
152
147
|
@pulumi.getter
|
|
153
|
-
def name(self) -> Optional[pulumi.Input[
|
|
148
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
154
149
|
"""
|
|
155
150
|
The name of the destination.
|
|
156
151
|
"""
|
|
157
152
|
return pulumi.get(self, "name")
|
|
158
153
|
|
|
159
154
|
@name.setter
|
|
160
|
-
def name(self, value: Optional[pulumi.Input[
|
|
155
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
161
156
|
pulumi.set(self, "name", value)
|
|
162
157
|
|
|
163
|
-
@property
|
|
158
|
+
@_builtins.property
|
|
164
159
|
@pulumi.getter(name="secureUrl")
|
|
165
160
|
def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
|
|
166
161
|
"""
|
|
@@ -176,34 +171,32 @@ class NotificationDestinationArgs:
|
|
|
176
171
|
@pulumi.input_type
|
|
177
172
|
class _NotificationDestinationState:
|
|
178
173
|
def __init__(__self__, *,
|
|
179
|
-
account_id: Optional[pulumi.Input[
|
|
180
|
-
active: Optional[pulumi.Input[
|
|
174
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
175
|
+
active: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
181
176
|
auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
|
|
182
177
|
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
|
|
183
178
|
auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
|
|
184
|
-
guid: Optional[pulumi.Input[
|
|
185
|
-
last_sent: Optional[pulumi.Input[
|
|
186
|
-
name: Optional[pulumi.Input[
|
|
179
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
180
|
+
last_sent: Optional[pulumi.Input[_builtins.str]] = None,
|
|
181
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
187
182
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]] = None,
|
|
188
183
|
secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None,
|
|
189
|
-
status: Optional[pulumi.Input[
|
|
190
|
-
type: Optional[pulumi.Input[
|
|
184
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
185
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
191
186
|
"""
|
|
192
187
|
Input properties used for looking up and filtering NotificationDestination resources.
|
|
193
|
-
:param pulumi.Input[
|
|
194
|
-
:param pulumi.Input[
|
|
188
|
+
: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.
|
|
189
|
+
:param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
|
|
195
190
|
: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.
|
|
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.
|
|
191
|
+
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]] auth_custom_headers: A nested block that describes a custom header authentication credentials. This field is required when the destination type is WORKFLOW_AUTOMATION and optional for other destination types. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
|
197
192
|
: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.
|
|
198
|
-
:param pulumi.Input[
|
|
199
|
-
:param pulumi.Input[
|
|
200
|
-
:param pulumi.Input[
|
|
193
|
+
:param pulumi.Input[_builtins.str] guid: The unique entity identifier of the destination in New Relic.
|
|
194
|
+
:param pulumi.Input[_builtins.str] last_sent: The last time a notification was sent.
|
|
195
|
+
:param pulumi.Input[_builtins.str] name: The name of the destination.
|
|
201
196
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
|
202
197
|
: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.
|
|
203
|
-
:param pulumi.Input[
|
|
204
|
-
:param pulumi.Input[
|
|
205
|
-
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
|
206
|
-
MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
|
|
198
|
+
:param pulumi.Input[_builtins.str] status: The status of the destination.
|
|
199
|
+
:param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
|
|
207
200
|
"""
|
|
208
201
|
if account_id is not None:
|
|
209
202
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -230,31 +223,31 @@ class _NotificationDestinationState:
|
|
|
230
223
|
if type is not None:
|
|
231
224
|
pulumi.set(__self__, "type", type)
|
|
232
225
|
|
|
233
|
-
@property
|
|
226
|
+
@_builtins.property
|
|
234
227
|
@pulumi.getter(name="accountId")
|
|
235
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
228
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
236
229
|
"""
|
|
237
230
|
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
|
238
231
|
"""
|
|
239
232
|
return pulumi.get(self, "account_id")
|
|
240
233
|
|
|
241
234
|
@account_id.setter
|
|
242
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
235
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
243
236
|
pulumi.set(self, "account_id", value)
|
|
244
237
|
|
|
245
|
-
@property
|
|
238
|
+
@_builtins.property
|
|
246
239
|
@pulumi.getter
|
|
247
|
-
def active(self) -> Optional[pulumi.Input[
|
|
240
|
+
def active(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
248
241
|
"""
|
|
249
242
|
Indicates whether the destination is active.
|
|
250
243
|
"""
|
|
251
244
|
return pulumi.get(self, "active")
|
|
252
245
|
|
|
253
246
|
@active.setter
|
|
254
|
-
def active(self, value: Optional[pulumi.Input[
|
|
247
|
+
def active(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
255
248
|
pulumi.set(self, "active", value)
|
|
256
249
|
|
|
257
|
-
@property
|
|
250
|
+
@_builtins.property
|
|
258
251
|
@pulumi.getter(name="authBasic")
|
|
259
252
|
def auth_basic(self) -> Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]:
|
|
260
253
|
"""
|
|
@@ -266,11 +259,11 @@ class _NotificationDestinationState:
|
|
|
266
259
|
def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
|
|
267
260
|
pulumi.set(self, "auth_basic", value)
|
|
268
261
|
|
|
269
|
-
@property
|
|
262
|
+
@_builtins.property
|
|
270
263
|
@pulumi.getter(name="authCustomHeaders")
|
|
271
264
|
def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
|
|
272
265
|
"""
|
|
273
|
-
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.
|
|
266
|
+
A nested block that describes a custom header authentication credentials. This field is required when the destination type is WORKFLOW_AUTOMATION and optional for other destination types. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
|
274
267
|
"""
|
|
275
268
|
return pulumi.get(self, "auth_custom_headers")
|
|
276
269
|
|
|
@@ -278,7 +271,7 @@ class _NotificationDestinationState:
|
|
|
278
271
|
def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
|
|
279
272
|
pulumi.set(self, "auth_custom_headers", value)
|
|
280
273
|
|
|
281
|
-
@property
|
|
274
|
+
@_builtins.property
|
|
282
275
|
@pulumi.getter(name="authToken")
|
|
283
276
|
def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
|
|
284
277
|
"""
|
|
@@ -290,43 +283,43 @@ class _NotificationDestinationState:
|
|
|
290
283
|
def auth_token(self, value: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]):
|
|
291
284
|
pulumi.set(self, "auth_token", value)
|
|
292
285
|
|
|
293
|
-
@property
|
|
286
|
+
@_builtins.property
|
|
294
287
|
@pulumi.getter
|
|
295
|
-
def guid(self) -> Optional[pulumi.Input[
|
|
288
|
+
def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
296
289
|
"""
|
|
297
290
|
The unique entity identifier of the destination in New Relic.
|
|
298
291
|
"""
|
|
299
292
|
return pulumi.get(self, "guid")
|
|
300
293
|
|
|
301
294
|
@guid.setter
|
|
302
|
-
def guid(self, value: Optional[pulumi.Input[
|
|
295
|
+
def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
303
296
|
pulumi.set(self, "guid", value)
|
|
304
297
|
|
|
305
|
-
@property
|
|
298
|
+
@_builtins.property
|
|
306
299
|
@pulumi.getter(name="lastSent")
|
|
307
|
-
def last_sent(self) -> Optional[pulumi.Input[
|
|
300
|
+
def last_sent(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
308
301
|
"""
|
|
309
302
|
The last time a notification was sent.
|
|
310
303
|
"""
|
|
311
304
|
return pulumi.get(self, "last_sent")
|
|
312
305
|
|
|
313
306
|
@last_sent.setter
|
|
314
|
-
def last_sent(self, value: Optional[pulumi.Input[
|
|
307
|
+
def last_sent(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
315
308
|
pulumi.set(self, "last_sent", value)
|
|
316
309
|
|
|
317
|
-
@property
|
|
310
|
+
@_builtins.property
|
|
318
311
|
@pulumi.getter
|
|
319
|
-
def name(self) -> Optional[pulumi.Input[
|
|
312
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
320
313
|
"""
|
|
321
314
|
The name of the destination.
|
|
322
315
|
"""
|
|
323
316
|
return pulumi.get(self, "name")
|
|
324
317
|
|
|
325
318
|
@name.setter
|
|
326
|
-
def name(self, value: Optional[pulumi.Input[
|
|
319
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
327
320
|
pulumi.set(self, "name", value)
|
|
328
321
|
|
|
329
|
-
@property
|
|
322
|
+
@_builtins.property
|
|
330
323
|
@pulumi.getter
|
|
331
324
|
def properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]]:
|
|
332
325
|
"""
|
|
@@ -338,7 +331,7 @@ class _NotificationDestinationState:
|
|
|
338
331
|
def properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]]):
|
|
339
332
|
pulumi.set(self, "properties", value)
|
|
340
333
|
|
|
341
|
-
@property
|
|
334
|
+
@_builtins.property
|
|
342
335
|
@pulumi.getter(name="secureUrl")
|
|
343
336
|
def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
|
|
344
337
|
"""
|
|
@@ -350,30 +343,28 @@ class _NotificationDestinationState:
|
|
|
350
343
|
def secure_url(self, value: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]):
|
|
351
344
|
pulumi.set(self, "secure_url", value)
|
|
352
345
|
|
|
353
|
-
@property
|
|
346
|
+
@_builtins.property
|
|
354
347
|
@pulumi.getter
|
|
355
|
-
def status(self) -> Optional[pulumi.Input[
|
|
348
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
356
349
|
"""
|
|
357
350
|
The status of the destination.
|
|
358
351
|
"""
|
|
359
352
|
return pulumi.get(self, "status")
|
|
360
353
|
|
|
361
354
|
@status.setter
|
|
362
|
-
def status(self, value: Optional[pulumi.Input[
|
|
355
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
363
356
|
pulumi.set(self, "status", value)
|
|
364
357
|
|
|
365
|
-
@property
|
|
358
|
+
@_builtins.property
|
|
366
359
|
@pulumi.getter
|
|
367
|
-
def type(self) -> Optional[pulumi.Input[
|
|
360
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
368
361
|
"""
|
|
369
|
-
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
|
370
|
-
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
|
371
|
-
MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
|
|
362
|
+
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
|
|
372
363
|
"""
|
|
373
364
|
return pulumi.get(self, "type")
|
|
374
365
|
|
|
375
366
|
@type.setter
|
|
376
|
-
def type(self, value: Optional[pulumi.Input[
|
|
367
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
377
368
|
pulumi.set(self, "type", value)
|
|
378
369
|
|
|
379
370
|
|
|
@@ -383,15 +374,15 @@ class NotificationDestination(pulumi.CustomResource):
|
|
|
383
374
|
def __init__(__self__,
|
|
384
375
|
resource_name: str,
|
|
385
376
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
386
|
-
account_id: Optional[pulumi.Input[
|
|
387
|
-
active: Optional[pulumi.Input[
|
|
377
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
378
|
+
active: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
388
379
|
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
|
389
380
|
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
|
390
381
|
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
|
391
|
-
name: Optional[pulumi.Input[
|
|
382
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
392
383
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
|
393
384
|
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
|
394
|
-
type: Optional[pulumi.Input[
|
|
385
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
395
386
|
__props__=None):
|
|
396
387
|
"""
|
|
397
388
|
## Import
|
|
@@ -464,17 +455,15 @@ class NotificationDestination(pulumi.CustomResource):
|
|
|
464
455
|
|
|
465
456
|
:param str resource_name: The name of the resource.
|
|
466
457
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
467
|
-
:param pulumi.Input[
|
|
468
|
-
:param pulumi.Input[
|
|
458
|
+
: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.
|
|
459
|
+
:param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
|
|
469
460
|
: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.
|
|
470
|
-
: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.
|
|
461
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. This field is required when the destination type is WORKFLOW_AUTOMATION and optional for other destination types. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
|
471
462
|
: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.
|
|
472
|
-
:param pulumi.Input[
|
|
463
|
+
:param pulumi.Input[_builtins.str] name: The name of the destination.
|
|
473
464
|
: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.
|
|
474
465
|
: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.
|
|
475
|
-
:param pulumi.Input[
|
|
476
|
-
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
|
477
|
-
MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
|
|
466
|
+
:param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
|
|
478
467
|
"""
|
|
479
468
|
...
|
|
480
469
|
@overload
|
|
@@ -566,15 +555,15 @@ class NotificationDestination(pulumi.CustomResource):
|
|
|
566
555
|
def _internal_init(__self__,
|
|
567
556
|
resource_name: str,
|
|
568
557
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
569
|
-
account_id: Optional[pulumi.Input[
|
|
570
|
-
active: Optional[pulumi.Input[
|
|
558
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
559
|
+
active: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
571
560
|
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
|
572
561
|
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
|
573
562
|
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
|
574
|
-
name: Optional[pulumi.Input[
|
|
563
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
575
564
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
|
576
565
|
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
|
577
|
-
type: Optional[pulumi.Input[
|
|
566
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
578
567
|
__props__=None):
|
|
579
568
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
580
569
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -610,18 +599,18 @@ class NotificationDestination(pulumi.CustomResource):
|
|
|
610
599
|
def get(resource_name: str,
|
|
611
600
|
id: pulumi.Input[str],
|
|
612
601
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
613
|
-
account_id: Optional[pulumi.Input[
|
|
614
|
-
active: Optional[pulumi.Input[
|
|
602
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
603
|
+
active: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
615
604
|
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
|
616
605
|
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
|
617
606
|
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
|
618
|
-
guid: Optional[pulumi.Input[
|
|
619
|
-
last_sent: Optional[pulumi.Input[
|
|
620
|
-
name: Optional[pulumi.Input[
|
|
607
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
608
|
+
last_sent: Optional[pulumi.Input[_builtins.str]] = None,
|
|
609
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
621
610
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
|
622
611
|
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
|
623
|
-
status: Optional[pulumi.Input[
|
|
624
|
-
type: Optional[pulumi.Input[
|
|
612
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
613
|
+
type: Optional[pulumi.Input[_builtins.str]] = None) -> 'NotificationDestination':
|
|
625
614
|
"""
|
|
626
615
|
Get an existing NotificationDestination resource's state with the given name, id, and optional extra
|
|
627
616
|
properties used to qualify the lookup.
|
|
@@ -629,20 +618,18 @@ class NotificationDestination(pulumi.CustomResource):
|
|
|
629
618
|
:param str resource_name: The unique name of the resulting resource.
|
|
630
619
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
631
620
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
632
|
-
:param pulumi.Input[
|
|
633
|
-
:param pulumi.Input[
|
|
621
|
+
: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.
|
|
622
|
+
:param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
|
|
634
623
|
: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.
|
|
635
|
-
: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.
|
|
624
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. This field is required when the destination type is WORKFLOW_AUTOMATION and optional for other destination types. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
|
636
625
|
: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.
|
|
637
|
-
:param pulumi.Input[
|
|
638
|
-
:param pulumi.Input[
|
|
639
|
-
:param pulumi.Input[
|
|
626
|
+
:param pulumi.Input[_builtins.str] guid: The unique entity identifier of the destination in New Relic.
|
|
627
|
+
:param pulumi.Input[_builtins.str] last_sent: The last time a notification was sent.
|
|
628
|
+
:param pulumi.Input[_builtins.str] name: The name of the destination.
|
|
640
629
|
: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.
|
|
641
630
|
: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.
|
|
642
|
-
:param pulumi.Input[
|
|
643
|
-
:param pulumi.Input[
|
|
644
|
-
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
|
645
|
-
MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
|
|
631
|
+
:param pulumi.Input[_builtins.str] status: The status of the destination.
|
|
632
|
+
:param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
|
|
646
633
|
"""
|
|
647
634
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
648
635
|
|
|
@@ -662,23 +649,23 @@ class NotificationDestination(pulumi.CustomResource):
|
|
|
662
649
|
__props__.__dict__["type"] = type
|
|
663
650
|
return NotificationDestination(resource_name, opts=opts, __props__=__props__)
|
|
664
651
|
|
|
665
|
-
@property
|
|
652
|
+
@_builtins.property
|
|
666
653
|
@pulumi.getter(name="accountId")
|
|
667
|
-
def account_id(self) -> pulumi.Output[
|
|
654
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
668
655
|
"""
|
|
669
656
|
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
|
670
657
|
"""
|
|
671
658
|
return pulumi.get(self, "account_id")
|
|
672
659
|
|
|
673
|
-
@property
|
|
660
|
+
@_builtins.property
|
|
674
661
|
@pulumi.getter
|
|
675
|
-
def active(self) -> pulumi.Output[Optional[
|
|
662
|
+
def active(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
676
663
|
"""
|
|
677
664
|
Indicates whether the destination is active.
|
|
678
665
|
"""
|
|
679
666
|
return pulumi.get(self, "active")
|
|
680
667
|
|
|
681
|
-
@property
|
|
668
|
+
@_builtins.property
|
|
682
669
|
@pulumi.getter(name="authBasic")
|
|
683
670
|
def auth_basic(self) -> pulumi.Output[Optional['outputs.NotificationDestinationAuthBasic']]:
|
|
684
671
|
"""
|
|
@@ -686,15 +673,15 @@ class NotificationDestination(pulumi.CustomResource):
|
|
|
686
673
|
"""
|
|
687
674
|
return pulumi.get(self, "auth_basic")
|
|
688
675
|
|
|
689
|
-
@property
|
|
676
|
+
@_builtins.property
|
|
690
677
|
@pulumi.getter(name="authCustomHeaders")
|
|
691
678
|
def auth_custom_headers(self) -> pulumi.Output[Optional[Sequence['outputs.NotificationDestinationAuthCustomHeader']]]:
|
|
692
679
|
"""
|
|
693
|
-
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.
|
|
680
|
+
A nested block that describes a custom header authentication credentials. This field is required when the destination type is WORKFLOW_AUTOMATION and optional for other destination types. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
|
694
681
|
"""
|
|
695
682
|
return pulumi.get(self, "auth_custom_headers")
|
|
696
683
|
|
|
697
|
-
@property
|
|
684
|
+
@_builtins.property
|
|
698
685
|
@pulumi.getter(name="authToken")
|
|
699
686
|
def auth_token(self) -> pulumi.Output[Optional['outputs.NotificationDestinationAuthToken']]:
|
|
700
687
|
"""
|
|
@@ -702,31 +689,31 @@ class NotificationDestination(pulumi.CustomResource):
|
|
|
702
689
|
"""
|
|
703
690
|
return pulumi.get(self, "auth_token")
|
|
704
691
|
|
|
705
|
-
@property
|
|
692
|
+
@_builtins.property
|
|
706
693
|
@pulumi.getter
|
|
707
|
-
def guid(self) -> pulumi.Output[
|
|
694
|
+
def guid(self) -> pulumi.Output[_builtins.str]:
|
|
708
695
|
"""
|
|
709
696
|
The unique entity identifier of the destination in New Relic.
|
|
710
697
|
"""
|
|
711
698
|
return pulumi.get(self, "guid")
|
|
712
699
|
|
|
713
|
-
@property
|
|
700
|
+
@_builtins.property
|
|
714
701
|
@pulumi.getter(name="lastSent")
|
|
715
|
-
def last_sent(self) -> pulumi.Output[
|
|
702
|
+
def last_sent(self) -> pulumi.Output[_builtins.str]:
|
|
716
703
|
"""
|
|
717
704
|
The last time a notification was sent.
|
|
718
705
|
"""
|
|
719
706
|
return pulumi.get(self, "last_sent")
|
|
720
707
|
|
|
721
|
-
@property
|
|
708
|
+
@_builtins.property
|
|
722
709
|
@pulumi.getter
|
|
723
|
-
def name(self) -> pulumi.Output[
|
|
710
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
724
711
|
"""
|
|
725
712
|
The name of the destination.
|
|
726
713
|
"""
|
|
727
714
|
return pulumi.get(self, "name")
|
|
728
715
|
|
|
729
|
-
@property
|
|
716
|
+
@_builtins.property
|
|
730
717
|
@pulumi.getter
|
|
731
718
|
def properties(self) -> pulumi.Output[Sequence['outputs.NotificationDestinationProperty']]:
|
|
732
719
|
"""
|
|
@@ -734,7 +721,7 @@ class NotificationDestination(pulumi.CustomResource):
|
|
|
734
721
|
"""
|
|
735
722
|
return pulumi.get(self, "properties")
|
|
736
723
|
|
|
737
|
-
@property
|
|
724
|
+
@_builtins.property
|
|
738
725
|
@pulumi.getter(name="secureUrl")
|
|
739
726
|
def secure_url(self) -> pulumi.Output[Optional['outputs.NotificationDestinationSecureUrl']]:
|
|
740
727
|
"""
|
|
@@ -742,21 +729,19 @@ class NotificationDestination(pulumi.CustomResource):
|
|
|
742
729
|
"""
|
|
743
730
|
return pulumi.get(self, "secure_url")
|
|
744
731
|
|
|
745
|
-
@property
|
|
732
|
+
@_builtins.property
|
|
746
733
|
@pulumi.getter
|
|
747
|
-
def status(self) -> pulumi.Output[
|
|
734
|
+
def status(self) -> pulumi.Output[_builtins.str]:
|
|
748
735
|
"""
|
|
749
736
|
The status of the destination.
|
|
750
737
|
"""
|
|
751
738
|
return pulumi.get(self, "status")
|
|
752
739
|
|
|
753
|
-
@property
|
|
740
|
+
@_builtins.property
|
|
754
741
|
@pulumi.getter
|
|
755
|
-
def type(self) -> pulumi.Output[
|
|
742
|
+
def type(self) -> pulumi.Output[_builtins.str]:
|
|
756
743
|
"""
|
|
757
|
-
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
|
758
|
-
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
|
759
|
-
MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS).
|
|
744
|
+
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
|
|
760
745
|
"""
|
|
761
746
|
return pulumi.get(self, "type")
|
|
762
747
|
|