pulumi-newrelic 5.20.0a1709643785__py3-none-any.whl → 5.39.0a1736834464__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. pulumi_newrelic/__init__.py +9 -0
  2. pulumi_newrelic/_inputs.py +7153 -461
  3. pulumi_newrelic/_utilities.py +41 -5
  4. pulumi_newrelic/account_management.py +13 -4
  5. pulumi_newrelic/alert_channel.py +122 -101
  6. pulumi_newrelic/alert_condition.py +120 -109
  7. pulumi_newrelic/alert_muting_rule.py +130 -74
  8. pulumi_newrelic/alert_policy.py +88 -67
  9. pulumi_newrelic/alert_policy_channel.py +81 -68
  10. pulumi_newrelic/api_access_key.py +49 -52
  11. pulumi_newrelic/browser_application.py +79 -76
  12. pulumi_newrelic/cloud/_inputs.py +2527 -1082
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +135 -130
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +25 -18
  15. pulumi_newrelic/cloud/aws_integrations.py +300 -1324
  16. pulumi_newrelic/cloud/aws_link_account.py +25 -18
  17. pulumi_newrelic/cloud/azure_integrations.py +523 -481
  18. pulumi_newrelic/cloud/azure_link_account.py +36 -29
  19. pulumi_newrelic/cloud/gcp_integrations.py +343 -320
  20. pulumi_newrelic/cloud/gcp_link_account.py +25 -18
  21. pulumi_newrelic/cloud/outputs.py +327 -1072
  22. pulumi_newrelic/config/__init__.pyi +6 -1
  23. pulumi_newrelic/config/vars.py +7 -2
  24. pulumi_newrelic/data_partition_rule.py +23 -16
  25. pulumi_newrelic/entity_tags.py +36 -31
  26. pulumi_newrelic/events_to_metrics_rule.py +27 -20
  27. pulumi_newrelic/get_account.py +24 -12
  28. pulumi_newrelic/get_alert_channel.py +26 -13
  29. pulumi_newrelic/get_alert_policy.py +35 -12
  30. pulumi_newrelic/get_application.py +39 -27
  31. pulumi_newrelic/get_authentication_domain.py +17 -9
  32. pulumi_newrelic/get_cloud_account.py +26 -14
  33. pulumi_newrelic/get_entity.py +90 -85
  34. pulumi_newrelic/get_group.py +58 -9
  35. pulumi_newrelic/get_key_transaction.py +109 -30
  36. pulumi_newrelic/get_notification_destination.py +64 -14
  37. pulumi_newrelic/get_obfuscation_expression.py +36 -24
  38. pulumi_newrelic/get_service_level_alert_helper.py +135 -105
  39. pulumi_newrelic/get_test_grok_pattern.py +29 -14
  40. pulumi_newrelic/get_user.py +17 -5
  41. pulumi_newrelic/group.py +5 -132
  42. pulumi_newrelic/infra_alert_condition.py +157 -140
  43. pulumi_newrelic/insights/_inputs.py +43 -0
  44. pulumi_newrelic/insights/event.py +50 -43
  45. pulumi_newrelic/insights/outputs.py +5 -0
  46. pulumi_newrelic/key_transaction.py +464 -0
  47. pulumi_newrelic/log_parsing_rule.py +29 -18
  48. pulumi_newrelic/monitor_downtime.py +215 -203
  49. pulumi_newrelic/notification_channel.py +387 -326
  50. pulumi_newrelic/notification_destination.py +248 -118
  51. pulumi_newrelic/nrql_alert_condition.py +353 -246
  52. pulumi_newrelic/nrql_drop_rule.py +57 -30
  53. pulumi_newrelic/obfuscation_expression.py +25 -18
  54. pulumi_newrelic/obfuscation_rule.py +40 -31
  55. pulumi_newrelic/one_dashboard.py +31 -26
  56. pulumi_newrelic/one_dashboard_json.py +21 -16
  57. pulumi_newrelic/one_dashboard_raw.py +112 -101
  58. pulumi_newrelic/outputs.py +2446 -245
  59. pulumi_newrelic/plugins/_inputs.py +145 -10
  60. pulumi_newrelic/plugins/application_settings.py +29 -20
  61. pulumi_newrelic/plugins/outputs.py +15 -10
  62. pulumi_newrelic/plugins/workload.py +285 -54
  63. pulumi_newrelic/provider.py +27 -33
  64. pulumi_newrelic/pulumi-plugin.json +2 -1
  65. pulumi_newrelic/service_level.py +193 -180
  66. pulumi_newrelic/synthetics/_inputs.py +159 -2
  67. pulumi_newrelic/synthetics/alert_condition.py +91 -78
  68. pulumi_newrelic/synthetics/broken_links_monitor.py +220 -93
  69. pulumi_newrelic/synthetics/cert_check_monitor.py +223 -94
  70. pulumi_newrelic/synthetics/get_private_location.py +34 -22
  71. pulumi_newrelic/synthetics/get_secure_credential.py +24 -12
  72. pulumi_newrelic/synthetics/monitor.py +352 -179
  73. pulumi_newrelic/synthetics/multi_location_alert_condition.py +109 -96
  74. pulumi_newrelic/synthetics/outputs.py +7 -2
  75. pulumi_newrelic/synthetics/private_location.py +27 -18
  76. pulumi_newrelic/synthetics/script_monitor.py +321 -168
  77. pulumi_newrelic/synthetics/secure_credential.py +25 -20
  78. pulumi_newrelic/synthetics/step_monitor.py +409 -98
  79. pulumi_newrelic/user.py +13 -6
  80. pulumi_newrelic/workflow.py +215 -184
  81. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/METADATA +7 -6
  82. pulumi_newrelic-5.39.0a1736834464.dist-info/RECORD +90 -0
  83. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/WHEEL +1 -1
  84. pulumi_newrelic-5.20.0a1709643785.dist-info/RECORD +0 -89
  85. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/top_level.txt +0 -0
@@ -4,28 +4,52 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from .. import _utilities
11
16
 
12
17
  __all__ = [
13
18
  'WorkloadEntitySearchQueryArgs',
19
+ 'WorkloadEntitySearchQueryArgsDict',
14
20
  'WorkloadStatusConfigAutomaticArgs',
21
+ 'WorkloadStatusConfigAutomaticArgsDict',
15
22
  'WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs',
23
+ 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgsDict',
16
24
  'WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs',
25
+ 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgsDict',
17
26
  'WorkloadStatusConfigAutomaticRuleArgs',
27
+ 'WorkloadStatusConfigAutomaticRuleArgsDict',
18
28
  'WorkloadStatusConfigAutomaticRuleNrqlQueryArgs',
29
+ 'WorkloadStatusConfigAutomaticRuleNrqlQueryArgsDict',
19
30
  'WorkloadStatusConfigAutomaticRuleRollupArgs',
31
+ 'WorkloadStatusConfigAutomaticRuleRollupArgsDict',
20
32
  'WorkloadStatusConfigStaticArgs',
33
+ 'WorkloadStatusConfigStaticArgsDict',
21
34
  ]
22
35
 
36
+ MYPY = False
37
+
38
+ if not MYPY:
39
+ class WorkloadEntitySearchQueryArgsDict(TypedDict):
40
+ query: pulumi.Input[str]
41
+ """
42
+ A valid entity search query; empty, and null values are considered invalid.
43
+ """
44
+ elif False:
45
+ WorkloadEntitySearchQueryArgsDict: TypeAlias = Mapping[str, Any]
46
+
23
47
  @pulumi.input_type
24
48
  class WorkloadEntitySearchQueryArgs:
25
49
  def __init__(__self__, *,
26
50
  query: pulumi.Input[str]):
27
51
  """
28
- :param pulumi.Input[str] query: The query.
52
+ :param pulumi.Input[str] query: A valid entity search query; empty, and null values are considered invalid.
29
53
  """
30
54
  pulumi.set(__self__, "query", query)
31
55
 
@@ -33,7 +57,7 @@ class WorkloadEntitySearchQueryArgs:
33
57
  @pulumi.getter
34
58
  def query(self) -> pulumi.Input[str]:
35
59
  """
36
- The query.
60
+ A valid entity search query; empty, and null values are considered invalid.
37
61
  """
38
62
  return pulumi.get(self, "query")
39
63
 
@@ -42,6 +66,23 @@ class WorkloadEntitySearchQueryArgs:
42
66
  pulumi.set(self, "query", value)
43
67
 
44
68
 
69
+ if not MYPY:
70
+ class WorkloadStatusConfigAutomaticArgsDict(TypedDict):
71
+ enabled: pulumi.Input[bool]
72
+ """
73
+ Whether the automatic status configuration is enabled or not.
74
+ """
75
+ remaining_entities_rule: NotRequired[pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgsDict']]
76
+ """
77
+ An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
78
+ """
79
+ rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgsDict']]]]
80
+ """
81
+ A list of rules.
82
+ """
83
+ elif False:
84
+ WorkloadStatusConfigAutomaticArgsDict: TypeAlias = Mapping[str, Any]
85
+
45
86
  @pulumi.input_type
46
87
  class WorkloadStatusConfigAutomaticArgs:
47
88
  def __init__(__self__, *,
@@ -49,9 +90,9 @@ class WorkloadStatusConfigAutomaticArgs:
49
90
  remaining_entities_rule: Optional[pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs']] = None,
50
91
  rules: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]]] = None):
51
92
  """
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.
93
+ :param pulumi.Input[bool] enabled: Whether the automatic status configuration is enabled or not.
94
+ :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.
95
+ :param pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]] rules: A list of rules.
55
96
  """
56
97
  pulumi.set(__self__, "enabled", enabled)
57
98
  if remaining_entities_rule is not None:
@@ -63,7 +104,7 @@ class WorkloadStatusConfigAutomaticArgs:
63
104
  @pulumi.getter
64
105
  def enabled(self) -> pulumi.Input[bool]:
65
106
  """
66
- Whether the static status configuration is enabled or not.
107
+ Whether the automatic status configuration is enabled or not.
67
108
  """
68
109
  return pulumi.get(self, "enabled")
69
110
 
@@ -75,7 +116,7 @@ class WorkloadStatusConfigAutomaticArgs:
75
116
  @pulumi.getter(name="remainingEntitiesRule")
76
117
  def remaining_entities_rule(self) -> Optional[pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs']]:
77
118
  """
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.
119
+ An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
79
120
  """
80
121
  return pulumi.get(self, "remaining_entities_rule")
81
122
 
@@ -87,7 +128,7 @@ class WorkloadStatusConfigAutomaticArgs:
87
128
  @pulumi.getter
88
129
  def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]]]:
89
130
  """
90
- The input object used to represent a rollup strategy. See Nested rule blocks below for details.
131
+ A list of rules.
91
132
  """
92
133
  return pulumi.get(self, "rules")
93
134
 
@@ -96,12 +137,21 @@ class WorkloadStatusConfigAutomaticArgs:
96
137
  pulumi.set(self, "rules", value)
97
138
 
98
139
 
140
+ if not MYPY:
141
+ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgsDict(TypedDict):
142
+ remaining_entities_rule_rollup: pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgsDict']
143
+ """
144
+ The input object used to represent a rollup strategy.
145
+ """
146
+ elif False:
147
+ WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgsDict: TypeAlias = Mapping[str, Any]
148
+
99
149
  @pulumi.input_type
100
150
  class WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs:
101
151
  def __init__(__self__, *,
102
152
  remaining_entities_rule_rollup: pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs']):
103
153
  """
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.
154
+ :param pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs'] remaining_entities_rule_rollup: The input object used to represent a rollup strategy.
105
155
  """
106
156
  pulumi.set(__self__, "remaining_entities_rule_rollup", remaining_entities_rule_rollup)
107
157
 
@@ -109,7 +159,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs:
109
159
  @pulumi.getter(name="remainingEntitiesRuleRollup")
110
160
  def remaining_entities_rule_rollup(self) -> pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs']:
111
161
  """
112
- The input object used to represent a rollup strategy. See Nested remaining_entities_rule_rollup blocks below for details.
162
+ The input object used to represent a rollup strategy.
113
163
  """
114
164
  return pulumi.get(self, "remaining_entities_rule_rollup")
115
165
 
@@ -118,6 +168,27 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs:
118
168
  pulumi.set(self, "remaining_entities_rule_rollup", value)
119
169
 
120
170
 
171
+ if not MYPY:
172
+ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgsDict(TypedDict):
173
+ group_by: pulumi.Input[str]
174
+ """
175
+ The grouping to be applied to the remaining entities.
176
+ """
177
+ strategy: pulumi.Input[str]
178
+ """
179
+ The rollup strategy that is applied to a group of entities.
180
+ """
181
+ threshold_type: NotRequired[pulumi.Input[str]]
182
+ """
183
+ Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational.
184
+ """
185
+ threshold_value: NotRequired[pulumi.Input[int]]
186
+ """
187
+ Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored.
188
+ """
189
+ elif False:
190
+ WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgsDict: TypeAlias = Mapping[str, Any]
191
+
121
192
  @pulumi.input_type
122
193
  class WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs:
123
194
  def __init__(__self__, *,
@@ -187,6 +258,23 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRol
187
258
  pulumi.set(self, "threshold_value", value)
188
259
 
189
260
 
261
+ if not MYPY:
262
+ class WorkloadStatusConfigAutomaticRuleArgsDict(TypedDict):
263
+ rollup: pulumi.Input['WorkloadStatusConfigAutomaticRuleRollupArgsDict']
264
+ """
265
+ The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
266
+ """
267
+ entity_guids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
268
+ """
269
+ A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined.
270
+ """
271
+ nrql_queries: NotRequired[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleNrqlQueryArgsDict']]]]
272
+ """
273
+ 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.
274
+ """
275
+ elif False:
276
+ WorkloadStatusConfigAutomaticRuleArgsDict: TypeAlias = Mapping[str, Any]
277
+
190
278
  @pulumi.input_type
191
279
  class WorkloadStatusConfigAutomaticRuleArgs:
192
280
  def __init__(__self__, *,
@@ -241,6 +329,15 @@ class WorkloadStatusConfigAutomaticRuleArgs:
241
329
  pulumi.set(self, "nrql_queries", value)
242
330
 
243
331
 
332
+ if not MYPY:
333
+ class WorkloadStatusConfigAutomaticRuleNrqlQueryArgsDict(TypedDict):
334
+ query: pulumi.Input[str]
335
+ """
336
+ The entity search query that is used to perform the search of a group of entities.
337
+ """
338
+ elif False:
339
+ WorkloadStatusConfigAutomaticRuleNrqlQueryArgsDict: TypeAlias = Mapping[str, Any]
340
+
244
341
  @pulumi.input_type
245
342
  class WorkloadStatusConfigAutomaticRuleNrqlQueryArgs:
246
343
  def __init__(__self__, *,
@@ -263,6 +360,23 @@ class WorkloadStatusConfigAutomaticRuleNrqlQueryArgs:
263
360
  pulumi.set(self, "query", value)
264
361
 
265
362
 
363
+ if not MYPY:
364
+ class WorkloadStatusConfigAutomaticRuleRollupArgsDict(TypedDict):
365
+ strategy: pulumi.Input[str]
366
+ """
367
+ The rollup strategy that is applied to a group of entities.
368
+ """
369
+ threshold_type: NotRequired[pulumi.Input[str]]
370
+ """
371
+ Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational.
372
+ """
373
+ threshold_value: NotRequired[pulumi.Input[int]]
374
+ """
375
+ Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored.
376
+ """
377
+ elif False:
378
+ WorkloadStatusConfigAutomaticRuleRollupArgsDict: TypeAlias = Mapping[str, Any]
379
+
266
380
  @pulumi.input_type
267
381
  class WorkloadStatusConfigAutomaticRuleRollupArgs:
268
382
  def __init__(__self__, *,
@@ -317,6 +431,27 @@ class WorkloadStatusConfigAutomaticRuleRollupArgs:
317
431
  pulumi.set(self, "threshold_value", value)
318
432
 
319
433
 
434
+ if not MYPY:
435
+ class WorkloadStatusConfigStaticArgsDict(TypedDict):
436
+ enabled: pulumi.Input[bool]
437
+ """
438
+ Whether the static status configuration is enabled or not.
439
+ """
440
+ status: pulumi.Input[str]
441
+ """
442
+ The status of the workload.
443
+ """
444
+ description: NotRequired[pulumi.Input[str]]
445
+ """
446
+ Relevant information about the workload.
447
+ """
448
+ summary: NotRequired[pulumi.Input[str]]
449
+ """
450
+ A short description of the status of the workload.
451
+ """
452
+ elif False:
453
+ WorkloadStatusConfigStaticArgsDict: TypeAlias = Mapping[str, Any]
454
+
320
455
  @pulumi.input_type
321
456
  class WorkloadStatusConfigStaticArgs:
322
457
  def __init__(__self__, *,
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from .. import _utilities
11
16
 
12
17
  __all__ = ['ApplicationSettingsArgs', 'ApplicationSettings']
@@ -23,8 +28,8 @@ class ApplicationSettingsArgs:
23
28
  :param pulumi.Input[float] app_apdex_threshold: The apdex threshold for the New Relic application.
24
29
  :param pulumi.Input[bool] enable_real_user_monitoring: Enable or disable real user monitoring for the New Relic application.
25
30
 
26
- ```python
27
- import pulumi
31
+ ```
32
+ Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
28
33
  ```
29
34
  :param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
30
35
  :param pulumi.Input[str] name: The name of the application in New Relic APM.
@@ -53,8 +58,8 @@ class ApplicationSettingsArgs:
53
58
  """
54
59
  Enable or disable real user monitoring for the New Relic application.
55
60
 
56
- ```python
57
- import pulumi
61
+ ```
62
+ Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
58
63
  ```
59
64
  """
60
65
  return pulumi.get(self, "enable_real_user_monitoring")
@@ -100,8 +105,8 @@ class _ApplicationSettingsState:
100
105
  :param pulumi.Input[float] app_apdex_threshold: The apdex threshold for the New Relic application.
101
106
  :param pulumi.Input[bool] enable_real_user_monitoring: Enable or disable real user monitoring for the New Relic application.
102
107
 
103
- ```python
104
- import pulumi
108
+ ```
109
+ Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
105
110
  ```
106
111
  :param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
107
112
  :param pulumi.Input[str] name: The name of the application in New Relic APM.
@@ -133,8 +138,8 @@ class _ApplicationSettingsState:
133
138
  """
134
139
  Enable or disable real user monitoring for the New Relic application.
135
140
 
136
- ```python
137
- import pulumi
141
+ ```
142
+ Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
138
143
  ```
139
144
  """
140
145
  return pulumi.get(self, "enable_real_user_monitoring")
@@ -192,10 +197,12 @@ class ApplicationSettings(pulumi.CustomResource):
192
197
  import pulumi_newrelic as newrelic
193
198
 
194
199
  app = newrelic.plugins.ApplicationSettings("app",
200
+ name="my-app",
195
201
  app_apdex_threshold=0.7,
196
- enable_real_user_monitoring=False,
197
- end_user_apdex_threshold=0.8)
202
+ end_user_apdex_threshold=0.8,
203
+ enable_real_user_monitoring=False)
198
204
  ```
205
+
199
206
  ## Notes
200
207
 
201
208
  > **NOTE:** Applications that have reported data in the last twelve hours
@@ -206,7 +213,7 @@ class ApplicationSettings(pulumi.CustomResource):
206
213
  Applications can be imported using notation `application_id`, e.g.
207
214
 
208
215
  ```sh
209
- $ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main 6789012345
216
+ $ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main 6789012345
210
217
  ```
211
218
 
212
219
  :param str resource_name: The name of the resource.
@@ -214,8 +221,8 @@ class ApplicationSettings(pulumi.CustomResource):
214
221
  :param pulumi.Input[float] app_apdex_threshold: The apdex threshold for the New Relic application.
215
222
  :param pulumi.Input[bool] enable_real_user_monitoring: Enable or disable real user monitoring for the New Relic application.
216
223
 
217
- ```python
218
- import pulumi
224
+ ```
225
+ Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
219
226
  ```
220
227
  :param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
221
228
  :param pulumi.Input[str] name: The name of the application in New Relic APM.
@@ -240,10 +247,12 @@ class ApplicationSettings(pulumi.CustomResource):
240
247
  import pulumi_newrelic as newrelic
241
248
 
242
249
  app = newrelic.plugins.ApplicationSettings("app",
250
+ name="my-app",
243
251
  app_apdex_threshold=0.7,
244
- enable_real_user_monitoring=False,
245
- end_user_apdex_threshold=0.8)
252
+ end_user_apdex_threshold=0.8,
253
+ enable_real_user_monitoring=False)
246
254
  ```
255
+
247
256
  ## Notes
248
257
 
249
258
  > **NOTE:** Applications that have reported data in the last twelve hours
@@ -254,7 +263,7 @@ class ApplicationSettings(pulumi.CustomResource):
254
263
  Applications can be imported using notation `application_id`, e.g.
255
264
 
256
265
  ```sh
257
- $ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main 6789012345
266
+ $ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main 6789012345
258
267
  ```
259
268
 
260
269
  :param str resource_name: The name of the resource.
@@ -319,8 +328,8 @@ class ApplicationSettings(pulumi.CustomResource):
319
328
  :param pulumi.Input[float] app_apdex_threshold: The apdex threshold for the New Relic application.
320
329
  :param pulumi.Input[bool] enable_real_user_monitoring: Enable or disable real user monitoring for the New Relic application.
321
330
 
322
- ```python
323
- import pulumi
331
+ ```
332
+ Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
324
333
  ```
325
334
  :param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
326
335
  :param pulumi.Input[str] name: The name of the application in New Relic APM.
@@ -349,8 +358,8 @@ class ApplicationSettings(pulumi.CustomResource):
349
358
  """
350
359
  Enable or disable real user monitoring for the New Relic application.
351
360
 
352
- ```python
353
- import pulumi
361
+ ```
362
+ Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
354
363
  ```
355
364
  """
356
365
  return pulumi.get(self, "enable_real_user_monitoring")
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from .. import _utilities
11
16
  from . import outputs
12
17
 
@@ -26,7 +31,7 @@ class WorkloadEntitySearchQuery(dict):
26
31
  def __init__(__self__, *,
27
32
  query: str):
28
33
  """
29
- :param str query: The query.
34
+ :param str query: A valid entity search query; empty, and null values are considered invalid.
30
35
  """
31
36
  pulumi.set(__self__, "query", query)
32
37
 
@@ -34,7 +39,7 @@ class WorkloadEntitySearchQuery(dict):
34
39
  @pulumi.getter
35
40
  def query(self) -> str:
36
41
  """
37
- The query.
42
+ A valid entity search query; empty, and null values are considered invalid.
38
43
  """
39
44
  return pulumi.get(self, "query")
40
45
 
@@ -63,9 +68,9 @@ class WorkloadStatusConfigAutomatic(dict):
63
68
  remaining_entities_rule: Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule'] = None,
64
69
  rules: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']] = None):
65
70
  """
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.
71
+ :param bool enabled: Whether the automatic status configuration is enabled or not.
72
+ :param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs' remaining_entities_rule: An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
73
+ :param Sequence['WorkloadStatusConfigAutomaticRuleArgs'] rules: A list of rules.
69
74
  """
70
75
  pulumi.set(__self__, "enabled", enabled)
71
76
  if remaining_entities_rule is not None:
@@ -77,7 +82,7 @@ class WorkloadStatusConfigAutomatic(dict):
77
82
  @pulumi.getter
78
83
  def enabled(self) -> bool:
79
84
  """
80
- Whether the static status configuration is enabled or not.
85
+ Whether the automatic status configuration is enabled or not.
81
86
  """
82
87
  return pulumi.get(self, "enabled")
83
88
 
@@ -85,7 +90,7 @@ class WorkloadStatusConfigAutomatic(dict):
85
90
  @pulumi.getter(name="remainingEntitiesRule")
86
91
  def remaining_entities_rule(self) -> Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule']:
87
92
  """
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.
93
+ An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
89
94
  """
90
95
  return pulumi.get(self, "remaining_entities_rule")
91
96
 
@@ -93,7 +98,7 @@ class WorkloadStatusConfigAutomatic(dict):
93
98
  @pulumi.getter
94
99
  def rules(self) -> Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']]:
95
100
  """
96
- The input object used to represent a rollup strategy. See Nested rule blocks below for details.
101
+ A list of rules.
97
102
  """
98
103
  return pulumi.get(self, "rules")
99
104
 
@@ -120,7 +125,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRule(dict):
120
125
  def __init__(__self__, *,
121
126
  remaining_entities_rule_rollup: 'outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup'):
122
127
  """
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.
128
+ :param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs' remaining_entities_rule_rollup: The input object used to represent a rollup strategy.
124
129
  """
125
130
  pulumi.set(__self__, "remaining_entities_rule_rollup", remaining_entities_rule_rollup)
126
131
 
@@ -128,7 +133,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRule(dict):
128
133
  @pulumi.getter(name="remainingEntitiesRuleRollup")
129
134
  def remaining_entities_rule_rollup(self) -> 'outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup':
130
135
  """
131
- The input object used to represent a rollup strategy. See Nested remaining_entities_rule_rollup blocks below for details.
136
+ The input object used to represent a rollup strategy.
132
137
  """
133
138
  return pulumi.get(self, "remaining_entities_rule_rollup")
134
139