pulumi-newrelic 5.45.0a1743574084__py3-none-any.whl → 5.45.0a1744265343__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.0a1744265343.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.45.0a1744265343.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.0a1744265343.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744265343.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
|
@@ -19,12 +20,12 @@ __all__ = ['AccountManagementArgs', 'AccountManagement']
|
|
19
20
|
@pulumi.input_type
|
20
21
|
class AccountManagementArgs:
|
21
22
|
def __init__(__self__, *,
|
22
|
-
region: pulumi.Input[str],
|
23
|
-
name: Optional[pulumi.Input[str]] = None):
|
23
|
+
region: pulumi.Input[builtins.str],
|
24
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
24
25
|
"""
|
25
26
|
The set of arguments for constructing a AccountManagement resource.
|
26
|
-
:param pulumi.Input[str] region: The region code of the account. One of: `us01`, `eu01`.
|
27
|
-
:param pulumi.Input[str] name: The name of the Account.
|
27
|
+
:param pulumi.Input[builtins.str] region: The region code of the account. One of: `us01`, `eu01`.
|
28
|
+
:param pulumi.Input[builtins.str] name: The name of the Account.
|
28
29
|
"""
|
29
30
|
pulumi.set(__self__, "region", region)
|
30
31
|
if name is not None:
|
@@ -32,38 +33,38 @@ class AccountManagementArgs:
|
|
32
33
|
|
33
34
|
@property
|
34
35
|
@pulumi.getter
|
35
|
-
def region(self) -> pulumi.Input[str]:
|
36
|
+
def region(self) -> pulumi.Input[builtins.str]:
|
36
37
|
"""
|
37
38
|
The region code of the account. One of: `us01`, `eu01`.
|
38
39
|
"""
|
39
40
|
return pulumi.get(self, "region")
|
40
41
|
|
41
42
|
@region.setter
|
42
|
-
def region(self, value: pulumi.Input[str]):
|
43
|
+
def region(self, value: pulumi.Input[builtins.str]):
|
43
44
|
pulumi.set(self, "region", value)
|
44
45
|
|
45
46
|
@property
|
46
47
|
@pulumi.getter
|
47
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
48
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
48
49
|
"""
|
49
50
|
The name of the Account.
|
50
51
|
"""
|
51
52
|
return pulumi.get(self, "name")
|
52
53
|
|
53
54
|
@name.setter
|
54
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
55
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
55
56
|
pulumi.set(self, "name", value)
|
56
57
|
|
57
58
|
|
58
59
|
@pulumi.input_type
|
59
60
|
class _AccountManagementState:
|
60
61
|
def __init__(__self__, *,
|
61
|
-
name: Optional[pulumi.Input[str]] = None,
|
62
|
-
region: Optional[pulumi.Input[str]] = None):
|
62
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
63
|
+
region: Optional[pulumi.Input[builtins.str]] = None):
|
63
64
|
"""
|
64
65
|
Input properties used for looking up and filtering AccountManagement resources.
|
65
|
-
:param pulumi.Input[str] name: The name of the Account.
|
66
|
-
:param pulumi.Input[str] region: The region code of the account. One of: `us01`, `eu01`.
|
66
|
+
:param pulumi.Input[builtins.str] name: The name of the Account.
|
67
|
+
:param pulumi.Input[builtins.str] region: The region code of the account. One of: `us01`, `eu01`.
|
67
68
|
"""
|
68
69
|
if name is not None:
|
69
70
|
pulumi.set(__self__, "name", name)
|
@@ -72,26 +73,26 @@ class _AccountManagementState:
|
|
72
73
|
|
73
74
|
@property
|
74
75
|
@pulumi.getter
|
75
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
76
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
76
77
|
"""
|
77
78
|
The name of the Account.
|
78
79
|
"""
|
79
80
|
return pulumi.get(self, "name")
|
80
81
|
|
81
82
|
@name.setter
|
82
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
83
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
83
84
|
pulumi.set(self, "name", value)
|
84
85
|
|
85
86
|
@property
|
86
87
|
@pulumi.getter
|
87
|
-
def region(self) -> Optional[pulumi.Input[str]]:
|
88
|
+
def region(self) -> Optional[pulumi.Input[builtins.str]]:
|
88
89
|
"""
|
89
90
|
The region code of the account. One of: `us01`, `eu01`.
|
90
91
|
"""
|
91
92
|
return pulumi.get(self, "region")
|
92
93
|
|
93
94
|
@region.setter
|
94
|
-
def region(self, value: Optional[pulumi.Input[str]]):
|
95
|
+
def region(self, value: Optional[pulumi.Input[builtins.str]]):
|
95
96
|
pulumi.set(self, "region", value)
|
96
97
|
|
97
98
|
|
@@ -100,8 +101,8 @@ class AccountManagement(pulumi.CustomResource):
|
|
100
101
|
def __init__(__self__,
|
101
102
|
resource_name: str,
|
102
103
|
opts: Optional[pulumi.ResourceOptions] = None,
|
103
|
-
name: Optional[pulumi.Input[str]] = None,
|
104
|
-
region: Optional[pulumi.Input[str]] = None,
|
104
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
105
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
105
106
|
__props__=None):
|
106
107
|
"""
|
107
108
|
Use this resource to create and manage New Relic sub accounts.
|
@@ -132,8 +133,8 @@ class AccountManagement(pulumi.CustomResource):
|
|
132
133
|
|
133
134
|
:param str resource_name: The name of the resource.
|
134
135
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
135
|
-
:param pulumi.Input[str] name: The name of the Account.
|
136
|
-
:param pulumi.Input[str] region: The region code of the account. One of: `us01`, `eu01`.
|
136
|
+
:param pulumi.Input[builtins.str] name: The name of the Account.
|
137
|
+
:param pulumi.Input[builtins.str] region: The region code of the account. One of: `us01`, `eu01`.
|
137
138
|
"""
|
138
139
|
...
|
139
140
|
@overload
|
@@ -183,8 +184,8 @@ class AccountManagement(pulumi.CustomResource):
|
|
183
184
|
def _internal_init(__self__,
|
184
185
|
resource_name: str,
|
185
186
|
opts: Optional[pulumi.ResourceOptions] = None,
|
186
|
-
name: Optional[pulumi.Input[str]] = None,
|
187
|
-
region: Optional[pulumi.Input[str]] = None,
|
187
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
188
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
188
189
|
__props__=None):
|
189
190
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
190
191
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -208,8 +209,8 @@ class AccountManagement(pulumi.CustomResource):
|
|
208
209
|
def get(resource_name: str,
|
209
210
|
id: pulumi.Input[str],
|
210
211
|
opts: Optional[pulumi.ResourceOptions] = None,
|
211
|
-
name: Optional[pulumi.Input[str]] = None,
|
212
|
-
region: Optional[pulumi.Input[str]] = None) -> 'AccountManagement':
|
212
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
213
|
+
region: Optional[pulumi.Input[builtins.str]] = None) -> 'AccountManagement':
|
213
214
|
"""
|
214
215
|
Get an existing AccountManagement resource's state with the given name, id, and optional extra
|
215
216
|
properties used to qualify the lookup.
|
@@ -217,8 +218,8 @@ class AccountManagement(pulumi.CustomResource):
|
|
217
218
|
:param str resource_name: The unique name of the resulting resource.
|
218
219
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
219
220
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
220
|
-
:param pulumi.Input[str] name: The name of the Account.
|
221
|
-
:param pulumi.Input[str] region: The region code of the account. One of: `us01`, `eu01`.
|
221
|
+
:param pulumi.Input[builtins.str] name: The name of the Account.
|
222
|
+
:param pulumi.Input[builtins.str] region: The region code of the account. One of: `us01`, `eu01`.
|
222
223
|
"""
|
223
224
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
224
225
|
|
@@ -230,7 +231,7 @@ class AccountManagement(pulumi.CustomResource):
|
|
230
231
|
|
231
232
|
@property
|
232
233
|
@pulumi.getter
|
233
|
-
def name(self) -> pulumi.Output[str]:
|
234
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
234
235
|
"""
|
235
236
|
The name of the Account.
|
236
237
|
"""
|
@@ -238,7 +239,7 @@ class AccountManagement(pulumi.CustomResource):
|
|
238
239
|
|
239
240
|
@property
|
240
241
|
@pulumi.getter
|
241
|
-
def region(self) -> pulumi.Output[str]:
|
242
|
+
def region(self) -> pulumi.Output[builtins.str]:
|
242
243
|
"""
|
243
244
|
The region code of the account. One of: `us01`, `eu01`.
|
244
245
|
"""
|
pulumi_newrelic/alert_channel.py
CHANGED
@@ -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,16 +22,16 @@ __all__ = ['AlertChannelArgs', 'AlertChannel']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class AlertChannelArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
type: pulumi.Input[str],
|
25
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
25
|
+
type: pulumi.Input[builtins.str],
|
26
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
26
27
|
config: Optional[pulumi.Input['AlertChannelConfigArgs']] = None,
|
27
|
-
name: Optional[pulumi.Input[str]] = None):
|
28
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
28
29
|
"""
|
29
30
|
The set of arguments for constructing a AlertChannel resource.
|
30
|
-
:param pulumi.Input[str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
31
|
-
:param pulumi.Input[str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
31
|
+
:param pulumi.Input[builtins.str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
32
|
+
:param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
32
33
|
:param pulumi.Input['AlertChannelConfigArgs'] config: A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
33
|
-
:param pulumi.Input[str] name: The name of the channel.
|
34
|
+
:param pulumi.Input[builtins.str] name: The name of the channel.
|
34
35
|
"""
|
35
36
|
pulumi.set(__self__, "type", type)
|
36
37
|
if account_id is not None:
|
@@ -42,26 +43,26 @@ class AlertChannelArgs:
|
|
42
43
|
|
43
44
|
@property
|
44
45
|
@pulumi.getter
|
45
|
-
def type(self) -> pulumi.Input[str]:
|
46
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
46
47
|
"""
|
47
48
|
The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
48
49
|
"""
|
49
50
|
return pulumi.get(self, "type")
|
50
51
|
|
51
52
|
@type.setter
|
52
|
-
def type(self, value: pulumi.Input[str]):
|
53
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
53
54
|
pulumi.set(self, "type", value)
|
54
55
|
|
55
56
|
@property
|
56
57
|
@pulumi.getter(name="accountId")
|
57
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
58
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
58
59
|
"""
|
59
60
|
Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
60
61
|
"""
|
61
62
|
return pulumi.get(self, "account_id")
|
62
63
|
|
63
64
|
@account_id.setter
|
64
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
65
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
65
66
|
pulumi.set(self, "account_id", value)
|
66
67
|
|
67
68
|
@property
|
@@ -78,30 +79,30 @@ class AlertChannelArgs:
|
|
78
79
|
|
79
80
|
@property
|
80
81
|
@pulumi.getter
|
81
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
82
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
82
83
|
"""
|
83
84
|
The name of the channel.
|
84
85
|
"""
|
85
86
|
return pulumi.get(self, "name")
|
86
87
|
|
87
88
|
@name.setter
|
88
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
89
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
89
90
|
pulumi.set(self, "name", value)
|
90
91
|
|
91
92
|
|
92
93
|
@pulumi.input_type
|
93
94
|
class _AlertChannelState:
|
94
95
|
def __init__(__self__, *,
|
95
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
96
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
96
97
|
config: Optional[pulumi.Input['AlertChannelConfigArgs']] = None,
|
97
|
-
name: Optional[pulumi.Input[str]] = None,
|
98
|
-
type: Optional[pulumi.Input[str]] = None):
|
98
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
99
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
99
100
|
"""
|
100
101
|
Input properties used for looking up and filtering AlertChannel resources.
|
101
|
-
:param pulumi.Input[str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
102
|
+
:param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
102
103
|
:param pulumi.Input['AlertChannelConfigArgs'] config: A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
103
|
-
:param pulumi.Input[str] name: The name of the channel.
|
104
|
-
:param pulumi.Input[str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
104
|
+
:param pulumi.Input[builtins.str] name: The name of the channel.
|
105
|
+
:param pulumi.Input[builtins.str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
105
106
|
"""
|
106
107
|
if account_id is not None:
|
107
108
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -114,14 +115,14 @@ class _AlertChannelState:
|
|
114
115
|
|
115
116
|
@property
|
116
117
|
@pulumi.getter(name="accountId")
|
117
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
118
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
118
119
|
"""
|
119
120
|
Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
120
121
|
"""
|
121
122
|
return pulumi.get(self, "account_id")
|
122
123
|
|
123
124
|
@account_id.setter
|
124
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
125
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
125
126
|
pulumi.set(self, "account_id", value)
|
126
127
|
|
127
128
|
@property
|
@@ -138,26 +139,26 @@ class _AlertChannelState:
|
|
138
139
|
|
139
140
|
@property
|
140
141
|
@pulumi.getter
|
141
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
142
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
142
143
|
"""
|
143
144
|
The name of the channel.
|
144
145
|
"""
|
145
146
|
return pulumi.get(self, "name")
|
146
147
|
|
147
148
|
@name.setter
|
148
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
149
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
149
150
|
pulumi.set(self, "name", value)
|
150
151
|
|
151
152
|
@property
|
152
153
|
@pulumi.getter
|
153
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
154
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
154
155
|
"""
|
155
156
|
The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
156
157
|
"""
|
157
158
|
return pulumi.get(self, "type")
|
158
159
|
|
159
160
|
@type.setter
|
160
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
161
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
161
162
|
pulumi.set(self, "type", value)
|
162
163
|
|
163
164
|
|
@@ -166,10 +167,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
166
167
|
def __init__(__self__,
|
167
168
|
resource_name: str,
|
168
169
|
opts: Optional[pulumi.ResourceOptions] = None,
|
169
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
170
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
170
171
|
config: Optional[pulumi.Input[Union['AlertChannelConfigArgs', 'AlertChannelConfigArgsDict']]] = None,
|
171
|
-
name: Optional[pulumi.Input[str]] = None,
|
172
|
-
type: Optional[pulumi.Input[str]] = None,
|
172
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
173
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
173
174
|
__props__=None):
|
174
175
|
"""
|
175
176
|
Use this resource to create and manage New Relic alert channels.
|
@@ -308,10 +309,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
308
309
|
|
309
310
|
:param str resource_name: The name of the resource.
|
310
311
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
311
|
-
:param pulumi.Input[str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
312
|
+
:param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
312
313
|
:param pulumi.Input[Union['AlertChannelConfigArgs', 'AlertChannelConfigArgsDict']] config: A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
313
|
-
:param pulumi.Input[str] name: The name of the channel.
|
314
|
-
:param pulumi.Input[str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
314
|
+
:param pulumi.Input[builtins.str] name: The name of the channel.
|
315
|
+
:param pulumi.Input[builtins.str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
315
316
|
"""
|
316
317
|
...
|
317
318
|
@overload
|
@@ -469,10 +470,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
469
470
|
def _internal_init(__self__,
|
470
471
|
resource_name: str,
|
471
472
|
opts: Optional[pulumi.ResourceOptions] = None,
|
472
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
473
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
473
474
|
config: Optional[pulumi.Input[Union['AlertChannelConfigArgs', 'AlertChannelConfigArgsDict']]] = None,
|
474
|
-
name: Optional[pulumi.Input[str]] = None,
|
475
|
-
type: Optional[pulumi.Input[str]] = None,
|
475
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
476
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
476
477
|
__props__=None):
|
477
478
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
478
479
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -498,10 +499,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
498
499
|
def get(resource_name: str,
|
499
500
|
id: pulumi.Input[str],
|
500
501
|
opts: Optional[pulumi.ResourceOptions] = None,
|
501
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
502
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
502
503
|
config: Optional[pulumi.Input[Union['AlertChannelConfigArgs', 'AlertChannelConfigArgsDict']]] = None,
|
503
|
-
name: Optional[pulumi.Input[str]] = None,
|
504
|
-
type: Optional[pulumi.Input[str]] = None) -> 'AlertChannel':
|
504
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
505
|
+
type: Optional[pulumi.Input[builtins.str]] = None) -> 'AlertChannel':
|
505
506
|
"""
|
506
507
|
Get an existing AlertChannel resource's state with the given name, id, and optional extra
|
507
508
|
properties used to qualify the lookup.
|
@@ -509,10 +510,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
509
510
|
:param str resource_name: The unique name of the resulting resource.
|
510
511
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
511
512
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
512
|
-
:param pulumi.Input[str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
513
|
+
:param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
513
514
|
:param pulumi.Input[Union['AlertChannelConfigArgs', 'AlertChannelConfigArgsDict']] config: A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
514
|
-
:param pulumi.Input[str] name: The name of the channel.
|
515
|
-
:param pulumi.Input[str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
515
|
+
:param pulumi.Input[builtins.str] name: The name of the channel.
|
516
|
+
:param pulumi.Input[builtins.str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
516
517
|
"""
|
517
518
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
518
519
|
|
@@ -526,7 +527,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
526
527
|
|
527
528
|
@property
|
528
529
|
@pulumi.getter(name="accountId")
|
529
|
-
def account_id(self) -> pulumi.Output[str]:
|
530
|
+
def account_id(self) -> pulumi.Output[builtins.str]:
|
530
531
|
"""
|
531
532
|
Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
532
533
|
"""
|
@@ -542,7 +543,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
542
543
|
|
543
544
|
@property
|
544
545
|
@pulumi.getter
|
545
|
-
def name(self) -> pulumi.Output[str]:
|
546
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
546
547
|
"""
|
547
548
|
The name of the channel.
|
548
549
|
"""
|
@@ -550,7 +551,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
550
551
|
|
551
552
|
@property
|
552
553
|
@pulumi.getter
|
553
|
-
def type(self) -> pulumi.Output[str]:
|
554
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
554
555
|
"""
|
555
556
|
The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
556
557
|
"""
|