pulumi-newrelic 5.42.1__py3-none-any.whl → 5.58.0a1766556761__py3-none-any.whl

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