pulumi-newrelic 5.48.0a1752905769__py3-none-any.whl → 5.49.0__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 -1
  2. pulumi_newrelic/_inputs.py +3897 -3739
  3. pulumi_newrelic/account_management.py +35 -36
  4. pulumi_newrelic/alert_channel.py +55 -56
  5. pulumi_newrelic/alert_condition.py +217 -218
  6. pulumi_newrelic/alert_muting_rule.py +92 -93
  7. pulumi_newrelic/alert_policy.py +69 -70
  8. pulumi_newrelic/alert_policy_channel.py +52 -53
  9. pulumi_newrelic/api_access_key.py +112 -113
  10. pulumi_newrelic/browser_application.py +113 -114
  11. pulumi_newrelic/cloud/__init__.py +1 -1
  12. pulumi_newrelic/cloud/_inputs.py +2129 -2130
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +95 -96
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +69 -70
  15. pulumi_newrelic/cloud/aws_integrations.py +194 -195
  16. pulumi_newrelic/cloud/aws_link_account.py +69 -70
  17. pulumi_newrelic/cloud/azure_integrations.py +131 -132
  18. pulumi_newrelic/cloud/azure_link_account.py +103 -104
  19. pulumi_newrelic/cloud/gcp_integrations.py +113 -114
  20. pulumi_newrelic/cloud/gcp_link_account.py +52 -53
  21. pulumi_newrelic/cloud/outputs.py +1417 -1418
  22. pulumi_newrelic/config/__init__.py +1 -1
  23. pulumi_newrelic/config/__init__.pyi +1 -2
  24. pulumi_newrelic/config/vars.py +14 -15
  25. pulumi_newrelic/data_partition_rule.py +112 -113
  26. pulumi_newrelic/entity_tags.py +21 -22
  27. pulumi_newrelic/events_to_metrics_rule.py +95 -96
  28. pulumi_newrelic/get_account.py +21 -22
  29. pulumi_newrelic/get_alert_channel.py +20 -21
  30. pulumi_newrelic/get_alert_policy.py +25 -26
  31. pulumi_newrelic/get_application.py +13 -14
  32. pulumi_newrelic/get_authentication_domain.py +9 -10
  33. pulumi_newrelic/get_cloud_account.py +21 -22
  34. pulumi_newrelic/get_entity.py +52 -53
  35. pulumi_newrelic/get_group.py +17 -18
  36. pulumi_newrelic/get_key_transaction.py +25 -26
  37. pulumi_newrelic/get_notification_destination.py +29 -30
  38. pulumi_newrelic/get_obfuscation_expression.py +15 -16
  39. pulumi_newrelic/get_service_level_alert_helper.py +53 -54
  40. pulumi_newrelic/get_test_grok_pattern.py +22 -23
  41. pulumi_newrelic/get_user.py +21 -22
  42. pulumi_newrelic/group.py +52 -53
  43. pulumi_newrelic/infra_alert_condition.py +255 -256
  44. pulumi_newrelic/insights/__init__.py +1 -1
  45. pulumi_newrelic/insights/_inputs.py +32 -33
  46. pulumi_newrelic/insights/event.py +4 -5
  47. pulumi_newrelic/insights/outputs.py +22 -23
  48. pulumi_newrelic/key_transaction.py +104 -105
  49. pulumi_newrelic/log_parsing_rule.py +146 -147
  50. pulumi_newrelic/monitor_downtime.py +143 -144
  51. pulumi_newrelic/notification_channel.py +115 -116
  52. pulumi_newrelic/notification_destination.py +111 -112
  53. pulumi_newrelic/nrql_alert_condition.py +430 -431
  54. pulumi_newrelic/nrql_drop_rule.py +78 -79
  55. pulumi_newrelic/obfuscation_expression.py +69 -70
  56. pulumi_newrelic/obfuscation_rule.py +89 -90
  57. pulumi_newrelic/one_dashboard.py +93 -94
  58. pulumi_newrelic/one_dashboard_json.py +62 -63
  59. pulumi_newrelic/one_dashboard_raw.py +90 -91
  60. pulumi_newrelic/outputs.py +2724 -2632
  61. pulumi_newrelic/plugins/__init__.py +1 -1
  62. pulumi_newrelic/plugins/_inputs.py +158 -159
  63. pulumi_newrelic/plugins/application_settings.py +167 -168
  64. pulumi_newrelic/plugins/outputs.py +108 -109
  65. pulumi_newrelic/plugins/workload.py +131 -132
  66. pulumi_newrelic/provider.py +106 -107
  67. pulumi_newrelic/pulumi-plugin.json +1 -1
  68. pulumi_newrelic/service_level.py +76 -77
  69. pulumi_newrelic/synthetics/__init__.py +1 -1
  70. pulumi_newrelic/synthetics/_inputs.py +127 -128
  71. pulumi_newrelic/synthetics/alert_condition.py +95 -96
  72. pulumi_newrelic/synthetics/broken_links_monitor.py +197 -198
  73. pulumi_newrelic/synthetics/cert_check_monitor.py +205 -206
  74. pulumi_newrelic/synthetics/get_private_location.py +21 -22
  75. pulumi_newrelic/synthetics/get_secure_credential.py +19 -20
  76. pulumi_newrelic/synthetics/monitor.py +378 -379
  77. pulumi_newrelic/synthetics/multi_location_alert_condition.py +118 -119
  78. pulumi_newrelic/synthetics/outputs.py +85 -86
  79. pulumi_newrelic/synthetics/private_location.py +105 -106
  80. pulumi_newrelic/synthetics/script_monitor.py +302 -303
  81. pulumi_newrelic/synthetics/secure_credential.py +86 -87
  82. pulumi_newrelic/synthetics/step_monitor.py +220 -221
  83. pulumi_newrelic/user.py +69 -70
  84. pulumi_newrelic/workflow.py +139 -140
  85. {pulumi_newrelic-5.48.0a1752905769.dist-info → pulumi_newrelic-5.49.0.dist-info}/METADATA +1 -1
  86. pulumi_newrelic-5.49.0.dist-info/RECORD +90 -0
  87. pulumi_newrelic-5.48.0a1752905769.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.48.0a1752905769.dist-info → pulumi_newrelic-5.49.0.dist-info}/WHEEL +0 -0
  89. {pulumi_newrelic-5.48.0a1752905769.dist-info → pulumi_newrelic-5.49.0.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -23,22 +22,22 @@ __all__ = ['MultiLocationAlertConditionArgs', 'MultiLocationAlertCondition']
23
22
  class MultiLocationAlertConditionArgs:
24
23
  def __init__(__self__, *,
25
24
  critical: pulumi.Input['MultiLocationAlertConditionCriticalArgs'],
26
- entities: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
27
- policy_id: pulumi.Input[builtins.str],
28
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
29
- name: Optional[pulumi.Input[builtins.str]] = None,
30
- runbook_url: Optional[pulumi.Input[builtins.str]] = None,
31
- violation_time_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
25
+ entities: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
26
+ policy_id: pulumi.Input[_builtins.str],
27
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
28
+ name: Optional[pulumi.Input[_builtins.str]] = None,
29
+ runbook_url: Optional[pulumi.Input[_builtins.str]] = None,
30
+ violation_time_limit_seconds: Optional[pulumi.Input[_builtins.int]] = None,
32
31
  warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None):
33
32
  """
34
33
  The set of arguments for constructing a MultiLocationAlertCondition resource.
35
34
  :param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with the priority set to critical.
36
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
37
- :param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition will be used.
38
- :param pulumi.Input[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
39
- :param pulumi.Input[builtins.str] name: The title of the condition.
40
- :param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
41
- :param pulumi.Input[builtins.int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
35
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
36
+ :param pulumi.Input[_builtins.str] policy_id: The ID of the policy where this condition will be used.
37
+ :param pulumi.Input[_builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
38
+ :param pulumi.Input[_builtins.str] name: The title of the condition.
39
+ :param pulumi.Input[_builtins.str] runbook_url: Runbook URL to display in notifications.
40
+ :param pulumi.Input[_builtins.int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
42
41
  :param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with the priority set to warning.
43
42
 
44
43
 
@@ -58,7 +57,7 @@ class MultiLocationAlertConditionArgs:
58
57
  if warning is not None:
59
58
  pulumi.set(__self__, "warning", warning)
60
59
 
61
- @property
60
+ @_builtins.property
62
61
  @pulumi.getter
63
62
  def critical(self) -> pulumi.Input['MultiLocationAlertConditionCriticalArgs']:
64
63
  """
@@ -70,79 +69,79 @@ class MultiLocationAlertConditionArgs:
70
69
  def critical(self, value: pulumi.Input['MultiLocationAlertConditionCriticalArgs']):
71
70
  pulumi.set(self, "critical", value)
72
71
 
73
- @property
72
+ @_builtins.property
74
73
  @pulumi.getter
75
- def entities(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
74
+ def entities(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
76
75
  """
77
76
  The Monitor GUID's of the Synthetics monitors to alert on.
78
77
  """
79
78
  return pulumi.get(self, "entities")
80
79
 
81
80
  @entities.setter
82
- def entities(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
81
+ def entities(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
83
82
  pulumi.set(self, "entities", value)
84
83
 
85
- @property
84
+ @_builtins.property
86
85
  @pulumi.getter(name="policyId")
87
- def policy_id(self) -> pulumi.Input[builtins.str]:
86
+ def policy_id(self) -> pulumi.Input[_builtins.str]:
88
87
  """
89
88
  The ID of the policy where this condition will be used.
90
89
  """
91
90
  return pulumi.get(self, "policy_id")
92
91
 
93
92
  @policy_id.setter
94
- def policy_id(self, value: pulumi.Input[builtins.str]):
93
+ def policy_id(self, value: pulumi.Input[_builtins.str]):
95
94
  pulumi.set(self, "policy_id", value)
96
95
 
97
- @property
96
+ @_builtins.property
98
97
  @pulumi.getter
99
- def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
98
+ def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
100
99
  """
101
100
  Set whether to enable the alert condition. Defaults to true.
102
101
  """
103
102
  return pulumi.get(self, "enabled")
104
103
 
105
104
  @enabled.setter
106
- def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
105
+ def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
107
106
  pulumi.set(self, "enabled", value)
108
107
 
109
- @property
108
+ @_builtins.property
110
109
  @pulumi.getter
111
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
110
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
112
111
  """
113
112
  The title of the condition.
114
113
  """
115
114
  return pulumi.get(self, "name")
116
115
 
117
116
  @name.setter
118
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
117
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
119
118
  pulumi.set(self, "name", value)
120
119
 
121
- @property
120
+ @_builtins.property
122
121
  @pulumi.getter(name="runbookUrl")
123
- def runbook_url(self) -> Optional[pulumi.Input[builtins.str]]:
122
+ def runbook_url(self) -> Optional[pulumi.Input[_builtins.str]]:
124
123
  """
125
124
  Runbook URL to display in notifications.
126
125
  """
127
126
  return pulumi.get(self, "runbook_url")
128
127
 
129
128
  @runbook_url.setter
130
- def runbook_url(self, value: Optional[pulumi.Input[builtins.str]]):
129
+ def runbook_url(self, value: Optional[pulumi.Input[_builtins.str]]):
131
130
  pulumi.set(self, "runbook_url", value)
132
131
 
133
- @property
132
+ @_builtins.property
134
133
  @pulumi.getter(name="violationTimeLimitSeconds")
135
- def violation_time_limit_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
134
+ def violation_time_limit_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
136
135
  """
137
136
  The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
138
137
  """
139
138
  return pulumi.get(self, "violation_time_limit_seconds")
140
139
 
141
140
  @violation_time_limit_seconds.setter
142
- def violation_time_limit_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
141
+ def violation_time_limit_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
143
142
  pulumi.set(self, "violation_time_limit_seconds", value)
144
143
 
145
- @property
144
+ @_builtins.property
146
145
  @pulumi.getter
147
146
  def warning(self) -> Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']]:
148
147
  """
@@ -162,24 +161,24 @@ class MultiLocationAlertConditionArgs:
162
161
  class _MultiLocationAlertConditionState:
163
162
  def __init__(__self__, *,
164
163
  critical: Optional[pulumi.Input['MultiLocationAlertConditionCriticalArgs']] = None,
165
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
166
- entities: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
167
- entity_guid: Optional[pulumi.Input[builtins.str]] = None,
168
- name: Optional[pulumi.Input[builtins.str]] = None,
169
- policy_id: Optional[pulumi.Input[builtins.str]] = None,
170
- runbook_url: Optional[pulumi.Input[builtins.str]] = None,
171
- violation_time_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
164
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
165
+ entities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
166
+ entity_guid: Optional[pulumi.Input[_builtins.str]] = None,
167
+ name: Optional[pulumi.Input[_builtins.str]] = None,
168
+ policy_id: Optional[pulumi.Input[_builtins.str]] = None,
169
+ runbook_url: Optional[pulumi.Input[_builtins.str]] = None,
170
+ violation_time_limit_seconds: Optional[pulumi.Input[_builtins.int]] = None,
172
171
  warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None):
173
172
  """
174
173
  Input properties used for looking up and filtering MultiLocationAlertCondition resources.
175
174
  :param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with the priority set to critical.
176
- :param pulumi.Input[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
177
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
178
- :param pulumi.Input[builtins.str] entity_guid: The unique entity identifier of the condition in New Relic.
179
- :param pulumi.Input[builtins.str] name: The title of the condition.
180
- :param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition will be used.
181
- :param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
182
- :param pulumi.Input[builtins.int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
175
+ :param pulumi.Input[_builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
176
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
177
+ :param pulumi.Input[_builtins.str] entity_guid: The unique entity identifier of the condition in New Relic.
178
+ :param pulumi.Input[_builtins.str] name: The title of the condition.
179
+ :param pulumi.Input[_builtins.str] policy_id: The ID of the policy where this condition will be used.
180
+ :param pulumi.Input[_builtins.str] runbook_url: Runbook URL to display in notifications.
181
+ :param pulumi.Input[_builtins.int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
183
182
  :param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with the priority set to warning.
184
183
 
185
184
 
@@ -204,7 +203,7 @@ class _MultiLocationAlertConditionState:
204
203
  if warning is not None:
205
204
  pulumi.set(__self__, "warning", warning)
206
205
 
207
- @property
206
+ @_builtins.property
208
207
  @pulumi.getter
209
208
  def critical(self) -> Optional[pulumi.Input['MultiLocationAlertConditionCriticalArgs']]:
210
209
  """
@@ -216,91 +215,91 @@ class _MultiLocationAlertConditionState:
216
215
  def critical(self, value: Optional[pulumi.Input['MultiLocationAlertConditionCriticalArgs']]):
217
216
  pulumi.set(self, "critical", value)
218
217
 
219
- @property
218
+ @_builtins.property
220
219
  @pulumi.getter
221
- def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
220
+ def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
222
221
  """
223
222
  Set whether to enable the alert condition. Defaults to true.
224
223
  """
225
224
  return pulumi.get(self, "enabled")
226
225
 
227
226
  @enabled.setter
228
- def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
227
+ def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
229
228
  pulumi.set(self, "enabled", value)
230
229
 
231
- @property
230
+ @_builtins.property
232
231
  @pulumi.getter
233
- def entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
232
+ def entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
234
233
  """
235
234
  The Monitor GUID's of the Synthetics monitors to alert on.
236
235
  """
237
236
  return pulumi.get(self, "entities")
238
237
 
239
238
  @entities.setter
240
- def entities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
239
+ def entities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
241
240
  pulumi.set(self, "entities", value)
242
241
 
243
- @property
242
+ @_builtins.property
244
243
  @pulumi.getter(name="entityGuid")
245
- def entity_guid(self) -> Optional[pulumi.Input[builtins.str]]:
244
+ def entity_guid(self) -> Optional[pulumi.Input[_builtins.str]]:
246
245
  """
247
246
  The unique entity identifier of the condition in New Relic.
248
247
  """
249
248
  return pulumi.get(self, "entity_guid")
250
249
 
251
250
  @entity_guid.setter
252
- def entity_guid(self, value: Optional[pulumi.Input[builtins.str]]):
251
+ def entity_guid(self, value: Optional[pulumi.Input[_builtins.str]]):
253
252
  pulumi.set(self, "entity_guid", value)
254
253
 
255
- @property
254
+ @_builtins.property
256
255
  @pulumi.getter
257
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
256
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
258
257
  """
259
258
  The title of the condition.
260
259
  """
261
260
  return pulumi.get(self, "name")
262
261
 
263
262
  @name.setter
264
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
263
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
265
264
  pulumi.set(self, "name", value)
266
265
 
267
- @property
266
+ @_builtins.property
268
267
  @pulumi.getter(name="policyId")
269
- def policy_id(self) -> Optional[pulumi.Input[builtins.str]]:
268
+ def policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
270
269
  """
271
270
  The ID of the policy where this condition will be used.
272
271
  """
273
272
  return pulumi.get(self, "policy_id")
274
273
 
275
274
  @policy_id.setter
276
- def policy_id(self, value: Optional[pulumi.Input[builtins.str]]):
275
+ def policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
277
276
  pulumi.set(self, "policy_id", value)
278
277
 
279
- @property
278
+ @_builtins.property
280
279
  @pulumi.getter(name="runbookUrl")
281
- def runbook_url(self) -> Optional[pulumi.Input[builtins.str]]:
280
+ def runbook_url(self) -> Optional[pulumi.Input[_builtins.str]]:
282
281
  """
283
282
  Runbook URL to display in notifications.
284
283
  """
285
284
  return pulumi.get(self, "runbook_url")
286
285
 
287
286
  @runbook_url.setter
288
- def runbook_url(self, value: Optional[pulumi.Input[builtins.str]]):
287
+ def runbook_url(self, value: Optional[pulumi.Input[_builtins.str]]):
289
288
  pulumi.set(self, "runbook_url", value)
290
289
 
291
- @property
290
+ @_builtins.property
292
291
  @pulumi.getter(name="violationTimeLimitSeconds")
293
- def violation_time_limit_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
292
+ def violation_time_limit_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
294
293
  """
295
294
  The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
296
295
  """
297
296
  return pulumi.get(self, "violation_time_limit_seconds")
298
297
 
299
298
  @violation_time_limit_seconds.setter
300
- def violation_time_limit_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
299
+ def violation_time_limit_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
301
300
  pulumi.set(self, "violation_time_limit_seconds", value)
302
301
 
303
- @property
302
+ @_builtins.property
304
303
  @pulumi.getter
305
304
  def warning(self) -> Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']]:
306
305
  """
@@ -323,12 +322,12 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
323
322
  resource_name: str,
324
323
  opts: Optional[pulumi.ResourceOptions] = None,
325
324
  critical: Optional[pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']]] = None,
326
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
327
- entities: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
328
- name: Optional[pulumi.Input[builtins.str]] = None,
329
- policy_id: Optional[pulumi.Input[builtins.str]] = None,
330
- runbook_url: Optional[pulumi.Input[builtins.str]] = None,
331
- violation_time_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
325
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
326
+ entities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
327
+ name: Optional[pulumi.Input[_builtins.str]] = None,
328
+ policy_id: Optional[pulumi.Input[_builtins.str]] = None,
329
+ runbook_url: Optional[pulumi.Input[_builtins.str]] = None,
330
+ violation_time_limit_seconds: Optional[pulumi.Input[_builtins.int]] = None,
332
331
  warning: Optional[pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']]] = None,
333
332
  __props__=None):
334
333
  """
@@ -437,12 +436,12 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
437
436
  :param str resource_name: The name of the resource.
438
437
  :param pulumi.ResourceOptions opts: Options for the resource.
439
438
  :param pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']] critical: A condition term with the priority set to critical.
440
- :param pulumi.Input[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
441
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
442
- :param pulumi.Input[builtins.str] name: The title of the condition.
443
- :param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition will be used.
444
- :param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
445
- :param pulumi.Input[builtins.int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
439
+ :param pulumi.Input[_builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
440
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
441
+ :param pulumi.Input[_builtins.str] name: The title of the condition.
442
+ :param pulumi.Input[_builtins.str] policy_id: The ID of the policy where this condition will be used.
443
+ :param pulumi.Input[_builtins.str] runbook_url: Runbook URL to display in notifications.
444
+ :param pulumi.Input[_builtins.int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
446
445
  :param pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']] warning: A condition term with the priority set to warning.
447
446
 
448
447
 
@@ -573,12 +572,12 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
573
572
  resource_name: str,
574
573
  opts: Optional[pulumi.ResourceOptions] = None,
575
574
  critical: Optional[pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']]] = None,
576
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
577
- entities: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
578
- name: Optional[pulumi.Input[builtins.str]] = None,
579
- policy_id: Optional[pulumi.Input[builtins.str]] = None,
580
- runbook_url: Optional[pulumi.Input[builtins.str]] = None,
581
- violation_time_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
575
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
576
+ entities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
577
+ name: Optional[pulumi.Input[_builtins.str]] = None,
578
+ policy_id: Optional[pulumi.Input[_builtins.str]] = None,
579
+ runbook_url: Optional[pulumi.Input[_builtins.str]] = None,
580
+ violation_time_limit_seconds: Optional[pulumi.Input[_builtins.int]] = None,
582
581
  warning: Optional[pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']]] = None,
583
582
  __props__=None):
584
583
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -615,13 +614,13 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
615
614
  id: pulumi.Input[str],
616
615
  opts: Optional[pulumi.ResourceOptions] = None,
617
616
  critical: Optional[pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']]] = None,
618
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
619
- entities: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
620
- entity_guid: Optional[pulumi.Input[builtins.str]] = None,
621
- name: Optional[pulumi.Input[builtins.str]] = None,
622
- policy_id: Optional[pulumi.Input[builtins.str]] = None,
623
- runbook_url: Optional[pulumi.Input[builtins.str]] = None,
624
- violation_time_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
617
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
618
+ entities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
619
+ entity_guid: Optional[pulumi.Input[_builtins.str]] = None,
620
+ name: Optional[pulumi.Input[_builtins.str]] = None,
621
+ policy_id: Optional[pulumi.Input[_builtins.str]] = None,
622
+ runbook_url: Optional[pulumi.Input[_builtins.str]] = None,
623
+ violation_time_limit_seconds: Optional[pulumi.Input[_builtins.int]] = None,
625
624
  warning: Optional[pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']]] = None) -> 'MultiLocationAlertCondition':
626
625
  """
627
626
  Get an existing MultiLocationAlertCondition resource's state with the given name, id, and optional extra
@@ -631,13 +630,13 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
631
630
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
632
631
  :param pulumi.ResourceOptions opts: Options for the resource.
633
632
  :param pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']] critical: A condition term with the priority set to critical.
634
- :param pulumi.Input[builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
635
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
636
- :param pulumi.Input[builtins.str] entity_guid: The unique entity identifier of the condition in New Relic.
637
- :param pulumi.Input[builtins.str] name: The title of the condition.
638
- :param pulumi.Input[builtins.str] policy_id: The ID of the policy where this condition will be used.
639
- :param pulumi.Input[builtins.str] runbook_url: Runbook URL to display in notifications.
640
- :param pulumi.Input[builtins.int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
633
+ :param pulumi.Input[_builtins.bool] enabled: Set whether to enable the alert condition. Defaults to true.
634
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
635
+ :param pulumi.Input[_builtins.str] entity_guid: The unique entity identifier of the condition in New Relic.
636
+ :param pulumi.Input[_builtins.str] name: The title of the condition.
637
+ :param pulumi.Input[_builtins.str] policy_id: The ID of the policy where this condition will be used.
638
+ :param pulumi.Input[_builtins.str] runbook_url: Runbook URL to display in notifications.
639
+ :param pulumi.Input[_builtins.int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
641
640
  :param pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']] warning: A condition term with the priority set to warning.
642
641
 
643
642
 
@@ -658,7 +657,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
658
657
  __props__.__dict__["warning"] = warning
659
658
  return MultiLocationAlertCondition(resource_name, opts=opts, __props__=__props__)
660
659
 
661
- @property
660
+ @_builtins.property
662
661
  @pulumi.getter
663
662
  def critical(self) -> pulumi.Output['outputs.MultiLocationAlertConditionCritical']:
664
663
  """
@@ -666,63 +665,63 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
666
665
  """
667
666
  return pulumi.get(self, "critical")
668
667
 
669
- @property
668
+ @_builtins.property
670
669
  @pulumi.getter
671
- def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
670
+ def enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
672
671
  """
673
672
  Set whether to enable the alert condition. Defaults to true.
674
673
  """
675
674
  return pulumi.get(self, "enabled")
676
675
 
677
- @property
676
+ @_builtins.property
678
677
  @pulumi.getter
679
- def entities(self) -> pulumi.Output[Sequence[builtins.str]]:
678
+ def entities(self) -> pulumi.Output[Sequence[_builtins.str]]:
680
679
  """
681
680
  The Monitor GUID's of the Synthetics monitors to alert on.
682
681
  """
683
682
  return pulumi.get(self, "entities")
684
683
 
685
- @property
684
+ @_builtins.property
686
685
  @pulumi.getter(name="entityGuid")
687
- def entity_guid(self) -> pulumi.Output[builtins.str]:
686
+ def entity_guid(self) -> pulumi.Output[_builtins.str]:
688
687
  """
689
688
  The unique entity identifier of the condition in New Relic.
690
689
  """
691
690
  return pulumi.get(self, "entity_guid")
692
691
 
693
- @property
692
+ @_builtins.property
694
693
  @pulumi.getter
695
- def name(self) -> pulumi.Output[builtins.str]:
694
+ def name(self) -> pulumi.Output[_builtins.str]:
696
695
  """
697
696
  The title of the condition.
698
697
  """
699
698
  return pulumi.get(self, "name")
700
699
 
701
- @property
700
+ @_builtins.property
702
701
  @pulumi.getter(name="policyId")
703
- def policy_id(self) -> pulumi.Output[builtins.str]:
702
+ def policy_id(self) -> pulumi.Output[_builtins.str]:
704
703
  """
705
704
  The ID of the policy where this condition will be used.
706
705
  """
707
706
  return pulumi.get(self, "policy_id")
708
707
 
709
- @property
708
+ @_builtins.property
710
709
  @pulumi.getter(name="runbookUrl")
711
- def runbook_url(self) -> pulumi.Output[Optional[builtins.str]]:
710
+ def runbook_url(self) -> pulumi.Output[Optional[_builtins.str]]:
712
711
  """
713
712
  Runbook URL to display in notifications.
714
713
  """
715
714
  return pulumi.get(self, "runbook_url")
716
715
 
717
- @property
716
+ @_builtins.property
718
717
  @pulumi.getter(name="violationTimeLimitSeconds")
719
- def violation_time_limit_seconds(self) -> pulumi.Output[Optional[builtins.int]]:
718
+ def violation_time_limit_seconds(self) -> pulumi.Output[Optional[_builtins.int]]:
720
719
  """
721
720
  The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
722
721
  """
723
722
  return pulumi.get(self, "violation_time_limit_seconds")
724
723
 
725
- @property
724
+ @_builtins.property
726
725
  @pulumi.getter
727
726
  def warning(self) -> pulumi.Output[Optional['outputs.MultiLocationAlertConditionWarning']]:
728
727
  """