pulumi-newrelic 5.48.0a1753156041__py3-none-any.whl → 5.49.0__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.
- pulumi_newrelic/__init__.py +1 -1
- pulumi_newrelic/_inputs.py +3759 -3760
- pulumi_newrelic/account_management.py +35 -36
- pulumi_newrelic/alert_channel.py +55 -56
- pulumi_newrelic/alert_condition.py +217 -218
- pulumi_newrelic/alert_muting_rule.py +92 -93
- pulumi_newrelic/alert_policy.py +69 -70
- pulumi_newrelic/alert_policy_channel.py +52 -53
- pulumi_newrelic/api_access_key.py +112 -113
- pulumi_newrelic/browser_application.py +113 -114
- pulumi_newrelic/cloud/__init__.py +1 -1
- pulumi_newrelic/cloud/_inputs.py +2129 -2130
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +95 -96
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +69 -70
- pulumi_newrelic/cloud/aws_integrations.py +194 -195
- pulumi_newrelic/cloud/aws_link_account.py +69 -70
- pulumi_newrelic/cloud/azure_integrations.py +131 -132
- pulumi_newrelic/cloud/azure_link_account.py +103 -104
- pulumi_newrelic/cloud/gcp_integrations.py +113 -114
- pulumi_newrelic/cloud/gcp_link_account.py +52 -53
- pulumi_newrelic/cloud/outputs.py +1417 -1418
- pulumi_newrelic/config/__init__.py +1 -1
- pulumi_newrelic/config/__init__.pyi +1 -2
- pulumi_newrelic/config/vars.py +14 -15
- pulumi_newrelic/data_partition_rule.py +112 -113
- pulumi_newrelic/entity_tags.py +21 -22
- pulumi_newrelic/events_to_metrics_rule.py +95 -96
- pulumi_newrelic/get_account.py +21 -22
- pulumi_newrelic/get_alert_channel.py +20 -21
- pulumi_newrelic/get_alert_policy.py +25 -26
- pulumi_newrelic/get_application.py +13 -14
- pulumi_newrelic/get_authentication_domain.py +9 -10
- pulumi_newrelic/get_cloud_account.py +21 -22
- pulumi_newrelic/get_entity.py +52 -53
- pulumi_newrelic/get_group.py +17 -18
- pulumi_newrelic/get_key_transaction.py +25 -26
- pulumi_newrelic/get_notification_destination.py +29 -30
- pulumi_newrelic/get_obfuscation_expression.py +15 -16
- pulumi_newrelic/get_service_level_alert_helper.py +53 -54
- pulumi_newrelic/get_test_grok_pattern.py +22 -23
- pulumi_newrelic/get_user.py +21 -22
- pulumi_newrelic/group.py +52 -53
- pulumi_newrelic/infra_alert_condition.py +255 -256
- pulumi_newrelic/insights/__init__.py +1 -1
- pulumi_newrelic/insights/_inputs.py +32 -33
- pulumi_newrelic/insights/event.py +4 -5
- pulumi_newrelic/insights/outputs.py +22 -23
- pulumi_newrelic/key_transaction.py +104 -105
- pulumi_newrelic/log_parsing_rule.py +146 -147
- pulumi_newrelic/monitor_downtime.py +143 -144
- pulumi_newrelic/notification_channel.py +115 -116
- pulumi_newrelic/notification_destination.py +111 -112
- pulumi_newrelic/nrql_alert_condition.py +430 -431
- pulumi_newrelic/nrql_drop_rule.py +78 -79
- pulumi_newrelic/obfuscation_expression.py +69 -70
- pulumi_newrelic/obfuscation_rule.py +89 -90
- pulumi_newrelic/one_dashboard.py +93 -94
- pulumi_newrelic/one_dashboard_json.py +62 -63
- pulumi_newrelic/one_dashboard_raw.py +90 -91
- pulumi_newrelic/outputs.py +2646 -2647
- pulumi_newrelic/plugins/__init__.py +1 -1
- pulumi_newrelic/plugins/_inputs.py +158 -159
- pulumi_newrelic/plugins/application_settings.py +167 -168
- pulumi_newrelic/plugins/outputs.py +108 -109
- pulumi_newrelic/plugins/workload.py +131 -132
- pulumi_newrelic/provider.py +106 -107
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +76 -77
- pulumi_newrelic/synthetics/__init__.py +1 -1
- pulumi_newrelic/synthetics/_inputs.py +127 -128
- pulumi_newrelic/synthetics/alert_condition.py +95 -96
- pulumi_newrelic/synthetics/broken_links_monitor.py +197 -198
- pulumi_newrelic/synthetics/cert_check_monitor.py +205 -206
- pulumi_newrelic/synthetics/get_private_location.py +21 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +19 -20
- pulumi_newrelic/synthetics/monitor.py +378 -379
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +118 -119
- pulumi_newrelic/synthetics/outputs.py +85 -86
- pulumi_newrelic/synthetics/private_location.py +105 -106
- pulumi_newrelic/synthetics/script_monitor.py +302 -303
- pulumi_newrelic/synthetics/secure_credential.py +86 -87
- pulumi_newrelic/synthetics/step_monitor.py +220 -221
- pulumi_newrelic/user.py +69 -70
- pulumi_newrelic/workflow.py +139 -140
- {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.49.0.dist-info/RECORD +90 -0
- pulumi_newrelic-5.48.0a1753156041.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -57,15 +56,15 @@ class ApplicationSettingsErrorCollector(dict):
|
|
|
57
56
|
return super().get(key, default)
|
|
58
57
|
|
|
59
58
|
def __init__(__self__, *,
|
|
60
|
-
expected_error_classes: Optional[Sequence[
|
|
61
|
-
expected_error_codes: Optional[Sequence[
|
|
62
|
-
ignored_error_classes: Optional[Sequence[
|
|
63
|
-
ignored_error_codes: Optional[Sequence[
|
|
59
|
+
expected_error_classes: Optional[Sequence[_builtins.str]] = None,
|
|
60
|
+
expected_error_codes: Optional[Sequence[_builtins.str]] = None,
|
|
61
|
+
ignored_error_classes: Optional[Sequence[_builtins.str]] = None,
|
|
62
|
+
ignored_error_codes: Optional[Sequence[_builtins.str]] = None):
|
|
64
63
|
"""
|
|
65
|
-
:param Sequence[
|
|
66
|
-
:param Sequence[
|
|
67
|
-
:param Sequence[
|
|
68
|
-
:param Sequence[
|
|
64
|
+
:param Sequence[_builtins.str] expected_error_classes: A list of expected error classes.
|
|
65
|
+
:param Sequence[_builtins.str] expected_error_codes: A list of expected error codes(any status code between 100-900).
|
|
66
|
+
:param Sequence[_builtins.str] ignored_error_classes: A list of ignored error classes.
|
|
67
|
+
:param Sequence[_builtins.str] ignored_error_codes: A list of ignored error codes(any status code between 100-900).
|
|
69
68
|
"""
|
|
70
69
|
if expected_error_classes is not None:
|
|
71
70
|
pulumi.set(__self__, "expected_error_classes", expected_error_classes)
|
|
@@ -76,33 +75,33 @@ class ApplicationSettingsErrorCollector(dict):
|
|
|
76
75
|
if ignored_error_codes is not None:
|
|
77
76
|
pulumi.set(__self__, "ignored_error_codes", ignored_error_codes)
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter(name="expectedErrorClasses")
|
|
81
|
-
def expected_error_classes(self) -> Optional[Sequence[
|
|
80
|
+
def expected_error_classes(self) -> Optional[Sequence[_builtins.str]]:
|
|
82
81
|
"""
|
|
83
82
|
A list of expected error classes.
|
|
84
83
|
"""
|
|
85
84
|
return pulumi.get(self, "expected_error_classes")
|
|
86
85
|
|
|
87
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
88
87
|
@pulumi.getter(name="expectedErrorCodes")
|
|
89
|
-
def expected_error_codes(self) -> Optional[Sequence[
|
|
88
|
+
def expected_error_codes(self) -> Optional[Sequence[_builtins.str]]:
|
|
90
89
|
"""
|
|
91
90
|
A list of expected error codes(any status code between 100-900).
|
|
92
91
|
"""
|
|
93
92
|
return pulumi.get(self, "expected_error_codes")
|
|
94
93
|
|
|
95
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
96
95
|
@pulumi.getter(name="ignoredErrorClasses")
|
|
97
|
-
def ignored_error_classes(self) -> Optional[Sequence[
|
|
96
|
+
def ignored_error_classes(self) -> Optional[Sequence[_builtins.str]]:
|
|
98
97
|
"""
|
|
99
98
|
A list of ignored error classes.
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "ignored_error_classes")
|
|
102
101
|
|
|
103
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
104
103
|
@pulumi.getter(name="ignoredErrorCodes")
|
|
105
|
-
def ignored_error_codes(self) -> Optional[Sequence[
|
|
104
|
+
def ignored_error_codes(self) -> Optional[Sequence[_builtins.str]]:
|
|
106
105
|
"""
|
|
107
106
|
A list of ignored error codes(any status code between 100-900).
|
|
108
107
|
"""
|
|
@@ -137,15 +136,15 @@ class ApplicationSettingsTransactionTracer(dict):
|
|
|
137
136
|
def __init__(__self__, *,
|
|
138
137
|
explain_query_plans: Optional[Sequence['outputs.ApplicationSettingsTransactionTracerExplainQueryPlan']] = None,
|
|
139
138
|
sql: Optional['outputs.ApplicationSettingsTransactionTracerSql'] = None,
|
|
140
|
-
stack_trace_threshold_value: Optional[
|
|
141
|
-
transaction_threshold_type: Optional[
|
|
142
|
-
transaction_threshold_value: Optional[
|
|
139
|
+
stack_trace_threshold_value: Optional[_builtins.float] = None,
|
|
140
|
+
transaction_threshold_type: Optional[_builtins.str] = None,
|
|
141
|
+
transaction_threshold_value: Optional[_builtins.float] = None):
|
|
143
142
|
"""
|
|
144
143
|
:param Sequence['ApplicationSettingsTransactionTracerExplainQueryPlanArgs'] explain_query_plans: Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
|
|
145
144
|
:param 'ApplicationSettingsTransactionTracerSqlArgs' sql: Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
|
|
146
|
-
:param
|
|
147
|
-
:param
|
|
148
|
-
:param
|
|
145
|
+
:param _builtins.float stack_trace_threshold_value: The response time threshold for collecting stack traces.
|
|
146
|
+
:param _builtins.str transaction_threshold_type: The type of threshold for transactions. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
|
|
147
|
+
:param _builtins.float transaction_threshold_value: The threshold value for transactions(in seconds).
|
|
149
148
|
"""
|
|
150
149
|
if explain_query_plans is not None:
|
|
151
150
|
pulumi.set(__self__, "explain_query_plans", explain_query_plans)
|
|
@@ -158,7 +157,7 @@ class ApplicationSettingsTransactionTracer(dict):
|
|
|
158
157
|
if transaction_threshold_value is not None:
|
|
159
158
|
pulumi.set(__self__, "transaction_threshold_value", transaction_threshold_value)
|
|
160
159
|
|
|
161
|
-
@property
|
|
160
|
+
@_builtins.property
|
|
162
161
|
@pulumi.getter(name="explainQueryPlans")
|
|
163
162
|
def explain_query_plans(self) -> Optional[Sequence['outputs.ApplicationSettingsTransactionTracerExplainQueryPlan']]:
|
|
164
163
|
"""
|
|
@@ -166,7 +165,7 @@ class ApplicationSettingsTransactionTracer(dict):
|
|
|
166
165
|
"""
|
|
167
166
|
return pulumi.get(self, "explain_query_plans")
|
|
168
167
|
|
|
169
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
170
169
|
@pulumi.getter
|
|
171
170
|
def sql(self) -> Optional['outputs.ApplicationSettingsTransactionTracerSql']:
|
|
172
171
|
"""
|
|
@@ -174,25 +173,25 @@ class ApplicationSettingsTransactionTracer(dict):
|
|
|
174
173
|
"""
|
|
175
174
|
return pulumi.get(self, "sql")
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter(name="stackTraceThresholdValue")
|
|
179
|
-
def stack_trace_threshold_value(self) -> Optional[
|
|
178
|
+
def stack_trace_threshold_value(self) -> Optional[_builtins.float]:
|
|
180
179
|
"""
|
|
181
180
|
The response time threshold for collecting stack traces.
|
|
182
181
|
"""
|
|
183
182
|
return pulumi.get(self, "stack_trace_threshold_value")
|
|
184
183
|
|
|
185
|
-
@property
|
|
184
|
+
@_builtins.property
|
|
186
185
|
@pulumi.getter(name="transactionThresholdType")
|
|
187
|
-
def transaction_threshold_type(self) -> Optional[
|
|
186
|
+
def transaction_threshold_type(self) -> Optional[_builtins.str]:
|
|
188
187
|
"""
|
|
189
188
|
The type of threshold for transactions. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
|
|
190
189
|
"""
|
|
191
190
|
return pulumi.get(self, "transaction_threshold_type")
|
|
192
191
|
|
|
193
|
-
@property
|
|
192
|
+
@_builtins.property
|
|
194
193
|
@pulumi.getter(name="transactionThresholdValue")
|
|
195
|
-
def transaction_threshold_value(self) -> Optional[
|
|
194
|
+
def transaction_threshold_value(self) -> Optional[_builtins.float]:
|
|
196
195
|
"""
|
|
197
196
|
The threshold value for transactions(in seconds).
|
|
198
197
|
"""
|
|
@@ -221,28 +220,28 @@ class ApplicationSettingsTransactionTracerExplainQueryPlan(dict):
|
|
|
221
220
|
return super().get(key, default)
|
|
222
221
|
|
|
223
222
|
def __init__(__self__, *,
|
|
224
|
-
query_plan_threshold_type: Optional[
|
|
225
|
-
query_plan_threshold_value: Optional[
|
|
223
|
+
query_plan_threshold_type: Optional[_builtins.str] = None,
|
|
224
|
+
query_plan_threshold_value: Optional[_builtins.float] = None):
|
|
226
225
|
"""
|
|
227
|
-
:param
|
|
228
|
-
:param
|
|
226
|
+
:param _builtins.str query_plan_threshold_type: The type of threshold for query plans. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
|
|
227
|
+
:param _builtins.float query_plan_threshold_value: The response time threshold for capturing query plans(in seconds).
|
|
229
228
|
"""
|
|
230
229
|
if query_plan_threshold_type is not None:
|
|
231
230
|
pulumi.set(__self__, "query_plan_threshold_type", query_plan_threshold_type)
|
|
232
231
|
if query_plan_threshold_value is not None:
|
|
233
232
|
pulumi.set(__self__, "query_plan_threshold_value", query_plan_threshold_value)
|
|
234
233
|
|
|
235
|
-
@property
|
|
234
|
+
@_builtins.property
|
|
236
235
|
@pulumi.getter(name="queryPlanThresholdType")
|
|
237
|
-
def query_plan_threshold_type(self) -> Optional[
|
|
236
|
+
def query_plan_threshold_type(self) -> Optional[_builtins.str]:
|
|
238
237
|
"""
|
|
239
238
|
The type of threshold for query plans. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
|
|
240
239
|
"""
|
|
241
240
|
return pulumi.get(self, "query_plan_threshold_type")
|
|
242
241
|
|
|
243
|
-
@property
|
|
242
|
+
@_builtins.property
|
|
244
243
|
@pulumi.getter(name="queryPlanThresholdValue")
|
|
245
|
-
def query_plan_threshold_value(self) -> Optional[
|
|
244
|
+
def query_plan_threshold_value(self) -> Optional[_builtins.float]:
|
|
246
245
|
"""
|
|
247
246
|
The response time threshold for capturing query plans(in seconds).
|
|
248
247
|
"""
|
|
@@ -269,15 +268,15 @@ class ApplicationSettingsTransactionTracerSql(dict):
|
|
|
269
268
|
return super().get(key, default)
|
|
270
269
|
|
|
271
270
|
def __init__(__self__, *,
|
|
272
|
-
record_sql:
|
|
271
|
+
record_sql: _builtins.str):
|
|
273
272
|
"""
|
|
274
|
-
:param
|
|
273
|
+
:param _builtins.str record_sql: The level of SQL recording. Valid values ar `OBFUSCATED`,`OFF`,`RAW` (Mandatory attribute when `sql` block is provided).
|
|
275
274
|
"""
|
|
276
275
|
pulumi.set(__self__, "record_sql", record_sql)
|
|
277
276
|
|
|
278
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
279
278
|
@pulumi.getter(name="recordSql")
|
|
280
|
-
def record_sql(self) ->
|
|
279
|
+
def record_sql(self) -> _builtins.str:
|
|
281
280
|
"""
|
|
282
281
|
The level of SQL recording. Valid values ar `OBFUSCATED`,`OFF`,`RAW` (Mandatory attribute when `sql` block is provided).
|
|
283
282
|
"""
|
|
@@ -287,15 +286,15 @@ class ApplicationSettingsTransactionTracerSql(dict):
|
|
|
287
286
|
@pulumi.output_type
|
|
288
287
|
class WorkloadEntitySearchQuery(dict):
|
|
289
288
|
def __init__(__self__, *,
|
|
290
|
-
query:
|
|
289
|
+
query: _builtins.str):
|
|
291
290
|
"""
|
|
292
|
-
:param
|
|
291
|
+
:param _builtins.str query: A valid entity search query; empty, and null values are considered invalid.
|
|
293
292
|
"""
|
|
294
293
|
pulumi.set(__self__, "query", query)
|
|
295
294
|
|
|
296
|
-
@property
|
|
295
|
+
@_builtins.property
|
|
297
296
|
@pulumi.getter
|
|
298
|
-
def query(self) ->
|
|
297
|
+
def query(self) -> _builtins.str:
|
|
299
298
|
"""
|
|
300
299
|
A valid entity search query; empty, and null values are considered invalid.
|
|
301
300
|
"""
|
|
@@ -322,11 +321,11 @@ class WorkloadStatusConfigAutomatic(dict):
|
|
|
322
321
|
return super().get(key, default)
|
|
323
322
|
|
|
324
323
|
def __init__(__self__, *,
|
|
325
|
-
enabled:
|
|
324
|
+
enabled: _builtins.bool,
|
|
326
325
|
remaining_entities_rule: Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule'] = None,
|
|
327
326
|
rules: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']] = None):
|
|
328
327
|
"""
|
|
329
|
-
:param
|
|
328
|
+
:param _builtins.bool enabled: Whether the automatic status configuration is enabled or not.
|
|
330
329
|
:param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs' remaining_entities_rule: An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
|
|
331
330
|
:param Sequence['WorkloadStatusConfigAutomaticRuleArgs'] rules: A list of rules.
|
|
332
331
|
"""
|
|
@@ -336,15 +335,15 @@ class WorkloadStatusConfigAutomatic(dict):
|
|
|
336
335
|
if rules is not None:
|
|
337
336
|
pulumi.set(__self__, "rules", rules)
|
|
338
337
|
|
|
339
|
-
@property
|
|
338
|
+
@_builtins.property
|
|
340
339
|
@pulumi.getter
|
|
341
|
-
def enabled(self) ->
|
|
340
|
+
def enabled(self) -> _builtins.bool:
|
|
342
341
|
"""
|
|
343
342
|
Whether the automatic status configuration is enabled or not.
|
|
344
343
|
"""
|
|
345
344
|
return pulumi.get(self, "enabled")
|
|
346
345
|
|
|
347
|
-
@property
|
|
346
|
+
@_builtins.property
|
|
348
347
|
@pulumi.getter(name="remainingEntitiesRule")
|
|
349
348
|
def remaining_entities_rule(self) -> Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule']:
|
|
350
349
|
"""
|
|
@@ -352,7 +351,7 @@ class WorkloadStatusConfigAutomatic(dict):
|
|
|
352
351
|
"""
|
|
353
352
|
return pulumi.get(self, "remaining_entities_rule")
|
|
354
353
|
|
|
355
|
-
@property
|
|
354
|
+
@_builtins.property
|
|
356
355
|
@pulumi.getter
|
|
357
356
|
def rules(self) -> Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']]:
|
|
358
357
|
"""
|
|
@@ -387,7 +386,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRule(dict):
|
|
|
387
386
|
"""
|
|
388
387
|
pulumi.set(__self__, "remaining_entities_rule_rollup", remaining_entities_rule_rollup)
|
|
389
388
|
|
|
390
|
-
@property
|
|
389
|
+
@_builtins.property
|
|
391
390
|
@pulumi.getter(name="remainingEntitiesRuleRollup")
|
|
392
391
|
def remaining_entities_rule_rollup(self) -> 'outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup':
|
|
393
392
|
"""
|
|
@@ -420,15 +419,15 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRol
|
|
|
420
419
|
return super().get(key, default)
|
|
421
420
|
|
|
422
421
|
def __init__(__self__, *,
|
|
423
|
-
group_by:
|
|
424
|
-
strategy:
|
|
425
|
-
threshold_type: Optional[
|
|
426
|
-
threshold_value: Optional[
|
|
422
|
+
group_by: _builtins.str,
|
|
423
|
+
strategy: _builtins.str,
|
|
424
|
+
threshold_type: Optional[_builtins.str] = None,
|
|
425
|
+
threshold_value: Optional[_builtins.int] = None):
|
|
427
426
|
"""
|
|
428
|
-
:param
|
|
429
|
-
:param
|
|
430
|
-
:param
|
|
431
|
-
:param
|
|
427
|
+
:param _builtins.str group_by: The grouping to be applied to the remaining entities.
|
|
428
|
+
:param _builtins.str strategy: The rollup strategy that is applied to a group of entities.
|
|
429
|
+
:param _builtins.str threshold_type: 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.
|
|
430
|
+
:param _builtins.int threshold_value: 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.
|
|
432
431
|
"""
|
|
433
432
|
pulumi.set(__self__, "group_by", group_by)
|
|
434
433
|
pulumi.set(__self__, "strategy", strategy)
|
|
@@ -437,33 +436,33 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRol
|
|
|
437
436
|
if threshold_value is not None:
|
|
438
437
|
pulumi.set(__self__, "threshold_value", threshold_value)
|
|
439
438
|
|
|
440
|
-
@property
|
|
439
|
+
@_builtins.property
|
|
441
440
|
@pulumi.getter(name="groupBy")
|
|
442
|
-
def group_by(self) ->
|
|
441
|
+
def group_by(self) -> _builtins.str:
|
|
443
442
|
"""
|
|
444
443
|
The grouping to be applied to the remaining entities.
|
|
445
444
|
"""
|
|
446
445
|
return pulumi.get(self, "group_by")
|
|
447
446
|
|
|
448
|
-
@property
|
|
447
|
+
@_builtins.property
|
|
449
448
|
@pulumi.getter
|
|
450
|
-
def strategy(self) ->
|
|
449
|
+
def strategy(self) -> _builtins.str:
|
|
451
450
|
"""
|
|
452
451
|
The rollup strategy that is applied to a group of entities.
|
|
453
452
|
"""
|
|
454
453
|
return pulumi.get(self, "strategy")
|
|
455
454
|
|
|
456
|
-
@property
|
|
455
|
+
@_builtins.property
|
|
457
456
|
@pulumi.getter(name="thresholdType")
|
|
458
|
-
def threshold_type(self) -> Optional[
|
|
457
|
+
def threshold_type(self) -> Optional[_builtins.str]:
|
|
459
458
|
"""
|
|
460
459
|
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.
|
|
461
460
|
"""
|
|
462
461
|
return pulumi.get(self, "threshold_type")
|
|
463
462
|
|
|
464
|
-
@property
|
|
463
|
+
@_builtins.property
|
|
465
464
|
@pulumi.getter(name="thresholdValue")
|
|
466
|
-
def threshold_value(self) -> Optional[
|
|
465
|
+
def threshold_value(self) -> Optional[_builtins.int]:
|
|
467
466
|
"""
|
|
468
467
|
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.
|
|
469
468
|
"""
|
|
@@ -493,11 +492,11 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
|
493
492
|
|
|
494
493
|
def __init__(__self__, *,
|
|
495
494
|
rollup: 'outputs.WorkloadStatusConfigAutomaticRuleRollup',
|
|
496
|
-
entity_guids: Optional[Sequence[
|
|
495
|
+
entity_guids: Optional[Sequence[_builtins.str]] = None,
|
|
497
496
|
nrql_queries: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRuleNrqlQuery']] = None):
|
|
498
497
|
"""
|
|
499
498
|
:param 'WorkloadStatusConfigAutomaticRuleRollupArgs' rollup: The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
|
|
500
|
-
:param Sequence[
|
|
499
|
+
:param Sequence[_builtins.str] entity_guids: A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined.
|
|
501
500
|
: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.
|
|
502
501
|
"""
|
|
503
502
|
pulumi.set(__self__, "rollup", rollup)
|
|
@@ -506,7 +505,7 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
|
506
505
|
if nrql_queries is not None:
|
|
507
506
|
pulumi.set(__self__, "nrql_queries", nrql_queries)
|
|
508
507
|
|
|
509
|
-
@property
|
|
508
|
+
@_builtins.property
|
|
510
509
|
@pulumi.getter
|
|
511
510
|
def rollup(self) -> 'outputs.WorkloadStatusConfigAutomaticRuleRollup':
|
|
512
511
|
"""
|
|
@@ -514,15 +513,15 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
|
514
513
|
"""
|
|
515
514
|
return pulumi.get(self, "rollup")
|
|
516
515
|
|
|
517
|
-
@property
|
|
516
|
+
@_builtins.property
|
|
518
517
|
@pulumi.getter(name="entityGuids")
|
|
519
|
-
def entity_guids(self) -> Optional[Sequence[
|
|
518
|
+
def entity_guids(self) -> Optional[Sequence[_builtins.str]]:
|
|
520
519
|
"""
|
|
521
520
|
A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined.
|
|
522
521
|
"""
|
|
523
522
|
return pulumi.get(self, "entity_guids")
|
|
524
523
|
|
|
525
|
-
@property
|
|
524
|
+
@_builtins.property
|
|
526
525
|
@pulumi.getter(name="nrqlQueries")
|
|
527
526
|
def nrql_queries(self) -> Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRuleNrqlQuery']]:
|
|
528
527
|
"""
|
|
@@ -534,15 +533,15 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
|
534
533
|
@pulumi.output_type
|
|
535
534
|
class WorkloadStatusConfigAutomaticRuleNrqlQuery(dict):
|
|
536
535
|
def __init__(__self__, *,
|
|
537
|
-
query:
|
|
536
|
+
query: _builtins.str):
|
|
538
537
|
"""
|
|
539
|
-
:param
|
|
538
|
+
:param _builtins.str query: The entity search query that is used to perform the search of a group of entities.
|
|
540
539
|
"""
|
|
541
540
|
pulumi.set(__self__, "query", query)
|
|
542
541
|
|
|
543
|
-
@property
|
|
542
|
+
@_builtins.property
|
|
544
543
|
@pulumi.getter
|
|
545
|
-
def query(self) ->
|
|
544
|
+
def query(self) -> _builtins.str:
|
|
546
545
|
"""
|
|
547
546
|
The entity search query that is used to perform the search of a group of entities.
|
|
548
547
|
"""
|
|
@@ -571,13 +570,13 @@ class WorkloadStatusConfigAutomaticRuleRollup(dict):
|
|
|
571
570
|
return super().get(key, default)
|
|
572
571
|
|
|
573
572
|
def __init__(__self__, *,
|
|
574
|
-
strategy:
|
|
575
|
-
threshold_type: Optional[
|
|
576
|
-
threshold_value: Optional[
|
|
573
|
+
strategy: _builtins.str,
|
|
574
|
+
threshold_type: Optional[_builtins.str] = None,
|
|
575
|
+
threshold_value: Optional[_builtins.int] = None):
|
|
577
576
|
"""
|
|
578
|
-
:param
|
|
579
|
-
:param
|
|
580
|
-
:param
|
|
577
|
+
:param _builtins.str strategy: The rollup strategy that is applied to a group of entities.
|
|
578
|
+
:param _builtins.str threshold_type: 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.
|
|
579
|
+
:param _builtins.int threshold_value: 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.
|
|
581
580
|
"""
|
|
582
581
|
pulumi.set(__self__, "strategy", strategy)
|
|
583
582
|
if threshold_type is not None:
|
|
@@ -585,25 +584,25 @@ class WorkloadStatusConfigAutomaticRuleRollup(dict):
|
|
|
585
584
|
if threshold_value is not None:
|
|
586
585
|
pulumi.set(__self__, "threshold_value", threshold_value)
|
|
587
586
|
|
|
588
|
-
@property
|
|
587
|
+
@_builtins.property
|
|
589
588
|
@pulumi.getter
|
|
590
|
-
def strategy(self) ->
|
|
589
|
+
def strategy(self) -> _builtins.str:
|
|
591
590
|
"""
|
|
592
591
|
The rollup strategy that is applied to a group of entities.
|
|
593
592
|
"""
|
|
594
593
|
return pulumi.get(self, "strategy")
|
|
595
594
|
|
|
596
|
-
@property
|
|
595
|
+
@_builtins.property
|
|
597
596
|
@pulumi.getter(name="thresholdType")
|
|
598
|
-
def threshold_type(self) -> Optional[
|
|
597
|
+
def threshold_type(self) -> Optional[_builtins.str]:
|
|
599
598
|
"""
|
|
600
599
|
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.
|
|
601
600
|
"""
|
|
602
601
|
return pulumi.get(self, "threshold_type")
|
|
603
602
|
|
|
604
|
-
@property
|
|
603
|
+
@_builtins.property
|
|
605
604
|
@pulumi.getter(name="thresholdValue")
|
|
606
|
-
def threshold_value(self) -> Optional[
|
|
605
|
+
def threshold_value(self) -> Optional[_builtins.int]:
|
|
607
606
|
"""
|
|
608
607
|
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.
|
|
609
608
|
"""
|
|
@@ -613,15 +612,15 @@ class WorkloadStatusConfigAutomaticRuleRollup(dict):
|
|
|
613
612
|
@pulumi.output_type
|
|
614
613
|
class WorkloadStatusConfigStatic(dict):
|
|
615
614
|
def __init__(__self__, *,
|
|
616
|
-
enabled:
|
|
617
|
-
status:
|
|
618
|
-
description: Optional[
|
|
619
|
-
summary: Optional[
|
|
615
|
+
enabled: _builtins.bool,
|
|
616
|
+
status: _builtins.str,
|
|
617
|
+
description: Optional[_builtins.str] = None,
|
|
618
|
+
summary: Optional[_builtins.str] = None):
|
|
620
619
|
"""
|
|
621
|
-
:param
|
|
622
|
-
:param
|
|
623
|
-
:param
|
|
624
|
-
:param
|
|
620
|
+
:param _builtins.bool enabled: Whether the static status configuration is enabled or not.
|
|
621
|
+
:param _builtins.str status: The status of the workload.
|
|
622
|
+
:param _builtins.str description: Relevant information about the workload.
|
|
623
|
+
:param _builtins.str summary: A short description of the status of the workload.
|
|
625
624
|
"""
|
|
626
625
|
pulumi.set(__self__, "enabled", enabled)
|
|
627
626
|
pulumi.set(__self__, "status", status)
|
|
@@ -630,33 +629,33 @@ class WorkloadStatusConfigStatic(dict):
|
|
|
630
629
|
if summary is not None:
|
|
631
630
|
pulumi.set(__self__, "summary", summary)
|
|
632
631
|
|
|
633
|
-
@property
|
|
632
|
+
@_builtins.property
|
|
634
633
|
@pulumi.getter
|
|
635
|
-
def enabled(self) ->
|
|
634
|
+
def enabled(self) -> _builtins.bool:
|
|
636
635
|
"""
|
|
637
636
|
Whether the static status configuration is enabled or not.
|
|
638
637
|
"""
|
|
639
638
|
return pulumi.get(self, "enabled")
|
|
640
639
|
|
|
641
|
-
@property
|
|
640
|
+
@_builtins.property
|
|
642
641
|
@pulumi.getter
|
|
643
|
-
def status(self) ->
|
|
642
|
+
def status(self) -> _builtins.str:
|
|
644
643
|
"""
|
|
645
644
|
The status of the workload.
|
|
646
645
|
"""
|
|
647
646
|
return pulumi.get(self, "status")
|
|
648
647
|
|
|
649
|
-
@property
|
|
648
|
+
@_builtins.property
|
|
650
649
|
@pulumi.getter
|
|
651
|
-
def description(self) -> Optional[
|
|
650
|
+
def description(self) -> Optional[_builtins.str]:
|
|
652
651
|
"""
|
|
653
652
|
Relevant information about the workload.
|
|
654
653
|
"""
|
|
655
654
|
return pulumi.get(self, "description")
|
|
656
655
|
|
|
657
|
-
@property
|
|
656
|
+
@_builtins.property
|
|
658
657
|
@pulumi.getter
|
|
659
|
-
def summary(self) -> Optional[
|
|
658
|
+
def summary(self) -> Optional[_builtins.str]:
|
|
660
659
|
"""
|
|
661
660
|
A short description of the status of the workload.
|
|
662
661
|
"""
|