pulumi-newrelic 5.25.0a1716440799__py3-none-any.whl → 5.25.0a1716510846__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/_inputs.py +168 -42
- pulumi_newrelic/account_management.py +14 -14
- pulumi_newrelic/alert_channel.py +28 -28
- pulumi_newrelic/alert_condition.py +125 -84
- pulumi_newrelic/alert_muting_rule.py +21 -21
- pulumi_newrelic/alert_policy.py +27 -21
- pulumi_newrelic/entity_tags.py +7 -7
- pulumi_newrelic/get_alert_policy.py +9 -0
- pulumi_newrelic/get_service_level_alert_helper.py +18 -0
- pulumi_newrelic/infra_alert_condition.py +105 -126
- pulumi_newrelic/insights/event.py +13 -0
- pulumi_newrelic/nrql_drop_rule.py +28 -28
- pulumi_newrelic/one_dashboard.py +48 -42
- pulumi_newrelic/outputs.py +168 -42
- pulumi_newrelic/plugins/_inputs.py +8 -8
- pulumi_newrelic/plugins/outputs.py +8 -8
- pulumi_newrelic/plugins/workload.py +28 -28
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +79 -0
- pulumi_newrelic/synthetics/alert_condition.py +42 -14
- pulumi_newrelic/synthetics/get_secure_credential.py +8 -0
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +63 -49
- pulumi_newrelic/synthetics/secure_credential.py +14 -21
- {pulumi_newrelic-5.25.0a1716440799.dist-info → pulumi_newrelic-5.25.0a1716510846.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.25.0a1716440799.dist-info → pulumi_newrelic-5.25.0a1716510846.dist-info}/RECORD +27 -27
- {pulumi_newrelic-5.25.0a1716440799.dist-info → pulumi_newrelic-5.25.0a1716510846.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.25.0a1716440799.dist-info → pulumi_newrelic-5.25.0a1716510846.dist-info}/top_level.txt +0 -0
@@ -194,9 +194,9 @@ class WorkloadStatusConfigAutomaticRuleArgs:
|
|
194
194
|
entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
195
195
|
nrql_queries: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs']]]] = None):
|
196
196
|
"""
|
197
|
-
:param pulumi.Input['WorkloadStatusConfigAutomaticRuleRollupArgs'] rollup: The input object used to represent a rollup strategy.
|
198
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs composing the rule.
|
199
|
-
:param pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs']]] nrql_queries: A list of entity search queries used to retrieve the entities that compose the rule.
|
197
|
+
:param pulumi.Input['WorkloadStatusConfigAutomaticRuleRollupArgs'] rollup: The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
|
198
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined.
|
199
|
+
:param pulumi.Input[Sequence[pulumi.Input['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.
|
200
200
|
"""
|
201
201
|
pulumi.set(__self__, "rollup", rollup)
|
202
202
|
if entity_guids is not None:
|
@@ -208,7 +208,7 @@ class WorkloadStatusConfigAutomaticRuleArgs:
|
|
208
208
|
@pulumi.getter
|
209
209
|
def rollup(self) -> pulumi.Input['WorkloadStatusConfigAutomaticRuleRollupArgs']:
|
210
210
|
"""
|
211
|
-
The input object used to represent a rollup strategy.
|
211
|
+
The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
|
212
212
|
"""
|
213
213
|
return pulumi.get(self, "rollup")
|
214
214
|
|
@@ -220,7 +220,7 @@ class WorkloadStatusConfigAutomaticRuleArgs:
|
|
220
220
|
@pulumi.getter(name="entityGuids")
|
221
221
|
def entity_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
222
222
|
"""
|
223
|
-
A list of entity GUIDs composing the rule.
|
223
|
+
A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined.
|
224
224
|
"""
|
225
225
|
return pulumi.get(self, "entity_guids")
|
226
226
|
|
@@ -232,7 +232,7 @@ class WorkloadStatusConfigAutomaticRuleArgs:
|
|
232
232
|
@pulumi.getter(name="nrqlQueries")
|
233
233
|
def nrql_queries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs']]]]:
|
234
234
|
"""
|
235
|
-
A list of entity search queries used to retrieve the entities that compose the rule.
|
235
|
+
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.
|
236
236
|
"""
|
237
237
|
return pulumi.get(self, "nrql_queries")
|
238
238
|
|
@@ -327,7 +327,7 @@ class WorkloadStatusConfigStaticArgs:
|
|
327
327
|
"""
|
328
328
|
:param pulumi.Input[bool] enabled: Whether the static status configuration is enabled or not.
|
329
329
|
:param pulumi.Input[str] status: The status of the workload.
|
330
|
-
:param pulumi.Input[str] description:
|
330
|
+
:param pulumi.Input[str] description: Relevant information about the workload.
|
331
331
|
:param pulumi.Input[str] summary: A short description of the status of the workload.
|
332
332
|
"""
|
333
333
|
pulumi.set(__self__, "enabled", enabled)
|
@@ -365,7 +365,7 @@ class WorkloadStatusConfigStaticArgs:
|
|
365
365
|
@pulumi.getter
|
366
366
|
def description(self) -> Optional[pulumi.Input[str]]:
|
367
367
|
"""
|
368
|
-
|
368
|
+
Relevant information about the workload.
|
369
369
|
"""
|
370
370
|
return pulumi.get(self, "description")
|
371
371
|
|
@@ -233,9 +233,9 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
233
233
|
entity_guids: Optional[Sequence[str]] = None,
|
234
234
|
nrql_queries: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRuleNrqlQuery']] = None):
|
235
235
|
"""
|
236
|
-
:param 'WorkloadStatusConfigAutomaticRuleRollupArgs' rollup: The input object used to represent a rollup strategy.
|
237
|
-
:param Sequence[str] entity_guids: A list of entity GUIDs composing the rule.
|
238
|
-
:param Sequence['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs'] nrql_queries: A list of entity search queries used to retrieve the entities that compose the rule.
|
236
|
+
: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.
|
238
|
+
: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
239
|
"""
|
240
240
|
pulumi.set(__self__, "rollup", rollup)
|
241
241
|
if entity_guids is not None:
|
@@ -247,7 +247,7 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
247
247
|
@pulumi.getter
|
248
248
|
def rollup(self) -> 'outputs.WorkloadStatusConfigAutomaticRuleRollup':
|
249
249
|
"""
|
250
|
-
The input object used to represent a rollup strategy.
|
250
|
+
The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
|
251
251
|
"""
|
252
252
|
return pulumi.get(self, "rollup")
|
253
253
|
|
@@ -255,7 +255,7 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
255
255
|
@pulumi.getter(name="entityGuids")
|
256
256
|
def entity_guids(self) -> Optional[Sequence[str]]:
|
257
257
|
"""
|
258
|
-
A list of entity GUIDs composing the rule.
|
258
|
+
A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined.
|
259
259
|
"""
|
260
260
|
return pulumi.get(self, "entity_guids")
|
261
261
|
|
@@ -263,7 +263,7 @@ class WorkloadStatusConfigAutomaticRule(dict):
|
|
263
263
|
@pulumi.getter(name="nrqlQueries")
|
264
264
|
def nrql_queries(self) -> Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRuleNrqlQuery']]:
|
265
265
|
"""
|
266
|
-
A list of entity search queries used to retrieve the entities that compose the rule.
|
266
|
+
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.
|
267
267
|
"""
|
268
268
|
return pulumi.get(self, "nrql_queries")
|
269
269
|
|
@@ -357,7 +357,7 @@ class WorkloadStatusConfigStatic(dict):
|
|
357
357
|
"""
|
358
358
|
:param bool enabled: Whether the static status configuration is enabled or not.
|
359
359
|
:param str status: The status of the workload.
|
360
|
-
:param str description:
|
360
|
+
:param str description: Relevant information about the workload.
|
361
361
|
:param str summary: A short description of the status of the workload.
|
362
362
|
"""
|
363
363
|
pulumi.set(__self__, "enabled", enabled)
|
@@ -387,7 +387,7 @@ class WorkloadStatusConfigStatic(dict):
|
|
387
387
|
@pulumi.getter
|
388
388
|
def description(self) -> Optional[str]:
|
389
389
|
"""
|
390
|
-
|
390
|
+
Relevant information about the workload.
|
391
391
|
"""
|
392
392
|
return pulumi.get(self, "description")
|
393
393
|
|
@@ -28,12 +28,12 @@ class WorkloadArgs:
|
|
28
28
|
The set of arguments for constructing a Workload resource.
|
29
29
|
:param pulumi.Input[str] account_id: The New Relic account ID where you want to create the workload.
|
30
30
|
:param pulumi.Input[str] description: Relevant information about the workload.
|
31
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs manually assigned to this workload.
|
32
|
-
:param pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]] entity_search_queries: A list of search queries that define a dynamic workload.
|
31
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs manually assigned to this workload. At least one of either `entity_guids` or `entity_search_query` is required.
|
32
|
+
:param pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]] entity_search_queries: A list of search queries that define a dynamic workload. At least one of either `entity_guids` or `entity_search_query` is required. See Nested entity_search_query blocks below for details.
|
33
33
|
:param pulumi.Input[str] name: The workload's name.
|
34
34
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
35
|
-
:param pulumi.Input['WorkloadStatusConfigAutomaticArgs'] status_config_automatic: An input object used to represent an automatic status configuration.
|
36
|
-
:param pulumi.Input['WorkloadStatusConfigStaticArgs'] status_config_static: A list of static status configurations. You can only configure one static status for a workload.
|
35
|
+
:param pulumi.Input['WorkloadStatusConfigAutomaticArgs'] status_config_automatic: An input object used to represent an automatic status configuration.See Nested status_config_automatic blocks below for details.
|
36
|
+
:param pulumi.Input['WorkloadStatusConfigStaticArgs'] status_config_static: A list of static status configurations. You can only configure one static status for a workload.See Nested status_config_static blocks below for details.
|
37
37
|
"""
|
38
38
|
if account_id is not None:
|
39
39
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -80,7 +80,7 @@ class WorkloadArgs:
|
|
80
80
|
@pulumi.getter(name="entityGuids")
|
81
81
|
def entity_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
82
82
|
"""
|
83
|
-
A list of entity GUIDs manually assigned to this workload.
|
83
|
+
A list of entity GUIDs manually assigned to this workload. At least one of either `entity_guids` or `entity_search_query` is required.
|
84
84
|
"""
|
85
85
|
return pulumi.get(self, "entity_guids")
|
86
86
|
|
@@ -92,7 +92,7 @@ class WorkloadArgs:
|
|
92
92
|
@pulumi.getter(name="entitySearchQueries")
|
93
93
|
def entity_search_queries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]]]:
|
94
94
|
"""
|
95
|
-
A list of search queries that define a dynamic workload.
|
95
|
+
A list of search queries that define a dynamic workload. At least one of either `entity_guids` or `entity_search_query` is required. See Nested entity_search_query blocks below for details.
|
96
96
|
"""
|
97
97
|
return pulumi.get(self, "entity_search_queries")
|
98
98
|
|
@@ -128,7 +128,7 @@ class WorkloadArgs:
|
|
128
128
|
@pulumi.getter(name="statusConfigAutomatic")
|
129
129
|
def status_config_automatic(self) -> Optional[pulumi.Input['WorkloadStatusConfigAutomaticArgs']]:
|
130
130
|
"""
|
131
|
-
An input object used to represent an automatic status configuration.
|
131
|
+
An input object used to represent an automatic status configuration.See Nested status_config_automatic blocks below for details.
|
132
132
|
"""
|
133
133
|
return pulumi.get(self, "status_config_automatic")
|
134
134
|
|
@@ -140,7 +140,7 @@ class WorkloadArgs:
|
|
140
140
|
@pulumi.getter(name="statusConfigStatic")
|
141
141
|
def status_config_static(self) -> Optional[pulumi.Input['WorkloadStatusConfigStaticArgs']]:
|
142
142
|
"""
|
143
|
-
A list of static status configurations. You can only configure one static status for a workload.
|
143
|
+
A list of static status configurations. You can only configure one static status for a workload.See Nested status_config_static blocks below for details.
|
144
144
|
"""
|
145
145
|
return pulumi.get(self, "status_config_static")
|
146
146
|
|
@@ -169,14 +169,14 @@ class _WorkloadState:
|
|
169
169
|
:param pulumi.Input[str] account_id: The New Relic account ID where you want to create the workload.
|
170
170
|
:param pulumi.Input[str] composite_entity_search_query: The composite query used to compose a dynamic workload.
|
171
171
|
:param pulumi.Input[str] description: Relevant information about the workload.
|
172
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs manually assigned to this workload.
|
173
|
-
:param pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]] entity_search_queries: A list of search queries that define a dynamic workload.
|
172
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs manually assigned to this workload. At least one of either `entity_guids` or `entity_search_query` is required.
|
173
|
+
:param pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]] entity_search_queries: A list of search queries that define a dynamic workload. At least one of either `entity_guids` or `entity_search_query` is required. See Nested entity_search_query blocks below for details.
|
174
174
|
:param pulumi.Input[str] guid: The unique entity identifier of the workload in New Relic.
|
175
175
|
:param pulumi.Input[str] name: The workload's name.
|
176
176
|
:param pulumi.Input[str] permalink: The URL of the workload.
|
177
177
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
178
|
-
:param pulumi.Input['WorkloadStatusConfigAutomaticArgs'] status_config_automatic: An input object used to represent an automatic status configuration.
|
179
|
-
:param pulumi.Input['WorkloadStatusConfigStaticArgs'] status_config_static: A list of static status configurations. You can only configure one static status for a workload.
|
178
|
+
:param pulumi.Input['WorkloadStatusConfigAutomaticArgs'] status_config_automatic: An input object used to represent an automatic status configuration.See Nested status_config_automatic blocks below for details.
|
179
|
+
:param pulumi.Input['WorkloadStatusConfigStaticArgs'] status_config_static: A list of static status configurations. You can only configure one static status for a workload.See Nested status_config_static blocks below for details.
|
180
180
|
:param pulumi.Input[str] workload_id: The unique entity identifier of the workload.
|
181
181
|
"""
|
182
182
|
if account_id is not None:
|
@@ -244,7 +244,7 @@ class _WorkloadState:
|
|
244
244
|
@pulumi.getter(name="entityGuids")
|
245
245
|
def entity_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
246
246
|
"""
|
247
|
-
A list of entity GUIDs manually assigned to this workload.
|
247
|
+
A list of entity GUIDs manually assigned to this workload. At least one of either `entity_guids` or `entity_search_query` is required.
|
248
248
|
"""
|
249
249
|
return pulumi.get(self, "entity_guids")
|
250
250
|
|
@@ -256,7 +256,7 @@ class _WorkloadState:
|
|
256
256
|
@pulumi.getter(name="entitySearchQueries")
|
257
257
|
def entity_search_queries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]]]:
|
258
258
|
"""
|
259
|
-
A list of search queries that define a dynamic workload.
|
259
|
+
A list of search queries that define a dynamic workload. At least one of either `entity_guids` or `entity_search_query` is required. See Nested entity_search_query blocks below for details.
|
260
260
|
"""
|
261
261
|
return pulumi.get(self, "entity_search_queries")
|
262
262
|
|
@@ -316,7 +316,7 @@ class _WorkloadState:
|
|
316
316
|
@pulumi.getter(name="statusConfigAutomatic")
|
317
317
|
def status_config_automatic(self) -> Optional[pulumi.Input['WorkloadStatusConfigAutomaticArgs']]:
|
318
318
|
"""
|
319
|
-
An input object used to represent an automatic status configuration.
|
319
|
+
An input object used to represent an automatic status configuration.See Nested status_config_automatic blocks below for details.
|
320
320
|
"""
|
321
321
|
return pulumi.get(self, "status_config_automatic")
|
322
322
|
|
@@ -328,7 +328,7 @@ class _WorkloadState:
|
|
328
328
|
@pulumi.getter(name="statusConfigStatic")
|
329
329
|
def status_config_static(self) -> Optional[pulumi.Input['WorkloadStatusConfigStaticArgs']]:
|
330
330
|
"""
|
331
|
-
A list of static status configurations. You can only configure one static status for a workload.
|
331
|
+
A list of static status configurations. You can only configure one static status for a workload.See Nested status_config_static blocks below for details.
|
332
332
|
"""
|
333
333
|
return pulumi.get(self, "status_config_static")
|
334
334
|
|
@@ -499,12 +499,12 @@ class Workload(pulumi.CustomResource):
|
|
499
499
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
500
500
|
:param pulumi.Input[str] account_id: The New Relic account ID where you want to create the workload.
|
501
501
|
:param pulumi.Input[str] description: Relevant information about the workload.
|
502
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs manually assigned to this workload.
|
503
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WorkloadEntitySearchQueryArgs']]]] entity_search_queries: A list of search queries that define a dynamic workload.
|
502
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs manually assigned to this workload. At least one of either `entity_guids` or `entity_search_query` is required.
|
503
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WorkloadEntitySearchQueryArgs']]]] entity_search_queries: A list of search queries that define a dynamic workload. At least one of either `entity_guids` or `entity_search_query` is required. See Nested entity_search_query blocks below for details.
|
504
504
|
:param pulumi.Input[str] name: The workload's name.
|
505
505
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
506
|
-
:param pulumi.Input[pulumi.InputType['WorkloadStatusConfigAutomaticArgs']] status_config_automatic: An input object used to represent an automatic status configuration.
|
507
|
-
:param pulumi.Input[pulumi.InputType['WorkloadStatusConfigStaticArgs']] status_config_static: A list of static status configurations. You can only configure one static status for a workload.
|
506
|
+
:param pulumi.Input[pulumi.InputType['WorkloadStatusConfigAutomaticArgs']] status_config_automatic: An input object used to represent an automatic status configuration.See Nested status_config_automatic blocks below for details.
|
507
|
+
:param pulumi.Input[pulumi.InputType['WorkloadStatusConfigStaticArgs']] status_config_static: A list of static status configurations. You can only configure one static status for a workload.See Nested status_config_static blocks below for details.
|
508
508
|
"""
|
509
509
|
...
|
510
510
|
@overload
|
@@ -720,14 +720,14 @@ class Workload(pulumi.CustomResource):
|
|
720
720
|
:param pulumi.Input[str] account_id: The New Relic account ID where you want to create the workload.
|
721
721
|
:param pulumi.Input[str] composite_entity_search_query: The composite query used to compose a dynamic workload.
|
722
722
|
:param pulumi.Input[str] description: Relevant information about the workload.
|
723
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs manually assigned to this workload.
|
724
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WorkloadEntitySearchQueryArgs']]]] entity_search_queries: A list of search queries that define a dynamic workload.
|
723
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs manually assigned to this workload. At least one of either `entity_guids` or `entity_search_query` is required.
|
724
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WorkloadEntitySearchQueryArgs']]]] entity_search_queries: A list of search queries that define a dynamic workload. At least one of either `entity_guids` or `entity_search_query` is required. See Nested entity_search_query blocks below for details.
|
725
725
|
:param pulumi.Input[str] guid: The unique entity identifier of the workload in New Relic.
|
726
726
|
:param pulumi.Input[str] name: The workload's name.
|
727
727
|
:param pulumi.Input[str] permalink: The URL of the workload.
|
728
728
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
729
|
-
:param pulumi.Input[pulumi.InputType['WorkloadStatusConfigAutomaticArgs']] status_config_automatic: An input object used to represent an automatic status configuration.
|
730
|
-
:param pulumi.Input[pulumi.InputType['WorkloadStatusConfigStaticArgs']] status_config_static: A list of static status configurations. You can only configure one static status for a workload.
|
729
|
+
:param pulumi.Input[pulumi.InputType['WorkloadStatusConfigAutomaticArgs']] status_config_automatic: An input object used to represent an automatic status configuration.See Nested status_config_automatic blocks below for details.
|
730
|
+
:param pulumi.Input[pulumi.InputType['WorkloadStatusConfigStaticArgs']] status_config_static: A list of static status configurations. You can only configure one static status for a workload.See Nested status_config_static blocks below for details.
|
731
731
|
:param pulumi.Input[str] workload_id: The unique entity identifier of the workload.
|
732
732
|
"""
|
733
733
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -776,7 +776,7 @@ class Workload(pulumi.CustomResource):
|
|
776
776
|
@pulumi.getter(name="entityGuids")
|
777
777
|
def entity_guids(self) -> pulumi.Output[Sequence[str]]:
|
778
778
|
"""
|
779
|
-
A list of entity GUIDs manually assigned to this workload.
|
779
|
+
A list of entity GUIDs manually assigned to this workload. At least one of either `entity_guids` or `entity_search_query` is required.
|
780
780
|
"""
|
781
781
|
return pulumi.get(self, "entity_guids")
|
782
782
|
|
@@ -784,7 +784,7 @@ class Workload(pulumi.CustomResource):
|
|
784
784
|
@pulumi.getter(name="entitySearchQueries")
|
785
785
|
def entity_search_queries(self) -> pulumi.Output[Optional[Sequence['outputs.WorkloadEntitySearchQuery']]]:
|
786
786
|
"""
|
787
|
-
A list of search queries that define a dynamic workload.
|
787
|
+
A list of search queries that define a dynamic workload. At least one of either `entity_guids` or `entity_search_query` is required. See Nested entity_search_query blocks below for details.
|
788
788
|
"""
|
789
789
|
return pulumi.get(self, "entity_search_queries")
|
790
790
|
|
@@ -824,7 +824,7 @@ class Workload(pulumi.CustomResource):
|
|
824
824
|
@pulumi.getter(name="statusConfigAutomatic")
|
825
825
|
def status_config_automatic(self) -> pulumi.Output[Optional['outputs.WorkloadStatusConfigAutomatic']]:
|
826
826
|
"""
|
827
|
-
An input object used to represent an automatic status configuration.
|
827
|
+
An input object used to represent an automatic status configuration.See Nested status_config_automatic blocks below for details.
|
828
828
|
"""
|
829
829
|
return pulumi.get(self, "status_config_automatic")
|
830
830
|
|
@@ -832,7 +832,7 @@ class Workload(pulumi.CustomResource):
|
|
832
832
|
@pulumi.getter(name="statusConfigStatic")
|
833
833
|
def status_config_static(self) -> pulumi.Output[Optional['outputs.WorkloadStatusConfigStatic']]:
|
834
834
|
"""
|
835
|
-
A list of static status configurations. You can only configure one static status for a workload.
|
835
|
+
A list of static status configurations. You can only configure one static status for a workload.See Nested status_config_static blocks below for details.
|
836
836
|
"""
|
837
837
|
return pulumi.get(self, "status_config_static")
|
838
838
|
|
pulumi_newrelic/service_level.py
CHANGED
@@ -23,6 +23,13 @@ class ServiceLevelArgs:
|
|
23
23
|
name: Optional[pulumi.Input[str]] = None):
|
24
24
|
"""
|
25
25
|
The set of arguments for constructing a ServiceLevel resource.
|
26
|
+
:param pulumi.Input['ServiceLevelEventsArgs'] events: The events that define the NRDB data for the SLI/SLO calculations.
|
27
|
+
See Events below for details.
|
28
|
+
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
29
|
+
:param pulumi.Input['ServiceLevelObjectiveArgs'] objective: The objective of the SLI, only one can be defined.
|
30
|
+
See Objective below for details.
|
31
|
+
:param pulumi.Input[str] description: The description of the SLI.
|
32
|
+
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
26
33
|
"""
|
27
34
|
pulumi.set(__self__, "events", events)
|
28
35
|
pulumi.set(__self__, "guid", guid)
|
@@ -35,6 +42,10 @@ class ServiceLevelArgs:
|
|
35
42
|
@property
|
36
43
|
@pulumi.getter
|
37
44
|
def events(self) -> pulumi.Input['ServiceLevelEventsArgs']:
|
45
|
+
"""
|
46
|
+
The events that define the NRDB data for the SLI/SLO calculations.
|
47
|
+
See Events below for details.
|
48
|
+
"""
|
38
49
|
return pulumi.get(self, "events")
|
39
50
|
|
40
51
|
@events.setter
|
@@ -44,6 +55,9 @@ class ServiceLevelArgs:
|
|
44
55
|
@property
|
45
56
|
@pulumi.getter
|
46
57
|
def guid(self) -> pulumi.Input[str]:
|
58
|
+
"""
|
59
|
+
The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
60
|
+
"""
|
47
61
|
return pulumi.get(self, "guid")
|
48
62
|
|
49
63
|
@guid.setter
|
@@ -53,6 +67,10 @@ class ServiceLevelArgs:
|
|
53
67
|
@property
|
54
68
|
@pulumi.getter
|
55
69
|
def objective(self) -> pulumi.Input['ServiceLevelObjectiveArgs']:
|
70
|
+
"""
|
71
|
+
The objective of the SLI, only one can be defined.
|
72
|
+
See Objective below for details.
|
73
|
+
"""
|
56
74
|
return pulumi.get(self, "objective")
|
57
75
|
|
58
76
|
@objective.setter
|
@@ -62,6 +80,9 @@ class ServiceLevelArgs:
|
|
62
80
|
@property
|
63
81
|
@pulumi.getter
|
64
82
|
def description(self) -> Optional[pulumi.Input[str]]:
|
83
|
+
"""
|
84
|
+
The description of the SLI.
|
85
|
+
"""
|
65
86
|
return pulumi.get(self, "description")
|
66
87
|
|
67
88
|
@description.setter
|
@@ -71,6 +92,9 @@ class ServiceLevelArgs:
|
|
71
92
|
@property
|
72
93
|
@pulumi.getter
|
73
94
|
def name(self) -> Optional[pulumi.Input[str]]:
|
95
|
+
"""
|
96
|
+
A short name for the SLI that will help anyone understand what it is about.
|
97
|
+
"""
|
74
98
|
return pulumi.get(self, "name")
|
75
99
|
|
76
100
|
@name.setter
|
@@ -90,6 +114,13 @@ class _ServiceLevelState:
|
|
90
114
|
sli_id: Optional[pulumi.Input[str]] = None):
|
91
115
|
"""
|
92
116
|
Input properties used for looking up and filtering ServiceLevel resources.
|
117
|
+
:param pulumi.Input[str] description: The description of the SLI.
|
118
|
+
:param pulumi.Input['ServiceLevelEventsArgs'] events: The events that define the NRDB data for the SLI/SLO calculations.
|
119
|
+
See Events below for details.
|
120
|
+
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
121
|
+
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
122
|
+
:param pulumi.Input['ServiceLevelObjectiveArgs'] objective: The objective of the SLI, only one can be defined.
|
123
|
+
See Objective below for details.
|
93
124
|
:param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
|
94
125
|
:param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator.
|
95
126
|
"""
|
@@ -111,6 +142,9 @@ class _ServiceLevelState:
|
|
111
142
|
@property
|
112
143
|
@pulumi.getter
|
113
144
|
def description(self) -> Optional[pulumi.Input[str]]:
|
145
|
+
"""
|
146
|
+
The description of the SLI.
|
147
|
+
"""
|
114
148
|
return pulumi.get(self, "description")
|
115
149
|
|
116
150
|
@description.setter
|
@@ -120,6 +154,10 @@ class _ServiceLevelState:
|
|
120
154
|
@property
|
121
155
|
@pulumi.getter
|
122
156
|
def events(self) -> Optional[pulumi.Input['ServiceLevelEventsArgs']]:
|
157
|
+
"""
|
158
|
+
The events that define the NRDB data for the SLI/SLO calculations.
|
159
|
+
See Events below for details.
|
160
|
+
"""
|
123
161
|
return pulumi.get(self, "events")
|
124
162
|
|
125
163
|
@events.setter
|
@@ -129,6 +167,9 @@ class _ServiceLevelState:
|
|
129
167
|
@property
|
130
168
|
@pulumi.getter
|
131
169
|
def guid(self) -> Optional[pulumi.Input[str]]:
|
170
|
+
"""
|
171
|
+
The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
172
|
+
"""
|
132
173
|
return pulumi.get(self, "guid")
|
133
174
|
|
134
175
|
@guid.setter
|
@@ -138,6 +179,9 @@ class _ServiceLevelState:
|
|
138
179
|
@property
|
139
180
|
@pulumi.getter
|
140
181
|
def name(self) -> Optional[pulumi.Input[str]]:
|
182
|
+
"""
|
183
|
+
A short name for the SLI that will help anyone understand what it is about.
|
184
|
+
"""
|
141
185
|
return pulumi.get(self, "name")
|
142
186
|
|
143
187
|
@name.setter
|
@@ -147,6 +191,10 @@ class _ServiceLevelState:
|
|
147
191
|
@property
|
148
192
|
@pulumi.getter
|
149
193
|
def objective(self) -> Optional[pulumi.Input['ServiceLevelObjectiveArgs']]:
|
194
|
+
"""
|
195
|
+
The objective of the SLI, only one can be defined.
|
196
|
+
See Objective below for details.
|
197
|
+
"""
|
150
198
|
return pulumi.get(self, "objective")
|
151
199
|
|
152
200
|
@objective.setter
|
@@ -340,6 +388,13 @@ class ServiceLevel(pulumi.CustomResource):
|
|
340
388
|
|
341
389
|
:param str resource_name: The name of the resource.
|
342
390
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
391
|
+
:param pulumi.Input[str] description: The description of the SLI.
|
392
|
+
:param pulumi.Input[pulumi.InputType['ServiceLevelEventsArgs']] events: The events that define the NRDB data for the SLI/SLO calculations.
|
393
|
+
See Events below for details.
|
394
|
+
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
395
|
+
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
396
|
+
:param pulumi.Input[pulumi.InputType['ServiceLevelObjectiveArgs']] objective: The objective of the SLI, only one can be defined.
|
397
|
+
See Objective below for details.
|
343
398
|
"""
|
344
399
|
...
|
345
400
|
@overload
|
@@ -562,6 +617,13 @@ class ServiceLevel(pulumi.CustomResource):
|
|
562
617
|
:param str resource_name: The unique name of the resulting resource.
|
563
618
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
564
619
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
620
|
+
:param pulumi.Input[str] description: The description of the SLI.
|
621
|
+
:param pulumi.Input[pulumi.InputType['ServiceLevelEventsArgs']] events: The events that define the NRDB data for the SLI/SLO calculations.
|
622
|
+
See Events below for details.
|
623
|
+
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
624
|
+
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
625
|
+
:param pulumi.Input[pulumi.InputType['ServiceLevelObjectiveArgs']] objective: The objective of the SLI, only one can be defined.
|
626
|
+
See Objective below for details.
|
565
627
|
:param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
|
566
628
|
:param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator.
|
567
629
|
"""
|
@@ -581,26 +643,43 @@ class ServiceLevel(pulumi.CustomResource):
|
|
581
643
|
@property
|
582
644
|
@pulumi.getter
|
583
645
|
def description(self) -> pulumi.Output[Optional[str]]:
|
646
|
+
"""
|
647
|
+
The description of the SLI.
|
648
|
+
"""
|
584
649
|
return pulumi.get(self, "description")
|
585
650
|
|
586
651
|
@property
|
587
652
|
@pulumi.getter
|
588
653
|
def events(self) -> pulumi.Output['outputs.ServiceLevelEvents']:
|
654
|
+
"""
|
655
|
+
The events that define the NRDB data for the SLI/SLO calculations.
|
656
|
+
See Events below for details.
|
657
|
+
"""
|
589
658
|
return pulumi.get(self, "events")
|
590
659
|
|
591
660
|
@property
|
592
661
|
@pulumi.getter
|
593
662
|
def guid(self) -> pulumi.Output[str]:
|
663
|
+
"""
|
664
|
+
The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
665
|
+
"""
|
594
666
|
return pulumi.get(self, "guid")
|
595
667
|
|
596
668
|
@property
|
597
669
|
@pulumi.getter
|
598
670
|
def name(self) -> pulumi.Output[str]:
|
671
|
+
"""
|
672
|
+
A short name for the SLI that will help anyone understand what it is about.
|
673
|
+
"""
|
599
674
|
return pulumi.get(self, "name")
|
600
675
|
|
601
676
|
@property
|
602
677
|
@pulumi.getter
|
603
678
|
def objective(self) -> pulumi.Output['outputs.ServiceLevelObjective']:
|
679
|
+
"""
|
680
|
+
The objective of the SLI, only one can be defined.
|
681
|
+
See Objective below for details.
|
682
|
+
"""
|
604
683
|
return pulumi.get(self, "objective")
|
605
684
|
|
606
685
|
@property
|
@@ -21,9 +21,13 @@ class AlertConditionArgs:
|
|
21
21
|
runbook_url: Optional[pulumi.Input[str]] = None):
|
22
22
|
"""
|
23
23
|
The set of arguments for constructing a AlertCondition resource.
|
24
|
-
:param pulumi.Input[str] monitor_id: The
|
24
|
+
:param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
25
25
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
26
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true
|
26
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
27
|
+
|
28
|
+
```
|
29
|
+
Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
30
|
+
```
|
27
31
|
:param pulumi.Input[str] name: The title of this condition.
|
28
32
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
29
33
|
"""
|
@@ -40,7 +44,7 @@ class AlertConditionArgs:
|
|
40
44
|
@pulumi.getter(name="monitorId")
|
41
45
|
def monitor_id(self) -> pulumi.Input[str]:
|
42
46
|
"""
|
43
|
-
The
|
47
|
+
The GUID of the Synthetics monitor to be referenced in the alert condition.
|
44
48
|
"""
|
45
49
|
return pulumi.get(self, "monitor_id")
|
46
50
|
|
@@ -64,7 +68,11 @@ class AlertConditionArgs:
|
|
64
68
|
@pulumi.getter
|
65
69
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
66
70
|
"""
|
67
|
-
Set whether to enable the alert condition. Defaults to true
|
71
|
+
Set whether to enable the alert condition. Defaults to `true`.
|
72
|
+
|
73
|
+
```
|
74
|
+
Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
75
|
+
```
|
68
76
|
"""
|
69
77
|
return pulumi.get(self, "enabled")
|
70
78
|
|
@@ -108,9 +116,13 @@ class _AlertConditionState:
|
|
108
116
|
runbook_url: Optional[pulumi.Input[str]] = None):
|
109
117
|
"""
|
110
118
|
Input properties used for looking up and filtering AlertCondition resources.
|
111
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true
|
119
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
120
|
+
|
121
|
+
```
|
122
|
+
Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
123
|
+
```
|
112
124
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
113
|
-
:param pulumi.Input[str] monitor_id: The
|
125
|
+
:param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
114
126
|
:param pulumi.Input[str] name: The title of this condition.
|
115
127
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
116
128
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
@@ -132,7 +144,11 @@ class _AlertConditionState:
|
|
132
144
|
@pulumi.getter
|
133
145
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
134
146
|
"""
|
135
|
-
Set whether to enable the alert condition. Defaults to true
|
147
|
+
Set whether to enable the alert condition. Defaults to `true`.
|
148
|
+
|
149
|
+
```
|
150
|
+
Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
151
|
+
```
|
136
152
|
"""
|
137
153
|
return pulumi.get(self, "enabled")
|
138
154
|
|
@@ -156,7 +172,7 @@ class _AlertConditionState:
|
|
156
172
|
@pulumi.getter(name="monitorId")
|
157
173
|
def monitor_id(self) -> Optional[pulumi.Input[str]]:
|
158
174
|
"""
|
159
|
-
The
|
175
|
+
The GUID of the Synthetics monitor to be referenced in the alert condition.
|
160
176
|
"""
|
161
177
|
return pulumi.get(self, "monitor_id")
|
162
178
|
|
@@ -290,8 +306,12 @@ class AlertCondition(pulumi.CustomResource):
|
|
290
306
|
|
291
307
|
:param str resource_name: The name of the resource.
|
292
308
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
293
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true
|
294
|
-
|
309
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
310
|
+
|
311
|
+
```
|
312
|
+
Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
313
|
+
```
|
314
|
+
:param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
295
315
|
:param pulumi.Input[str] name: The title of this condition.
|
296
316
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
297
317
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
@@ -440,9 +460,13 @@ class AlertCondition(pulumi.CustomResource):
|
|
440
460
|
:param str resource_name: The unique name of the resulting resource.
|
441
461
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
442
462
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
443
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true
|
463
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
|
464
|
+
|
465
|
+
```
|
466
|
+
Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
467
|
+
```
|
444
468
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
445
|
-
:param pulumi.Input[str] monitor_id: The
|
469
|
+
:param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
|
446
470
|
:param pulumi.Input[str] name: The title of this condition.
|
447
471
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
448
472
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
@@ -463,7 +487,11 @@ class AlertCondition(pulumi.CustomResource):
|
|
463
487
|
@pulumi.getter
|
464
488
|
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
465
489
|
"""
|
466
|
-
Set whether to enable the alert condition. Defaults to true
|
490
|
+
Set whether to enable the alert condition. Defaults to `true`.
|
491
|
+
|
492
|
+
```
|
493
|
+
Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
494
|
+
```
|
467
495
|
"""
|
468
496
|
return pulumi.get(self, "enabled")
|
469
497
|
|
@@ -479,7 +507,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
479
507
|
@pulumi.getter(name="monitorId")
|
480
508
|
def monitor_id(self) -> pulumi.Output[str]:
|
481
509
|
"""
|
482
|
-
The
|
510
|
+
The GUID of the Synthetics monitor to be referenced in the alert condition.
|
483
511
|
"""
|
484
512
|
return pulumi.get(self, "monitor_id")
|
485
513
|
|