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.
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 +151 -150
  73. pulumi_newrelic/synthetics/cert_check_monitor.py +158 -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 +298 -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 +235 -234
  81. pulumi_newrelic/synthetics/secure_credential.py +71 -70
  82. pulumi_newrelic/synthetics/step_monitor.py +165 -164
  83. pulumi_newrelic/user.py +57 -56
  84. pulumi_newrelic/workflow.py +106 -105
  85. {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744265343.dist-info}/METADATA +1 -1
  86. pulumi_newrelic-5.45.0a1744265343.dist-info/RECORD +90 -0
  87. pulumi_newrelic-5.45.0a1743574084.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744265343.dist-info}/WHEEL +0 -0
  89. {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
@@ -21,42 +22,42 @@ __all__ = ['InfraAlertConditionArgs', 'InfraAlertCondition']
21
22
  @pulumi.input_type
22
23
  class InfraAlertConditionArgs:
23
24
  def __init__(__self__, *,
24
- policy_id: pulumi.Input[str],
25
- type: pulumi.Input[str],
26
- comparison: Optional[pulumi.Input[str]] = None,
25
+ policy_id: pulumi.Input[builtins.str],
26
+ type: pulumi.Input[builtins.str],
27
+ comparison: Optional[pulumi.Input[builtins.str]] = None,
27
28
  critical: Optional[pulumi.Input['InfraAlertConditionCriticalArgs']] = None,
28
- description: Optional[pulumi.Input[str]] = None,
29
- enabled: Optional[pulumi.Input[bool]] = None,
30
- event: Optional[pulumi.Input[str]] = None,
31
- integration_provider: Optional[pulumi.Input[str]] = None,
32
- name: Optional[pulumi.Input[str]] = None,
33
- process_where: Optional[pulumi.Input[str]] = None,
34
- runbook_url: Optional[pulumi.Input[str]] = None,
35
- select: Optional[pulumi.Input[str]] = None,
36
- violation_close_timer: Optional[pulumi.Input[int]] = None,
29
+ description: Optional[pulumi.Input[builtins.str]] = None,
30
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
31
+ event: Optional[pulumi.Input[builtins.str]] = None,
32
+ integration_provider: Optional[pulumi.Input[builtins.str]] = None,
33
+ name: Optional[pulumi.Input[builtins.str]] = None,
34
+ process_where: Optional[pulumi.Input[builtins.str]] = None,
35
+ runbook_url: Optional[pulumi.Input[builtins.str]] = None,
36
+ select: Optional[pulumi.Input[builtins.str]] = None,
37
+ violation_close_timer: Optional[pulumi.Input[builtins.int]] = None,
37
38
  warning: Optional[pulumi.Input['InfraAlertConditionWarningArgs']] = None,
38
- where: Optional[pulumi.Input[str]] = None):
39
+ where: Optional[pulumi.Input[builtins.str]] = None):
39
40
  """
40
41
  The set of arguments for constructing a InfraAlertCondition resource.
41
- :param pulumi.Input[str] policy_id: The ID of the alert policy where this condition should be used.
42
- :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
43
- :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
42
+ :param pulumi.Input[builtins.str] policy_id: The ID of the alert policy where this condition should be used.
43
+ :param pulumi.Input[builtins.str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
44
+ :param pulumi.Input[builtins.str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
44
45
  :param pulumi.Input['InfraAlertConditionCriticalArgs'] critical: Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
45
- :param pulumi.Input[str] description: The description of the Infrastructure alert condition.
46
- :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
47
- :param pulumi.Input[str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
48
- :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
49
- :param pulumi.Input[str] name: The Infrastructure alert condition's name.
50
- :param pulumi.Input[str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
51
- :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
52
- :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
53
- :param pulumi.Input[int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
46
+ :param pulumi.Input[builtins.str] description: The description of the Infrastructure alert condition.
47
+ :param pulumi.Input[builtins.bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
48
+ :param pulumi.Input[builtins.str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
49
+ :param pulumi.Input[builtins.str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
50
+ :param pulumi.Input[builtins.str] name: The Infrastructure alert condition's name.
51
+ :param pulumi.Input[builtins.str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
52
+ :param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
53
+ :param pulumi.Input[builtins.str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
54
+ :param pulumi.Input[builtins.int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
54
55
 
55
56
  ```
56
57
  Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
57
58
  ```
58
59
  :param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
59
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
60
+ :param pulumi.Input[builtins.str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
60
61
  """
61
62
  pulumi.set(__self__, "policy_id", policy_id)
62
63
  pulumi.set(__self__, "type", type)
@@ -89,38 +90,38 @@ class InfraAlertConditionArgs:
89
90
 
90
91
  @property
91
92
  @pulumi.getter(name="policyId")
92
- def policy_id(self) -> pulumi.Input[str]:
93
+ def policy_id(self) -> pulumi.Input[builtins.str]:
93
94
  """
94
95
  The ID of the alert policy where this condition should be used.
95
96
  """
96
97
  return pulumi.get(self, "policy_id")
97
98
 
98
99
  @policy_id.setter
99
- def policy_id(self, value: pulumi.Input[str]):
100
+ def policy_id(self, value: pulumi.Input[builtins.str]):
100
101
  pulumi.set(self, "policy_id", value)
101
102
 
102
103
  @property
103
104
  @pulumi.getter
104
- def type(self) -> pulumi.Input[str]:
105
+ def type(self) -> pulumi.Input[builtins.str]:
105
106
  """
106
107
  The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
107
108
  """
108
109
  return pulumi.get(self, "type")
109
110
 
110
111
  @type.setter
111
- def type(self, value: pulumi.Input[str]):
112
+ def type(self, value: pulumi.Input[builtins.str]):
112
113
  pulumi.set(self, "type", value)
113
114
 
114
115
  @property
115
116
  @pulumi.getter
116
- def comparison(self) -> Optional[pulumi.Input[str]]:
117
+ def comparison(self) -> Optional[pulumi.Input[builtins.str]]:
117
118
  """
118
119
  The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
119
120
  """
120
121
  return pulumi.get(self, "comparison")
121
122
 
122
123
  @comparison.setter
123
- def comparison(self, value: Optional[pulumi.Input[str]]):
124
+ def comparison(self, value: Optional[pulumi.Input[builtins.str]]):
124
125
  pulumi.set(self, "comparison", value)
125
126
 
126
127
  @property
@@ -137,103 +138,103 @@ class InfraAlertConditionArgs:
137
138
 
138
139
  @property
139
140
  @pulumi.getter
140
- def description(self) -> Optional[pulumi.Input[str]]:
141
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
141
142
  """
142
143
  The description of the Infrastructure alert condition.
143
144
  """
144
145
  return pulumi.get(self, "description")
145
146
 
146
147
  @description.setter
147
- def description(self, value: Optional[pulumi.Input[str]]):
148
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
148
149
  pulumi.set(self, "description", value)
149
150
 
150
151
  @property
151
152
  @pulumi.getter
152
- def enabled(self) -> Optional[pulumi.Input[bool]]:
153
+ def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
153
154
  """
154
155
  Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
155
156
  """
156
157
  return pulumi.get(self, "enabled")
157
158
 
158
159
  @enabled.setter
159
- def enabled(self, value: Optional[pulumi.Input[bool]]):
160
+ def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
160
161
  pulumi.set(self, "enabled", value)
161
162
 
162
163
  @property
163
164
  @pulumi.getter
164
- def event(self) -> Optional[pulumi.Input[str]]:
165
+ def event(self) -> Optional[pulumi.Input[builtins.str]]:
165
166
  """
166
167
  The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
167
168
  """
168
169
  return pulumi.get(self, "event")
169
170
 
170
171
  @event.setter
171
- def event(self, value: Optional[pulumi.Input[str]]):
172
+ def event(self, value: Optional[pulumi.Input[builtins.str]]):
172
173
  pulumi.set(self, "event", value)
173
174
 
174
175
  @property
175
176
  @pulumi.getter(name="integrationProvider")
176
- def integration_provider(self) -> Optional[pulumi.Input[str]]:
177
+ def integration_provider(self) -> Optional[pulumi.Input[builtins.str]]:
177
178
  """
178
179
  For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
179
180
  """
180
181
  return pulumi.get(self, "integration_provider")
181
182
 
182
183
  @integration_provider.setter
183
- def integration_provider(self, value: Optional[pulumi.Input[str]]):
184
+ def integration_provider(self, value: Optional[pulumi.Input[builtins.str]]):
184
185
  pulumi.set(self, "integration_provider", value)
185
186
 
186
187
  @property
187
188
  @pulumi.getter
188
- def name(self) -> Optional[pulumi.Input[str]]:
189
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
189
190
  """
190
191
  The Infrastructure alert condition's name.
191
192
  """
192
193
  return pulumi.get(self, "name")
193
194
 
194
195
  @name.setter
195
- def name(self, value: Optional[pulumi.Input[str]]):
196
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
196
197
  pulumi.set(self, "name", value)
197
198
 
198
199
  @property
199
200
  @pulumi.getter(name="processWhere")
200
- def process_where(self) -> Optional[pulumi.Input[str]]:
201
+ def process_where(self) -> Optional[pulumi.Input[builtins.str]]:
201
202
  """
202
203
  Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
203
204
  """
204
205
  return pulumi.get(self, "process_where")
205
206
 
206
207
  @process_where.setter
207
- def process_where(self, value: Optional[pulumi.Input[str]]):
208
+ def process_where(self, value: Optional[pulumi.Input[builtins.str]]):
208
209
  pulumi.set(self, "process_where", value)
209
210
 
210
211
  @property
211
212
  @pulumi.getter(name="runbookUrl")
212
- def runbook_url(self) -> Optional[pulumi.Input[str]]:
213
+ def runbook_url(self) -> Optional[pulumi.Input[builtins.str]]:
213
214
  """
214
215
  Runbook URL to display in notifications.
215
216
  """
216
217
  return pulumi.get(self, "runbook_url")
217
218
 
218
219
  @runbook_url.setter
219
- def runbook_url(self, value: Optional[pulumi.Input[str]]):
220
+ def runbook_url(self, value: Optional[pulumi.Input[builtins.str]]):
220
221
  pulumi.set(self, "runbook_url", value)
221
222
 
222
223
  @property
223
224
  @pulumi.getter
224
- def select(self) -> Optional[pulumi.Input[str]]:
225
+ def select(self) -> Optional[pulumi.Input[builtins.str]]:
225
226
  """
226
227
  The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
227
228
  """
228
229
  return pulumi.get(self, "select")
229
230
 
230
231
  @select.setter
231
- def select(self, value: Optional[pulumi.Input[str]]):
232
+ def select(self, value: Optional[pulumi.Input[builtins.str]]):
232
233
  pulumi.set(self, "select", value)
233
234
 
234
235
  @property
235
236
  @pulumi.getter(name="violationCloseTimer")
236
- def violation_close_timer(self) -> Optional[pulumi.Input[int]]:
237
+ def violation_close_timer(self) -> Optional[pulumi.Input[builtins.int]]:
237
238
  """
238
239
  Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
239
240
 
@@ -244,7 +245,7 @@ class InfraAlertConditionArgs:
244
245
  return pulumi.get(self, "violation_close_timer")
245
246
 
246
247
  @violation_close_timer.setter
247
- def violation_close_timer(self, value: Optional[pulumi.Input[int]]):
248
+ def violation_close_timer(self, value: Optional[pulumi.Input[builtins.int]]):
248
249
  pulumi.set(self, "violation_close_timer", value)
249
250
 
250
251
  @property
@@ -261,62 +262,62 @@ class InfraAlertConditionArgs:
261
262
 
262
263
  @property
263
264
  @pulumi.getter
264
- def where(self) -> Optional[pulumi.Input[str]]:
265
+ def where(self) -> Optional[pulumi.Input[builtins.str]]:
265
266
  """
266
267
  If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
267
268
  """
268
269
  return pulumi.get(self, "where")
269
270
 
270
271
  @where.setter
271
- def where(self, value: Optional[pulumi.Input[str]]):
272
+ def where(self, value: Optional[pulumi.Input[builtins.str]]):
272
273
  pulumi.set(self, "where", value)
273
274
 
274
275
 
275
276
  @pulumi.input_type
276
277
  class _InfraAlertConditionState:
277
278
  def __init__(__self__, *,
278
- comparison: Optional[pulumi.Input[str]] = None,
279
- created_at: Optional[pulumi.Input[int]] = None,
279
+ comparison: Optional[pulumi.Input[builtins.str]] = None,
280
+ created_at: Optional[pulumi.Input[builtins.int]] = None,
280
281
  critical: Optional[pulumi.Input['InfraAlertConditionCriticalArgs']] = None,
281
- description: Optional[pulumi.Input[str]] = None,
282
- enabled: Optional[pulumi.Input[bool]] = None,
283
- entity_guid: Optional[pulumi.Input[str]] = None,
284
- event: Optional[pulumi.Input[str]] = None,
285
- integration_provider: Optional[pulumi.Input[str]] = None,
286
- name: Optional[pulumi.Input[str]] = None,
287
- policy_id: Optional[pulumi.Input[str]] = None,
288
- process_where: Optional[pulumi.Input[str]] = None,
289
- runbook_url: Optional[pulumi.Input[str]] = None,
290
- select: Optional[pulumi.Input[str]] = None,
291
- type: Optional[pulumi.Input[str]] = None,
292
- updated_at: Optional[pulumi.Input[int]] = None,
293
- violation_close_timer: Optional[pulumi.Input[int]] = None,
282
+ description: Optional[pulumi.Input[builtins.str]] = None,
283
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
284
+ entity_guid: Optional[pulumi.Input[builtins.str]] = None,
285
+ event: Optional[pulumi.Input[builtins.str]] = None,
286
+ integration_provider: Optional[pulumi.Input[builtins.str]] = None,
287
+ name: Optional[pulumi.Input[builtins.str]] = None,
288
+ policy_id: Optional[pulumi.Input[builtins.str]] = None,
289
+ process_where: Optional[pulumi.Input[builtins.str]] = None,
290
+ runbook_url: Optional[pulumi.Input[builtins.str]] = None,
291
+ select: Optional[pulumi.Input[builtins.str]] = None,
292
+ type: Optional[pulumi.Input[builtins.str]] = None,
293
+ updated_at: Optional[pulumi.Input[builtins.int]] = None,
294
+ violation_close_timer: Optional[pulumi.Input[builtins.int]] = None,
294
295
  warning: Optional[pulumi.Input['InfraAlertConditionWarningArgs']] = None,
295
- where: Optional[pulumi.Input[str]] = None):
296
+ where: Optional[pulumi.Input[builtins.str]] = None):
296
297
  """
297
298
  Input properties used for looking up and filtering InfraAlertCondition resources.
298
- :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
299
- :param pulumi.Input[int] created_at: The timestamp the alert condition was created.
299
+ :param pulumi.Input[builtins.str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
300
+ :param pulumi.Input[builtins.int] created_at: The timestamp the alert condition was created.
300
301
  :param pulumi.Input['InfraAlertConditionCriticalArgs'] critical: Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
301
- :param pulumi.Input[str] description: The description of the Infrastructure alert condition.
302
- :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
303
- :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
304
- :param pulumi.Input[str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
305
- :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
306
- :param pulumi.Input[str] name: The Infrastructure alert condition's name.
307
- :param pulumi.Input[str] policy_id: The ID of the alert policy where this condition should be used.
308
- :param pulumi.Input[str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
309
- :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
310
- :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
311
- :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
312
- :param pulumi.Input[int] updated_at: The timestamp the alert condition was last updated.
313
- :param pulumi.Input[int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
302
+ :param pulumi.Input[builtins.str] description: The description of the Infrastructure alert condition.
303
+ :param pulumi.Input[builtins.bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
304
+ :param pulumi.Input[builtins.str] entity_guid: The unique entity identifier of the condition in New Relic.
305
+ :param pulumi.Input[builtins.str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
306
+ :param pulumi.Input[builtins.str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
307
+ :param pulumi.Input[builtins.str] name: The Infrastructure alert condition's name.
308
+ :param pulumi.Input[builtins.str] policy_id: The ID of the alert policy where this condition should be used.
309
+ :param pulumi.Input[builtins.str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
310
+ :param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
311
+ :param pulumi.Input[builtins.str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
312
+ :param pulumi.Input[builtins.str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
313
+ :param pulumi.Input[builtins.int] updated_at: The timestamp the alert condition was last updated.
314
+ :param pulumi.Input[builtins.int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
314
315
 
315
316
  ```
316
317
  Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
317
318
  ```
318
319
  :param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
319
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
320
+ :param pulumi.Input[builtins.str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
320
321
  """
321
322
  if comparison is not None:
322
323
  pulumi.set(__self__, "comparison", comparison)
@@ -357,26 +358,26 @@ class _InfraAlertConditionState:
357
358
 
358
359
  @property
359
360
  @pulumi.getter
360
- def comparison(self) -> Optional[pulumi.Input[str]]:
361
+ def comparison(self) -> Optional[pulumi.Input[builtins.str]]:
361
362
  """
362
363
  The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
363
364
  """
364
365
  return pulumi.get(self, "comparison")
365
366
 
366
367
  @comparison.setter
367
- def comparison(self, value: Optional[pulumi.Input[str]]):
368
+ def comparison(self, value: Optional[pulumi.Input[builtins.str]]):
368
369
  pulumi.set(self, "comparison", value)
369
370
 
370
371
  @property
371
372
  @pulumi.getter(name="createdAt")
372
- def created_at(self) -> Optional[pulumi.Input[int]]:
373
+ def created_at(self) -> Optional[pulumi.Input[builtins.int]]:
373
374
  """
374
375
  The timestamp the alert condition was created.
375
376
  """
376
377
  return pulumi.get(self, "created_at")
377
378
 
378
379
  @created_at.setter
379
- def created_at(self, value: Optional[pulumi.Input[int]]):
380
+ def created_at(self, value: Optional[pulumi.Input[builtins.int]]):
380
381
  pulumi.set(self, "created_at", value)
381
382
 
382
383
  @property
@@ -393,151 +394,151 @@ class _InfraAlertConditionState:
393
394
 
394
395
  @property
395
396
  @pulumi.getter
396
- def description(self) -> Optional[pulumi.Input[str]]:
397
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
397
398
  """
398
399
  The description of the Infrastructure alert condition.
399
400
  """
400
401
  return pulumi.get(self, "description")
401
402
 
402
403
  @description.setter
403
- def description(self, value: Optional[pulumi.Input[str]]):
404
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
404
405
  pulumi.set(self, "description", value)
405
406
 
406
407
  @property
407
408
  @pulumi.getter
408
- def enabled(self) -> Optional[pulumi.Input[bool]]:
409
+ def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
409
410
  """
410
411
  Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
411
412
  """
412
413
  return pulumi.get(self, "enabled")
413
414
 
414
415
  @enabled.setter
415
- def enabled(self, value: Optional[pulumi.Input[bool]]):
416
+ def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
416
417
  pulumi.set(self, "enabled", value)
417
418
 
418
419
  @property
419
420
  @pulumi.getter(name="entityGuid")
420
- def entity_guid(self) -> Optional[pulumi.Input[str]]:
421
+ def entity_guid(self) -> Optional[pulumi.Input[builtins.str]]:
421
422
  """
422
423
  The unique entity identifier of the condition in New Relic.
423
424
  """
424
425
  return pulumi.get(self, "entity_guid")
425
426
 
426
427
  @entity_guid.setter
427
- def entity_guid(self, value: Optional[pulumi.Input[str]]):
428
+ def entity_guid(self, value: Optional[pulumi.Input[builtins.str]]):
428
429
  pulumi.set(self, "entity_guid", value)
429
430
 
430
431
  @property
431
432
  @pulumi.getter
432
- def event(self) -> Optional[pulumi.Input[str]]:
433
+ def event(self) -> Optional[pulumi.Input[builtins.str]]:
433
434
  """
434
435
  The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
435
436
  """
436
437
  return pulumi.get(self, "event")
437
438
 
438
439
  @event.setter
439
- def event(self, value: Optional[pulumi.Input[str]]):
440
+ def event(self, value: Optional[pulumi.Input[builtins.str]]):
440
441
  pulumi.set(self, "event", value)
441
442
 
442
443
  @property
443
444
  @pulumi.getter(name="integrationProvider")
444
- def integration_provider(self) -> Optional[pulumi.Input[str]]:
445
+ def integration_provider(self) -> Optional[pulumi.Input[builtins.str]]:
445
446
  """
446
447
  For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
447
448
  """
448
449
  return pulumi.get(self, "integration_provider")
449
450
 
450
451
  @integration_provider.setter
451
- def integration_provider(self, value: Optional[pulumi.Input[str]]):
452
+ def integration_provider(self, value: Optional[pulumi.Input[builtins.str]]):
452
453
  pulumi.set(self, "integration_provider", value)
453
454
 
454
455
  @property
455
456
  @pulumi.getter
456
- def name(self) -> Optional[pulumi.Input[str]]:
457
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
457
458
  """
458
459
  The Infrastructure alert condition's name.
459
460
  """
460
461
  return pulumi.get(self, "name")
461
462
 
462
463
  @name.setter
463
- def name(self, value: Optional[pulumi.Input[str]]):
464
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
464
465
  pulumi.set(self, "name", value)
465
466
 
466
467
  @property
467
468
  @pulumi.getter(name="policyId")
468
- def policy_id(self) -> Optional[pulumi.Input[str]]:
469
+ def policy_id(self) -> Optional[pulumi.Input[builtins.str]]:
469
470
  """
470
471
  The ID of the alert policy where this condition should be used.
471
472
  """
472
473
  return pulumi.get(self, "policy_id")
473
474
 
474
475
  @policy_id.setter
475
- def policy_id(self, value: Optional[pulumi.Input[str]]):
476
+ def policy_id(self, value: Optional[pulumi.Input[builtins.str]]):
476
477
  pulumi.set(self, "policy_id", value)
477
478
 
478
479
  @property
479
480
  @pulumi.getter(name="processWhere")
480
- def process_where(self) -> Optional[pulumi.Input[str]]:
481
+ def process_where(self) -> Optional[pulumi.Input[builtins.str]]:
481
482
  """
482
483
  Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
483
484
  """
484
485
  return pulumi.get(self, "process_where")
485
486
 
486
487
  @process_where.setter
487
- def process_where(self, value: Optional[pulumi.Input[str]]):
488
+ def process_where(self, value: Optional[pulumi.Input[builtins.str]]):
488
489
  pulumi.set(self, "process_where", value)
489
490
 
490
491
  @property
491
492
  @pulumi.getter(name="runbookUrl")
492
- def runbook_url(self) -> Optional[pulumi.Input[str]]:
493
+ def runbook_url(self) -> Optional[pulumi.Input[builtins.str]]:
493
494
  """
494
495
  Runbook URL to display in notifications.
495
496
  """
496
497
  return pulumi.get(self, "runbook_url")
497
498
 
498
499
  @runbook_url.setter
499
- def runbook_url(self, value: Optional[pulumi.Input[str]]):
500
+ def runbook_url(self, value: Optional[pulumi.Input[builtins.str]]):
500
501
  pulumi.set(self, "runbook_url", value)
501
502
 
502
503
  @property
503
504
  @pulumi.getter
504
- def select(self) -> Optional[pulumi.Input[str]]:
505
+ def select(self) -> Optional[pulumi.Input[builtins.str]]:
505
506
  """
506
507
  The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
507
508
  """
508
509
  return pulumi.get(self, "select")
509
510
 
510
511
  @select.setter
511
- def select(self, value: Optional[pulumi.Input[str]]):
512
+ def select(self, value: Optional[pulumi.Input[builtins.str]]):
512
513
  pulumi.set(self, "select", value)
513
514
 
514
515
  @property
515
516
  @pulumi.getter
516
- def type(self) -> Optional[pulumi.Input[str]]:
517
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
517
518
  """
518
519
  The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
519
520
  """
520
521
  return pulumi.get(self, "type")
521
522
 
522
523
  @type.setter
523
- def type(self, value: Optional[pulumi.Input[str]]):
524
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
524
525
  pulumi.set(self, "type", value)
525
526
 
526
527
  @property
527
528
  @pulumi.getter(name="updatedAt")
528
- def updated_at(self) -> Optional[pulumi.Input[int]]:
529
+ def updated_at(self) -> Optional[pulumi.Input[builtins.int]]:
529
530
  """
530
531
  The timestamp the alert condition was last updated.
531
532
  """
532
533
  return pulumi.get(self, "updated_at")
533
534
 
534
535
  @updated_at.setter
535
- def updated_at(self, value: Optional[pulumi.Input[int]]):
536
+ def updated_at(self, value: Optional[pulumi.Input[builtins.int]]):
536
537
  pulumi.set(self, "updated_at", value)
537
538
 
538
539
  @property
539
540
  @pulumi.getter(name="violationCloseTimer")
540
- def violation_close_timer(self) -> Optional[pulumi.Input[int]]:
541
+ def violation_close_timer(self) -> Optional[pulumi.Input[builtins.int]]:
541
542
  """
542
543
  Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
543
544
 
@@ -548,7 +549,7 @@ class _InfraAlertConditionState:
548
549
  return pulumi.get(self, "violation_close_timer")
549
550
 
550
551
  @violation_close_timer.setter
551
- def violation_close_timer(self, value: Optional[pulumi.Input[int]]):
552
+ def violation_close_timer(self, value: Optional[pulumi.Input[builtins.int]]):
552
553
  pulumi.set(self, "violation_close_timer", value)
553
554
 
554
555
  @property
@@ -565,14 +566,14 @@ class _InfraAlertConditionState:
565
566
 
566
567
  @property
567
568
  @pulumi.getter
568
- def where(self) -> Optional[pulumi.Input[str]]:
569
+ def where(self) -> Optional[pulumi.Input[builtins.str]]:
569
570
  """
570
571
  If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
571
572
  """
572
573
  return pulumi.get(self, "where")
573
574
 
574
575
  @where.setter
575
- def where(self, value: Optional[pulumi.Input[str]]):
576
+ def where(self, value: Optional[pulumi.Input[builtins.str]]):
576
577
  pulumi.set(self, "where", value)
577
578
 
578
579
 
@@ -581,21 +582,21 @@ class InfraAlertCondition(pulumi.CustomResource):
581
582
  def __init__(__self__,
582
583
  resource_name: str,
583
584
  opts: Optional[pulumi.ResourceOptions] = None,
584
- comparison: Optional[pulumi.Input[str]] = None,
585
+ comparison: Optional[pulumi.Input[builtins.str]] = None,
585
586
  critical: Optional[pulumi.Input[Union['InfraAlertConditionCriticalArgs', 'InfraAlertConditionCriticalArgsDict']]] = None,
586
- description: Optional[pulumi.Input[str]] = None,
587
- enabled: Optional[pulumi.Input[bool]] = None,
588
- event: Optional[pulumi.Input[str]] = None,
589
- integration_provider: Optional[pulumi.Input[str]] = None,
590
- name: Optional[pulumi.Input[str]] = None,
591
- policy_id: Optional[pulumi.Input[str]] = None,
592
- process_where: Optional[pulumi.Input[str]] = None,
593
- runbook_url: Optional[pulumi.Input[str]] = None,
594
- select: Optional[pulumi.Input[str]] = None,
595
- type: Optional[pulumi.Input[str]] = None,
596
- violation_close_timer: Optional[pulumi.Input[int]] = None,
587
+ description: Optional[pulumi.Input[builtins.str]] = None,
588
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
589
+ event: Optional[pulumi.Input[builtins.str]] = None,
590
+ integration_provider: Optional[pulumi.Input[builtins.str]] = None,
591
+ name: Optional[pulumi.Input[builtins.str]] = None,
592
+ policy_id: Optional[pulumi.Input[builtins.str]] = None,
593
+ process_where: Optional[pulumi.Input[builtins.str]] = None,
594
+ runbook_url: Optional[pulumi.Input[builtins.str]] = None,
595
+ select: Optional[pulumi.Input[builtins.str]] = None,
596
+ type: Optional[pulumi.Input[builtins.str]] = None,
597
+ violation_close_timer: Optional[pulumi.Input[builtins.int]] = None,
597
598
  warning: Optional[pulumi.Input[Union['InfraAlertConditionWarningArgs', 'InfraAlertConditionWarningArgsDict']]] = None,
598
- where: Optional[pulumi.Input[str]] = None,
599
+ where: Optional[pulumi.Input[builtins.str]] = None,
599
600
  __props__=None):
600
601
  """
601
602
  Use this resource to create and manage Infrastructure alert conditions in New Relic.
@@ -729,25 +730,25 @@ class InfraAlertCondition(pulumi.CustomResource):
729
730
 
730
731
  :param str resource_name: The name of the resource.
731
732
  :param pulumi.ResourceOptions opts: Options for the resource.
732
- :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
733
+ :param pulumi.Input[builtins.str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
733
734
  :param pulumi.Input[Union['InfraAlertConditionCriticalArgs', 'InfraAlertConditionCriticalArgsDict']] critical: Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
734
- :param pulumi.Input[str] description: The description of the Infrastructure alert condition.
735
- :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
736
- :param pulumi.Input[str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
737
- :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
738
- :param pulumi.Input[str] name: The Infrastructure alert condition's name.
739
- :param pulumi.Input[str] policy_id: The ID of the alert policy where this condition should be used.
740
- :param pulumi.Input[str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
741
- :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
742
- :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
743
- :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
744
- :param pulumi.Input[int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
735
+ :param pulumi.Input[builtins.str] description: The description of the Infrastructure alert condition.
736
+ :param pulumi.Input[builtins.bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
737
+ :param pulumi.Input[builtins.str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
738
+ :param pulumi.Input[builtins.str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
739
+ :param pulumi.Input[builtins.str] name: The Infrastructure alert condition's name.
740
+ :param pulumi.Input[builtins.str] policy_id: The ID of the alert policy where this condition should be used.
741
+ :param pulumi.Input[builtins.str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
742
+ :param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
743
+ :param pulumi.Input[builtins.str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
744
+ :param pulumi.Input[builtins.str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
745
+ :param pulumi.Input[builtins.int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
745
746
 
746
747
  ```
747
748
  Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
748
749
  ```
749
750
  :param pulumi.Input[Union['InfraAlertConditionWarningArgs', 'InfraAlertConditionWarningArgsDict']] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
750
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
751
+ :param pulumi.Input[builtins.str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
751
752
  """
752
753
  ...
753
754
  @overload
@@ -900,21 +901,21 @@ class InfraAlertCondition(pulumi.CustomResource):
900
901
  def _internal_init(__self__,
901
902
  resource_name: str,
902
903
  opts: Optional[pulumi.ResourceOptions] = None,
903
- comparison: Optional[pulumi.Input[str]] = None,
904
+ comparison: Optional[pulumi.Input[builtins.str]] = None,
904
905
  critical: Optional[pulumi.Input[Union['InfraAlertConditionCriticalArgs', 'InfraAlertConditionCriticalArgsDict']]] = None,
905
- description: Optional[pulumi.Input[str]] = None,
906
- enabled: Optional[pulumi.Input[bool]] = None,
907
- event: Optional[pulumi.Input[str]] = None,
908
- integration_provider: Optional[pulumi.Input[str]] = None,
909
- name: Optional[pulumi.Input[str]] = None,
910
- policy_id: Optional[pulumi.Input[str]] = None,
911
- process_where: Optional[pulumi.Input[str]] = None,
912
- runbook_url: Optional[pulumi.Input[str]] = None,
913
- select: Optional[pulumi.Input[str]] = None,
914
- type: Optional[pulumi.Input[str]] = None,
915
- violation_close_timer: Optional[pulumi.Input[int]] = None,
906
+ description: Optional[pulumi.Input[builtins.str]] = None,
907
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
908
+ event: Optional[pulumi.Input[builtins.str]] = None,
909
+ integration_provider: Optional[pulumi.Input[builtins.str]] = None,
910
+ name: Optional[pulumi.Input[builtins.str]] = None,
911
+ policy_id: Optional[pulumi.Input[builtins.str]] = None,
912
+ process_where: Optional[pulumi.Input[builtins.str]] = None,
913
+ runbook_url: Optional[pulumi.Input[builtins.str]] = None,
914
+ select: Optional[pulumi.Input[builtins.str]] = None,
915
+ type: Optional[pulumi.Input[builtins.str]] = None,
916
+ violation_close_timer: Optional[pulumi.Input[builtins.int]] = None,
916
917
  warning: Optional[pulumi.Input[Union['InfraAlertConditionWarningArgs', 'InfraAlertConditionWarningArgsDict']]] = None,
917
- where: Optional[pulumi.Input[str]] = None,
918
+ where: Optional[pulumi.Input[builtins.str]] = None,
918
919
  __props__=None):
919
920
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
920
921
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -956,24 +957,24 @@ class InfraAlertCondition(pulumi.CustomResource):
956
957
  def get(resource_name: str,
957
958
  id: pulumi.Input[str],
958
959
  opts: Optional[pulumi.ResourceOptions] = None,
959
- comparison: Optional[pulumi.Input[str]] = None,
960
- created_at: Optional[pulumi.Input[int]] = None,
960
+ comparison: Optional[pulumi.Input[builtins.str]] = None,
961
+ created_at: Optional[pulumi.Input[builtins.int]] = None,
961
962
  critical: Optional[pulumi.Input[Union['InfraAlertConditionCriticalArgs', 'InfraAlertConditionCriticalArgsDict']]] = None,
962
- description: Optional[pulumi.Input[str]] = None,
963
- enabled: Optional[pulumi.Input[bool]] = None,
964
- entity_guid: Optional[pulumi.Input[str]] = None,
965
- event: Optional[pulumi.Input[str]] = None,
966
- integration_provider: Optional[pulumi.Input[str]] = None,
967
- name: Optional[pulumi.Input[str]] = None,
968
- policy_id: Optional[pulumi.Input[str]] = None,
969
- process_where: Optional[pulumi.Input[str]] = None,
970
- runbook_url: Optional[pulumi.Input[str]] = None,
971
- select: Optional[pulumi.Input[str]] = None,
972
- type: Optional[pulumi.Input[str]] = None,
973
- updated_at: Optional[pulumi.Input[int]] = None,
974
- violation_close_timer: Optional[pulumi.Input[int]] = None,
963
+ description: Optional[pulumi.Input[builtins.str]] = None,
964
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
965
+ entity_guid: Optional[pulumi.Input[builtins.str]] = None,
966
+ event: Optional[pulumi.Input[builtins.str]] = None,
967
+ integration_provider: Optional[pulumi.Input[builtins.str]] = None,
968
+ name: Optional[pulumi.Input[builtins.str]] = None,
969
+ policy_id: Optional[pulumi.Input[builtins.str]] = None,
970
+ process_where: Optional[pulumi.Input[builtins.str]] = None,
971
+ runbook_url: Optional[pulumi.Input[builtins.str]] = None,
972
+ select: Optional[pulumi.Input[builtins.str]] = None,
973
+ type: Optional[pulumi.Input[builtins.str]] = None,
974
+ updated_at: Optional[pulumi.Input[builtins.int]] = None,
975
+ violation_close_timer: Optional[pulumi.Input[builtins.int]] = None,
975
976
  warning: Optional[pulumi.Input[Union['InfraAlertConditionWarningArgs', 'InfraAlertConditionWarningArgsDict']]] = None,
976
- where: Optional[pulumi.Input[str]] = None) -> 'InfraAlertCondition':
977
+ where: Optional[pulumi.Input[builtins.str]] = None) -> 'InfraAlertCondition':
977
978
  """
978
979
  Get an existing InfraAlertCondition resource's state with the given name, id, and optional extra
979
980
  properties used to qualify the lookup.
@@ -981,28 +982,28 @@ class InfraAlertCondition(pulumi.CustomResource):
981
982
  :param str resource_name: The unique name of the resulting resource.
982
983
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
983
984
  :param pulumi.ResourceOptions opts: Options for the resource.
984
- :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
985
- :param pulumi.Input[int] created_at: The timestamp the alert condition was created.
985
+ :param pulumi.Input[builtins.str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
986
+ :param pulumi.Input[builtins.int] created_at: The timestamp the alert condition was created.
986
987
  :param pulumi.Input[Union['InfraAlertConditionCriticalArgs', 'InfraAlertConditionCriticalArgsDict']] critical: Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
987
- :param pulumi.Input[str] description: The description of the Infrastructure alert condition.
988
- :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
989
- :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
990
- :param pulumi.Input[str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
991
- :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
992
- :param pulumi.Input[str] name: The Infrastructure alert condition's name.
993
- :param pulumi.Input[str] policy_id: The ID of the alert policy where this condition should be used.
994
- :param pulumi.Input[str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
995
- :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
996
- :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
997
- :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
998
- :param pulumi.Input[int] updated_at: The timestamp the alert condition was last updated.
999
- :param pulumi.Input[int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
988
+ :param pulumi.Input[builtins.str] description: The description of the Infrastructure alert condition.
989
+ :param pulumi.Input[builtins.bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
990
+ :param pulumi.Input[builtins.str] entity_guid: The unique entity identifier of the condition in New Relic.
991
+ :param pulumi.Input[builtins.str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
992
+ :param pulumi.Input[builtins.str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
993
+ :param pulumi.Input[builtins.str] name: The Infrastructure alert condition's name.
994
+ :param pulumi.Input[builtins.str] policy_id: The ID of the alert policy where this condition should be used.
995
+ :param pulumi.Input[builtins.str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
996
+ :param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
997
+ :param pulumi.Input[builtins.str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
998
+ :param pulumi.Input[builtins.str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
999
+ :param pulumi.Input[builtins.int] updated_at: The timestamp the alert condition was last updated.
1000
+ :param pulumi.Input[builtins.int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
1000
1001
 
1001
1002
  ```
1002
1003
  Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
1003
1004
  ```
1004
1005
  :param pulumi.Input[Union['InfraAlertConditionWarningArgs', 'InfraAlertConditionWarningArgsDict']] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
1005
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
1006
+ :param pulumi.Input[builtins.str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
1006
1007
  """
1007
1008
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1008
1009
 
@@ -1030,7 +1031,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1030
1031
 
1031
1032
  @property
1032
1033
  @pulumi.getter
1033
- def comparison(self) -> pulumi.Output[Optional[str]]:
1034
+ def comparison(self) -> pulumi.Output[Optional[builtins.str]]:
1034
1035
  """
1035
1036
  The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
1036
1037
  """
@@ -1038,7 +1039,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1038
1039
 
1039
1040
  @property
1040
1041
  @pulumi.getter(name="createdAt")
1041
- def created_at(self) -> pulumi.Output[int]:
1042
+ def created_at(self) -> pulumi.Output[builtins.int]:
1042
1043
  """
1043
1044
  The timestamp the alert condition was created.
1044
1045
  """
@@ -1054,7 +1055,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1054
1055
 
1055
1056
  @property
1056
1057
  @pulumi.getter
1057
- def description(self) -> pulumi.Output[Optional[str]]:
1058
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
1058
1059
  """
1059
1060
  The description of the Infrastructure alert condition.
1060
1061
  """
@@ -1062,7 +1063,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1062
1063
 
1063
1064
  @property
1064
1065
  @pulumi.getter
1065
- def enabled(self) -> pulumi.Output[Optional[bool]]:
1066
+ def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
1066
1067
  """
1067
1068
  Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
1068
1069
  """
@@ -1070,7 +1071,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1070
1071
 
1071
1072
  @property
1072
1073
  @pulumi.getter(name="entityGuid")
1073
- def entity_guid(self) -> pulumi.Output[str]:
1074
+ def entity_guid(self) -> pulumi.Output[builtins.str]:
1074
1075
  """
1075
1076
  The unique entity identifier of the condition in New Relic.
1076
1077
  """
@@ -1078,7 +1079,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1078
1079
 
1079
1080
  @property
1080
1081
  @pulumi.getter
1081
- def event(self) -> pulumi.Output[str]:
1082
+ def event(self) -> pulumi.Output[builtins.str]:
1082
1083
  """
1083
1084
  The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
1084
1085
  """
@@ -1086,7 +1087,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1086
1087
 
1087
1088
  @property
1088
1089
  @pulumi.getter(name="integrationProvider")
1089
- def integration_provider(self) -> pulumi.Output[Optional[str]]:
1090
+ def integration_provider(self) -> pulumi.Output[Optional[builtins.str]]:
1090
1091
  """
1091
1092
  For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
1092
1093
  """
@@ -1094,7 +1095,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1094
1095
 
1095
1096
  @property
1096
1097
  @pulumi.getter
1097
- def name(self) -> pulumi.Output[str]:
1098
+ def name(self) -> pulumi.Output[builtins.str]:
1098
1099
  """
1099
1100
  The Infrastructure alert condition's name.
1100
1101
  """
@@ -1102,7 +1103,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1102
1103
 
1103
1104
  @property
1104
1105
  @pulumi.getter(name="policyId")
1105
- def policy_id(self) -> pulumi.Output[str]:
1106
+ def policy_id(self) -> pulumi.Output[builtins.str]:
1106
1107
  """
1107
1108
  The ID of the alert policy where this condition should be used.
1108
1109
  """
@@ -1110,7 +1111,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1110
1111
 
1111
1112
  @property
1112
1113
  @pulumi.getter(name="processWhere")
1113
- def process_where(self) -> pulumi.Output[Optional[str]]:
1114
+ def process_where(self) -> pulumi.Output[Optional[builtins.str]]:
1114
1115
  """
1115
1116
  Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
1116
1117
  """
@@ -1118,7 +1119,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1118
1119
 
1119
1120
  @property
1120
1121
  @pulumi.getter(name="runbookUrl")
1121
- def runbook_url(self) -> pulumi.Output[Optional[str]]:
1122
+ def runbook_url(self) -> pulumi.Output[Optional[builtins.str]]:
1122
1123
  """
1123
1124
  Runbook URL to display in notifications.
1124
1125
  """
@@ -1126,7 +1127,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1126
1127
 
1127
1128
  @property
1128
1129
  @pulumi.getter
1129
- def select(self) -> pulumi.Output[Optional[str]]:
1130
+ def select(self) -> pulumi.Output[Optional[builtins.str]]:
1130
1131
  """
1131
1132
  The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
1132
1133
  """
@@ -1134,7 +1135,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1134
1135
 
1135
1136
  @property
1136
1137
  @pulumi.getter
1137
- def type(self) -> pulumi.Output[str]:
1138
+ def type(self) -> pulumi.Output[builtins.str]:
1138
1139
  """
1139
1140
  The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
1140
1141
  """
@@ -1142,7 +1143,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1142
1143
 
1143
1144
  @property
1144
1145
  @pulumi.getter(name="updatedAt")
1145
- def updated_at(self) -> pulumi.Output[int]:
1146
+ def updated_at(self) -> pulumi.Output[builtins.int]:
1146
1147
  """
1147
1148
  The timestamp the alert condition was last updated.
1148
1149
  """
@@ -1150,7 +1151,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1150
1151
 
1151
1152
  @property
1152
1153
  @pulumi.getter(name="violationCloseTimer")
1153
- def violation_close_timer(self) -> pulumi.Output[Optional[int]]:
1154
+ def violation_close_timer(self) -> pulumi.Output[Optional[builtins.int]]:
1154
1155
  """
1155
1156
  Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
1156
1157
 
@@ -1170,7 +1171,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1170
1171
 
1171
1172
  @property
1172
1173
  @pulumi.getter
1173
- def where(self) -> pulumi.Output[Optional[str]]:
1174
+ def where(self) -> pulumi.Output[Optional[builtins.str]]:
1174
1175
  """
1175
1176
  If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
1176
1177
  """