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,20 +22,20 @@ __all__ = ['AlertMutingRuleArgs', 'AlertMutingRule']
22
22
  class AlertMutingRuleArgs:
23
23
  def __init__(__self__, *,
24
24
  condition: pulumi.Input['AlertMutingRuleConditionArgs'],
25
- enabled: pulumi.Input[bool],
26
- account_id: Optional[pulumi.Input[str]] = None,
27
- action_on_muting_rule_window_ended: Optional[pulumi.Input[str]] = None,
28
- description: Optional[pulumi.Input[str]] = None,
29
- name: Optional[pulumi.Input[str]] = None,
25
+ enabled: pulumi.Input[_builtins.bool],
26
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
27
+ action_on_muting_rule_window_ended: Optional[pulumi.Input[_builtins.str]] = None,
28
+ description: Optional[pulumi.Input[_builtins.str]] = None,
29
+ name: Optional[pulumi.Input[_builtins.str]] = None,
30
30
  schedule: Optional[pulumi.Input['AlertMutingRuleScheduleArgs']] = None):
31
31
  """
32
32
  The set of arguments for constructing a AlertMutingRule resource.
33
33
  :param pulumi.Input['AlertMutingRuleConditionArgs'] condition: The condition that defines which incidents to target. See Nested condition blocks below for details.
34
- :param pulumi.Input[bool] enabled: Whether the MutingRule is enabled.
35
- :param pulumi.Input[str] account_id: The account id of the MutingRule.
36
- :param pulumi.Input[str] action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Valid values are `CLOSE_ISSUES_ON_INACTIVE`, `DO_NOTHING`.
37
- :param pulumi.Input[str] description: The description of the MutingRule.
38
- :param pulumi.Input[str] name: The name of the MutingRule.
34
+ :param pulumi.Input[_builtins.bool] enabled: Whether the MutingRule is enabled.
35
+ :param pulumi.Input[_builtins.str] account_id: The account id of the MutingRule.
36
+ :param pulumi.Input[_builtins.str] action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Valid values are `CLOSE_ISSUES_ON_INACTIVE`, `DO_NOTHING`.
37
+ :param pulumi.Input[_builtins.str] description: The description of the MutingRule.
38
+ :param pulumi.Input[_builtins.str] name: The name of the MutingRule.
39
39
  :param pulumi.Input['AlertMutingRuleScheduleArgs'] schedule: Specify a schedule for enabling the MutingRule. See Schedule below for details
40
40
  """
41
41
  pulumi.set(__self__, "condition", condition)
@@ -51,7 +51,7 @@ class AlertMutingRuleArgs:
51
51
  if schedule is not None:
52
52
  pulumi.set(__self__, "schedule", schedule)
53
53
 
54
- @property
54
+ @_builtins.property
55
55
  @pulumi.getter
56
56
  def condition(self) -> pulumi.Input['AlertMutingRuleConditionArgs']:
57
57
  """
@@ -63,67 +63,67 @@ class AlertMutingRuleArgs:
63
63
  def condition(self, value: pulumi.Input['AlertMutingRuleConditionArgs']):
64
64
  pulumi.set(self, "condition", value)
65
65
 
66
- @property
66
+ @_builtins.property
67
67
  @pulumi.getter
68
- def enabled(self) -> pulumi.Input[bool]:
68
+ def enabled(self) -> pulumi.Input[_builtins.bool]:
69
69
  """
70
70
  Whether the MutingRule is enabled.
71
71
  """
72
72
  return pulumi.get(self, "enabled")
73
73
 
74
74
  @enabled.setter
75
- def enabled(self, value: pulumi.Input[bool]):
75
+ def enabled(self, value: pulumi.Input[_builtins.bool]):
76
76
  pulumi.set(self, "enabled", value)
77
77
 
78
- @property
78
+ @_builtins.property
79
79
  @pulumi.getter(name="accountId")
80
- def account_id(self) -> Optional[pulumi.Input[str]]:
80
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
81
81
  """
82
82
  The account id of the MutingRule.
83
83
  """
84
84
  return pulumi.get(self, "account_id")
85
85
 
86
86
  @account_id.setter
87
- def account_id(self, value: Optional[pulumi.Input[str]]):
87
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
88
88
  pulumi.set(self, "account_id", value)
89
89
 
90
- @property
90
+ @_builtins.property
91
91
  @pulumi.getter(name="actionOnMutingRuleWindowEnded")
92
- def action_on_muting_rule_window_ended(self) -> Optional[pulumi.Input[str]]:
92
+ def action_on_muting_rule_window_ended(self) -> Optional[pulumi.Input[_builtins.str]]:
93
93
  """
94
94
  The action when the muting rule window is ended or disabled. Valid values are `CLOSE_ISSUES_ON_INACTIVE`, `DO_NOTHING`.
95
95
  """
96
96
  return pulumi.get(self, "action_on_muting_rule_window_ended")
97
97
 
98
98
  @action_on_muting_rule_window_ended.setter
99
- def action_on_muting_rule_window_ended(self, value: Optional[pulumi.Input[str]]):
99
+ def action_on_muting_rule_window_ended(self, value: Optional[pulumi.Input[_builtins.str]]):
100
100
  pulumi.set(self, "action_on_muting_rule_window_ended", value)
101
101
 
102
- @property
102
+ @_builtins.property
103
103
  @pulumi.getter
104
- def description(self) -> Optional[pulumi.Input[str]]:
104
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
105
105
  """
106
106
  The description of the MutingRule.
107
107
  """
108
108
  return pulumi.get(self, "description")
109
109
 
110
110
  @description.setter
111
- def description(self, value: Optional[pulumi.Input[str]]):
111
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
112
112
  pulumi.set(self, "description", value)
113
113
 
114
- @property
114
+ @_builtins.property
115
115
  @pulumi.getter
116
- def name(self) -> Optional[pulumi.Input[str]]:
116
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
117
117
  """
118
118
  The name of the MutingRule.
119
119
  """
120
120
  return pulumi.get(self, "name")
121
121
 
122
122
  @name.setter
123
- def name(self, value: Optional[pulumi.Input[str]]):
123
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
124
124
  pulumi.set(self, "name", value)
125
125
 
126
- @property
126
+ @_builtins.property
127
127
  @pulumi.getter
128
128
  def schedule(self) -> Optional[pulumi.Input['AlertMutingRuleScheduleArgs']]:
129
129
  """
@@ -139,21 +139,21 @@ class AlertMutingRuleArgs:
139
139
  @pulumi.input_type
140
140
  class _AlertMutingRuleState:
141
141
  def __init__(__self__, *,
142
- account_id: Optional[pulumi.Input[str]] = None,
143
- action_on_muting_rule_window_ended: Optional[pulumi.Input[str]] = None,
142
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
143
+ action_on_muting_rule_window_ended: Optional[pulumi.Input[_builtins.str]] = None,
144
144
  condition: Optional[pulumi.Input['AlertMutingRuleConditionArgs']] = None,
145
- description: Optional[pulumi.Input[str]] = None,
146
- enabled: Optional[pulumi.Input[bool]] = None,
147
- name: Optional[pulumi.Input[str]] = None,
145
+ description: Optional[pulumi.Input[_builtins.str]] = None,
146
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
147
+ name: Optional[pulumi.Input[_builtins.str]] = None,
148
148
  schedule: Optional[pulumi.Input['AlertMutingRuleScheduleArgs']] = None):
149
149
  """
150
150
  Input properties used for looking up and filtering AlertMutingRule resources.
151
- :param pulumi.Input[str] account_id: The account id of the MutingRule.
152
- :param pulumi.Input[str] action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Valid values are `CLOSE_ISSUES_ON_INACTIVE`, `DO_NOTHING`.
151
+ :param pulumi.Input[_builtins.str] account_id: The account id of the MutingRule.
152
+ :param pulumi.Input[_builtins.str] action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Valid values are `CLOSE_ISSUES_ON_INACTIVE`, `DO_NOTHING`.
153
153
  :param pulumi.Input['AlertMutingRuleConditionArgs'] condition: The condition that defines which incidents to target. See Nested condition blocks below for details.
154
- :param pulumi.Input[str] description: The description of the MutingRule.
155
- :param pulumi.Input[bool] enabled: Whether the MutingRule is enabled.
156
- :param pulumi.Input[str] name: The name of the MutingRule.
154
+ :param pulumi.Input[_builtins.str] description: The description of the MutingRule.
155
+ :param pulumi.Input[_builtins.bool] enabled: Whether the MutingRule is enabled.
156
+ :param pulumi.Input[_builtins.str] name: The name of the MutingRule.
157
157
  :param pulumi.Input['AlertMutingRuleScheduleArgs'] schedule: Specify a schedule for enabling the MutingRule. See Schedule below for details
158
158
  """
159
159
  if account_id is not None:
@@ -171,31 +171,31 @@ class _AlertMutingRuleState:
171
171
  if schedule is not None:
172
172
  pulumi.set(__self__, "schedule", schedule)
173
173
 
174
- @property
174
+ @_builtins.property
175
175
  @pulumi.getter(name="accountId")
176
- def account_id(self) -> Optional[pulumi.Input[str]]:
176
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
177
177
  """
178
178
  The account id of the MutingRule.
179
179
  """
180
180
  return pulumi.get(self, "account_id")
181
181
 
182
182
  @account_id.setter
183
- def account_id(self, value: Optional[pulumi.Input[str]]):
183
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
184
184
  pulumi.set(self, "account_id", value)
185
185
 
186
- @property
186
+ @_builtins.property
187
187
  @pulumi.getter(name="actionOnMutingRuleWindowEnded")
188
- def action_on_muting_rule_window_ended(self) -> Optional[pulumi.Input[str]]:
188
+ def action_on_muting_rule_window_ended(self) -> Optional[pulumi.Input[_builtins.str]]:
189
189
  """
190
190
  The action when the muting rule window is ended or disabled. Valid values are `CLOSE_ISSUES_ON_INACTIVE`, `DO_NOTHING`.
191
191
  """
192
192
  return pulumi.get(self, "action_on_muting_rule_window_ended")
193
193
 
194
194
  @action_on_muting_rule_window_ended.setter
195
- def action_on_muting_rule_window_ended(self, value: Optional[pulumi.Input[str]]):
195
+ def action_on_muting_rule_window_ended(self, value: Optional[pulumi.Input[_builtins.str]]):
196
196
  pulumi.set(self, "action_on_muting_rule_window_ended", value)
197
197
 
198
- @property
198
+ @_builtins.property
199
199
  @pulumi.getter
200
200
  def condition(self) -> Optional[pulumi.Input['AlertMutingRuleConditionArgs']]:
201
201
  """
@@ -207,43 +207,43 @@ class _AlertMutingRuleState:
207
207
  def condition(self, value: Optional[pulumi.Input['AlertMutingRuleConditionArgs']]):
208
208
  pulumi.set(self, "condition", value)
209
209
 
210
- @property
210
+ @_builtins.property
211
211
  @pulumi.getter
212
- def description(self) -> Optional[pulumi.Input[str]]:
212
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
213
213
  """
214
214
  The description of the MutingRule.
215
215
  """
216
216
  return pulumi.get(self, "description")
217
217
 
218
218
  @description.setter
219
- def description(self, value: Optional[pulumi.Input[str]]):
219
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
220
220
  pulumi.set(self, "description", value)
221
221
 
222
- @property
222
+ @_builtins.property
223
223
  @pulumi.getter
224
- def enabled(self) -> Optional[pulumi.Input[bool]]:
224
+ def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
225
225
  """
226
226
  Whether the MutingRule is enabled.
227
227
  """
228
228
  return pulumi.get(self, "enabled")
229
229
 
230
230
  @enabled.setter
231
- def enabled(self, value: Optional[pulumi.Input[bool]]):
231
+ def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
232
232
  pulumi.set(self, "enabled", value)
233
233
 
234
- @property
234
+ @_builtins.property
235
235
  @pulumi.getter
236
- def name(self) -> Optional[pulumi.Input[str]]:
236
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
237
237
  """
238
238
  The name of the MutingRule.
239
239
  """
240
240
  return pulumi.get(self, "name")
241
241
 
242
242
  @name.setter
243
- def name(self, value: Optional[pulumi.Input[str]]):
243
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
244
244
  pulumi.set(self, "name", value)
245
245
 
246
- @property
246
+ @_builtins.property
247
247
  @pulumi.getter
248
248
  def schedule(self) -> Optional[pulumi.Input['AlertMutingRuleScheduleArgs']]:
249
249
  """
@@ -256,17 +256,18 @@ class _AlertMutingRuleState:
256
256
  pulumi.set(self, "schedule", value)
257
257
 
258
258
 
259
+ @pulumi.type_token("newrelic:index/alertMutingRule:AlertMutingRule")
259
260
  class AlertMutingRule(pulumi.CustomResource):
260
261
  @overload
261
262
  def __init__(__self__,
262
263
  resource_name: str,
263
264
  opts: Optional[pulumi.ResourceOptions] = None,
264
- account_id: Optional[pulumi.Input[str]] = None,
265
- action_on_muting_rule_window_ended: Optional[pulumi.Input[str]] = None,
265
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
266
+ action_on_muting_rule_window_ended: Optional[pulumi.Input[_builtins.str]] = None,
266
267
  condition: Optional[pulumi.Input[Union['AlertMutingRuleConditionArgs', 'AlertMutingRuleConditionArgsDict']]] = None,
267
- description: Optional[pulumi.Input[str]] = None,
268
- enabled: Optional[pulumi.Input[bool]] = None,
269
- name: Optional[pulumi.Input[str]] = None,
268
+ description: Optional[pulumi.Input[_builtins.str]] = None,
269
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
270
+ name: Optional[pulumi.Input[_builtins.str]] = None,
270
271
  schedule: Optional[pulumi.Input[Union['AlertMutingRuleScheduleArgs', 'AlertMutingRuleScheduleArgsDict']]] = None,
271
272
  __props__=None):
272
273
  """
@@ -312,7 +313,7 @@ class AlertMutingRule(pulumi.CustomResource):
312
313
 
313
314
  ## Import
314
315
 
315
- Alert conditions can be imported using a composite ID of `<account_id>:<muting_rule_id>`, e.g.
316
+ Alert Muting Rules can be imported using a composite ID of `<account_id>:<muting_rule_id>`, e.g.
316
317
 
317
318
  ```sh
318
319
  $ pulumi import newrelic:index/alertMutingRule:AlertMutingRule foo 538291:6789035
@@ -320,12 +321,12 @@ class AlertMutingRule(pulumi.CustomResource):
320
321
 
321
322
  :param str resource_name: The name of the resource.
322
323
  :param pulumi.ResourceOptions opts: Options for the resource.
323
- :param pulumi.Input[str] account_id: The account id of the MutingRule.
324
- :param pulumi.Input[str] action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Valid values are `CLOSE_ISSUES_ON_INACTIVE`, `DO_NOTHING`.
324
+ :param pulumi.Input[_builtins.str] account_id: The account id of the MutingRule.
325
+ :param pulumi.Input[_builtins.str] action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Valid values are `CLOSE_ISSUES_ON_INACTIVE`, `DO_NOTHING`.
325
326
  :param pulumi.Input[Union['AlertMutingRuleConditionArgs', 'AlertMutingRuleConditionArgsDict']] condition: The condition that defines which incidents to target. See Nested condition blocks below for details.
326
- :param pulumi.Input[str] description: The description of the MutingRule.
327
- :param pulumi.Input[bool] enabled: Whether the MutingRule is enabled.
328
- :param pulumi.Input[str] name: The name of the MutingRule.
327
+ :param pulumi.Input[_builtins.str] description: The description of the MutingRule.
328
+ :param pulumi.Input[_builtins.bool] enabled: Whether the MutingRule is enabled.
329
+ :param pulumi.Input[_builtins.str] name: The name of the MutingRule.
329
330
  :param pulumi.Input[Union['AlertMutingRuleScheduleArgs', 'AlertMutingRuleScheduleArgsDict']] schedule: Specify a schedule for enabling the MutingRule. See Schedule below for details
330
331
  """
331
332
  ...
@@ -377,7 +378,7 @@ class AlertMutingRule(pulumi.CustomResource):
377
378
 
378
379
  ## Import
379
380
 
380
- Alert conditions can be imported using a composite ID of `<account_id>:<muting_rule_id>`, e.g.
381
+ Alert Muting Rules can be imported using a composite ID of `<account_id>:<muting_rule_id>`, e.g.
381
382
 
382
383
  ```sh
383
384
  $ pulumi import newrelic:index/alertMutingRule:AlertMutingRule foo 538291:6789035
@@ -398,12 +399,12 @@ class AlertMutingRule(pulumi.CustomResource):
398
399
  def _internal_init(__self__,
399
400
  resource_name: str,
400
401
  opts: Optional[pulumi.ResourceOptions] = None,
401
- account_id: Optional[pulumi.Input[str]] = None,
402
- action_on_muting_rule_window_ended: Optional[pulumi.Input[str]] = None,
402
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
403
+ action_on_muting_rule_window_ended: Optional[pulumi.Input[_builtins.str]] = None,
403
404
  condition: Optional[pulumi.Input[Union['AlertMutingRuleConditionArgs', 'AlertMutingRuleConditionArgsDict']]] = None,
404
- description: Optional[pulumi.Input[str]] = None,
405
- enabled: Optional[pulumi.Input[bool]] = None,
406
- name: Optional[pulumi.Input[str]] = None,
405
+ description: Optional[pulumi.Input[_builtins.str]] = None,
406
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
407
+ name: Optional[pulumi.Input[_builtins.str]] = None,
407
408
  schedule: Optional[pulumi.Input[Union['AlertMutingRuleScheduleArgs', 'AlertMutingRuleScheduleArgsDict']]] = None,
408
409
  __props__=None):
409
410
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -435,12 +436,12 @@ class AlertMutingRule(pulumi.CustomResource):
435
436
  def get(resource_name: str,
436
437
  id: pulumi.Input[str],
437
438
  opts: Optional[pulumi.ResourceOptions] = None,
438
- account_id: Optional[pulumi.Input[str]] = None,
439
- action_on_muting_rule_window_ended: Optional[pulumi.Input[str]] = None,
439
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
440
+ action_on_muting_rule_window_ended: Optional[pulumi.Input[_builtins.str]] = None,
440
441
  condition: Optional[pulumi.Input[Union['AlertMutingRuleConditionArgs', 'AlertMutingRuleConditionArgsDict']]] = None,
441
- description: Optional[pulumi.Input[str]] = None,
442
- enabled: Optional[pulumi.Input[bool]] = None,
443
- name: Optional[pulumi.Input[str]] = None,
442
+ description: Optional[pulumi.Input[_builtins.str]] = None,
443
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
444
+ name: Optional[pulumi.Input[_builtins.str]] = None,
444
445
  schedule: Optional[pulumi.Input[Union['AlertMutingRuleScheduleArgs', 'AlertMutingRuleScheduleArgsDict']]] = None) -> 'AlertMutingRule':
445
446
  """
446
447
  Get an existing AlertMutingRule resource's state with the given name, id, and optional extra
@@ -449,12 +450,12 @@ class AlertMutingRule(pulumi.CustomResource):
449
450
  :param str resource_name: The unique name of the resulting resource.
450
451
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
451
452
  :param pulumi.ResourceOptions opts: Options for the resource.
452
- :param pulumi.Input[str] account_id: The account id of the MutingRule.
453
- :param pulumi.Input[str] action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Valid values are `CLOSE_ISSUES_ON_INACTIVE`, `DO_NOTHING`.
453
+ :param pulumi.Input[_builtins.str] account_id: The account id of the MutingRule.
454
+ :param pulumi.Input[_builtins.str] action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Valid values are `CLOSE_ISSUES_ON_INACTIVE`, `DO_NOTHING`.
454
455
  :param pulumi.Input[Union['AlertMutingRuleConditionArgs', 'AlertMutingRuleConditionArgsDict']] condition: The condition that defines which incidents to target. See Nested condition blocks below for details.
455
- :param pulumi.Input[str] description: The description of the MutingRule.
456
- :param pulumi.Input[bool] enabled: Whether the MutingRule is enabled.
457
- :param pulumi.Input[str] name: The name of the MutingRule.
456
+ :param pulumi.Input[_builtins.str] description: The description of the MutingRule.
457
+ :param pulumi.Input[_builtins.bool] enabled: Whether the MutingRule is enabled.
458
+ :param pulumi.Input[_builtins.str] name: The name of the MutingRule.
458
459
  :param pulumi.Input[Union['AlertMutingRuleScheduleArgs', 'AlertMutingRuleScheduleArgsDict']] schedule: Specify a schedule for enabling the MutingRule. See Schedule below for details
459
460
  """
460
461
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -470,23 +471,23 @@ class AlertMutingRule(pulumi.CustomResource):
470
471
  __props__.__dict__["schedule"] = schedule
471
472
  return AlertMutingRule(resource_name, opts=opts, __props__=__props__)
472
473
 
473
- @property
474
+ @_builtins.property
474
475
  @pulumi.getter(name="accountId")
475
- def account_id(self) -> pulumi.Output[str]:
476
+ def account_id(self) -> pulumi.Output[_builtins.str]:
476
477
  """
477
478
  The account id of the MutingRule.
478
479
  """
479
480
  return pulumi.get(self, "account_id")
480
481
 
481
- @property
482
+ @_builtins.property
482
483
  @pulumi.getter(name="actionOnMutingRuleWindowEnded")
483
- def action_on_muting_rule_window_ended(self) -> pulumi.Output[str]:
484
+ def action_on_muting_rule_window_ended(self) -> pulumi.Output[_builtins.str]:
484
485
  """
485
486
  The action when the muting rule window is ended or disabled. Valid values are `CLOSE_ISSUES_ON_INACTIVE`, `DO_NOTHING`.
486
487
  """
487
488
  return pulumi.get(self, "action_on_muting_rule_window_ended")
488
489
 
489
- @property
490
+ @_builtins.property
490
491
  @pulumi.getter
491
492
  def condition(self) -> pulumi.Output['outputs.AlertMutingRuleCondition']:
492
493
  """
@@ -494,31 +495,31 @@ class AlertMutingRule(pulumi.CustomResource):
494
495
  """
495
496
  return pulumi.get(self, "condition")
496
497
 
497
- @property
498
+ @_builtins.property
498
499
  @pulumi.getter
499
- def description(self) -> pulumi.Output[Optional[str]]:
500
+ def description(self) -> pulumi.Output[Optional[_builtins.str]]:
500
501
  """
501
502
  The description of the MutingRule.
502
503
  """
503
504
  return pulumi.get(self, "description")
504
505
 
505
- @property
506
+ @_builtins.property
506
507
  @pulumi.getter
507
- def enabled(self) -> pulumi.Output[bool]:
508
+ def enabled(self) -> pulumi.Output[_builtins.bool]:
508
509
  """
509
510
  Whether the MutingRule is enabled.
510
511
  """
511
512
  return pulumi.get(self, "enabled")
512
513
 
513
- @property
514
+ @_builtins.property
514
515
  @pulumi.getter
515
- def name(self) -> pulumi.Output[str]:
516
+ def name(self) -> pulumi.Output[_builtins.str]:
516
517
  """
517
518
  The name of the MutingRule.
518
519
  """
519
520
  return pulumi.get(self, "name")
520
521
 
521
- @property
522
+ @_builtins.property
522
523
  @pulumi.getter
523
524
  def schedule(self) -> pulumi.Output[Optional['outputs.AlertMutingRuleSchedule']]:
524
525
  """