pulumi-newrelic 5.25.0__py3-none-any.whl → 5.25.0a1715378777__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 +43 -449
- pulumi_newrelic/account_management.py +14 -14
- pulumi_newrelic/alert_channel.py +28 -28
- pulumi_newrelic/alert_condition.py +84 -125
- pulumi_newrelic/alert_muting_rule.py +21 -21
- pulumi_newrelic/alert_policy.py +21 -27
- pulumi_newrelic/entity_tags.py +7 -7
- pulumi_newrelic/get_alert_policy.py +0 -9
- pulumi_newrelic/get_service_level_alert_helper.py +0 -18
- pulumi_newrelic/infra_alert_condition.py +126 -105
- pulumi_newrelic/insights/event.py +0 -13
- pulumi_newrelic/notification_destination.py +10 -14
- pulumi_newrelic/nrql_drop_rule.py +28 -28
- pulumi_newrelic/one_dashboard.py +42 -48
- pulumi_newrelic/outputs.py +43 -448
- 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 -2
- pulumi_newrelic/service_level.py +0 -79
- pulumi_newrelic/synthetics/alert_condition.py +14 -42
- pulumi_newrelic/synthetics/broken_links_monitor.py +0 -18
- pulumi_newrelic/synthetics/cert_check_monitor.py +0 -18
- pulumi_newrelic/synthetics/get_secure_credential.py +0 -8
- pulumi_newrelic/synthetics/monitor.py +0 -4
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +49 -63
- pulumi_newrelic/synthetics/script_monitor.py +0 -4
- pulumi_newrelic/synthetics/secure_credential.py +21 -14
- pulumi_newrelic/synthetics/step_monitor.py +0 -18
- {pulumi_newrelic-5.25.0.dist-info → pulumi_newrelic-5.25.0a1715378777.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.25.0.dist-info → pulumi_newrelic-5.25.0a1715378777.dist-info}/RECORD +33 -33
- {pulumi_newrelic-5.25.0.dist-info → pulumi_newrelic-5.25.0a1715378777.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.25.0.dist-info → pulumi_newrelic-5.25.0a1715378777.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.
|
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.
|
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.
|
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.
|
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.
|
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: A description that provides additional details about the status of 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
|
+
A description that provides additional details about the status of 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.
|
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.
|
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.
|
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.
|
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.
|
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: A description that provides additional details about the status of 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
|
+
A description that provides additional details about the status of 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.
|
32
|
+
:param pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]] entity_search_queries: A list of search queries that define a dynamic workload.
|
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.
|
36
|
+
:param pulumi.Input['WorkloadStatusConfigStaticArgs'] status_config_static: A list of static status configurations. You can only configure one static status for a workload.
|
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.
|
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.
|
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.
|
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.
|
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.
|
173
|
+
:param pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]] entity_search_queries: A list of search queries that define a dynamic workload.
|
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.
|
179
|
+
:param pulumi.Input['WorkloadStatusConfigStaticArgs'] status_config_static: A list of static status configurations. You can only configure one static status for a workload.
|
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.
|
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.
|
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.
|
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.
|
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.
|
503
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WorkloadEntitySearchQueryArgs']]]] entity_search_queries: A list of search queries that define a dynamic workload.
|
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.
|
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.
|
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.
|
724
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WorkloadEntitySearchQueryArgs']]]] entity_search_queries: A list of search queries that define a dynamic workload.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
836
836
|
"""
|
837
837
|
return pulumi.get(self, "status_config_static")
|
838
838
|
|
pulumi_newrelic/service_level.py
CHANGED
@@ -23,13 +23,6 @@ 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.
|
33
26
|
"""
|
34
27
|
pulumi.set(__self__, "events", events)
|
35
28
|
pulumi.set(__self__, "guid", guid)
|
@@ -42,10 +35,6 @@ class ServiceLevelArgs:
|
|
42
35
|
@property
|
43
36
|
@pulumi.getter
|
44
37
|
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
|
-
"""
|
49
38
|
return pulumi.get(self, "events")
|
50
39
|
|
51
40
|
@events.setter
|
@@ -55,9 +44,6 @@ class ServiceLevelArgs:
|
|
55
44
|
@property
|
56
45
|
@pulumi.getter
|
57
46
|
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
|
-
"""
|
61
47
|
return pulumi.get(self, "guid")
|
62
48
|
|
63
49
|
@guid.setter
|
@@ -67,10 +53,6 @@ class ServiceLevelArgs:
|
|
67
53
|
@property
|
68
54
|
@pulumi.getter
|
69
55
|
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
|
-
"""
|
74
56
|
return pulumi.get(self, "objective")
|
75
57
|
|
76
58
|
@objective.setter
|
@@ -80,9 +62,6 @@ class ServiceLevelArgs:
|
|
80
62
|
@property
|
81
63
|
@pulumi.getter
|
82
64
|
def description(self) -> Optional[pulumi.Input[str]]:
|
83
|
-
"""
|
84
|
-
The description of the SLI.
|
85
|
-
"""
|
86
65
|
return pulumi.get(self, "description")
|
87
66
|
|
88
67
|
@description.setter
|
@@ -92,9 +71,6 @@ class ServiceLevelArgs:
|
|
92
71
|
@property
|
93
72
|
@pulumi.getter
|
94
73
|
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
|
-
"""
|
98
74
|
return pulumi.get(self, "name")
|
99
75
|
|
100
76
|
@name.setter
|
@@ -114,13 +90,6 @@ class _ServiceLevelState:
|
|
114
90
|
sli_id: Optional[pulumi.Input[str]] = None):
|
115
91
|
"""
|
116
92
|
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.
|
124
93
|
:param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
|
125
94
|
:param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator.
|
126
95
|
"""
|
@@ -142,9 +111,6 @@ class _ServiceLevelState:
|
|
142
111
|
@property
|
143
112
|
@pulumi.getter
|
144
113
|
def description(self) -> Optional[pulumi.Input[str]]:
|
145
|
-
"""
|
146
|
-
The description of the SLI.
|
147
|
-
"""
|
148
114
|
return pulumi.get(self, "description")
|
149
115
|
|
150
116
|
@description.setter
|
@@ -154,10 +120,6 @@ class _ServiceLevelState:
|
|
154
120
|
@property
|
155
121
|
@pulumi.getter
|
156
122
|
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
|
-
"""
|
161
123
|
return pulumi.get(self, "events")
|
162
124
|
|
163
125
|
@events.setter
|
@@ -167,9 +129,6 @@ class _ServiceLevelState:
|
|
167
129
|
@property
|
168
130
|
@pulumi.getter
|
169
131
|
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
|
-
"""
|
173
132
|
return pulumi.get(self, "guid")
|
174
133
|
|
175
134
|
@guid.setter
|
@@ -179,9 +138,6 @@ class _ServiceLevelState:
|
|
179
138
|
@property
|
180
139
|
@pulumi.getter
|
181
140
|
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
|
-
"""
|
185
141
|
return pulumi.get(self, "name")
|
186
142
|
|
187
143
|
@name.setter
|
@@ -191,10 +147,6 @@ class _ServiceLevelState:
|
|
191
147
|
@property
|
192
148
|
@pulumi.getter
|
193
149
|
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
|
-
"""
|
198
150
|
return pulumi.get(self, "objective")
|
199
151
|
|
200
152
|
@objective.setter
|
@@ -388,13 +340,6 @@ class ServiceLevel(pulumi.CustomResource):
|
|
388
340
|
|
389
341
|
:param str resource_name: The name of the resource.
|
390
342
|
: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.
|
398
343
|
"""
|
399
344
|
...
|
400
345
|
@overload
|
@@ -617,13 +562,6 @@ class ServiceLevel(pulumi.CustomResource):
|
|
617
562
|
:param str resource_name: The unique name of the resulting resource.
|
618
563
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
619
564
|
: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.
|
627
565
|
:param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
|
628
566
|
:param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator.
|
629
567
|
"""
|
@@ -643,43 +581,26 @@ class ServiceLevel(pulumi.CustomResource):
|
|
643
581
|
@property
|
644
582
|
@pulumi.getter
|
645
583
|
def description(self) -> pulumi.Output[Optional[str]]:
|
646
|
-
"""
|
647
|
-
The description of the SLI.
|
648
|
-
"""
|
649
584
|
return pulumi.get(self, "description")
|
650
585
|
|
651
586
|
@property
|
652
587
|
@pulumi.getter
|
653
588
|
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
|
-
"""
|
658
589
|
return pulumi.get(self, "events")
|
659
590
|
|
660
591
|
@property
|
661
592
|
@pulumi.getter
|
662
593
|
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
|
-
"""
|
666
594
|
return pulumi.get(self, "guid")
|
667
595
|
|
668
596
|
@property
|
669
597
|
@pulumi.getter
|
670
598
|
def name(self) -> pulumi.Output[str]:
|
671
|
-
"""
|
672
|
-
A short name for the SLI that will help anyone understand what it is about.
|
673
|
-
"""
|
674
599
|
return pulumi.get(self, "name")
|
675
600
|
|
676
601
|
@property
|
677
602
|
@pulumi.getter
|
678
603
|
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
|
-
"""
|
683
604
|
return pulumi.get(self, "objective")
|
684
605
|
|
685
606
|
@property
|
@@ -21,13 +21,9 @@ 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 ID 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
|
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
|
-
```
|
26
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
31
27
|
:param pulumi.Input[str] name: The title of this condition.
|
32
28
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
33
29
|
"""
|
@@ -44,7 +40,7 @@ class AlertConditionArgs:
|
|
44
40
|
@pulumi.getter(name="monitorId")
|
45
41
|
def monitor_id(self) -> pulumi.Input[str]:
|
46
42
|
"""
|
47
|
-
The
|
43
|
+
The ID of the Synthetics monitor to be referenced in the alert condition.
|
48
44
|
"""
|
49
45
|
return pulumi.get(self, "monitor_id")
|
50
46
|
|
@@ -68,11 +64,7 @@ class AlertConditionArgs:
|
|
68
64
|
@pulumi.getter
|
69
65
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
70
66
|
"""
|
71
|
-
Set whether to enable the alert condition. Defaults to
|
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
|
-
```
|
67
|
+
Set whether to enable the alert condition. Defaults to true.
|
76
68
|
"""
|
77
69
|
return pulumi.get(self, "enabled")
|
78
70
|
|
@@ -116,13 +108,9 @@ class _AlertConditionState:
|
|
116
108
|
runbook_url: Optional[pulumi.Input[str]] = None):
|
117
109
|
"""
|
118
110
|
Input properties used for looking up and filtering AlertCondition resources.
|
119
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to
|
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
|
-
```
|
111
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
124
112
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
125
|
-
:param pulumi.Input[str] monitor_id: The
|
113
|
+
:param pulumi.Input[str] monitor_id: The ID of the Synthetics monitor to be referenced in the alert condition.
|
126
114
|
:param pulumi.Input[str] name: The title of this condition.
|
127
115
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
128
116
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
@@ -144,11 +132,7 @@ class _AlertConditionState:
|
|
144
132
|
@pulumi.getter
|
145
133
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
146
134
|
"""
|
147
|
-
Set whether to enable the alert condition. Defaults to
|
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
|
-
```
|
135
|
+
Set whether to enable the alert condition. Defaults to true.
|
152
136
|
"""
|
153
137
|
return pulumi.get(self, "enabled")
|
154
138
|
|
@@ -172,7 +156,7 @@ class _AlertConditionState:
|
|
172
156
|
@pulumi.getter(name="monitorId")
|
173
157
|
def monitor_id(self) -> Optional[pulumi.Input[str]]:
|
174
158
|
"""
|
175
|
-
The
|
159
|
+
The ID of the Synthetics monitor to be referenced in the alert condition.
|
176
160
|
"""
|
177
161
|
return pulumi.get(self, "monitor_id")
|
178
162
|
|
@@ -306,12 +290,8 @@ class AlertCondition(pulumi.CustomResource):
|
|
306
290
|
|
307
291
|
:param str resource_name: The name of the resource.
|
308
292
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
309
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to
|
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.
|
293
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
294
|
+
:param pulumi.Input[str] monitor_id: The ID of the Synthetics monitor to be referenced in the alert condition.
|
315
295
|
:param pulumi.Input[str] name: The title of this condition.
|
316
296
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
317
297
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
@@ -460,13 +440,9 @@ class AlertCondition(pulumi.CustomResource):
|
|
460
440
|
:param str resource_name: The unique name of the resulting resource.
|
461
441
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
462
442
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
463
|
-
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to
|
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
|
-
```
|
443
|
+
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
468
444
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
469
|
-
:param pulumi.Input[str] monitor_id: The
|
445
|
+
:param pulumi.Input[str] monitor_id: The ID of the Synthetics monitor to be referenced in the alert condition.
|
470
446
|
:param pulumi.Input[str] name: The title of this condition.
|
471
447
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
472
448
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
@@ -487,11 +463,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
487
463
|
@pulumi.getter
|
488
464
|
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
489
465
|
"""
|
490
|
-
Set whether to enable the alert condition. Defaults to
|
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
|
-
```
|
466
|
+
Set whether to enable the alert condition. Defaults to true.
|
495
467
|
"""
|
496
468
|
return pulumi.get(self, "enabled")
|
497
469
|
|
@@ -507,7 +479,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
507
479
|
@pulumi.getter(name="monitorId")
|
508
480
|
def monitor_id(self) -> pulumi.Output[str]:
|
509
481
|
"""
|
510
|
-
The
|
482
|
+
The ID of the Synthetics monitor to be referenced in the alert condition.
|
511
483
|
"""
|
512
484
|
return pulumi.get(self, "monitor_id")
|
513
485
|
|