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
@@ -23,25 +23,25 @@ class WorkflowArgs:
23
23
  def __init__(__self__, *,
24
24
  destinations: pulumi.Input[Sequence[pulumi.Input['WorkflowDestinationArgs']]],
25
25
  issues_filter: pulumi.Input['WorkflowIssuesFilterArgs'],
26
- muting_rules_handling: pulumi.Input[str],
27
- account_id: Optional[pulumi.Input[str]] = None,
28
- destinations_enabled: Optional[pulumi.Input[bool]] = None,
29
- enabled: Optional[pulumi.Input[bool]] = None,
26
+ muting_rules_handling: pulumi.Input[_builtins.str],
27
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
28
+ destinations_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
29
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
30
30
  enrichments: Optional[pulumi.Input['WorkflowEnrichmentsArgs']] = None,
31
- enrichments_enabled: Optional[pulumi.Input[bool]] = None,
32
- name: Optional[pulumi.Input[str]] = None):
31
+ enrichments_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
32
+ name: Optional[pulumi.Input[_builtins.str]] = None):
33
33
  """
34
34
  The set of arguments for constructing a Workflow resource.
35
35
  :param pulumi.Input[Sequence[pulumi.Input['WorkflowDestinationArgs']]] destinations: Notification configuration. See Nested destination blocks below for details.
36
36
  :param pulumi.Input['WorkflowIssuesFilterArgs'] issues_filter: A filter used to identify issues handled by this workflow. See Nested issues_filter blocks below for details.
37
- :param pulumi.Input[str] muting_rules_handling: How to handle muted issues. See Muting Rules below for details.
38
- :param pulumi.Input[str] account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
39
- :param pulumi.Input[bool] destinations_enabled: **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
37
+ :param pulumi.Input[_builtins.str] muting_rules_handling: How to handle muted issues. See Muting Rules below for details.
38
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
39
+ :param pulumi.Input[_builtins.bool] destinations_enabled: **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
40
40
  these two are different flags, but they are functionally identical. Defaults to true.
41
- :param pulumi.Input[bool] enabled: Whether workflow is enabled. Defaults to true.
41
+ :param pulumi.Input[_builtins.bool] enabled: Whether workflow is enabled. Defaults to true.
42
42
  :param pulumi.Input['WorkflowEnrichmentsArgs'] enrichments: Workflow's enrichments. See Nested enrichments blocks below for details.
43
- :param pulumi.Input[bool] enrichments_enabled: Whether enrichments are enabled. Defaults to true.
44
- :param pulumi.Input[str] name: The name of the workflow.
43
+ :param pulumi.Input[_builtins.bool] enrichments_enabled: Whether enrichments are enabled. Defaults to true.
44
+ :param pulumi.Input[_builtins.str] name: The name of the workflow.
45
45
  """
46
46
  pulumi.set(__self__, "destinations", destinations)
47
47
  pulumi.set(__self__, "issues_filter", issues_filter)
@@ -62,7 +62,7 @@ class WorkflowArgs:
62
62
  if name is not None:
63
63
  pulumi.set(__self__, "name", name)
64
64
 
65
- @property
65
+ @_builtins.property
66
66
  @pulumi.getter
67
67
  def destinations(self) -> pulumi.Input[Sequence[pulumi.Input['WorkflowDestinationArgs']]]:
68
68
  """
@@ -74,7 +74,7 @@ class WorkflowArgs:
74
74
  def destinations(self, value: pulumi.Input[Sequence[pulumi.Input['WorkflowDestinationArgs']]]):
75
75
  pulumi.set(self, "destinations", value)
76
76
 
77
- @property
77
+ @_builtins.property
78
78
  @pulumi.getter(name="issuesFilter")
79
79
  def issues_filter(self) -> pulumi.Input['WorkflowIssuesFilterArgs']:
80
80
  """
@@ -86,34 +86,34 @@ class WorkflowArgs:
86
86
  def issues_filter(self, value: pulumi.Input['WorkflowIssuesFilterArgs']):
87
87
  pulumi.set(self, "issues_filter", value)
88
88
 
89
- @property
89
+ @_builtins.property
90
90
  @pulumi.getter(name="mutingRulesHandling")
91
- def muting_rules_handling(self) -> pulumi.Input[str]:
91
+ def muting_rules_handling(self) -> pulumi.Input[_builtins.str]:
92
92
  """
93
93
  How to handle muted issues. See Muting Rules below for details.
94
94
  """
95
95
  return pulumi.get(self, "muting_rules_handling")
96
96
 
97
97
  @muting_rules_handling.setter
98
- def muting_rules_handling(self, value: pulumi.Input[str]):
98
+ def muting_rules_handling(self, value: pulumi.Input[_builtins.str]):
99
99
  pulumi.set(self, "muting_rules_handling", value)
100
100
 
101
- @property
101
+ @_builtins.property
102
102
  @pulumi.getter(name="accountId")
103
- def account_id(self) -> Optional[pulumi.Input[str]]:
103
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
104
104
  """
105
105
  Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
106
106
  """
107
107
  return pulumi.get(self, "account_id")
108
108
 
109
109
  @account_id.setter
110
- def account_id(self, value: Optional[pulumi.Input[str]]):
110
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
111
111
  pulumi.set(self, "account_id", value)
112
112
 
113
- @property
113
+ @_builtins.property
114
114
  @pulumi.getter(name="destinationsEnabled")
115
115
  @_utilities.deprecated("""Please use 'enabled' instead""")
116
- def destinations_enabled(self) -> Optional[pulumi.Input[bool]]:
116
+ def destinations_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
117
117
  """
118
118
  **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
119
119
  these two are different flags, but they are functionally identical. Defaults to true.
@@ -121,22 +121,22 @@ class WorkflowArgs:
121
121
  return pulumi.get(self, "destinations_enabled")
122
122
 
123
123
  @destinations_enabled.setter
124
- def destinations_enabled(self, value: Optional[pulumi.Input[bool]]):
124
+ def destinations_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
125
125
  pulumi.set(self, "destinations_enabled", value)
126
126
 
127
- @property
127
+ @_builtins.property
128
128
  @pulumi.getter
129
- def enabled(self) -> Optional[pulumi.Input[bool]]:
129
+ def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
130
130
  """
131
131
  Whether workflow is enabled. Defaults to true.
132
132
  """
133
133
  return pulumi.get(self, "enabled")
134
134
 
135
135
  @enabled.setter
136
- def enabled(self, value: Optional[pulumi.Input[bool]]):
136
+ def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
137
137
  pulumi.set(self, "enabled", value)
138
138
 
139
- @property
139
+ @_builtins.property
140
140
  @pulumi.getter
141
141
  def enrichments(self) -> Optional[pulumi.Input['WorkflowEnrichmentsArgs']]:
142
142
  """
@@ -148,61 +148,61 @@ class WorkflowArgs:
148
148
  def enrichments(self, value: Optional[pulumi.Input['WorkflowEnrichmentsArgs']]):
149
149
  pulumi.set(self, "enrichments", value)
150
150
 
151
- @property
151
+ @_builtins.property
152
152
  @pulumi.getter(name="enrichmentsEnabled")
153
- def enrichments_enabled(self) -> Optional[pulumi.Input[bool]]:
153
+ def enrichments_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
154
154
  """
155
155
  Whether enrichments are enabled. Defaults to true.
156
156
  """
157
157
  return pulumi.get(self, "enrichments_enabled")
158
158
 
159
159
  @enrichments_enabled.setter
160
- def enrichments_enabled(self, value: Optional[pulumi.Input[bool]]):
160
+ def enrichments_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
161
161
  pulumi.set(self, "enrichments_enabled", value)
162
162
 
163
- @property
163
+ @_builtins.property
164
164
  @pulumi.getter
165
- def name(self) -> Optional[pulumi.Input[str]]:
165
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
166
166
  """
167
167
  The name of the workflow.
168
168
  """
169
169
  return pulumi.get(self, "name")
170
170
 
171
171
  @name.setter
172
- def name(self, value: Optional[pulumi.Input[str]]):
172
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
173
173
  pulumi.set(self, "name", value)
174
174
 
175
175
 
176
176
  @pulumi.input_type
177
177
  class _WorkflowState:
178
178
  def __init__(__self__, *,
179
- account_id: Optional[pulumi.Input[str]] = None,
179
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
180
180
  destinations: Optional[pulumi.Input[Sequence[pulumi.Input['WorkflowDestinationArgs']]]] = None,
181
- destinations_enabled: Optional[pulumi.Input[bool]] = None,
182
- enabled: Optional[pulumi.Input[bool]] = None,
181
+ destinations_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
182
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
183
183
  enrichments: Optional[pulumi.Input['WorkflowEnrichmentsArgs']] = None,
184
- enrichments_enabled: Optional[pulumi.Input[bool]] = None,
185
- guid: Optional[pulumi.Input[str]] = None,
184
+ enrichments_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
185
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
186
186
  issues_filter: Optional[pulumi.Input['WorkflowIssuesFilterArgs']] = None,
187
- last_run: Optional[pulumi.Input[str]] = None,
188
- muting_rules_handling: Optional[pulumi.Input[str]] = None,
189
- name: Optional[pulumi.Input[str]] = None,
190
- workflow_id: Optional[pulumi.Input[str]] = None):
187
+ last_run: Optional[pulumi.Input[_builtins.str]] = None,
188
+ muting_rules_handling: Optional[pulumi.Input[_builtins.str]] = None,
189
+ name: Optional[pulumi.Input[_builtins.str]] = None,
190
+ workflow_id: Optional[pulumi.Input[_builtins.str]] = None):
191
191
  """
192
192
  Input properties used for looking up and filtering Workflow resources.
193
- :param pulumi.Input[str] account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
193
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
194
194
  :param pulumi.Input[Sequence[pulumi.Input['WorkflowDestinationArgs']]] destinations: Notification configuration. See Nested destination blocks below for details.
195
- :param pulumi.Input[bool] destinations_enabled: **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
195
+ :param pulumi.Input[_builtins.bool] destinations_enabled: **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
196
196
  these two are different flags, but they are functionally identical. Defaults to true.
197
- :param pulumi.Input[bool] enabled: Whether workflow is enabled. Defaults to true.
197
+ :param pulumi.Input[_builtins.bool] enabled: Whether workflow is enabled. Defaults to true.
198
198
  :param pulumi.Input['WorkflowEnrichmentsArgs'] enrichments: Workflow's enrichments. See Nested enrichments blocks below for details.
199
- :param pulumi.Input[bool] enrichments_enabled: Whether enrichments are enabled. Defaults to true.
200
- :param pulumi.Input[str] guid: Workflow entity GUID
199
+ :param pulumi.Input[_builtins.bool] enrichments_enabled: Whether enrichments are enabled. Defaults to true.
200
+ :param pulumi.Input[_builtins.str] guid: Workflow entity GUID
201
201
  :param pulumi.Input['WorkflowIssuesFilterArgs'] issues_filter: A filter used to identify issues handled by this workflow. See Nested issues_filter blocks below for details.
202
- :param pulumi.Input[str] last_run: The last time notification was sent for this workflow.
203
- :param pulumi.Input[str] muting_rules_handling: How to handle muted issues. See Muting Rules below for details.
204
- :param pulumi.Input[str] name: The name of the workflow.
205
- :param pulumi.Input[str] workflow_id: The id of the workflow.
202
+ :param pulumi.Input[_builtins.str] last_run: The last time notification was sent for this workflow.
203
+ :param pulumi.Input[_builtins.str] muting_rules_handling: How to handle muted issues. See Muting Rules below for details.
204
+ :param pulumi.Input[_builtins.str] name: The name of the workflow.
205
+ :param pulumi.Input[_builtins.str] workflow_id: The id of the workflow.
206
206
  """
207
207
  if account_id is not None:
208
208
  pulumi.set(__self__, "account_id", account_id)
@@ -232,19 +232,19 @@ class _WorkflowState:
232
232
  if workflow_id is not None:
233
233
  pulumi.set(__self__, "workflow_id", workflow_id)
234
234
 
235
- @property
235
+ @_builtins.property
236
236
  @pulumi.getter(name="accountId")
237
- def account_id(self) -> Optional[pulumi.Input[str]]:
237
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
238
238
  """
239
239
  Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
240
240
  """
241
241
  return pulumi.get(self, "account_id")
242
242
 
243
243
  @account_id.setter
244
- def account_id(self, value: Optional[pulumi.Input[str]]):
244
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
245
245
  pulumi.set(self, "account_id", value)
246
246
 
247
- @property
247
+ @_builtins.property
248
248
  @pulumi.getter
249
249
  def destinations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkflowDestinationArgs']]]]:
250
250
  """
@@ -256,10 +256,10 @@ class _WorkflowState:
256
256
  def destinations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkflowDestinationArgs']]]]):
257
257
  pulumi.set(self, "destinations", value)
258
258
 
259
- @property
259
+ @_builtins.property
260
260
  @pulumi.getter(name="destinationsEnabled")
261
261
  @_utilities.deprecated("""Please use 'enabled' instead""")
262
- def destinations_enabled(self) -> Optional[pulumi.Input[bool]]:
262
+ def destinations_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
263
263
  """
264
264
  **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
265
265
  these two are different flags, but they are functionally identical. Defaults to true.
@@ -267,22 +267,22 @@ class _WorkflowState:
267
267
  return pulumi.get(self, "destinations_enabled")
268
268
 
269
269
  @destinations_enabled.setter
270
- def destinations_enabled(self, value: Optional[pulumi.Input[bool]]):
270
+ def destinations_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
271
271
  pulumi.set(self, "destinations_enabled", value)
272
272
 
273
- @property
273
+ @_builtins.property
274
274
  @pulumi.getter
275
- def enabled(self) -> Optional[pulumi.Input[bool]]:
275
+ def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
276
276
  """
277
277
  Whether workflow is enabled. Defaults to true.
278
278
  """
279
279
  return pulumi.get(self, "enabled")
280
280
 
281
281
  @enabled.setter
282
- def enabled(self, value: Optional[pulumi.Input[bool]]):
282
+ def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
283
283
  pulumi.set(self, "enabled", value)
284
284
 
285
- @property
285
+ @_builtins.property
286
286
  @pulumi.getter
287
287
  def enrichments(self) -> Optional[pulumi.Input['WorkflowEnrichmentsArgs']]:
288
288
  """
@@ -294,31 +294,31 @@ class _WorkflowState:
294
294
  def enrichments(self, value: Optional[pulumi.Input['WorkflowEnrichmentsArgs']]):
295
295
  pulumi.set(self, "enrichments", value)
296
296
 
297
- @property
297
+ @_builtins.property
298
298
  @pulumi.getter(name="enrichmentsEnabled")
299
- def enrichments_enabled(self) -> Optional[pulumi.Input[bool]]:
299
+ def enrichments_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
300
300
  """
301
301
  Whether enrichments are enabled. Defaults to true.
302
302
  """
303
303
  return pulumi.get(self, "enrichments_enabled")
304
304
 
305
305
  @enrichments_enabled.setter
306
- def enrichments_enabled(self, value: Optional[pulumi.Input[bool]]):
306
+ def enrichments_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
307
307
  pulumi.set(self, "enrichments_enabled", value)
308
308
 
309
- @property
309
+ @_builtins.property
310
310
  @pulumi.getter
311
- def guid(self) -> Optional[pulumi.Input[str]]:
311
+ def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
312
312
  """
313
313
  Workflow entity GUID
314
314
  """
315
315
  return pulumi.get(self, "guid")
316
316
 
317
317
  @guid.setter
318
- def guid(self, value: Optional[pulumi.Input[str]]):
318
+ def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
319
319
  pulumi.set(self, "guid", value)
320
320
 
321
- @property
321
+ @_builtins.property
322
322
  @pulumi.getter(name="issuesFilter")
323
323
  def issues_filter(self) -> Optional[pulumi.Input['WorkflowIssuesFilterArgs']]:
324
324
  """
@@ -330,69 +330,70 @@ class _WorkflowState:
330
330
  def issues_filter(self, value: Optional[pulumi.Input['WorkflowIssuesFilterArgs']]):
331
331
  pulumi.set(self, "issues_filter", value)
332
332
 
333
- @property
333
+ @_builtins.property
334
334
  @pulumi.getter(name="lastRun")
335
- def last_run(self) -> Optional[pulumi.Input[str]]:
335
+ def last_run(self) -> Optional[pulumi.Input[_builtins.str]]:
336
336
  """
337
337
  The last time notification was sent for this workflow.
338
338
  """
339
339
  return pulumi.get(self, "last_run")
340
340
 
341
341
  @last_run.setter
342
- def last_run(self, value: Optional[pulumi.Input[str]]):
342
+ def last_run(self, value: Optional[pulumi.Input[_builtins.str]]):
343
343
  pulumi.set(self, "last_run", value)
344
344
 
345
- @property
345
+ @_builtins.property
346
346
  @pulumi.getter(name="mutingRulesHandling")
347
- def muting_rules_handling(self) -> Optional[pulumi.Input[str]]:
347
+ def muting_rules_handling(self) -> Optional[pulumi.Input[_builtins.str]]:
348
348
  """
349
349
  How to handle muted issues. See Muting Rules below for details.
350
350
  """
351
351
  return pulumi.get(self, "muting_rules_handling")
352
352
 
353
353
  @muting_rules_handling.setter
354
- def muting_rules_handling(self, value: Optional[pulumi.Input[str]]):
354
+ def muting_rules_handling(self, value: Optional[pulumi.Input[_builtins.str]]):
355
355
  pulumi.set(self, "muting_rules_handling", value)
356
356
 
357
- @property
357
+ @_builtins.property
358
358
  @pulumi.getter
359
- def name(self) -> Optional[pulumi.Input[str]]:
359
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
360
360
  """
361
361
  The name of the workflow.
362
362
  """
363
363
  return pulumi.get(self, "name")
364
364
 
365
365
  @name.setter
366
- def name(self, value: Optional[pulumi.Input[str]]):
366
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
367
367
  pulumi.set(self, "name", value)
368
368
 
369
- @property
369
+ @_builtins.property
370
370
  @pulumi.getter(name="workflowId")
371
- def workflow_id(self) -> Optional[pulumi.Input[str]]:
371
+ def workflow_id(self) -> Optional[pulumi.Input[_builtins.str]]:
372
372
  """
373
373
  The id of the workflow.
374
374
  """
375
375
  return pulumi.get(self, "workflow_id")
376
376
 
377
377
  @workflow_id.setter
378
- def workflow_id(self, value: Optional[pulumi.Input[str]]):
378
+ def workflow_id(self, value: Optional[pulumi.Input[_builtins.str]]):
379
379
  pulumi.set(self, "workflow_id", value)
380
380
 
381
381
 
382
+ @pulumi.type_token("newrelic:index/workflow:Workflow")
382
383
  class Workflow(pulumi.CustomResource):
383
384
  @overload
384
385
  def __init__(__self__,
385
386
  resource_name: str,
386
387
  opts: Optional[pulumi.ResourceOptions] = None,
387
- account_id: Optional[pulumi.Input[str]] = None,
388
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
388
389
  destinations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkflowDestinationArgs', 'WorkflowDestinationArgsDict']]]]] = None,
389
- destinations_enabled: Optional[pulumi.Input[bool]] = None,
390
- enabled: Optional[pulumi.Input[bool]] = None,
390
+ destinations_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
391
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
391
392
  enrichments: Optional[pulumi.Input[Union['WorkflowEnrichmentsArgs', 'WorkflowEnrichmentsArgsDict']]] = None,
392
- enrichments_enabled: Optional[pulumi.Input[bool]] = None,
393
+ enrichments_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
393
394
  issues_filter: Optional[pulumi.Input[Union['WorkflowIssuesFilterArgs', 'WorkflowIssuesFilterArgsDict']]] = None,
394
- muting_rules_handling: Optional[pulumi.Input[str]] = None,
395
- name: Optional[pulumi.Input[str]] = None,
395
+ muting_rules_handling: Optional[pulumi.Input[_builtins.str]] = None,
396
+ name: Optional[pulumi.Input[_builtins.str]] = None,
396
397
  __props__=None):
397
398
  """
398
399
  Use this resource to create and manage New Relic workflows.
@@ -563,16 +564,16 @@ class Workflow(pulumi.CustomResource):
563
564
 
564
565
  :param str resource_name: The name of the resource.
565
566
  :param pulumi.ResourceOptions opts: Options for the resource.
566
- :param pulumi.Input[str] account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
567
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
567
568
  :param pulumi.Input[Sequence[pulumi.Input[Union['WorkflowDestinationArgs', 'WorkflowDestinationArgsDict']]]] destinations: Notification configuration. See Nested destination blocks below for details.
568
- :param pulumi.Input[bool] destinations_enabled: **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
569
+ :param pulumi.Input[_builtins.bool] destinations_enabled: **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
569
570
  these two are different flags, but they are functionally identical. Defaults to true.
570
- :param pulumi.Input[bool] enabled: Whether workflow is enabled. Defaults to true.
571
+ :param pulumi.Input[_builtins.bool] enabled: Whether workflow is enabled. Defaults to true.
571
572
  :param pulumi.Input[Union['WorkflowEnrichmentsArgs', 'WorkflowEnrichmentsArgsDict']] enrichments: Workflow's enrichments. See Nested enrichments blocks below for details.
572
- :param pulumi.Input[bool] enrichments_enabled: Whether enrichments are enabled. Defaults to true.
573
+ :param pulumi.Input[_builtins.bool] enrichments_enabled: Whether enrichments are enabled. Defaults to true.
573
574
  :param pulumi.Input[Union['WorkflowIssuesFilterArgs', 'WorkflowIssuesFilterArgsDict']] issues_filter: A filter used to identify issues handled by this workflow. See Nested issues_filter blocks below for details.
574
- :param pulumi.Input[str] muting_rules_handling: How to handle muted issues. See Muting Rules below for details.
575
- :param pulumi.Input[str] name: The name of the workflow.
575
+ :param pulumi.Input[_builtins.str] muting_rules_handling: How to handle muted issues. See Muting Rules below for details.
576
+ :param pulumi.Input[_builtins.str] name: The name of the workflow.
576
577
  """
577
578
  ...
578
579
  @overload
@@ -762,15 +763,15 @@ class Workflow(pulumi.CustomResource):
762
763
  def _internal_init(__self__,
763
764
  resource_name: str,
764
765
  opts: Optional[pulumi.ResourceOptions] = None,
765
- account_id: Optional[pulumi.Input[str]] = None,
766
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
766
767
  destinations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkflowDestinationArgs', 'WorkflowDestinationArgsDict']]]]] = None,
767
- destinations_enabled: Optional[pulumi.Input[bool]] = None,
768
- enabled: Optional[pulumi.Input[bool]] = None,
768
+ destinations_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
769
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
769
770
  enrichments: Optional[pulumi.Input[Union['WorkflowEnrichmentsArgs', 'WorkflowEnrichmentsArgsDict']]] = None,
770
- enrichments_enabled: Optional[pulumi.Input[bool]] = None,
771
+ enrichments_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
771
772
  issues_filter: Optional[pulumi.Input[Union['WorkflowIssuesFilterArgs', 'WorkflowIssuesFilterArgsDict']]] = None,
772
- muting_rules_handling: Optional[pulumi.Input[str]] = None,
773
- name: Optional[pulumi.Input[str]] = None,
773
+ muting_rules_handling: Optional[pulumi.Input[_builtins.str]] = None,
774
+ name: Optional[pulumi.Input[_builtins.str]] = None,
774
775
  __props__=None):
775
776
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
776
777
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -808,18 +809,18 @@ class Workflow(pulumi.CustomResource):
808
809
  def get(resource_name: str,
809
810
  id: pulumi.Input[str],
810
811
  opts: Optional[pulumi.ResourceOptions] = None,
811
- account_id: Optional[pulumi.Input[str]] = None,
812
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
812
813
  destinations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkflowDestinationArgs', 'WorkflowDestinationArgsDict']]]]] = None,
813
- destinations_enabled: Optional[pulumi.Input[bool]] = None,
814
- enabled: Optional[pulumi.Input[bool]] = None,
814
+ destinations_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
815
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
815
816
  enrichments: Optional[pulumi.Input[Union['WorkflowEnrichmentsArgs', 'WorkflowEnrichmentsArgsDict']]] = None,
816
- enrichments_enabled: Optional[pulumi.Input[bool]] = None,
817
- guid: Optional[pulumi.Input[str]] = None,
817
+ enrichments_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
818
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
818
819
  issues_filter: Optional[pulumi.Input[Union['WorkflowIssuesFilterArgs', 'WorkflowIssuesFilterArgsDict']]] = None,
819
- last_run: Optional[pulumi.Input[str]] = None,
820
- muting_rules_handling: Optional[pulumi.Input[str]] = None,
821
- name: Optional[pulumi.Input[str]] = None,
822
- workflow_id: Optional[pulumi.Input[str]] = None) -> 'Workflow':
820
+ last_run: Optional[pulumi.Input[_builtins.str]] = None,
821
+ muting_rules_handling: Optional[pulumi.Input[_builtins.str]] = None,
822
+ name: Optional[pulumi.Input[_builtins.str]] = None,
823
+ workflow_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'Workflow':
823
824
  """
824
825
  Get an existing Workflow resource's state with the given name, id, and optional extra
825
826
  properties used to qualify the lookup.
@@ -827,19 +828,19 @@ class Workflow(pulumi.CustomResource):
827
828
  :param str resource_name: The unique name of the resulting resource.
828
829
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
829
830
  :param pulumi.ResourceOptions opts: Options for the resource.
830
- :param pulumi.Input[str] account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
831
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
831
832
  :param pulumi.Input[Sequence[pulumi.Input[Union['WorkflowDestinationArgs', 'WorkflowDestinationArgsDict']]]] destinations: Notification configuration. See Nested destination blocks below for details.
832
- :param pulumi.Input[bool] destinations_enabled: **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
833
+ :param pulumi.Input[_builtins.bool] destinations_enabled: **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
833
834
  these two are different flags, but they are functionally identical. Defaults to true.
834
- :param pulumi.Input[bool] enabled: Whether workflow is enabled. Defaults to true.
835
+ :param pulumi.Input[_builtins.bool] enabled: Whether workflow is enabled. Defaults to true.
835
836
  :param pulumi.Input[Union['WorkflowEnrichmentsArgs', 'WorkflowEnrichmentsArgsDict']] enrichments: Workflow's enrichments. See Nested enrichments blocks below for details.
836
- :param pulumi.Input[bool] enrichments_enabled: Whether enrichments are enabled. Defaults to true.
837
- :param pulumi.Input[str] guid: Workflow entity GUID
837
+ :param pulumi.Input[_builtins.bool] enrichments_enabled: Whether enrichments are enabled. Defaults to true.
838
+ :param pulumi.Input[_builtins.str] guid: Workflow entity GUID
838
839
  :param pulumi.Input[Union['WorkflowIssuesFilterArgs', 'WorkflowIssuesFilterArgsDict']] issues_filter: A filter used to identify issues handled by this workflow. See Nested issues_filter blocks below for details.
839
- :param pulumi.Input[str] last_run: The last time notification was sent for this workflow.
840
- :param pulumi.Input[str] muting_rules_handling: How to handle muted issues. See Muting Rules below for details.
841
- :param pulumi.Input[str] name: The name of the workflow.
842
- :param pulumi.Input[str] workflow_id: The id of the workflow.
840
+ :param pulumi.Input[_builtins.str] last_run: The last time notification was sent for this workflow.
841
+ :param pulumi.Input[_builtins.str] muting_rules_handling: How to handle muted issues. See Muting Rules below for details.
842
+ :param pulumi.Input[_builtins.str] name: The name of the workflow.
843
+ :param pulumi.Input[_builtins.str] workflow_id: The id of the workflow.
843
844
  """
844
845
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
845
846
 
@@ -859,15 +860,15 @@ class Workflow(pulumi.CustomResource):
859
860
  __props__.__dict__["workflow_id"] = workflow_id
860
861
  return Workflow(resource_name, opts=opts, __props__=__props__)
861
862
 
862
- @property
863
+ @_builtins.property
863
864
  @pulumi.getter(name="accountId")
864
- def account_id(self) -> pulumi.Output[str]:
865
+ def account_id(self) -> pulumi.Output[_builtins.str]:
865
866
  """
866
867
  Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
867
868
  """
868
869
  return pulumi.get(self, "account_id")
869
870
 
870
- @property
871
+ @_builtins.property
871
872
  @pulumi.getter
872
873
  def destinations(self) -> pulumi.Output[Sequence['outputs.WorkflowDestination']]:
873
874
  """
@@ -875,25 +876,25 @@ class Workflow(pulumi.CustomResource):
875
876
  """
876
877
  return pulumi.get(self, "destinations")
877
878
 
878
- @property
879
+ @_builtins.property
879
880
  @pulumi.getter(name="destinationsEnabled")
880
881
  @_utilities.deprecated("""Please use 'enabled' instead""")
881
- def destinations_enabled(self) -> pulumi.Output[Optional[bool]]:
882
+ def destinations_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
882
883
  """
883
884
  **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
884
885
  these two are different flags, but they are functionally identical. Defaults to true.
885
886
  """
886
887
  return pulumi.get(self, "destinations_enabled")
887
888
 
888
- @property
889
+ @_builtins.property
889
890
  @pulumi.getter
890
- def enabled(self) -> pulumi.Output[Optional[bool]]:
891
+ def enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
891
892
  """
892
893
  Whether workflow is enabled. Defaults to true.
893
894
  """
894
895
  return pulumi.get(self, "enabled")
895
896
 
896
- @property
897
+ @_builtins.property
897
898
  @pulumi.getter
898
899
  def enrichments(self) -> pulumi.Output[Optional['outputs.WorkflowEnrichments']]:
899
900
  """
@@ -901,23 +902,23 @@ class Workflow(pulumi.CustomResource):
901
902
  """
902
903
  return pulumi.get(self, "enrichments")
903
904
 
904
- @property
905
+ @_builtins.property
905
906
  @pulumi.getter(name="enrichmentsEnabled")
906
- def enrichments_enabled(self) -> pulumi.Output[Optional[bool]]:
907
+ def enrichments_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
907
908
  """
908
909
  Whether enrichments are enabled. Defaults to true.
909
910
  """
910
911
  return pulumi.get(self, "enrichments_enabled")
911
912
 
912
- @property
913
+ @_builtins.property
913
914
  @pulumi.getter
914
- def guid(self) -> pulumi.Output[str]:
915
+ def guid(self) -> pulumi.Output[_builtins.str]:
915
916
  """
916
917
  Workflow entity GUID
917
918
  """
918
919
  return pulumi.get(self, "guid")
919
920
 
920
- @property
921
+ @_builtins.property
921
922
  @pulumi.getter(name="issuesFilter")
922
923
  def issues_filter(self) -> pulumi.Output['outputs.WorkflowIssuesFilter']:
923
924
  """
@@ -925,33 +926,33 @@ class Workflow(pulumi.CustomResource):
925
926
  """
926
927
  return pulumi.get(self, "issues_filter")
927
928
 
928
- @property
929
+ @_builtins.property
929
930
  @pulumi.getter(name="lastRun")
930
- def last_run(self) -> pulumi.Output[str]:
931
+ def last_run(self) -> pulumi.Output[_builtins.str]:
931
932
  """
932
933
  The last time notification was sent for this workflow.
933
934
  """
934
935
  return pulumi.get(self, "last_run")
935
936
 
936
- @property
937
+ @_builtins.property
937
938
  @pulumi.getter(name="mutingRulesHandling")
938
- def muting_rules_handling(self) -> pulumi.Output[str]:
939
+ def muting_rules_handling(self) -> pulumi.Output[_builtins.str]:
939
940
  """
940
941
  How to handle muted issues. See Muting Rules below for details.
941
942
  """
942
943
  return pulumi.get(self, "muting_rules_handling")
943
944
 
944
- @property
945
+ @_builtins.property
945
946
  @pulumi.getter
946
- def name(self) -> pulumi.Output[str]:
947
+ def name(self) -> pulumi.Output[_builtins.str]:
947
948
  """
948
949
  The name of the workflow.
949
950
  """
950
951
  return pulumi.get(self, "name")
951
952
 
952
- @property
953
+ @_builtins.property
953
954
  @pulumi.getter(name="workflowId")
954
- def workflow_id(self) -> pulumi.Output[str]:
955
+ def workflow_id(self) -> pulumi.Output[_builtins.str]:
955
956
  """
956
957
  The id of the workflow.
957
958
  """