pulumi-newrelic 5.23.0a1713333809__py3-none-any.whl → 5.23.0a1713975814__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 (66) hide show
  1. pulumi_newrelic/_inputs.py +110 -270
  2. pulumi_newrelic/account_management.py +20 -20
  3. pulumi_newrelic/alert_channel.py +76 -92
  4. pulumi_newrelic/alert_condition.py +104 -149
  5. pulumi_newrelic/alert_muting_rule.py +33 -35
  6. pulumi_newrelic/alert_policy.py +68 -43
  7. pulumi_newrelic/alert_policy_channel.py +12 -8
  8. pulumi_newrelic/cloud/_inputs.py +322 -1072
  9. pulumi_newrelic/cloud/aws_govcloud_link_account.py +4 -6
  10. pulumi_newrelic/cloud/aws_integrations.py +13 -15
  11. pulumi_newrelic/cloud/aws_link_account.py +4 -6
  12. pulumi_newrelic/cloud/azure_integrations.py +10 -12
  13. pulumi_newrelic/cloud/azure_link_account.py +4 -6
  14. pulumi_newrelic/cloud/gcp_integrations.py +6 -6
  15. pulumi_newrelic/cloud/gcp_link_account.py +4 -6
  16. pulumi_newrelic/cloud/outputs.py +322 -1072
  17. pulumi_newrelic/data_partition_rule.py +0 -4
  18. pulumi_newrelic/entity_tags.py +13 -17
  19. pulumi_newrelic/events_to_metrics_rule.py +2 -4
  20. pulumi_newrelic/get_account.py +0 -4
  21. pulumi_newrelic/get_application.py +8 -10
  22. pulumi_newrelic/get_authentication_domain.py +4 -8
  23. pulumi_newrelic/get_cloud_account.py +0 -4
  24. pulumi_newrelic/get_entity.py +28 -32
  25. pulumi_newrelic/get_group.py +42 -8
  26. pulumi_newrelic/get_key_transaction.py +8 -10
  27. pulumi_newrelic/get_obfuscation_expression.py +2 -4
  28. pulumi_newrelic/get_service_level_alert_helper.py +22 -46
  29. pulumi_newrelic/get_test_grok_pattern.py +4 -6
  30. pulumi_newrelic/get_user.py +0 -4
  31. pulumi_newrelic/group.py +40 -42
  32. pulumi_newrelic/infra_alert_condition.py +154 -131
  33. pulumi_newrelic/insights/event.py +8 -25
  34. pulumi_newrelic/log_parsing_rule.py +6 -10
  35. pulumi_newrelic/monitor_downtime.py +174 -193
  36. pulumi_newrelic/notification_channel.py +124 -150
  37. pulumi_newrelic/nrql_alert_condition.py +38 -48
  38. pulumi_newrelic/nrql_drop_rule.py +34 -38
  39. pulumi_newrelic/obfuscation_expression.py +2 -4
  40. pulumi_newrelic/obfuscation_rule.py +4 -4
  41. pulumi_newrelic/one_dashboard.py +42 -48
  42. pulumi_newrelic/one_dashboard_raw.py +86 -86
  43. pulumi_newrelic/outputs.py +110 -270
  44. pulumi_newrelic/plugins/_inputs.py +16 -16
  45. pulumi_newrelic/plugins/application_settings.py +6 -8
  46. pulumi_newrelic/plugins/outputs.py +16 -16
  47. pulumi_newrelic/plugins/workload.py +158 -40
  48. pulumi_newrelic/service_level.py +38 -123
  49. pulumi_newrelic/synthetics/alert_condition.py +34 -64
  50. pulumi_newrelic/synthetics/broken_links_monitor.py +18 -20
  51. pulumi_newrelic/synthetics/cert_check_monitor.py +16 -18
  52. pulumi_newrelic/synthetics/get_private_location.py +0 -8
  53. pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
  54. pulumi_newrelic/synthetics/monitor.py +48 -52
  55. pulumi_newrelic/synthetics/multi_location_alert_condition.py +69 -83
  56. pulumi_newrelic/synthetics/private_location.py +6 -6
  57. pulumi_newrelic/synthetics/script_monitor.py +38 -42
  58. pulumi_newrelic/synthetics/secure_credential.py +25 -22
  59. pulumi_newrelic/synthetics/step_monitor.py +18 -20
  60. pulumi_newrelic/user.py +8 -10
  61. pulumi_newrelic/workflow.py +20 -24
  62. {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/METADATA +1 -1
  63. pulumi_newrelic-5.23.0a1713975814.dist-info/RECORD +89 -0
  64. pulumi_newrelic-5.23.0a1713333809.dist-info/RECORD +0 -89
  65. {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/WHEEL +0 -0
  66. {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/top_level.txt +0 -0
@@ -49,9 +49,9 @@ class WorkloadStatusConfigAutomaticArgs:
49
49
  remaining_entities_rule: Optional[pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs']] = None,
50
50
  rules: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]]] = None):
51
51
  """
52
- :param pulumi.Input[bool] enabled: Whether the static status configuration is enabled or not.
53
- :param pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs'] remaining_entities_rule: An additional meta-rule that can consider all entities that haven't been evaluated by any other rule. See Nested remaining_entities_rule blocks below for details.
54
- :param pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]] rules: The input object used to represent a rollup strategy. See Nested rule blocks below for details.
52
+ :param pulumi.Input[bool] enabled: Whether the automatic status configuration is enabled or not.
53
+ :param pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs'] remaining_entities_rule: An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
54
+ :param pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]] rules: A list of rules.
55
55
  """
56
56
  pulumi.set(__self__, "enabled", enabled)
57
57
  if remaining_entities_rule is not None:
@@ -63,7 +63,7 @@ class WorkloadStatusConfigAutomaticArgs:
63
63
  @pulumi.getter
64
64
  def enabled(self) -> pulumi.Input[bool]:
65
65
  """
66
- Whether the static status configuration is enabled or not.
66
+ Whether the automatic status configuration is enabled or not.
67
67
  """
68
68
  return pulumi.get(self, "enabled")
69
69
 
@@ -75,7 +75,7 @@ class WorkloadStatusConfigAutomaticArgs:
75
75
  @pulumi.getter(name="remainingEntitiesRule")
76
76
  def remaining_entities_rule(self) -> Optional[pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs']]:
77
77
  """
78
- An additional meta-rule that can consider all entities that haven't been evaluated by any other rule. See Nested remaining_entities_rule blocks below for details.
78
+ An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
79
79
  """
80
80
  return pulumi.get(self, "remaining_entities_rule")
81
81
 
@@ -87,7 +87,7 @@ class WorkloadStatusConfigAutomaticArgs:
87
87
  @pulumi.getter
88
88
  def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]]]:
89
89
  """
90
- The input object used to represent a rollup strategy. See Nested rule blocks below for details.
90
+ A list of rules.
91
91
  """
92
92
  return pulumi.get(self, "rules")
93
93
 
@@ -101,7 +101,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs:
101
101
  def __init__(__self__, *,
102
102
  remaining_entities_rule_rollup: pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs']):
103
103
  """
104
- :param pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs'] remaining_entities_rule_rollup: The input object used to represent a rollup strategy. See Nested remaining_entities_rule_rollup blocks below for details.
104
+ :param pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs'] remaining_entities_rule_rollup: The input object used to represent a rollup strategy.
105
105
  """
106
106
  pulumi.set(__self__, "remaining_entities_rule_rollup", remaining_entities_rule_rollup)
107
107
 
@@ -109,7 +109,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs:
109
109
  @pulumi.getter(name="remainingEntitiesRuleRollup")
110
110
  def remaining_entities_rule_rollup(self) -> pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs']:
111
111
  """
112
- The input object used to represent a rollup strategy. See Nested remaining_entities_rule_rollup blocks below for details.
112
+ The input object used to represent a rollup strategy.
113
113
  """
114
114
  return pulumi.get(self, "remaining_entities_rule_rollup")
115
115
 
@@ -194,9 +194,9 @@ class WorkloadStatusConfigAutomaticRuleArgs:
194
194
  entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
195
195
  nrql_queries: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs']]]] = None):
196
196
  """
197
- :param pulumi.Input['WorkloadStatusConfigAutomaticRuleRollupArgs'] rollup: The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
198
- :param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined.
199
- :param pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs']]] nrql_queries: A list of entity search queries used to retrieve the entities that compose the rule. See Nested nrql_query blocks below for details. At least one of `entity_guids` or `nrql_query` must be defined.
197
+ :param pulumi.Input['WorkloadStatusConfigAutomaticRuleRollupArgs'] rollup: The input object used to represent a rollup strategy.
198
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs composing the rule.
199
+ :param pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs']]] nrql_queries: A list of entity search queries used to retrieve the entities that compose the rule.
200
200
  """
201
201
  pulumi.set(__self__, "rollup", rollup)
202
202
  if entity_guids is not None:
@@ -208,7 +208,7 @@ class WorkloadStatusConfigAutomaticRuleArgs:
208
208
  @pulumi.getter
209
209
  def rollup(self) -> pulumi.Input['WorkloadStatusConfigAutomaticRuleRollupArgs']:
210
210
  """
211
- The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
211
+ The input object used to represent a rollup strategy.
212
212
  """
213
213
  return pulumi.get(self, "rollup")
214
214
 
@@ -220,7 +220,7 @@ class WorkloadStatusConfigAutomaticRuleArgs:
220
220
  @pulumi.getter(name="entityGuids")
221
221
  def entity_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
222
222
  """
223
- A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined.
223
+ A list of entity GUIDs composing the rule.
224
224
  """
225
225
  return pulumi.get(self, "entity_guids")
226
226
 
@@ -232,7 +232,7 @@ class WorkloadStatusConfigAutomaticRuleArgs:
232
232
  @pulumi.getter(name="nrqlQueries")
233
233
  def nrql_queries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs']]]]:
234
234
  """
235
- A list of entity search queries used to retrieve the entities that compose the rule. See Nested nrql_query blocks below for details. At least one of `entity_guids` or `nrql_query` must be defined.
235
+ A list of entity search queries used to retrieve the entities that compose the rule.
236
236
  """
237
237
  return pulumi.get(self, "nrql_queries")
238
238
 
@@ -327,7 +327,7 @@ class WorkloadStatusConfigStaticArgs:
327
327
  """
328
328
  :param pulumi.Input[bool] enabled: Whether the static status configuration is enabled or not.
329
329
  :param pulumi.Input[str] status: The status of the workload.
330
- :param pulumi.Input[str] description: Relevant information about the workload.
330
+ :param pulumi.Input[str] description: A description that provides additional details about the status of the workload.
331
331
  :param pulumi.Input[str] summary: A short description of the status of the workload.
332
332
  """
333
333
  pulumi.set(__self__, "enabled", enabled)
@@ -365,7 +365,7 @@ class WorkloadStatusConfigStaticArgs:
365
365
  @pulumi.getter
366
366
  def description(self) -> Optional[pulumi.Input[str]]:
367
367
  """
368
- Relevant information about the workload.
368
+ A description that provides additional details about the status of the workload.
369
369
  """
370
370
  return pulumi.get(self, "description")
371
371
 
@@ -187,17 +187,16 @@ class ApplicationSettings(pulumi.CustomResource):
187
187
 
188
188
  ## Example Usage
189
189
 
190
- <!--Start PulumiCodeChooser -->
191
190
  ```python
192
191
  import pulumi
193
192
  import pulumi_newrelic as newrelic
194
193
 
195
194
  app = newrelic.plugins.ApplicationSettings("app",
195
+ name="my-app",
196
196
  app_apdex_threshold=0.7,
197
- enable_real_user_monitoring=False,
198
- end_user_apdex_threshold=0.8)
197
+ end_user_apdex_threshold=0.8,
198
+ enable_real_user_monitoring=False)
199
199
  ```
200
- <!--End PulumiCodeChooser -->
201
200
 
202
201
  ## Notes
203
202
 
@@ -238,17 +237,16 @@ class ApplicationSettings(pulumi.CustomResource):
238
237
 
239
238
  ## Example Usage
240
239
 
241
- <!--Start PulumiCodeChooser -->
242
240
  ```python
243
241
  import pulumi
244
242
  import pulumi_newrelic as newrelic
245
243
 
246
244
  app = newrelic.plugins.ApplicationSettings("app",
245
+ name="my-app",
247
246
  app_apdex_threshold=0.7,
248
- enable_real_user_monitoring=False,
249
- end_user_apdex_threshold=0.8)
247
+ end_user_apdex_threshold=0.8,
248
+ enable_real_user_monitoring=False)
250
249
  ```
251
- <!--End PulumiCodeChooser -->
252
250
 
253
251
  ## Notes
254
252
 
@@ -63,9 +63,9 @@ class WorkloadStatusConfigAutomatic(dict):
63
63
  remaining_entities_rule: Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule'] = None,
64
64
  rules: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']] = None):
65
65
  """
66
- :param bool enabled: Whether the static status configuration is enabled or not.
67
- :param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs' remaining_entities_rule: An additional meta-rule that can consider all entities that haven't been evaluated by any other rule. See Nested remaining_entities_rule blocks below for details.
68
- :param Sequence['WorkloadStatusConfigAutomaticRuleArgs'] rules: The input object used to represent a rollup strategy. See Nested rule blocks below for details.
66
+ :param bool enabled: Whether the automatic status configuration is enabled or not.
67
+ :param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs' remaining_entities_rule: An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
68
+ :param Sequence['WorkloadStatusConfigAutomaticRuleArgs'] rules: A list of rules.
69
69
  """
70
70
  pulumi.set(__self__, "enabled", enabled)
71
71
  if remaining_entities_rule is not None:
@@ -77,7 +77,7 @@ class WorkloadStatusConfigAutomatic(dict):
77
77
  @pulumi.getter
78
78
  def enabled(self) -> bool:
79
79
  """
80
- Whether the static status configuration is enabled or not.
80
+ Whether the automatic status configuration is enabled or not.
81
81
  """
82
82
  return pulumi.get(self, "enabled")
83
83
 
@@ -85,7 +85,7 @@ class WorkloadStatusConfigAutomatic(dict):
85
85
  @pulumi.getter(name="remainingEntitiesRule")
86
86
  def remaining_entities_rule(self) -> Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule']:
87
87
  """
88
- An additional meta-rule that can consider all entities that haven't been evaluated by any other rule. See Nested remaining_entities_rule blocks below for details.
88
+ An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
89
89
  """
90
90
  return pulumi.get(self, "remaining_entities_rule")
91
91
 
@@ -93,7 +93,7 @@ class WorkloadStatusConfigAutomatic(dict):
93
93
  @pulumi.getter
94
94
  def rules(self) -> Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']]:
95
95
  """
96
- The input object used to represent a rollup strategy. See Nested rule blocks below for details.
96
+ A list of rules.
97
97
  """
98
98
  return pulumi.get(self, "rules")
99
99
 
@@ -120,7 +120,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRule(dict):
120
120
  def __init__(__self__, *,
121
121
  remaining_entities_rule_rollup: 'outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup'):
122
122
  """
123
- :param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs' remaining_entities_rule_rollup: The input object used to represent a rollup strategy. See Nested remaining_entities_rule_rollup blocks below for details.
123
+ :param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs' remaining_entities_rule_rollup: The input object used to represent a rollup strategy.
124
124
  """
125
125
  pulumi.set(__self__, "remaining_entities_rule_rollup", remaining_entities_rule_rollup)
126
126
 
@@ -128,7 +128,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRule(dict):
128
128
  @pulumi.getter(name="remainingEntitiesRuleRollup")
129
129
  def remaining_entities_rule_rollup(self) -> 'outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup':
130
130
  """
131
- The input object used to represent a rollup strategy. See Nested remaining_entities_rule_rollup blocks below for details.
131
+ The input object used to represent a rollup strategy.
132
132
  """
133
133
  return pulumi.get(self, "remaining_entities_rule_rollup")
134
134
 
@@ -233,9 +233,9 @@ class WorkloadStatusConfigAutomaticRule(dict):
233
233
  entity_guids: Optional[Sequence[str]] = None,
234
234
  nrql_queries: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRuleNrqlQuery']] = None):
235
235
  """
236
- :param 'WorkloadStatusConfigAutomaticRuleRollupArgs' rollup: The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
237
- :param Sequence[str] entity_guids: A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined.
238
- :param Sequence['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs'] nrql_queries: A list of entity search queries used to retrieve the entities that compose the rule. See Nested nrql_query blocks below for details. At least one of `entity_guids` or `nrql_query` must be defined.
236
+ :param 'WorkloadStatusConfigAutomaticRuleRollupArgs' rollup: The input object used to represent a rollup strategy.
237
+ :param Sequence[str] entity_guids: A list of entity GUIDs composing the rule.
238
+ :param Sequence['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs'] nrql_queries: A list of entity search queries used to retrieve the entities that compose the rule.
239
239
  """
240
240
  pulumi.set(__self__, "rollup", rollup)
241
241
  if entity_guids is not None:
@@ -247,7 +247,7 @@ class WorkloadStatusConfigAutomaticRule(dict):
247
247
  @pulumi.getter
248
248
  def rollup(self) -> 'outputs.WorkloadStatusConfigAutomaticRuleRollup':
249
249
  """
250
- The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
250
+ The input object used to represent a rollup strategy.
251
251
  """
252
252
  return pulumi.get(self, "rollup")
253
253
 
@@ -255,7 +255,7 @@ class WorkloadStatusConfigAutomaticRule(dict):
255
255
  @pulumi.getter(name="entityGuids")
256
256
  def entity_guids(self) -> Optional[Sequence[str]]:
257
257
  """
258
- A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined.
258
+ A list of entity GUIDs composing the rule.
259
259
  """
260
260
  return pulumi.get(self, "entity_guids")
261
261
 
@@ -263,7 +263,7 @@ class WorkloadStatusConfigAutomaticRule(dict):
263
263
  @pulumi.getter(name="nrqlQueries")
264
264
  def nrql_queries(self) -> Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRuleNrqlQuery']]:
265
265
  """
266
- A list of entity search queries used to retrieve the entities that compose the rule. See Nested nrql_query blocks below for details. At least one of `entity_guids` or `nrql_query` must be defined.
266
+ A list of entity search queries used to retrieve the entities that compose the rule.
267
267
  """
268
268
  return pulumi.get(self, "nrql_queries")
269
269
 
@@ -357,7 +357,7 @@ class WorkloadStatusConfigStatic(dict):
357
357
  """
358
358
  :param bool enabled: Whether the static status configuration is enabled or not.
359
359
  :param str status: The status of the workload.
360
- :param str description: Relevant information about the workload.
360
+ :param str description: A description that provides additional details about the status of the workload.
361
361
  :param str summary: A short description of the status of the workload.
362
362
  """
363
363
  pulumi.set(__self__, "enabled", enabled)
@@ -387,7 +387,7 @@ class WorkloadStatusConfigStatic(dict):
387
387
  @pulumi.getter
388
388
  def description(self) -> Optional[str]:
389
389
  """
390
- Relevant information about the workload.
390
+ A description that provides additional details about the status of the workload.
391
391
  """
392
392
  return pulumi.get(self, "description")
393
393