pulumi-newrelic 5.42.1__py3-none-any.whl → 5.58.0a1766556761__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.
Files changed (92) hide show
  1. pulumi_newrelic/__init__.py +19 -1
  2. pulumi_newrelic/_inputs.py +4314 -3779
  3. pulumi_newrelic/_utilities.py +1 -1
  4. pulumi_newrelic/account_management.py +37 -36
  5. pulumi_newrelic/alert_channel.py +63 -62
  6. pulumi_newrelic/alert_condition.py +219 -218
  7. pulumi_newrelic/alert_muting_rule.py +96 -95
  8. pulumi_newrelic/alert_policy.py +71 -70
  9. pulumi_newrelic/alert_policy_channel.py +54 -53
  10. pulumi_newrelic/api_access_key.py +186 -201
  11. pulumi_newrelic/browser_application.py +115 -114
  12. pulumi_newrelic/cloud/__init__.py +3 -1
  13. pulumi_newrelic/cloud/_inputs.py +2226 -2118
  14. pulumi_newrelic/cloud/aws_govcloud_integrations.py +101 -96
  15. pulumi_newrelic/cloud/aws_govcloud_link_account.py +71 -70
  16. pulumi_newrelic/cloud/aws_integrations.py +240 -192
  17. pulumi_newrelic/cloud/aws_link_account.py +71 -70
  18. pulumi_newrelic/cloud/azure_integrations.py +180 -132
  19. pulumi_newrelic/cloud/azure_link_account.py +105 -104
  20. pulumi_newrelic/cloud/gcp_integrations.py +115 -114
  21. pulumi_newrelic/cloud/gcp_link_account.py +56 -55
  22. pulumi_newrelic/cloud/oci_link_account.py +926 -0
  23. pulumi_newrelic/cloud/outputs.py +1512 -1410
  24. pulumi_newrelic/config/__init__.py +2 -1
  25. pulumi_newrelic/config/__init__.pyi +2 -2
  26. pulumi_newrelic/config/vars.py +15 -15
  27. pulumi_newrelic/data_partition_rule.py +114 -113
  28. pulumi_newrelic/entity_tags.py +79 -22
  29. pulumi_newrelic/events_to_metrics_rule.py +97 -96
  30. pulumi_newrelic/get_account.py +22 -22
  31. pulumi_newrelic/get_alert_channel.py +53 -21
  32. pulumi_newrelic/get_alert_policy.py +52 -26
  33. pulumi_newrelic/get_application.py +14 -14
  34. pulumi_newrelic/get_authentication_domain.py +10 -10
  35. pulumi_newrelic/get_cloud_account.py +22 -22
  36. pulumi_newrelic/get_entity.py +53 -53
  37. pulumi_newrelic/get_group.py +22 -22
  38. pulumi_newrelic/get_key_transaction.py +26 -26
  39. pulumi_newrelic/get_notification_destination.py +31 -31
  40. pulumi_newrelic/get_obfuscation_expression.py +16 -16
  41. pulumi_newrelic/get_service_level_alert_helper.py +54 -54
  42. pulumi_newrelic/get_test_grok_pattern.py +23 -23
  43. pulumi_newrelic/get_user.py +22 -22
  44. pulumi_newrelic/group.py +54 -53
  45. pulumi_newrelic/infra_alert_condition.py +257 -256
  46. pulumi_newrelic/insights/__init__.py +2 -1
  47. pulumi_newrelic/insights/_inputs.py +33 -33
  48. pulumi_newrelic/insights/event.py +6 -5
  49. pulumi_newrelic/insights/outputs.py +23 -23
  50. pulumi_newrelic/key_transaction.py +106 -105
  51. pulumi_newrelic/log_parsing_rule.py +148 -147
  52. pulumi_newrelic/monitor_downtime.py +148 -154
  53. pulumi_newrelic/notification_channel.py +218 -163
  54. pulumi_newrelic/notification_destination.py +123 -136
  55. pulumi_newrelic/nrql_alert_condition.py +513 -414
  56. pulumi_newrelic/nrql_drop_rule.py +108 -147
  57. pulumi_newrelic/obfuscation_expression.py +71 -70
  58. pulumi_newrelic/obfuscation_rule.py +91 -90
  59. pulumi_newrelic/one_dashboard.py +95 -94
  60. pulumi_newrelic/one_dashboard_json.py +64 -63
  61. pulumi_newrelic/one_dashboard_raw.py +116 -115
  62. pulumi_newrelic/outputs.py +3026 -2665
  63. pulumi_newrelic/pipeline_cloud_rule.py +335 -0
  64. pulumi_newrelic/plugins/__init__.py +2 -1
  65. pulumi_newrelic/plugins/_inputs.py +159 -159
  66. pulumi_newrelic/plugins/application_settings.py +186 -171
  67. pulumi_newrelic/plugins/outputs.py +109 -109
  68. pulumi_newrelic/plugins/workload.py +133 -132
  69. pulumi_newrelic/provider.py +136 -116
  70. pulumi_newrelic/pulumi-plugin.json +1 -1
  71. pulumi_newrelic/service_level.py +78 -77
  72. pulumi_newrelic/synthetics/__init__.py +2 -1
  73. pulumi_newrelic/synthetics/_inputs.py +128 -128
  74. pulumi_newrelic/synthetics/alert_condition.py +97 -96
  75. pulumi_newrelic/synthetics/broken_links_monitor.py +218 -189
  76. pulumi_newrelic/synthetics/cert_check_monitor.py +226 -197
  77. pulumi_newrelic/synthetics/get_private_location.py +22 -22
  78. pulumi_newrelic/synthetics/get_secure_credential.py +20 -20
  79. pulumi_newrelic/synthetics/monitor.py +399 -370
  80. pulumi_newrelic/synthetics/multi_location_alert_condition.py +120 -119
  81. pulumi_newrelic/synthetics/outputs.py +86 -86
  82. pulumi_newrelic/synthetics/private_location.py +107 -106
  83. pulumi_newrelic/synthetics/script_monitor.py +385 -294
  84. pulumi_newrelic/synthetics/secure_credential.py +88 -87
  85. pulumi_newrelic/synthetics/step_monitor.py +241 -212
  86. pulumi_newrelic/user.py +71 -70
  87. pulumi_newrelic/workflow.py +141 -140
  88. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/METADATA +4 -4
  89. pulumi_newrelic-5.58.0a1766556761.dist-info/RECORD +92 -0
  90. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/WHEEL +1 -1
  91. pulumi_newrelic-5.42.1.dist-info/RECORD +0 -90
  92. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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
5
 
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -19,89 +19,90 @@ __all__ = ['AccountManagementArgs', 'AccountManagement']
19
19
  @pulumi.input_type
20
20
  class AccountManagementArgs:
21
21
  def __init__(__self__, *,
22
- region: pulumi.Input[str],
23
- name: Optional[pulumi.Input[str]] = None):
22
+ region: pulumi.Input[_builtins.str],
23
+ name: Optional[pulumi.Input[_builtins.str]] = None):
24
24
  """
25
25
  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.
26
+ :param pulumi.Input[_builtins.str] region: The region code of the account. One of: `us01`, `eu01`.
27
+ :param pulumi.Input[_builtins.str] name: The name of the Account.
28
28
  """
29
29
  pulumi.set(__self__, "region", region)
30
30
  if name is not None:
31
31
  pulumi.set(__self__, "name", name)
32
32
 
33
- @property
33
+ @_builtins.property
34
34
  @pulumi.getter
35
- def region(self) -> pulumi.Input[str]:
35
+ def region(self) -> pulumi.Input[_builtins.str]:
36
36
  """
37
37
  The region code of the account. One of: `us01`, `eu01`.
38
38
  """
39
39
  return pulumi.get(self, "region")
40
40
 
41
41
  @region.setter
42
- def region(self, value: pulumi.Input[str]):
42
+ def region(self, value: pulumi.Input[_builtins.str]):
43
43
  pulumi.set(self, "region", value)
44
44
 
45
- @property
45
+ @_builtins.property
46
46
  @pulumi.getter
47
- def name(self) -> Optional[pulumi.Input[str]]:
47
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
48
48
  """
49
49
  The name of the Account.
50
50
  """
51
51
  return pulumi.get(self, "name")
52
52
 
53
53
  @name.setter
54
- def name(self, value: Optional[pulumi.Input[str]]):
54
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
55
55
  pulumi.set(self, "name", value)
56
56
 
57
57
 
58
58
  @pulumi.input_type
59
59
  class _AccountManagementState:
60
60
  def __init__(__self__, *,
61
- name: Optional[pulumi.Input[str]] = None,
62
- region: Optional[pulumi.Input[str]] = None):
61
+ name: Optional[pulumi.Input[_builtins.str]] = None,
62
+ region: Optional[pulumi.Input[_builtins.str]] = None):
63
63
  """
64
64
  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`.
65
+ :param pulumi.Input[_builtins.str] name: The name of the Account.
66
+ :param pulumi.Input[_builtins.str] region: The region code of the account. One of: `us01`, `eu01`.
67
67
  """
68
68
  if name is not None:
69
69
  pulumi.set(__self__, "name", name)
70
70
  if region is not None:
71
71
  pulumi.set(__self__, "region", region)
72
72
 
73
- @property
73
+ @_builtins.property
74
74
  @pulumi.getter
75
- def name(self) -> Optional[pulumi.Input[str]]:
75
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
76
76
  """
77
77
  The name of the Account.
78
78
  """
79
79
  return pulumi.get(self, "name")
80
80
 
81
81
  @name.setter
82
- def name(self, value: Optional[pulumi.Input[str]]):
82
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
83
83
  pulumi.set(self, "name", value)
84
84
 
85
- @property
85
+ @_builtins.property
86
86
  @pulumi.getter
87
- def region(self) -> Optional[pulumi.Input[str]]:
87
+ def region(self) -> Optional[pulumi.Input[_builtins.str]]:
88
88
  """
89
89
  The region code of the account. One of: `us01`, `eu01`.
90
90
  """
91
91
  return pulumi.get(self, "region")
92
92
 
93
93
  @region.setter
94
- def region(self, value: Optional[pulumi.Input[str]]):
94
+ def region(self, value: Optional[pulumi.Input[_builtins.str]]):
95
95
  pulumi.set(self, "region", value)
96
96
 
97
97
 
98
+ @pulumi.type_token("newrelic:index/accountManagement:AccountManagement")
98
99
  class AccountManagement(pulumi.CustomResource):
99
100
  @overload
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
 
@@ -228,17 +229,17 @@ class AccountManagement(pulumi.CustomResource):
228
229
  __props__.__dict__["region"] = region
229
230
  return AccountManagement(resource_name, opts=opts, __props__=__props__)
230
231
 
231
- @property
232
+ @_builtins.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
  """
237
238
  return pulumi.get(self, "name")
238
239
 
239
- @property
240
+ @_builtins.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
  """
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -21,16 +21,16 @@ __all__ = ['AlertChannelArgs', 'AlertChannel']
21
21
  @pulumi.input_type
22
22
  class AlertChannelArgs:
23
23
  def __init__(__self__, *,
24
- type: pulumi.Input[str],
25
- account_id: Optional[pulumi.Input[str]] = None,
24
+ type: pulumi.Input[_builtins.str],
25
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
26
26
  config: Optional[pulumi.Input['AlertChannelConfigArgs']] = None,
27
- name: Optional[pulumi.Input[str]] = None):
27
+ name: Optional[pulumi.Input[_builtins.str]] = None):
28
28
  """
29
29
  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.
30
+ :param pulumi.Input[_builtins.str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
31
+ :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
32
  :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.
33
+ :param pulumi.Input[_builtins.str] name: The name of the channel.
34
34
  """
35
35
  pulumi.set(__self__, "type", type)
36
36
  if account_id is not None:
@@ -40,31 +40,31 @@ class AlertChannelArgs:
40
40
  if name is not None:
41
41
  pulumi.set(__self__, "name", name)
42
42
 
43
- @property
43
+ @_builtins.property
44
44
  @pulumi.getter
45
- def type(self) -> pulumi.Input[str]:
45
+ def type(self) -> pulumi.Input[_builtins.str]:
46
46
  """
47
47
  The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
48
48
  """
49
49
  return pulumi.get(self, "type")
50
50
 
51
51
  @type.setter
52
- def type(self, value: pulumi.Input[str]):
52
+ def type(self, value: pulumi.Input[_builtins.str]):
53
53
  pulumi.set(self, "type", value)
54
54
 
55
- @property
55
+ @_builtins.property
56
56
  @pulumi.getter(name="accountId")
57
- def account_id(self) -> Optional[pulumi.Input[str]]:
57
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
58
58
  """
59
59
  Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
60
60
  """
61
61
  return pulumi.get(self, "account_id")
62
62
 
63
63
  @account_id.setter
64
- def account_id(self, value: Optional[pulumi.Input[str]]):
64
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
65
65
  pulumi.set(self, "account_id", value)
66
66
 
67
- @property
67
+ @_builtins.property
68
68
  @pulumi.getter
69
69
  def config(self) -> Optional[pulumi.Input['AlertChannelConfigArgs']]:
70
70
  """
@@ -76,32 +76,32 @@ class AlertChannelArgs:
76
76
  def config(self, value: Optional[pulumi.Input['AlertChannelConfigArgs']]):
77
77
  pulumi.set(self, "config", value)
78
78
 
79
- @property
79
+ @_builtins.property
80
80
  @pulumi.getter
81
- def name(self) -> Optional[pulumi.Input[str]]:
81
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
82
82
  """
83
83
  The name of the channel.
84
84
  """
85
85
  return pulumi.get(self, "name")
86
86
 
87
87
  @name.setter
88
- def name(self, value: Optional[pulumi.Input[str]]):
88
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
89
89
  pulumi.set(self, "name", value)
90
90
 
91
91
 
92
92
  @pulumi.input_type
93
93
  class _AlertChannelState:
94
94
  def __init__(__self__, *,
95
- account_id: Optional[pulumi.Input[str]] = None,
95
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
96
96
  config: Optional[pulumi.Input['AlertChannelConfigArgs']] = None,
97
- name: Optional[pulumi.Input[str]] = None,
98
- type: Optional[pulumi.Input[str]] = None):
97
+ name: Optional[pulumi.Input[_builtins.str]] = None,
98
+ type: Optional[pulumi.Input[_builtins.str]] = None):
99
99
  """
100
100
  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.
101
+ :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
102
  :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`.
103
+ :param pulumi.Input[_builtins.str] name: The name of the channel.
104
+ :param pulumi.Input[_builtins.str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
105
105
  """
106
106
  if account_id is not None:
107
107
  pulumi.set(__self__, "account_id", account_id)
@@ -112,19 +112,19 @@ class _AlertChannelState:
112
112
  if type is not None:
113
113
  pulumi.set(__self__, "type", type)
114
114
 
115
- @property
115
+ @_builtins.property
116
116
  @pulumi.getter(name="accountId")
117
- def account_id(self) -> Optional[pulumi.Input[str]]:
117
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
118
118
  """
119
119
  Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
120
120
  """
121
121
  return pulumi.get(self, "account_id")
122
122
 
123
123
  @account_id.setter
124
- def account_id(self, value: Optional[pulumi.Input[str]]):
124
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
125
125
  pulumi.set(self, "account_id", value)
126
126
 
127
- @property
127
+ @_builtins.property
128
128
  @pulumi.getter
129
129
  def config(self) -> Optional[pulumi.Input['AlertChannelConfigArgs']]:
130
130
  """
@@ -136,40 +136,41 @@ class _AlertChannelState:
136
136
  def config(self, value: Optional[pulumi.Input['AlertChannelConfigArgs']]):
137
137
  pulumi.set(self, "config", value)
138
138
 
139
- @property
139
+ @_builtins.property
140
140
  @pulumi.getter
141
- def name(self) -> Optional[pulumi.Input[str]]:
141
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
142
142
  """
143
143
  The name of the channel.
144
144
  """
145
145
  return pulumi.get(self, "name")
146
146
 
147
147
  @name.setter
148
- def name(self, value: Optional[pulumi.Input[str]]):
148
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
149
149
  pulumi.set(self, "name", value)
150
150
 
151
- @property
151
+ @_builtins.property
152
152
  @pulumi.getter
153
- def type(self) -> Optional[pulumi.Input[str]]:
153
+ def type(self) -> Optional[pulumi.Input[_builtins.str]]:
154
154
  """
155
155
  The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
156
156
  """
157
157
  return pulumi.get(self, "type")
158
158
 
159
159
  @type.setter
160
- def type(self, value: Optional[pulumi.Input[str]]):
160
+ def type(self, value: Optional[pulumi.Input[_builtins.str]]):
161
161
  pulumi.set(self, "type", value)
162
162
 
163
163
 
164
+ @pulumi.type_token("newrelic:index/alertChannel:AlertChannel")
164
165
  class AlertChannel(pulumi.CustomResource):
165
166
  @overload
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.
@@ -287,9 +288,9 @@ class AlertChannel(pulumi.CustomResource):
287
288
  "base_url": "http://www.test.com",
288
289
  "payload_type": "application/json",
289
290
  "payload_string": \"\"\"{
290
- "my_custom_values": {
291
- "condition_name": "$CONDITION_NAME",
292
- "policy_name": "$POLICY_NAME"
291
+ \\"my_custom_values\\": {
292
+ \\"condition_name\\": \\"$CONDITION_NAME\\",
293
+ \\"policy_name\\": \\"$POLICY_NAME\\"
293
294
  }
294
295
  }
295
296
  \"\"\",
@@ -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
@@ -435,9 +436,9 @@ class AlertChannel(pulumi.CustomResource):
435
436
  "base_url": "http://www.test.com",
436
437
  "payload_type": "application/json",
437
438
  "payload_string": \"\"\"{
438
- "my_custom_values": {
439
- "condition_name": "$CONDITION_NAME",
440
- "policy_name": "$POLICY_NAME"
439
+ \\"my_custom_values\\": {
440
+ \\"condition_name\\": \\"$CONDITION_NAME\\",
441
+ \\"policy_name\\": \\"$POLICY_NAME\\"
441
442
  }
442
443
  }
443
444
  \"\"\",
@@ -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
 
@@ -524,15 +525,15 @@ class AlertChannel(pulumi.CustomResource):
524
525
  __props__.__dict__["type"] = type
525
526
  return AlertChannel(resource_name, opts=opts, __props__=__props__)
526
527
 
527
- @property
528
+ @_builtins.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
  """
533
534
  return pulumi.get(self, "account_id")
534
535
 
535
- @property
536
+ @_builtins.property
536
537
  @pulumi.getter
537
538
  def config(self) -> pulumi.Output[Optional['outputs.AlertChannelConfig']]:
538
539
  """
@@ -540,17 +541,17 @@ class AlertChannel(pulumi.CustomResource):
540
541
  """
541
542
  return pulumi.get(self, "config")
542
543
 
543
- @property
544
+ @_builtins.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
  """
549
550
  return pulumi.get(self, "name")
550
551
 
551
- @property
552
+ @_builtins.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
  """