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