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