pulumi-newrelic 5.22.0__py3-none-any.whl → 5.58.0a1763707205__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.
Potentially problematic release.
This version of pulumi-newrelic might be problematic. Click here for more details.
- pulumi_newrelic/__init__.py +28 -1
- pulumi_newrelic/_inputs.py +10385 -2976
- pulumi_newrelic/_utilities.py +50 -10
- pulumi_newrelic/account_management.py +48 -42
- pulumi_newrelic/alert_channel.py +165 -175
- pulumi_newrelic/alert_condition.py +307 -319
- pulumi_newrelic/alert_muting_rule.py +193 -140
- pulumi_newrelic/alert_policy.py +121 -117
- pulumi_newrelic/alert_policy_channel.py +89 -79
- pulumi_newrelic/api_access_key.py +195 -193
- pulumi_newrelic/browser_application.py +120 -114
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +4267 -2714
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +206 -196
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +143 -228
- pulumi_newrelic/cloud/aws_integrations.py +510 -1490
- pulumi_newrelic/cloud/aws_link_account.py +80 -76
- pulumi_newrelic/cloud/azure_integrations.py +673 -587
- pulumi_newrelic/cloud/azure_link_account.py +121 -117
- pulumi_newrelic/cloud/gcp_integrations.py +428 -408
- pulumi_newrelic/cloud/gcp_link_account.py +65 -61
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1678 -2321
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +8 -3
- pulumi_newrelic/config/vars.py +22 -17
- pulumi_newrelic/data_partition_rule.py +119 -117
- pulumi_newrelic/entity_tags.py +111 -53
- pulumi_newrelic/events_to_metrics_rule.py +106 -102
- pulumi_newrelic/get_account.py +41 -33
- pulumi_newrelic/get_alert_channel.py +73 -28
- pulumi_newrelic/get_alert_policy.py +82 -33
- pulumi_newrelic/get_application.py +51 -43
- pulumi_newrelic/get_authentication_domain.py +27 -23
- pulumi_newrelic/get_cloud_account.py +43 -35
- pulumi_newrelic/get_entity.py +126 -183
- pulumi_newrelic/get_group.py +76 -31
- pulumi_newrelic/get_key_transaction.py +117 -42
- pulumi_newrelic/get_notification_destination.py +75 -38
- pulumi_newrelic/get_obfuscation_expression.py +47 -39
- pulumi_newrelic/get_service_level_alert_helper.py +189 -171
- pulumi_newrelic/get_test_grok_pattern.py +47 -36
- pulumi_newrelic/get_user.py +39 -31
- pulumi_newrelic/group.py +59 -199
- pulumi_newrelic/infra_alert_condition.py +399 -405
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +71 -28
- pulumi_newrelic/insights/event.py +54 -52
- pulumi_newrelic/insights/outputs.py +28 -23
- pulumi_newrelic/key_transaction.py +465 -0
- pulumi_newrelic/log_parsing_rule.py +159 -157
- pulumi_newrelic/monitor_downtime.py +311 -331
- pulumi_newrelic/notification_channel.py +534 -464
- pulumi_newrelic/notification_destination.py +238 -141
- pulumi_newrelic/nrql_alert_condition.py +820 -614
- pulumi_newrelic/nrql_drop_rule.py +113 -151
- pulumi_newrelic/obfuscation_expression.py +80 -76
- pulumi_newrelic/obfuscation_rule.py +115 -109
- pulumi_newrelic/one_dashboard.py +110 -104
- pulumi_newrelic/one_dashboard_json.py +69 -63
- pulumi_newrelic/one_dashboard_raw.py +212 -206
- pulumi_newrelic/outputs.py +4936 -2234
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +519 -89
- pulumi_newrelic/plugins/application_settings.py +463 -187
- pulumi_newrelic/plugins/outputs.py +336 -74
- pulumi_newrelic/plugins/workload.py +313 -189
- pulumi_newrelic/provider.py +156 -142
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +263 -263
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +265 -108
- pulumi_newrelic/synthetics/alert_condition.py +170 -180
- pulumi_newrelic/synthetics/broken_links_monitor.py +297 -249
- pulumi_newrelic/synthetics/cert_check_monitor.py +306 -258
- pulumi_newrelic/synthetics/get_private_location.py +51 -47
- pulumi_newrelic/synthetics/get_secure_credential.py +39 -31
- pulumi_newrelic/synthetics/monitor.py +658 -460
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +211 -205
- pulumi_newrelic/synthetics/outputs.py +92 -87
- pulumi_newrelic/synthetics/private_location.py +118 -112
- pulumi_newrelic/synthetics/script_monitor.py +613 -373
- pulumi_newrelic/synthetics/secure_credential.py +97 -95
- pulumi_newrelic/synthetics/step_monitor.py +445 -275
- pulumi_newrelic/user.py +84 -80
- pulumi_newrelic/workflow.py +336 -322
- {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +7 -6
- pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.22.0.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/top_level.txt +0 -0
|
@@ -1,16 +1,25 @@
|
|
|
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
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
13
18
|
__all__ = [
|
|
19
|
+
'ApplicationSettingsErrorCollector',
|
|
20
|
+
'ApplicationSettingsTransactionTracer',
|
|
21
|
+
'ApplicationSettingsTransactionTracerExplainQueryPlan',
|
|
22
|
+
'ApplicationSettingsTransactionTracerSql',
|
|
14
23
|
'WorkloadEntitySearchQuery',
|
|
15
24
|
'WorkloadStatusConfigAutomatic',
|
|
16
25
|
'WorkloadStatusConfigAutomaticRemainingEntitiesRule',
|
|
@@ -21,18 +30,271 @@ __all__ = [
|
|
|
21
30
|
'WorkloadStatusConfigStatic',
|
|
22
31
|
]
|
|
23
32
|
|
|
33
|
+
@pulumi.output_type
|
|
34
|
+
class ApplicationSettingsErrorCollector(dict):
|
|
35
|
+
@staticmethod
|
|
36
|
+
def __key_warning(key: str):
|
|
37
|
+
suggest = None
|
|
38
|
+
if key == "expectedErrorClasses":
|
|
39
|
+
suggest = "expected_error_classes"
|
|
40
|
+
elif key == "expectedErrorCodes":
|
|
41
|
+
suggest = "expected_error_codes"
|
|
42
|
+
elif key == "ignoredErrorClasses":
|
|
43
|
+
suggest = "ignored_error_classes"
|
|
44
|
+
elif key == "ignoredErrorCodes":
|
|
45
|
+
suggest = "ignored_error_codes"
|
|
46
|
+
|
|
47
|
+
if suggest:
|
|
48
|
+
pulumi.log.warn(f"Key '{key}' not found in ApplicationSettingsErrorCollector. Access the value via the '{suggest}' property getter instead.")
|
|
49
|
+
|
|
50
|
+
def __getitem__(self, key: str) -> Any:
|
|
51
|
+
ApplicationSettingsErrorCollector.__key_warning(key)
|
|
52
|
+
return super().__getitem__(key)
|
|
53
|
+
|
|
54
|
+
def get(self, key: str, default = None) -> Any:
|
|
55
|
+
ApplicationSettingsErrorCollector.__key_warning(key)
|
|
56
|
+
return super().get(key, default)
|
|
57
|
+
|
|
58
|
+
def __init__(__self__, *,
|
|
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
|
+
"""
|
|
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
|
+
"""
|
|
69
|
+
if expected_error_classes is not None:
|
|
70
|
+
pulumi.set(__self__, "expected_error_classes", expected_error_classes)
|
|
71
|
+
if expected_error_codes is not None:
|
|
72
|
+
pulumi.set(__self__, "expected_error_codes", expected_error_codes)
|
|
73
|
+
if ignored_error_classes is not None:
|
|
74
|
+
pulumi.set(__self__, "ignored_error_classes", ignored_error_classes)
|
|
75
|
+
if ignored_error_codes is not None:
|
|
76
|
+
pulumi.set(__self__, "ignored_error_codes", ignored_error_codes)
|
|
77
|
+
|
|
78
|
+
@_builtins.property
|
|
79
|
+
@pulumi.getter(name="expectedErrorClasses")
|
|
80
|
+
def expected_error_classes(self) -> Optional[Sequence[_builtins.str]]:
|
|
81
|
+
"""
|
|
82
|
+
A list of expected error classes.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "expected_error_classes")
|
|
85
|
+
|
|
86
|
+
@_builtins.property
|
|
87
|
+
@pulumi.getter(name="expectedErrorCodes")
|
|
88
|
+
def expected_error_codes(self) -> Optional[Sequence[_builtins.str]]:
|
|
89
|
+
"""
|
|
90
|
+
A list of expected error codes(any status code between 100-900).
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "expected_error_codes")
|
|
93
|
+
|
|
94
|
+
@_builtins.property
|
|
95
|
+
@pulumi.getter(name="ignoredErrorClasses")
|
|
96
|
+
def ignored_error_classes(self) -> Optional[Sequence[_builtins.str]]:
|
|
97
|
+
"""
|
|
98
|
+
A list of ignored error classes.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "ignored_error_classes")
|
|
101
|
+
|
|
102
|
+
@_builtins.property
|
|
103
|
+
@pulumi.getter(name="ignoredErrorCodes")
|
|
104
|
+
def ignored_error_codes(self) -> Optional[Sequence[_builtins.str]]:
|
|
105
|
+
"""
|
|
106
|
+
A list of ignored error codes(any status code between 100-900).
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "ignored_error_codes")
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
@pulumi.output_type
|
|
112
|
+
class ApplicationSettingsTransactionTracer(dict):
|
|
113
|
+
@staticmethod
|
|
114
|
+
def __key_warning(key: str):
|
|
115
|
+
suggest = None
|
|
116
|
+
if key == "explainQueryPlans":
|
|
117
|
+
suggest = "explain_query_plans"
|
|
118
|
+
elif key == "stackTraceThresholdValue":
|
|
119
|
+
suggest = "stack_trace_threshold_value"
|
|
120
|
+
elif key == "transactionThresholdType":
|
|
121
|
+
suggest = "transaction_threshold_type"
|
|
122
|
+
elif key == "transactionThresholdValue":
|
|
123
|
+
suggest = "transaction_threshold_value"
|
|
124
|
+
|
|
125
|
+
if suggest:
|
|
126
|
+
pulumi.log.warn(f"Key '{key}' not found in ApplicationSettingsTransactionTracer. Access the value via the '{suggest}' property getter instead.")
|
|
127
|
+
|
|
128
|
+
def __getitem__(self, key: str) -> Any:
|
|
129
|
+
ApplicationSettingsTransactionTracer.__key_warning(key)
|
|
130
|
+
return super().__getitem__(key)
|
|
131
|
+
|
|
132
|
+
def get(self, key: str, default = None) -> Any:
|
|
133
|
+
ApplicationSettingsTransactionTracer.__key_warning(key)
|
|
134
|
+
return super().get(key, default)
|
|
135
|
+
|
|
136
|
+
def __init__(__self__, *,
|
|
137
|
+
explain_query_plans: Optional[Sequence['outputs.ApplicationSettingsTransactionTracerExplainQueryPlan']] = None,
|
|
138
|
+
sql: Optional['outputs.ApplicationSettingsTransactionTracerSql'] = 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
|
+
"""
|
|
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
|
+
:param 'ApplicationSettingsTransactionTracerSqlArgs' sql: Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
|
|
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
|
+
"""
|
|
149
|
+
if explain_query_plans is not None:
|
|
150
|
+
pulumi.set(__self__, "explain_query_plans", explain_query_plans)
|
|
151
|
+
if sql is not None:
|
|
152
|
+
pulumi.set(__self__, "sql", sql)
|
|
153
|
+
if stack_trace_threshold_value is not None:
|
|
154
|
+
pulumi.set(__self__, "stack_trace_threshold_value", stack_trace_threshold_value)
|
|
155
|
+
if transaction_threshold_type is not None:
|
|
156
|
+
pulumi.set(__self__, "transaction_threshold_type", transaction_threshold_type)
|
|
157
|
+
if transaction_threshold_value is not None:
|
|
158
|
+
pulumi.set(__self__, "transaction_threshold_value", transaction_threshold_value)
|
|
159
|
+
|
|
160
|
+
@_builtins.property
|
|
161
|
+
@pulumi.getter(name="explainQueryPlans")
|
|
162
|
+
def explain_query_plans(self) -> Optional[Sequence['outputs.ApplicationSettingsTransactionTracerExplainQueryPlan']]:
|
|
163
|
+
"""
|
|
164
|
+
Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
|
|
165
|
+
"""
|
|
166
|
+
return pulumi.get(self, "explain_query_plans")
|
|
167
|
+
|
|
168
|
+
@_builtins.property
|
|
169
|
+
@pulumi.getter
|
|
170
|
+
def sql(self) -> Optional['outputs.ApplicationSettingsTransactionTracerSql']:
|
|
171
|
+
"""
|
|
172
|
+
Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
|
|
173
|
+
"""
|
|
174
|
+
return pulumi.get(self, "sql")
|
|
175
|
+
|
|
176
|
+
@_builtins.property
|
|
177
|
+
@pulumi.getter(name="stackTraceThresholdValue")
|
|
178
|
+
def stack_trace_threshold_value(self) -> Optional[_builtins.float]:
|
|
179
|
+
"""
|
|
180
|
+
The response time threshold for collecting stack traces.
|
|
181
|
+
"""
|
|
182
|
+
return pulumi.get(self, "stack_trace_threshold_value")
|
|
183
|
+
|
|
184
|
+
@_builtins.property
|
|
185
|
+
@pulumi.getter(name="transactionThresholdType")
|
|
186
|
+
def transaction_threshold_type(self) -> Optional[_builtins.str]:
|
|
187
|
+
"""
|
|
188
|
+
The type of threshold for transactions. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
|
|
189
|
+
"""
|
|
190
|
+
return pulumi.get(self, "transaction_threshold_type")
|
|
191
|
+
|
|
192
|
+
@_builtins.property
|
|
193
|
+
@pulumi.getter(name="transactionThresholdValue")
|
|
194
|
+
def transaction_threshold_value(self) -> Optional[_builtins.float]:
|
|
195
|
+
"""
|
|
196
|
+
The threshold value for transactions(in seconds).
|
|
197
|
+
"""
|
|
198
|
+
return pulumi.get(self, "transaction_threshold_value")
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
@pulumi.output_type
|
|
202
|
+
class ApplicationSettingsTransactionTracerExplainQueryPlan(dict):
|
|
203
|
+
@staticmethod
|
|
204
|
+
def __key_warning(key: str):
|
|
205
|
+
suggest = None
|
|
206
|
+
if key == "queryPlanThresholdType":
|
|
207
|
+
suggest = "query_plan_threshold_type"
|
|
208
|
+
elif key == "queryPlanThresholdValue":
|
|
209
|
+
suggest = "query_plan_threshold_value"
|
|
210
|
+
|
|
211
|
+
if suggest:
|
|
212
|
+
pulumi.log.warn(f"Key '{key}' not found in ApplicationSettingsTransactionTracerExplainQueryPlan. Access the value via the '{suggest}' property getter instead.")
|
|
213
|
+
|
|
214
|
+
def __getitem__(self, key: str) -> Any:
|
|
215
|
+
ApplicationSettingsTransactionTracerExplainQueryPlan.__key_warning(key)
|
|
216
|
+
return super().__getitem__(key)
|
|
217
|
+
|
|
218
|
+
def get(self, key: str, default = None) -> Any:
|
|
219
|
+
ApplicationSettingsTransactionTracerExplainQueryPlan.__key_warning(key)
|
|
220
|
+
return super().get(key, default)
|
|
221
|
+
|
|
222
|
+
def __init__(__self__, *,
|
|
223
|
+
query_plan_threshold_type: Optional[_builtins.str] = None,
|
|
224
|
+
query_plan_threshold_value: Optional[_builtins.float] = None):
|
|
225
|
+
"""
|
|
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
|
+
"""
|
|
229
|
+
if query_plan_threshold_type is not None:
|
|
230
|
+
pulumi.set(__self__, "query_plan_threshold_type", query_plan_threshold_type)
|
|
231
|
+
if query_plan_threshold_value is not None:
|
|
232
|
+
pulumi.set(__self__, "query_plan_threshold_value", query_plan_threshold_value)
|
|
233
|
+
|
|
234
|
+
@_builtins.property
|
|
235
|
+
@pulumi.getter(name="queryPlanThresholdType")
|
|
236
|
+
def query_plan_threshold_type(self) -> Optional[_builtins.str]:
|
|
237
|
+
"""
|
|
238
|
+
The type of threshold for query plans. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
|
|
239
|
+
"""
|
|
240
|
+
return pulumi.get(self, "query_plan_threshold_type")
|
|
241
|
+
|
|
242
|
+
@_builtins.property
|
|
243
|
+
@pulumi.getter(name="queryPlanThresholdValue")
|
|
244
|
+
def query_plan_threshold_value(self) -> Optional[_builtins.float]:
|
|
245
|
+
"""
|
|
246
|
+
The response time threshold for capturing query plans(in seconds).
|
|
247
|
+
"""
|
|
248
|
+
return pulumi.get(self, "query_plan_threshold_value")
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
@pulumi.output_type
|
|
252
|
+
class ApplicationSettingsTransactionTracerSql(dict):
|
|
253
|
+
@staticmethod
|
|
254
|
+
def __key_warning(key: str):
|
|
255
|
+
suggest = None
|
|
256
|
+
if key == "recordSql":
|
|
257
|
+
suggest = "record_sql"
|
|
258
|
+
|
|
259
|
+
if suggest:
|
|
260
|
+
pulumi.log.warn(f"Key '{key}' not found in ApplicationSettingsTransactionTracerSql. Access the value via the '{suggest}' property getter instead.")
|
|
261
|
+
|
|
262
|
+
def __getitem__(self, key: str) -> Any:
|
|
263
|
+
ApplicationSettingsTransactionTracerSql.__key_warning(key)
|
|
264
|
+
return super().__getitem__(key)
|
|
265
|
+
|
|
266
|
+
def get(self, key: str, default = None) -> Any:
|
|
267
|
+
ApplicationSettingsTransactionTracerSql.__key_warning(key)
|
|
268
|
+
return super().get(key, default)
|
|
269
|
+
|
|
270
|
+
def __init__(__self__, *,
|
|
271
|
+
record_sql: _builtins.str):
|
|
272
|
+
"""
|
|
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
|
+
"""
|
|
275
|
+
pulumi.set(__self__, "record_sql", record_sql)
|
|
276
|
+
|
|
277
|
+
@_builtins.property
|
|
278
|
+
@pulumi.getter(name="recordSql")
|
|
279
|
+
def record_sql(self) -> _builtins.str:
|
|
280
|
+
"""
|
|
281
|
+
The level of SQL recording. Valid values ar `OBFUSCATED`,`OFF`,`RAW` (Mandatory attribute when `sql` block is provided).
|
|
282
|
+
"""
|
|
283
|
+
return pulumi.get(self, "record_sql")
|
|
284
|
+
|
|
285
|
+
|
|
24
286
|
@pulumi.output_type
|
|
25
287
|
class WorkloadEntitySearchQuery(dict):
|
|
26
288
|
def __init__(__self__, *,
|
|
27
|
-
query: str):
|
|
289
|
+
query: _builtins.str):
|
|
28
290
|
"""
|
|
29
|
-
: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.
|
|
30
292
|
"""
|
|
31
293
|
pulumi.set(__self__, "query", query)
|
|
32
294
|
|
|
33
|
-
@property
|
|
295
|
+
@_builtins.property
|
|
34
296
|
@pulumi.getter
|
|
35
|
-
def query(self) -> str:
|
|
297
|
+
def query(self) -> _builtins.str:
|
|
36
298
|
"""
|
|
37
299
|
A valid entity search query; empty, and null values are considered invalid.
|
|
38
300
|
"""
|
|
@@ -59,13 +321,13 @@ class WorkloadStatusConfigAutomatic(dict):
|
|
|
59
321
|
return super().get(key, default)
|
|
60
322
|
|
|
61
323
|
def __init__(__self__, *,
|
|
62
|
-
enabled: bool,
|
|
324
|
+
enabled: _builtins.bool,
|
|
63
325
|
remaining_entities_rule: Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule'] = None,
|
|
64
326
|
rules: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']] = None):
|
|
65
327
|
"""
|
|
66
|
-
:param bool enabled: Whether the
|
|
67
|
-
:param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs' remaining_entities_rule: An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
|
|
68
|
-
:param Sequence['WorkloadStatusConfigAutomaticRuleArgs'] rules:
|
|
328
|
+
:param _builtins.bool enabled: Whether the automatic status configuration is enabled or not.
|
|
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
|
+
:param Sequence['WorkloadStatusConfigAutomaticRuleArgs'] rules: A list of rules.
|
|
69
331
|
"""
|
|
70
332
|
pulumi.set(__self__, "enabled", enabled)
|
|
71
333
|
if remaining_entities_rule is not None:
|
|
@@ -73,27 +335,27 @@ class WorkloadStatusConfigAutomatic(dict):
|
|
|
73
335
|
if rules is not None:
|
|
74
336
|
pulumi.set(__self__, "rules", rules)
|
|
75
337
|
|
|
76
|
-
@property
|
|
338
|
+
@_builtins.property
|
|
77
339
|
@pulumi.getter
|
|
78
|
-
def enabled(self) -> bool:
|
|
340
|
+
def enabled(self) -> _builtins.bool:
|
|
79
341
|
"""
|
|
80
|
-
Whether the
|
|
342
|
+
Whether the automatic status configuration is enabled or not.
|
|
81
343
|
"""
|
|
82
344
|
return pulumi.get(self, "enabled")
|
|
83
345
|
|
|
84
|
-
@property
|
|
346
|
+
@_builtins.property
|
|
85
347
|
@pulumi.getter(name="remainingEntitiesRule")
|
|
86
348
|
def remaining_entities_rule(self) -> Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule']:
|
|
87
349
|
"""
|
|
88
|
-
An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
|
|
350
|
+
An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
|
|
89
351
|
"""
|
|
90
352
|
return pulumi.get(self, "remaining_entities_rule")
|
|
91
353
|
|
|
92
|
-
@property
|
|
354
|
+
@_builtins.property
|
|
93
355
|
@pulumi.getter
|
|
94
356
|
def rules(self) -> Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']]:
|
|
95
357
|
"""
|
|
96
|
-
|
|
358
|
+
A list of rules.
|
|
97
359
|
"""
|
|
98
360
|
return pulumi.get(self, "rules")
|
|
99
361
|
|
|
@@ -120,15 +382,15 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRule(dict):
|
|
|
120
382
|
def __init__(__self__, *,
|
|
121
383
|
remaining_entities_rule_rollup: 'outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup'):
|
|
122
384
|
"""
|
|
123
|
-
:param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs' remaining_entities_rule_rollup: The input object used to represent a rollup strategy.
|
|
385
|
+
:param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs' remaining_entities_rule_rollup: The input object used to represent a rollup strategy.
|
|
124
386
|
"""
|
|
125
387
|
pulumi.set(__self__, "remaining_entities_rule_rollup", remaining_entities_rule_rollup)
|
|
126
388
|
|
|
127
|
-
@property
|
|
389
|
+
@_builtins.property
|
|
128
390
|
@pulumi.getter(name="remainingEntitiesRuleRollup")
|
|
129
391
|
def remaining_entities_rule_rollup(self) -> 'outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup':
|
|
130
392
|
"""
|
|
131
|
-
The input object used to represent a rollup strategy.
|
|
393
|
+
The input object used to represent a rollup strategy.
|
|
132
394
|
"""
|
|
133
395
|
return pulumi.get(self, "remaining_entities_rule_rollup")
|
|
134
396
|
|
|
@@ -157,15 +419,15 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRol
|
|
|
157
419
|
return super().get(key, default)
|
|
158
420
|
|
|
159
421
|
def __init__(__self__, *,
|
|
160
|
-
group_by: str,
|
|
161
|
-
strategy: str,
|
|
162
|
-
threshold_type: Optional[str] = None,
|
|
163
|
-
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):
|
|
164
426
|
"""
|
|
165
|
-
:param str group_by: The grouping to be applied to the remaining entities.
|
|
166
|
-
:param str strategy: The rollup strategy that is applied to a group of entities.
|
|
167
|
-
: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.
|
|
168
|
-
: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.
|
|
169
431
|
"""
|
|
170
432
|
pulumi.set(__self__, "group_by", group_by)
|
|
171
433
|
pulumi.set(__self__, "strategy", strategy)
|
|
@@ -174,33 +436,33 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRol
|
|
|
174
436
|
if threshold_value is not None:
|
|
175
437
|
pulumi.set(__self__, "threshold_value", threshold_value)
|
|
176
438
|
|
|
177
|
-
@property
|
|
439
|
+
@_builtins.property
|
|
178
440
|
@pulumi.getter(name="groupBy")
|
|
179
|
-
def group_by(self) -> str:
|
|
441
|
+
def group_by(self) -> _builtins.str:
|
|
180
442
|
"""
|
|
181
443
|
The grouping to be applied to the remaining entities.
|
|
182
444
|
"""
|
|
183
445
|
return pulumi.get(self, "group_by")
|
|
184
446
|
|
|
185
|
-
@property
|
|
447
|
+
@_builtins.property
|
|
186
448
|
@pulumi.getter
|
|
187
|
-
def strategy(self) -> str:
|
|
449
|
+
def strategy(self) -> _builtins.str:
|
|
188
450
|
"""
|
|
189
451
|
The rollup strategy that is applied to a group of entities.
|
|
190
452
|
"""
|
|
191
453
|
return pulumi.get(self, "strategy")
|
|
192
454
|
|
|
193
|
-
@property
|
|
455
|
+
@_builtins.property
|
|
194
456
|
@pulumi.getter(name="thresholdType")
|
|
195
|
-
def threshold_type(self) -> Optional[str]:
|
|
457
|
+
def threshold_type(self) -> Optional[_builtins.str]:
|
|
196
458
|
"""
|
|
197
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.
|
|
198
460
|
"""
|
|
199
461
|
return pulumi.get(self, "threshold_type")
|
|
200
462
|
|
|
201
|
-
@property
|
|
463
|
+
@_builtins.property
|
|
202
464
|
@pulumi.getter(name="thresholdValue")
|
|
203
|
-
def threshold_value(self) -> Optional[int]:
|
|
465
|
+
def threshold_value(self) -> Optional[_builtins.int]:
|
|
204
466
|
"""
|
|
205
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.
|
|
206
468
|
"""
|
|
@@ -230,11 +492,11 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
|
230
492
|
|
|
231
493
|
def __init__(__self__, *,
|
|
232
494
|
rollup: 'outputs.WorkloadStatusConfigAutomaticRuleRollup',
|
|
233
|
-
entity_guids: Optional[Sequence[str]] = None,
|
|
495
|
+
entity_guids: Optional[Sequence[_builtins.str]] = None,
|
|
234
496
|
nrql_queries: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRuleNrqlQuery']] = None):
|
|
235
497
|
"""
|
|
236
498
|
:param 'WorkloadStatusConfigAutomaticRuleRollupArgs' rollup: The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
|
|
237
|
-
: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.
|
|
238
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.
|
|
239
501
|
"""
|
|
240
502
|
pulumi.set(__self__, "rollup", rollup)
|
|
@@ -243,7 +505,7 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
|
243
505
|
if nrql_queries is not None:
|
|
244
506
|
pulumi.set(__self__, "nrql_queries", nrql_queries)
|
|
245
507
|
|
|
246
|
-
@property
|
|
508
|
+
@_builtins.property
|
|
247
509
|
@pulumi.getter
|
|
248
510
|
def rollup(self) -> 'outputs.WorkloadStatusConfigAutomaticRuleRollup':
|
|
249
511
|
"""
|
|
@@ -251,15 +513,15 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
|
251
513
|
"""
|
|
252
514
|
return pulumi.get(self, "rollup")
|
|
253
515
|
|
|
254
|
-
@property
|
|
516
|
+
@_builtins.property
|
|
255
517
|
@pulumi.getter(name="entityGuids")
|
|
256
|
-
def entity_guids(self) -> Optional[Sequence[str]]:
|
|
518
|
+
def entity_guids(self) -> Optional[Sequence[_builtins.str]]:
|
|
257
519
|
"""
|
|
258
520
|
A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined.
|
|
259
521
|
"""
|
|
260
522
|
return pulumi.get(self, "entity_guids")
|
|
261
523
|
|
|
262
|
-
@property
|
|
524
|
+
@_builtins.property
|
|
263
525
|
@pulumi.getter(name="nrqlQueries")
|
|
264
526
|
def nrql_queries(self) -> Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRuleNrqlQuery']]:
|
|
265
527
|
"""
|
|
@@ -271,15 +533,15 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
|
271
533
|
@pulumi.output_type
|
|
272
534
|
class WorkloadStatusConfigAutomaticRuleNrqlQuery(dict):
|
|
273
535
|
def __init__(__self__, *,
|
|
274
|
-
query: str):
|
|
536
|
+
query: _builtins.str):
|
|
275
537
|
"""
|
|
276
|
-
: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.
|
|
277
539
|
"""
|
|
278
540
|
pulumi.set(__self__, "query", query)
|
|
279
541
|
|
|
280
|
-
@property
|
|
542
|
+
@_builtins.property
|
|
281
543
|
@pulumi.getter
|
|
282
|
-
def query(self) -> str:
|
|
544
|
+
def query(self) -> _builtins.str:
|
|
283
545
|
"""
|
|
284
546
|
The entity search query that is used to perform the search of a group of entities.
|
|
285
547
|
"""
|
|
@@ -308,13 +570,13 @@ class WorkloadStatusConfigAutomaticRuleRollup(dict):
|
|
|
308
570
|
return super().get(key, default)
|
|
309
571
|
|
|
310
572
|
def __init__(__self__, *,
|
|
311
|
-
strategy: str,
|
|
312
|
-
threshold_type: Optional[str] = None,
|
|
313
|
-
threshold_value: Optional[int] = None):
|
|
573
|
+
strategy: _builtins.str,
|
|
574
|
+
threshold_type: Optional[_builtins.str] = None,
|
|
575
|
+
threshold_value: Optional[_builtins.int] = None):
|
|
314
576
|
"""
|
|
315
|
-
:param str strategy: The rollup strategy that is applied to a group of entities.
|
|
316
|
-
: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.
|
|
317
|
-
: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.
|
|
318
580
|
"""
|
|
319
581
|
pulumi.set(__self__, "strategy", strategy)
|
|
320
582
|
if threshold_type is not None:
|
|
@@ -322,25 +584,25 @@ class WorkloadStatusConfigAutomaticRuleRollup(dict):
|
|
|
322
584
|
if threshold_value is not None:
|
|
323
585
|
pulumi.set(__self__, "threshold_value", threshold_value)
|
|
324
586
|
|
|
325
|
-
@property
|
|
587
|
+
@_builtins.property
|
|
326
588
|
@pulumi.getter
|
|
327
|
-
def strategy(self) -> str:
|
|
589
|
+
def strategy(self) -> _builtins.str:
|
|
328
590
|
"""
|
|
329
591
|
The rollup strategy that is applied to a group of entities.
|
|
330
592
|
"""
|
|
331
593
|
return pulumi.get(self, "strategy")
|
|
332
594
|
|
|
333
|
-
@property
|
|
595
|
+
@_builtins.property
|
|
334
596
|
@pulumi.getter(name="thresholdType")
|
|
335
|
-
def threshold_type(self) -> Optional[str]:
|
|
597
|
+
def threshold_type(self) -> Optional[_builtins.str]:
|
|
336
598
|
"""
|
|
337
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.
|
|
338
600
|
"""
|
|
339
601
|
return pulumi.get(self, "threshold_type")
|
|
340
602
|
|
|
341
|
-
@property
|
|
603
|
+
@_builtins.property
|
|
342
604
|
@pulumi.getter(name="thresholdValue")
|
|
343
|
-
def threshold_value(self) -> Optional[int]:
|
|
605
|
+
def threshold_value(self) -> Optional[_builtins.int]:
|
|
344
606
|
"""
|
|
345
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.
|
|
346
608
|
"""
|
|
@@ -350,15 +612,15 @@ class WorkloadStatusConfigAutomaticRuleRollup(dict):
|
|
|
350
612
|
@pulumi.output_type
|
|
351
613
|
class WorkloadStatusConfigStatic(dict):
|
|
352
614
|
def __init__(__self__, *,
|
|
353
|
-
enabled: bool,
|
|
354
|
-
status: str,
|
|
355
|
-
description: Optional[str] = None,
|
|
356
|
-
summary: Optional[str] = None):
|
|
615
|
+
enabled: _builtins.bool,
|
|
616
|
+
status: _builtins.str,
|
|
617
|
+
description: Optional[_builtins.str] = None,
|
|
618
|
+
summary: Optional[_builtins.str] = None):
|
|
357
619
|
"""
|
|
358
|
-
:param bool enabled: Whether the static status configuration is enabled or not.
|
|
359
|
-
:param str status: The status of the workload.
|
|
360
|
-
:param str description: Relevant information about the workload.
|
|
361
|
-
: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.
|
|
362
624
|
"""
|
|
363
625
|
pulumi.set(__self__, "enabled", enabled)
|
|
364
626
|
pulumi.set(__self__, "status", status)
|
|
@@ -367,33 +629,33 @@ class WorkloadStatusConfigStatic(dict):
|
|
|
367
629
|
if summary is not None:
|
|
368
630
|
pulumi.set(__self__, "summary", summary)
|
|
369
631
|
|
|
370
|
-
@property
|
|
632
|
+
@_builtins.property
|
|
371
633
|
@pulumi.getter
|
|
372
|
-
def enabled(self) -> bool:
|
|
634
|
+
def enabled(self) -> _builtins.bool:
|
|
373
635
|
"""
|
|
374
636
|
Whether the static status configuration is enabled or not.
|
|
375
637
|
"""
|
|
376
638
|
return pulumi.get(self, "enabled")
|
|
377
639
|
|
|
378
|
-
@property
|
|
640
|
+
@_builtins.property
|
|
379
641
|
@pulumi.getter
|
|
380
|
-
def status(self) -> str:
|
|
642
|
+
def status(self) -> _builtins.str:
|
|
381
643
|
"""
|
|
382
644
|
The status of the workload.
|
|
383
645
|
"""
|
|
384
646
|
return pulumi.get(self, "status")
|
|
385
647
|
|
|
386
|
-
@property
|
|
648
|
+
@_builtins.property
|
|
387
649
|
@pulumi.getter
|
|
388
|
-
def description(self) -> Optional[str]:
|
|
650
|
+
def description(self) -> Optional[_builtins.str]:
|
|
389
651
|
"""
|
|
390
652
|
Relevant information about the workload.
|
|
391
653
|
"""
|
|
392
654
|
return pulumi.get(self, "description")
|
|
393
655
|
|
|
394
|
-
@property
|
|
656
|
+
@_builtins.property
|
|
395
657
|
@pulumi.getter
|
|
396
|
-
def summary(self) -> Optional[str]:
|
|
658
|
+
def summary(self) -> Optional[_builtins.str]:
|
|
397
659
|
"""
|
|
398
660
|
A short description of the status of the workload.
|
|
399
661
|
"""
|