pulumi-newrelic 5.21.0a1710157101__py3-none-any.whl → 5.39.0a1736849617__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_newrelic/__init__.py +9 -0
- pulumi_newrelic/_inputs.py +7153 -461
- pulumi_newrelic/_utilities.py +41 -5
- pulumi_newrelic/account_management.py +11 -6
- pulumi_newrelic/alert_channel.py +116 -127
- pulumi_newrelic/alert_condition.py +116 -129
- pulumi_newrelic/alert_muting_rule.py +128 -76
- pulumi_newrelic/alert_policy.py +78 -75
- pulumi_newrelic/alert_policy_channel.py +77 -68
- pulumi_newrelic/api_access_key.py +45 -28
- pulumi_newrelic/browser_application.py +77 -78
- pulumi_newrelic/cloud/_inputs.py +2527 -1082
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +133 -128
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +23 -20
- pulumi_newrelic/cloud/aws_integrations.py +298 -1326
- pulumi_newrelic/cloud/aws_link_account.py +23 -20
- pulumi_newrelic/cloud/azure_integrations.py +521 -483
- pulumi_newrelic/cloud/azure_link_account.py +34 -31
- pulumi_newrelic/cloud/gcp_integrations.py +341 -322
- pulumi_newrelic/cloud/gcp_link_account.py +23 -20
- pulumi_newrelic/cloud/outputs.py +327 -1072
- pulumi_newrelic/config/__init__.pyi +6 -1
- pulumi_newrelic/config/vars.py +7 -2
- pulumi_newrelic/data_partition_rule.py +19 -18
- pulumi_newrelic/entity_tags.py +32 -31
- pulumi_newrelic/events_to_metrics_rule.py +23 -20
- pulumi_newrelic/get_account.py +24 -16
- pulumi_newrelic/get_alert_channel.py +26 -13
- pulumi_newrelic/get_alert_policy.py +35 -12
- pulumi_newrelic/get_application.py +39 -31
- pulumi_newrelic/get_authentication_domain.py +17 -13
- pulumi_newrelic/get_cloud_account.py +26 -18
- pulumi_newrelic/get_entity.py +90 -147
- pulumi_newrelic/get_group.py +58 -13
- pulumi_newrelic/get_key_transaction.py +109 -34
- pulumi_newrelic/get_notification_destination.py +64 -14
- pulumi_newrelic/get_obfuscation_expression.py +36 -28
- pulumi_newrelic/get_service_level_alert_helper.py +135 -117
- pulumi_newrelic/get_test_grok_pattern.py +29 -18
- pulumi_newrelic/get_user.py +17 -9
- pulumi_newrelic/group.py +5 -146
- pulumi_newrelic/infra_alert_condition.py +160 -167
- pulumi_newrelic/insights/_inputs.py +43 -0
- pulumi_newrelic/insights/event.py +48 -47
- pulumi_newrelic/insights/outputs.py +5 -0
- pulumi_newrelic/key_transaction.py +464 -0
- pulumi_newrelic/log_parsing_rule.py +25 -24
- pulumi_newrelic/monitor_downtime.py +211 -225
- pulumi_newrelic/notification_channel.py +381 -366
- pulumi_newrelic/notification_destination.py +192 -54
- pulumi_newrelic/nrql_alert_condition.py +345 -262
- pulumi_newrelic/nrql_drop_rule.py +31 -30
- pulumi_newrelic/obfuscation_expression.py +23 -20
- pulumi_newrelic/obfuscation_rule.py +38 -33
- pulumi_newrelic/one_dashboard.py +29 -24
- pulumi_newrelic/one_dashboard_json.py +19 -14
- pulumi_newrelic/one_dashboard_raw.py +110 -105
- pulumi_newrelic/outputs.py +2446 -245
- pulumi_newrelic/plugins/_inputs.py +145 -10
- pulumi_newrelic/plugins/application_settings.py +25 -36
- pulumi_newrelic/plugins/outputs.py +15 -10
- pulumi_newrelic/plugins/workload.py +215 -92
- pulumi_newrelic/provider.py +27 -33
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +185 -186
- pulumi_newrelic/synthetics/_inputs.py +159 -2
- pulumi_newrelic/synthetics/alert_condition.py +87 -98
- pulumi_newrelic/synthetics/broken_links_monitor.py +216 -99
- pulumi_newrelic/synthetics/cert_check_monitor.py +219 -100
- pulumi_newrelic/synthetics/get_private_location.py +34 -30
- pulumi_newrelic/synthetics/get_secure_credential.py +24 -16
- pulumi_newrelic/synthetics/monitor.py +348 -193
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +105 -100
- pulumi_newrelic/synthetics/outputs.py +7 -2
- pulumi_newrelic/synthetics/private_location.py +25 -20
- pulumi_newrelic/synthetics/script_monitor.py +317 -182
- pulumi_newrelic/synthetics/secure_credential.py +23 -22
- pulumi_newrelic/synthetics/step_monitor.py +405 -100
- pulumi_newrelic/user.py +13 -10
- pulumi_newrelic/workflow.py +209 -196
- {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.dist-info}/METADATA +7 -6
- pulumi_newrelic-5.39.0a1736849617.dist-info/RECORD +90 -0
- {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.21.0a1710157101.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.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:
|
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
|
-
|
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
|
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:
|
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
|
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.
|
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
|
-
|
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.
|
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.
|
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,11 +28,9 @@ 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
|
-
<!--Start PulumiCodeChooser -->
|
27
|
-
```python
|
28
|
-
import pulumi
|
29
31
|
```
|
30
|
-
|
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.
|
33
|
+
```
|
31
34
|
:param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
|
32
35
|
:param pulumi.Input[str] name: The name of the application in New Relic APM.
|
33
36
|
"""
|
@@ -55,11 +58,9 @@ class ApplicationSettingsArgs:
|
|
55
58
|
"""
|
56
59
|
Enable or disable real user monitoring for the New Relic application.
|
57
60
|
|
58
|
-
<!--Start PulumiCodeChooser -->
|
59
|
-
```python
|
60
|
-
import pulumi
|
61
61
|
```
|
62
|
-
|
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.
|
63
|
+
```
|
63
64
|
"""
|
64
65
|
return pulumi.get(self, "enable_real_user_monitoring")
|
65
66
|
|
@@ -104,11 +105,9 @@ class _ApplicationSettingsState:
|
|
104
105
|
:param pulumi.Input[float] app_apdex_threshold: The apdex threshold for the New Relic application.
|
105
106
|
:param pulumi.Input[bool] enable_real_user_monitoring: Enable or disable real user monitoring for the New Relic application.
|
106
107
|
|
107
|
-
<!--Start PulumiCodeChooser -->
|
108
|
-
```python
|
109
|
-
import pulumi
|
110
108
|
```
|
111
|
-
|
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.
|
110
|
+
```
|
112
111
|
:param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
|
113
112
|
:param pulumi.Input[str] name: The name of the application in New Relic APM.
|
114
113
|
"""
|
@@ -139,11 +138,9 @@ class _ApplicationSettingsState:
|
|
139
138
|
"""
|
140
139
|
Enable or disable real user monitoring for the New Relic application.
|
141
140
|
|
142
|
-
<!--Start PulumiCodeChooser -->
|
143
|
-
```python
|
144
|
-
import pulumi
|
145
141
|
```
|
146
|
-
|
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.
|
143
|
+
```
|
147
144
|
"""
|
148
145
|
return pulumi.get(self, "enable_real_user_monitoring")
|
149
146
|
|
@@ -195,17 +192,16 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
195
192
|
|
196
193
|
## Example Usage
|
197
194
|
|
198
|
-
<!--Start PulumiCodeChooser -->
|
199
195
|
```python
|
200
196
|
import pulumi
|
201
197
|
import pulumi_newrelic as newrelic
|
202
198
|
|
203
199
|
app = newrelic.plugins.ApplicationSettings("app",
|
200
|
+
name="my-app",
|
204
201
|
app_apdex_threshold=0.7,
|
205
|
-
|
206
|
-
|
202
|
+
end_user_apdex_threshold=0.8,
|
203
|
+
enable_real_user_monitoring=False)
|
207
204
|
```
|
208
|
-
<!--End PulumiCodeChooser -->
|
209
205
|
|
210
206
|
## Notes
|
211
207
|
|
@@ -225,11 +221,9 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
225
221
|
:param pulumi.Input[float] app_apdex_threshold: The apdex threshold for the New Relic application.
|
226
222
|
:param pulumi.Input[bool] enable_real_user_monitoring: Enable or disable real user monitoring for the New Relic application.
|
227
223
|
|
228
|
-
<!--Start PulumiCodeChooser -->
|
229
|
-
```python
|
230
|
-
import pulumi
|
231
224
|
```
|
232
|
-
|
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.
|
226
|
+
```
|
233
227
|
:param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
|
234
228
|
:param pulumi.Input[str] name: The name of the application in New Relic APM.
|
235
229
|
"""
|
@@ -248,17 +242,16 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
248
242
|
|
249
243
|
## Example Usage
|
250
244
|
|
251
|
-
<!--Start PulumiCodeChooser -->
|
252
245
|
```python
|
253
246
|
import pulumi
|
254
247
|
import pulumi_newrelic as newrelic
|
255
248
|
|
256
249
|
app = newrelic.plugins.ApplicationSettings("app",
|
250
|
+
name="my-app",
|
257
251
|
app_apdex_threshold=0.7,
|
258
|
-
|
259
|
-
|
252
|
+
end_user_apdex_threshold=0.8,
|
253
|
+
enable_real_user_monitoring=False)
|
260
254
|
```
|
261
|
-
<!--End PulumiCodeChooser -->
|
262
255
|
|
263
256
|
## Notes
|
264
257
|
|
@@ -335,11 +328,9 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
335
328
|
:param pulumi.Input[float] app_apdex_threshold: The apdex threshold for the New Relic application.
|
336
329
|
:param pulumi.Input[bool] enable_real_user_monitoring: Enable or disable real user monitoring for the New Relic application.
|
337
330
|
|
338
|
-
<!--Start PulumiCodeChooser -->
|
339
|
-
```python
|
340
|
-
import pulumi
|
341
331
|
```
|
342
|
-
|
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.
|
333
|
+
```
|
343
334
|
:param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
|
344
335
|
:param pulumi.Input[str] name: The name of the application in New Relic APM.
|
345
336
|
"""
|
@@ -367,11 +358,9 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
367
358
|
"""
|
368
359
|
Enable or disable real user monitoring for the New Relic application.
|
369
360
|
|
370
|
-
<!--Start PulumiCodeChooser -->
|
371
|
-
```python
|
372
|
-
import pulumi
|
373
361
|
```
|
374
|
-
|
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.
|
363
|
+
```
|
375
364
|
"""
|
376
365
|
return pulumi.get(self, "enable_real_user_monitoring")
|
377
366
|
|
@@ -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:
|
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
|
-
|
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
|
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:
|
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
|
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.
|
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
|
-
|
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.
|
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.
|
136
|
+
The input object used to represent a rollup strategy.
|
132
137
|
"""
|
133
138
|
return pulumi.get(self, "remaining_entities_rule_rollup")
|
134
139
|
|