pulumi-newrelic 5.44.0a1743218959__py3-none-any.whl → 5.44.1__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 (89) hide show
  1. pulumi_newrelic/__init__.py +1 -0
  2. pulumi_newrelic/_inputs.py +2961 -2960
  3. pulumi_newrelic/account_management.py +29 -28
  4. pulumi_newrelic/alert_channel.py +43 -42
  5. pulumi_newrelic/alert_condition.py +176 -175
  6. pulumi_newrelic/alert_muting_rule.py +71 -70
  7. pulumi_newrelic/alert_policy.py +57 -56
  8. pulumi_newrelic/alert_policy_channel.py +43 -42
  9. pulumi_newrelic/api_access_key.py +92 -91
  10. pulumi_newrelic/browser_application.py +92 -91
  11. pulumi_newrelic/cloud/__init__.py +1 -0
  12. pulumi_newrelic/cloud/_inputs.py +1765 -1764
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
  15. pulumi_newrelic/cloud/aws_integrations.py +29 -28
  16. pulumi_newrelic/cloud/aws_link_account.py +57 -56
  17. pulumi_newrelic/cloud/azure_integrations.py +29 -28
  18. pulumi_newrelic/cloud/azure_link_account.py +85 -84
  19. pulumi_newrelic/cloud/gcp_integrations.py +29 -28
  20. pulumi_newrelic/cloud/gcp_link_account.py +45 -44
  21. pulumi_newrelic/cloud/outputs.py +1057 -1056
  22. pulumi_newrelic/config/__init__.py +1 -0
  23. pulumi_newrelic/config/__init__.pyi +1 -0
  24. pulumi_newrelic/config/vars.py +1 -0
  25. pulumi_newrelic/data_partition_rule.py +92 -91
  26. pulumi_newrelic/entity_tags.py +15 -14
  27. pulumi_newrelic/events_to_metrics_rule.py +78 -77
  28. pulumi_newrelic/get_account.py +17 -16
  29. pulumi_newrelic/get_alert_channel.py +14 -13
  30. pulumi_newrelic/get_alert_policy.py +19 -18
  31. pulumi_newrelic/get_application.py +9 -8
  32. pulumi_newrelic/get_authentication_domain.py +7 -6
  33. pulumi_newrelic/get_cloud_account.py +17 -16
  34. pulumi_newrelic/get_entity.py +40 -39
  35. pulumi_newrelic/get_group.py +13 -12
  36. pulumi_newrelic/get_key_transaction.py +19 -18
  37. pulumi_newrelic/get_notification_destination.py +20 -19
  38. pulumi_newrelic/get_obfuscation_expression.py +12 -11
  39. pulumi_newrelic/get_service_level_alert_helper.py +41 -40
  40. pulumi_newrelic/get_test_grok_pattern.py +17 -16
  41. pulumi_newrelic/get_user.py +17 -16
  42. pulumi_newrelic/group.py +43 -42
  43. pulumi_newrelic/infra_alert_condition.py +204 -203
  44. pulumi_newrelic/insights/__init__.py +1 -0
  45. pulumi_newrelic/insights/_inputs.py +26 -25
  46. pulumi_newrelic/insights/event.py +1 -0
  47. pulumi_newrelic/insights/outputs.py +16 -15
  48. pulumi_newrelic/key_transaction.py +85 -84
  49. pulumi_newrelic/log_parsing_rule.py +120 -119
  50. pulumi_newrelic/monitor_downtime.py +113 -112
  51. pulumi_newrelic/notification_channel.py +92 -91
  52. pulumi_newrelic/notification_destination.py +78 -77
  53. pulumi_newrelic/nrql_alert_condition.py +330 -329
  54. pulumi_newrelic/nrql_drop_rule.py +64 -63
  55. pulumi_newrelic/obfuscation_expression.py +57 -56
  56. pulumi_newrelic/obfuscation_rule.py +71 -70
  57. pulumi_newrelic/one_dashboard.py +71 -70
  58. pulumi_newrelic/one_dashboard_json.py +50 -49
  59. pulumi_newrelic/one_dashboard_raw.py +71 -70
  60. pulumi_newrelic/outputs.py +1831 -1830
  61. pulumi_newrelic/plugins/__init__.py +1 -0
  62. pulumi_newrelic/plugins/_inputs.py +126 -125
  63. pulumi_newrelic/plugins/application_settings.py +132 -131
  64. pulumi_newrelic/plugins/outputs.py +76 -75
  65. pulumi_newrelic/plugins/workload.py +99 -98
  66. pulumi_newrelic/provider.py +80 -79
  67. pulumi_newrelic/pulumi-plugin.json +1 -1
  68. pulumi_newrelic/service_level.py +57 -56
  69. pulumi_newrelic/synthetics/__init__.py +1 -0
  70. pulumi_newrelic/synthetics/_inputs.py +106 -105
  71. pulumi_newrelic/synthetics/alert_condition.py +78 -77
  72. pulumi_newrelic/synthetics/broken_links_monitor.py +179 -150
  73. pulumi_newrelic/synthetics/cert_check_monitor.py +186 -157
  74. pulumi_newrelic/synthetics/get_private_location.py +17 -16
  75. pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
  76. pulumi_newrelic/synthetics/monitor.py +326 -297
  77. pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
  78. pulumi_newrelic/synthetics/outputs.py +64 -63
  79. pulumi_newrelic/synthetics/private_location.py +85 -84
  80. pulumi_newrelic/synthetics/script_monitor.py +263 -234
  81. pulumi_newrelic/synthetics/secure_credential.py +71 -70
  82. pulumi_newrelic/synthetics/step_monitor.py +193 -164
  83. pulumi_newrelic/user.py +57 -56
  84. pulumi_newrelic/workflow.py +106 -105
  85. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/METADATA +1 -1
  86. pulumi_newrelic-5.44.1.dist-info/RECORD +90 -0
  87. pulumi_newrelic-5.44.0a1743218959.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/WHEEL +0 -0
  89. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.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,18 +20,18 @@ __all__ = ['EventsToMetricsRuleArgs', 'EventsToMetricsRule']
19
20
  @pulumi.input_type
20
21
  class EventsToMetricsRuleArgs:
21
22
  def __init__(__self__, *,
22
- nrql: pulumi.Input[str],
23
- account_id: Optional[pulumi.Input[str]] = None,
24
- description: Optional[pulumi.Input[str]] = None,
25
- enabled: Optional[pulumi.Input[bool]] = None,
26
- name: Optional[pulumi.Input[str]] = None):
23
+ nrql: pulumi.Input[builtins.str],
24
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
25
+ description: Optional[pulumi.Input[builtins.str]] = None,
26
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
27
+ name: Optional[pulumi.Input[builtins.str]] = None):
27
28
  """
28
29
  The set of arguments for constructing a EventsToMetricsRule resource.
29
- :param pulumi.Input[str] nrql: Explains how to create metrics from events.
30
- :param pulumi.Input[str] account_id: Account with the event and where the metrics will be put.
31
- :param pulumi.Input[str] description: Provides additional information about the rule.
32
- :param pulumi.Input[bool] enabled: True means this rule is enabled. False means the rule is currently not creating metrics.
33
- :param pulumi.Input[str] name: The name of the rule. This must be unique within an account.
30
+ :param pulumi.Input[builtins.str] nrql: Explains how to create metrics from events.
31
+ :param pulumi.Input[builtins.str] account_id: Account with the event and where the metrics will be put.
32
+ :param pulumi.Input[builtins.str] description: Provides additional information about the rule.
33
+ :param pulumi.Input[builtins.bool] enabled: True means this rule is enabled. False means the rule is currently not creating metrics.
34
+ :param pulumi.Input[builtins.str] name: The name of the rule. This must be unique within an account.
34
35
  """
35
36
  pulumi.set(__self__, "nrql", nrql)
36
37
  if account_id is not None:
@@ -44,82 +45,82 @@ class EventsToMetricsRuleArgs:
44
45
 
45
46
  @property
46
47
  @pulumi.getter
47
- def nrql(self) -> pulumi.Input[str]:
48
+ def nrql(self) -> pulumi.Input[builtins.str]:
48
49
  """
49
50
  Explains how to create metrics from events.
50
51
  """
51
52
  return pulumi.get(self, "nrql")
52
53
 
53
54
  @nrql.setter
54
- def nrql(self, value: pulumi.Input[str]):
55
+ def nrql(self, value: pulumi.Input[builtins.str]):
55
56
  pulumi.set(self, "nrql", value)
56
57
 
57
58
  @property
58
59
  @pulumi.getter(name="accountId")
59
- def account_id(self) -> Optional[pulumi.Input[str]]:
60
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
60
61
  """
61
62
  Account with the event and where the metrics will be put.
62
63
  """
63
64
  return pulumi.get(self, "account_id")
64
65
 
65
66
  @account_id.setter
66
- def account_id(self, value: Optional[pulumi.Input[str]]):
67
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
67
68
  pulumi.set(self, "account_id", value)
68
69
 
69
70
  @property
70
71
  @pulumi.getter
71
- def description(self) -> Optional[pulumi.Input[str]]:
72
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
72
73
  """
73
74
  Provides additional information about the rule.
74
75
  """
75
76
  return pulumi.get(self, "description")
76
77
 
77
78
  @description.setter
78
- def description(self, value: Optional[pulumi.Input[str]]):
79
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
79
80
  pulumi.set(self, "description", value)
80
81
 
81
82
  @property
82
83
  @pulumi.getter
83
- def enabled(self) -> Optional[pulumi.Input[bool]]:
84
+ def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
84
85
  """
85
86
  True means this rule is enabled. False means the rule is currently not creating metrics.
86
87
  """
87
88
  return pulumi.get(self, "enabled")
88
89
 
89
90
  @enabled.setter
90
- def enabled(self, value: Optional[pulumi.Input[bool]]):
91
+ def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
91
92
  pulumi.set(self, "enabled", value)
92
93
 
93
94
  @property
94
95
  @pulumi.getter
95
- def name(self) -> Optional[pulumi.Input[str]]:
96
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
96
97
  """
97
98
  The name of the rule. This must be unique within an account.
98
99
  """
99
100
  return pulumi.get(self, "name")
100
101
 
101
102
  @name.setter
102
- def name(self, value: Optional[pulumi.Input[str]]):
103
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
103
104
  pulumi.set(self, "name", value)
104
105
 
105
106
 
106
107
  @pulumi.input_type
107
108
  class _EventsToMetricsRuleState:
108
109
  def __init__(__self__, *,
109
- account_id: Optional[pulumi.Input[str]] = None,
110
- description: Optional[pulumi.Input[str]] = None,
111
- enabled: Optional[pulumi.Input[bool]] = None,
112
- name: Optional[pulumi.Input[str]] = None,
113
- nrql: Optional[pulumi.Input[str]] = None,
114
- rule_id: Optional[pulumi.Input[str]] = None):
110
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
111
+ description: Optional[pulumi.Input[builtins.str]] = None,
112
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
113
+ name: Optional[pulumi.Input[builtins.str]] = None,
114
+ nrql: Optional[pulumi.Input[builtins.str]] = None,
115
+ rule_id: Optional[pulumi.Input[builtins.str]] = None):
115
116
  """
116
117
  Input properties used for looking up and filtering EventsToMetricsRule resources.
117
- :param pulumi.Input[str] account_id: Account with the event and where the metrics will be put.
118
- :param pulumi.Input[str] description: Provides additional information about the rule.
119
- :param pulumi.Input[bool] enabled: True means this rule is enabled. False means the rule is currently not creating metrics.
120
- :param pulumi.Input[str] name: The name of the rule. This must be unique within an account.
121
- :param pulumi.Input[str] nrql: Explains how to create metrics from events.
122
- :param pulumi.Input[str] rule_id: The id, uniquely identifying the rule.
118
+ :param pulumi.Input[builtins.str] account_id: Account with the event and where the metrics will be put.
119
+ :param pulumi.Input[builtins.str] description: Provides additional information about the rule.
120
+ :param pulumi.Input[builtins.bool] enabled: True means this rule is enabled. False means the rule is currently not creating metrics.
121
+ :param pulumi.Input[builtins.str] name: The name of the rule. This must be unique within an account.
122
+ :param pulumi.Input[builtins.str] nrql: Explains how to create metrics from events.
123
+ :param pulumi.Input[builtins.str] rule_id: The id, uniquely identifying the rule.
123
124
  """
124
125
  if account_id is not None:
125
126
  pulumi.set(__self__, "account_id", account_id)
@@ -136,74 +137,74 @@ class _EventsToMetricsRuleState:
136
137
 
137
138
  @property
138
139
  @pulumi.getter(name="accountId")
139
- def account_id(self) -> Optional[pulumi.Input[str]]:
140
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
140
141
  """
141
142
  Account with the event and where the metrics will be put.
142
143
  """
143
144
  return pulumi.get(self, "account_id")
144
145
 
145
146
  @account_id.setter
146
- def account_id(self, value: Optional[pulumi.Input[str]]):
147
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
147
148
  pulumi.set(self, "account_id", value)
148
149
 
149
150
  @property
150
151
  @pulumi.getter
151
- def description(self) -> Optional[pulumi.Input[str]]:
152
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
152
153
  """
153
154
  Provides additional information about the rule.
154
155
  """
155
156
  return pulumi.get(self, "description")
156
157
 
157
158
  @description.setter
158
- def description(self, value: Optional[pulumi.Input[str]]):
159
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
159
160
  pulumi.set(self, "description", value)
160
161
 
161
162
  @property
162
163
  @pulumi.getter
163
- def enabled(self) -> Optional[pulumi.Input[bool]]:
164
+ def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
164
165
  """
165
166
  True means this rule is enabled. False means the rule is currently not creating metrics.
166
167
  """
167
168
  return pulumi.get(self, "enabled")
168
169
 
169
170
  @enabled.setter
170
- def enabled(self, value: Optional[pulumi.Input[bool]]):
171
+ def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
171
172
  pulumi.set(self, "enabled", value)
172
173
 
173
174
  @property
174
175
  @pulumi.getter
175
- def name(self) -> Optional[pulumi.Input[str]]:
176
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
176
177
  """
177
178
  The name of the rule. This must be unique within an account.
178
179
  """
179
180
  return pulumi.get(self, "name")
180
181
 
181
182
  @name.setter
182
- def name(self, value: Optional[pulumi.Input[str]]):
183
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
183
184
  pulumi.set(self, "name", value)
184
185
 
185
186
  @property
186
187
  @pulumi.getter
187
- def nrql(self) -> Optional[pulumi.Input[str]]:
188
+ def nrql(self) -> Optional[pulumi.Input[builtins.str]]:
188
189
  """
189
190
  Explains how to create metrics from events.
190
191
  """
191
192
  return pulumi.get(self, "nrql")
192
193
 
193
194
  @nrql.setter
194
- def nrql(self, value: Optional[pulumi.Input[str]]):
195
+ def nrql(self, value: Optional[pulumi.Input[builtins.str]]):
195
196
  pulumi.set(self, "nrql", value)
196
197
 
197
198
  @property
198
199
  @pulumi.getter(name="ruleId")
199
- def rule_id(self) -> Optional[pulumi.Input[str]]:
200
+ def rule_id(self) -> Optional[pulumi.Input[builtins.str]]:
200
201
  """
201
202
  The id, uniquely identifying the rule.
202
203
  """
203
204
  return pulumi.get(self, "rule_id")
204
205
 
205
206
  @rule_id.setter
206
- def rule_id(self, value: Optional[pulumi.Input[str]]):
207
+ def rule_id(self, value: Optional[pulumi.Input[builtins.str]]):
207
208
  pulumi.set(self, "rule_id", value)
208
209
 
209
210
 
@@ -212,11 +213,11 @@ class EventsToMetricsRule(pulumi.CustomResource):
212
213
  def __init__(__self__,
213
214
  resource_name: str,
214
215
  opts: Optional[pulumi.ResourceOptions] = None,
215
- account_id: Optional[pulumi.Input[str]] = None,
216
- description: Optional[pulumi.Input[str]] = None,
217
- enabled: Optional[pulumi.Input[bool]] = None,
218
- name: Optional[pulumi.Input[str]] = None,
219
- nrql: Optional[pulumi.Input[str]] = None,
216
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
217
+ description: Optional[pulumi.Input[builtins.str]] = None,
218
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
219
+ name: Optional[pulumi.Input[builtins.str]] = None,
220
+ nrql: Optional[pulumi.Input[builtins.str]] = None,
220
221
  __props__=None):
221
222
  """
222
223
  Use this resource to create, update, and delete New Relic Events to Metrics rules.
@@ -248,11 +249,11 @@ class EventsToMetricsRule(pulumi.CustomResource):
248
249
 
249
250
  :param str resource_name: The name of the resource.
250
251
  :param pulumi.ResourceOptions opts: Options for the resource.
251
- :param pulumi.Input[str] account_id: Account with the event and where the metrics will be put.
252
- :param pulumi.Input[str] description: Provides additional information about the rule.
253
- :param pulumi.Input[bool] enabled: True means this rule is enabled. False means the rule is currently not creating metrics.
254
- :param pulumi.Input[str] name: The name of the rule. This must be unique within an account.
255
- :param pulumi.Input[str] nrql: Explains how to create metrics from events.
252
+ :param pulumi.Input[builtins.str] account_id: Account with the event and where the metrics will be put.
253
+ :param pulumi.Input[builtins.str] description: Provides additional information about the rule.
254
+ :param pulumi.Input[builtins.bool] enabled: True means this rule is enabled. False means the rule is currently not creating metrics.
255
+ :param pulumi.Input[builtins.str] name: The name of the rule. This must be unique within an account.
256
+ :param pulumi.Input[builtins.str] nrql: Explains how to create metrics from events.
256
257
  """
257
258
  ...
258
259
  @overload
@@ -303,11 +304,11 @@ class EventsToMetricsRule(pulumi.CustomResource):
303
304
  def _internal_init(__self__,
304
305
  resource_name: str,
305
306
  opts: Optional[pulumi.ResourceOptions] = None,
306
- account_id: Optional[pulumi.Input[str]] = None,
307
- description: Optional[pulumi.Input[str]] = None,
308
- enabled: Optional[pulumi.Input[bool]] = None,
309
- name: Optional[pulumi.Input[str]] = None,
310
- nrql: Optional[pulumi.Input[str]] = None,
307
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
308
+ description: Optional[pulumi.Input[builtins.str]] = None,
309
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
310
+ name: Optional[pulumi.Input[builtins.str]] = None,
311
+ nrql: Optional[pulumi.Input[builtins.str]] = None,
311
312
  __props__=None):
312
313
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
313
314
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -335,12 +336,12 @@ class EventsToMetricsRule(pulumi.CustomResource):
335
336
  def get(resource_name: str,
336
337
  id: pulumi.Input[str],
337
338
  opts: Optional[pulumi.ResourceOptions] = None,
338
- account_id: Optional[pulumi.Input[str]] = None,
339
- description: Optional[pulumi.Input[str]] = None,
340
- enabled: Optional[pulumi.Input[bool]] = None,
341
- name: Optional[pulumi.Input[str]] = None,
342
- nrql: Optional[pulumi.Input[str]] = None,
343
- rule_id: Optional[pulumi.Input[str]] = None) -> 'EventsToMetricsRule':
339
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
340
+ description: Optional[pulumi.Input[builtins.str]] = None,
341
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
342
+ name: Optional[pulumi.Input[builtins.str]] = None,
343
+ nrql: Optional[pulumi.Input[builtins.str]] = None,
344
+ rule_id: Optional[pulumi.Input[builtins.str]] = None) -> 'EventsToMetricsRule':
344
345
  """
345
346
  Get an existing EventsToMetricsRule resource's state with the given name, id, and optional extra
346
347
  properties used to qualify the lookup.
@@ -348,12 +349,12 @@ class EventsToMetricsRule(pulumi.CustomResource):
348
349
  :param str resource_name: The unique name of the resulting resource.
349
350
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
350
351
  :param pulumi.ResourceOptions opts: Options for the resource.
351
- :param pulumi.Input[str] account_id: Account with the event and where the metrics will be put.
352
- :param pulumi.Input[str] description: Provides additional information about the rule.
353
- :param pulumi.Input[bool] enabled: True means this rule is enabled. False means the rule is currently not creating metrics.
354
- :param pulumi.Input[str] name: The name of the rule. This must be unique within an account.
355
- :param pulumi.Input[str] nrql: Explains how to create metrics from events.
356
- :param pulumi.Input[str] rule_id: The id, uniquely identifying the rule.
352
+ :param pulumi.Input[builtins.str] account_id: Account with the event and where the metrics will be put.
353
+ :param pulumi.Input[builtins.str] description: Provides additional information about the rule.
354
+ :param pulumi.Input[builtins.bool] enabled: True means this rule is enabled. False means the rule is currently not creating metrics.
355
+ :param pulumi.Input[builtins.str] name: The name of the rule. This must be unique within an account.
356
+ :param pulumi.Input[builtins.str] nrql: Explains how to create metrics from events.
357
+ :param pulumi.Input[builtins.str] rule_id: The id, uniquely identifying the rule.
357
358
  """
358
359
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
359
360
 
@@ -369,7 +370,7 @@ class EventsToMetricsRule(pulumi.CustomResource):
369
370
 
370
371
  @property
371
372
  @pulumi.getter(name="accountId")
372
- def account_id(self) -> pulumi.Output[str]:
373
+ def account_id(self) -> pulumi.Output[builtins.str]:
373
374
  """
374
375
  Account with the event and where the metrics will be put.
375
376
  """
@@ -377,7 +378,7 @@ class EventsToMetricsRule(pulumi.CustomResource):
377
378
 
378
379
  @property
379
380
  @pulumi.getter
380
- def description(self) -> pulumi.Output[Optional[str]]:
381
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
381
382
  """
382
383
  Provides additional information about the rule.
383
384
  """
@@ -385,7 +386,7 @@ class EventsToMetricsRule(pulumi.CustomResource):
385
386
 
386
387
  @property
387
388
  @pulumi.getter
388
- def enabled(self) -> pulumi.Output[Optional[bool]]:
389
+ def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
389
390
  """
390
391
  True means this rule is enabled. False means the rule is currently not creating metrics.
391
392
  """
@@ -393,7 +394,7 @@ class EventsToMetricsRule(pulumi.CustomResource):
393
394
 
394
395
  @property
395
396
  @pulumi.getter
396
- def name(self) -> pulumi.Output[str]:
397
+ def name(self) -> pulumi.Output[builtins.str]:
397
398
  """
398
399
  The name of the rule. This must be unique within an account.
399
400
  """
@@ -401,7 +402,7 @@ class EventsToMetricsRule(pulumi.CustomResource):
401
402
 
402
403
  @property
403
404
  @pulumi.getter
404
- def nrql(self) -> pulumi.Output[str]:
405
+ def nrql(self) -> pulumi.Output[builtins.str]:
405
406
  """
406
407
  Explains how to create metrics from events.
407
408
  """
@@ -409,7 +410,7 @@ class EventsToMetricsRule(pulumi.CustomResource):
409
410
 
410
411
  @property
411
412
  @pulumi.getter(name="ruleId")
412
- def rule_id(self) -> pulumi.Output[str]:
413
+ def rule_id(self) -> pulumi.Output[builtins.str]:
413
414
  """
414
415
  The id, uniquely identifying the rule.
415
416
  """
@@ -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
@@ -42,12 +43,12 @@ class GetAccountResult:
42
43
 
43
44
  @property
44
45
  @pulumi.getter(name="accountId")
45
- def account_id(self) -> Optional[str]:
46
+ def account_id(self) -> Optional[builtins.str]:
46
47
  return pulumi.get(self, "account_id")
47
48
 
48
49
  @property
49
50
  @pulumi.getter
50
- def id(self) -> str:
51
+ def id(self) -> builtins.str:
51
52
  """
52
53
  The provider-assigned unique ID for this managed resource.
53
54
  """
@@ -55,12 +56,12 @@ class GetAccountResult:
55
56
 
56
57
  @property
57
58
  @pulumi.getter
58
- def name(self) -> Optional[str]:
59
+ def name(self) -> Optional[builtins.str]:
59
60
  return pulumi.get(self, "name")
60
61
 
61
62
  @property
62
63
  @pulumi.getter
63
- def scope(self) -> Optional[str]:
64
+ def scope(self) -> Optional[builtins.str]:
64
65
  return pulumi.get(self, "scope")
65
66
 
66
67
 
@@ -76,9 +77,9 @@ class AwaitableGetAccountResult(GetAccountResult):
76
77
  scope=self.scope)
77
78
 
78
79
 
79
- def get_account(account_id: Optional[str] = None,
80
- name: Optional[str] = None,
81
- scope: Optional[str] = None,
80
+ def get_account(account_id: Optional[builtins.str] = None,
81
+ name: Optional[builtins.str] = None,
82
+ scope: Optional[builtins.str] = None,
82
83
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountResult:
83
84
  """
84
85
  Use this data source to get information about a specific account in New Relic.
@@ -95,9 +96,9 @@ def get_account(account_id: Optional[str] = None,
95
96
  ```
96
97
 
97
98
 
98
- :param str account_id: The account ID in New Relic.
99
- :param str name: The account name in New Relic.
100
- :param str scope: The scope of the account in New Relic. Valid values are "global" and "in_region". Defaults to "in_region".
99
+ :param builtins.str account_id: The account ID in New Relic.
100
+ :param builtins.str name: The account name in New Relic.
101
+ :param builtins.str scope: The scope of the account in New Relic. Valid values are "global" and "in_region". Defaults to "in_region".
101
102
  """
102
103
  __args__ = dict()
103
104
  __args__['accountId'] = account_id
@@ -111,9 +112,9 @@ def get_account(account_id: Optional[str] = None,
111
112
  id=pulumi.get(__ret__, 'id'),
112
113
  name=pulumi.get(__ret__, 'name'),
113
114
  scope=pulumi.get(__ret__, 'scope'))
114
- def get_account_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
115
- name: Optional[pulumi.Input[Optional[str]]] = None,
116
- scope: Optional[pulumi.Input[Optional[str]]] = None,
115
+ def get_account_output(account_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
116
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
117
+ scope: Optional[pulumi.Input[Optional[builtins.str]]] = None,
117
118
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountResult]:
118
119
  """
119
120
  Use this data source to get information about a specific account in New Relic.
@@ -130,9 +131,9 @@ def get_account_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
130
131
  ```
131
132
 
132
133
 
133
- :param str account_id: The account ID in New Relic.
134
- :param str name: The account name in New Relic.
135
- :param str scope: The scope of the account in New Relic. Valid values are "global" and "in_region". Defaults to "in_region".
134
+ :param builtins.str account_id: The account ID in New Relic.
135
+ :param builtins.str name: The account name in New Relic.
136
+ :param builtins.str scope: The scope of the account in New Relic. Valid values are "global" and "in_region". Defaults to "in_region".
136
137
  """
137
138
  __args__ = dict()
138
139
  __args__['accountId'] = account_id
@@ -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
@@ -49,7 +50,7 @@ class GetAlertChannelResult:
49
50
 
50
51
  @property
51
52
  @pulumi.getter(name="accountId")
52
- def account_id(self) -> str:
53
+ def account_id(self) -> builtins.str:
53
54
  return pulumi.get(self, "account_id")
54
55
 
55
56
  @property
@@ -62,7 +63,7 @@ class GetAlertChannelResult:
62
63
 
63
64
  @property
64
65
  @pulumi.getter
65
- def id(self) -> str:
66
+ def id(self) -> builtins.str:
66
67
  """
67
68
  The provider-assigned unique ID for this managed resource.
68
69
  """
@@ -70,12 +71,12 @@ class GetAlertChannelResult:
70
71
 
71
72
  @property
72
73
  @pulumi.getter
73
- def name(self) -> str:
74
+ def name(self) -> builtins.str:
74
75
  return pulumi.get(self, "name")
75
76
 
76
77
  @property
77
78
  @pulumi.getter(name="policyIds")
78
- def policy_ids(self) -> Sequence[str]:
79
+ def policy_ids(self) -> Sequence[builtins.str]:
79
80
  """
80
81
  A list of policy IDs associated with the alert channel.
81
82
  """
@@ -83,7 +84,7 @@ class GetAlertChannelResult:
83
84
 
84
85
  @property
85
86
  @pulumi.getter
86
- def type(self) -> str:
87
+ def type(self) -> builtins.str:
87
88
  """
88
89
  Alert channel type, either: `email`, `opsgenie`, `pagerduty`, `slack`, `victorops`, or `webhook`.
89
90
  """
@@ -104,8 +105,8 @@ class AwaitableGetAlertChannelResult(GetAlertChannelResult):
104
105
  type=self.type)
105
106
 
106
107
 
107
- def get_alert_channel(account_id: Optional[str] = None,
108
- name: Optional[str] = None,
108
+ def get_alert_channel(account_id: Optional[builtins.str] = None,
109
+ name: Optional[builtins.str] = None,
109
110
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertChannelResult:
110
111
  """
111
112
  Use this data source to get information about a specific alert channel in New Relic that already exists.
@@ -113,8 +114,8 @@ def get_alert_channel(account_id: Optional[str] = None,
113
114
  > **WARNING:** The `AlertChannel` data source is deprecated and will be removed in the next major release.
114
115
 
115
116
 
116
- :param str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
117
- :param str name: The name of the alert channel in New Relic.
117
+ :param builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
118
+ :param builtins.str name: The name of the alert channel in New Relic.
118
119
  """
119
120
  __args__ = dict()
120
121
  __args__['accountId'] = account_id
@@ -129,8 +130,8 @@ def get_alert_channel(account_id: Optional[str] = None,
129
130
  name=pulumi.get(__ret__, 'name'),
130
131
  policy_ids=pulumi.get(__ret__, 'policy_ids'),
131
132
  type=pulumi.get(__ret__, 'type'))
132
- def get_alert_channel_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
133
- name: Optional[pulumi.Input[str]] = None,
133
+ def get_alert_channel_output(account_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
134
+ name: Optional[pulumi.Input[builtins.str]] = None,
134
135
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlertChannelResult]:
135
136
  """
136
137
  Use this data source to get information about a specific alert channel in New Relic that already exists.
@@ -138,8 +139,8 @@ def get_alert_channel_output(account_id: Optional[pulumi.Input[Optional[str]]] =
138
139
  > **WARNING:** The `AlertChannel` data source is deprecated and will be removed in the next major release.
139
140
 
140
141
 
141
- :param str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
142
- :param str name: The name of the alert channel in New Relic.
142
+ :param builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
143
+ :param builtins.str name: The name of the alert channel in New Relic.
143
144
  """
144
145
  __args__ = dict()
145
146
  __args__['accountId'] = account_id
@@ -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
@@ -48,12 +49,12 @@ class GetAlertPolicyResult:
48
49
 
49
50
  @property
50
51
  @pulumi.getter(name="accountId")
51
- def account_id(self) -> str:
52
+ def account_id(self) -> builtins.str:
52
53
  return pulumi.get(self, "account_id")
53
54
 
54
55
  @property
55
56
  @pulumi.getter(name="createdAt")
56
- def created_at(self) -> str:
57
+ def created_at(self) -> builtins.str:
57
58
  """
58
59
  The time the policy was created.
59
60
  """
@@ -61,7 +62,7 @@ class GetAlertPolicyResult:
61
62
 
62
63
  @property
63
64
  @pulumi.getter
64
- def id(self) -> str:
65
+ def id(self) -> builtins.str:
65
66
  """
66
67
  The provider-assigned unique ID for this managed resource.
67
68
  """
@@ -69,7 +70,7 @@ class GetAlertPolicyResult:
69
70
 
70
71
  @property
71
72
  @pulumi.getter(name="incidentPreference")
72
- def incident_preference(self) -> Optional[str]:
73
+ def incident_preference(self) -> Optional[builtins.str]:
73
74
  """
74
75
  The rollup strategy for the policy, which can have one of the following values:
75
76
  * `PER_POLICY` - Represents the incident grouping preference **One issue per policy**. Refer to [this page](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/alert-policies/specify-when-alerts-create-incidents/#preference-policy) for more details on this incident grouping preference.
@@ -80,12 +81,12 @@ class GetAlertPolicyResult:
80
81
 
81
82
  @property
82
83
  @pulumi.getter
83
- def name(self) -> str:
84
+ def name(self) -> builtins.str:
84
85
  return pulumi.get(self, "name")
85
86
 
86
87
  @property
87
88
  @pulumi.getter(name="updatedAt")
88
- def updated_at(self) -> str:
89
+ def updated_at(self) -> builtins.str:
89
90
  """
90
91
  The time the policy was last updated.
91
92
  """
@@ -106,20 +107,20 @@ class AwaitableGetAlertPolicyResult(GetAlertPolicyResult):
106
107
  updated_at=self.updated_at)
107
108
 
108
109
 
109
- def get_alert_policy(account_id: Optional[str] = None,
110
- incident_preference: Optional[str] = None,
111
- name: Optional[str] = None,
110
+ def get_alert_policy(account_id: Optional[builtins.str] = None,
111
+ incident_preference: Optional[builtins.str] = None,
112
+ name: Optional[builtins.str] = None,
112
113
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertPolicyResult:
113
114
  """
114
115
  Use this data source to get information about a specific alert policy in New Relic that already exists.
115
116
 
116
117
 
117
- :param str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
118
- :param str incident_preference: The rollup strategy for the policy, which can have one of the following values:
118
+ :param builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
119
+ :param builtins.str incident_preference: The rollup strategy for the policy, which can have one of the following values:
119
120
  * `PER_POLICY` - Represents the incident grouping preference **One issue per policy**. Refer to [this page](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/alert-policies/specify-when-alerts-create-incidents/#preference-policy) for more details on this incident grouping preference.
120
121
  * `PER_CONDITION` - Represents the incident grouping preference **One issue per condition**. Refer to [this page](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/alert-policies/specify-when-alerts-create-incidents/#preference-condition) for more details on this incident grouping preference.
121
122
  * `PER_CONDITION_AND_TARGET` - Represents the incident grouping preference **One issue per condition and signal**. Refer to [this page](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/alert-policies/specify-when-alerts-create-incidents/#preference-signal) for more details on this incident grouping preference.
122
- :param str name: The name of the alert policy in New Relic.
123
+ :param builtins.str name: The name of the alert policy in New Relic.
123
124
  """
124
125
  __args__ = dict()
125
126
  __args__['accountId'] = account_id
@@ -135,20 +136,20 @@ def get_alert_policy(account_id: Optional[str] = None,
135
136
  incident_preference=pulumi.get(__ret__, 'incident_preference'),
136
137
  name=pulumi.get(__ret__, 'name'),
137
138
  updated_at=pulumi.get(__ret__, 'updated_at'))
138
- def get_alert_policy_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
139
- incident_preference: Optional[pulumi.Input[Optional[str]]] = None,
140
- name: Optional[pulumi.Input[str]] = None,
139
+ def get_alert_policy_output(account_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
140
+ incident_preference: Optional[pulumi.Input[Optional[builtins.str]]] = None,
141
+ name: Optional[pulumi.Input[builtins.str]] = None,
141
142
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlertPolicyResult]:
142
143
  """
143
144
  Use this data source to get information about a specific alert policy in New Relic that already exists.
144
145
 
145
146
 
146
- :param str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
147
- :param str incident_preference: The rollup strategy for the policy, which can have one of the following values:
147
+ :param builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
148
+ :param builtins.str incident_preference: The rollup strategy for the policy, which can have one of the following values:
148
149
  * `PER_POLICY` - Represents the incident grouping preference **One issue per policy**. Refer to [this page](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/alert-policies/specify-when-alerts-create-incidents/#preference-policy) for more details on this incident grouping preference.
149
150
  * `PER_CONDITION` - Represents the incident grouping preference **One issue per condition**. Refer to [this page](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/alert-policies/specify-when-alerts-create-incidents/#preference-condition) for more details on this incident grouping preference.
150
151
  * `PER_CONDITION_AND_TARGET` - Represents the incident grouping preference **One issue per condition and signal**. Refer to [this page](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/alert-policies/specify-when-alerts-create-incidents/#preference-signal) for more details on this incident grouping preference.
151
- :param str name: The name of the alert policy in New Relic.
152
+ :param builtins.str name: The name of the alert policy in New Relic.
152
153
  """
153
154
  __args__ = dict()
154
155
  __args__['accountId'] = account_id