pulumi-newrelic 5.23.0a1713561620__py3-none-any.whl → 5.23.0a1713975814__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 +110 -270
- pulumi_newrelic/account_management.py +14 -18
- pulumi_newrelic/alert_channel.py +28 -56
- pulumi_newrelic/alert_condition.py +84 -133
- pulumi_newrelic/alert_muting_rule.py +21 -25
- pulumi_newrelic/alert_policy.py +42 -33
- pulumi_newrelic/alert_policy_channel.py +0 -4
- pulumi_newrelic/cloud/_inputs.py +322 -1072
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -4
- pulumi_newrelic/cloud/aws_integrations.py +7 -11
- pulumi_newrelic/cloud/aws_link_account.py +0 -4
- pulumi_newrelic/cloud/azure_integrations.py +0 -4
- pulumi_newrelic/cloud/azure_link_account.py +0 -4
- pulumi_newrelic/cloud/gcp_integrations.py +0 -4
- pulumi_newrelic/cloud/gcp_link_account.py +0 -4
- pulumi_newrelic/cloud/outputs.py +322 -1072
- pulumi_newrelic/data_partition_rule.py +0 -4
- pulumi_newrelic/entity_tags.py +7 -11
- pulumi_newrelic/events_to_metrics_rule.py +0 -4
- pulumi_newrelic/get_account.py +0 -4
- pulumi_newrelic/get_application.py +0 -4
- pulumi_newrelic/get_authentication_domain.py +0 -4
- pulumi_newrelic/get_cloud_account.py +0 -4
- pulumi_newrelic/get_entity.py +0 -16
- pulumi_newrelic/get_group.py +0 -8
- pulumi_newrelic/get_key_transaction.py +0 -4
- pulumi_newrelic/get_obfuscation_expression.py +0 -4
- pulumi_newrelic/get_service_level_alert_helper.py +0 -30
- pulumi_newrelic/get_test_grok_pattern.py +0 -4
- pulumi_newrelic/get_user.py +0 -4
- pulumi_newrelic/group.py +0 -12
- pulumi_newrelic/infra_alert_condition.py +126 -113
- pulumi_newrelic/insights/event.py +0 -17
- pulumi_newrelic/log_parsing_rule.py +0 -8
- pulumi_newrelic/monitor_downtime.py +70 -101
- pulumi_newrelic/notification_channel.py +0 -44
- pulumi_newrelic/nrql_alert_condition.py +0 -20
- pulumi_newrelic/nrql_drop_rule.py +28 -32
- pulumi_newrelic/obfuscation_expression.py +0 -4
- pulumi_newrelic/obfuscation_rule.py +0 -4
- pulumi_newrelic/one_dashboard.py +42 -48
- pulumi_newrelic/one_dashboard_raw.py +0 -4
- pulumi_newrelic/outputs.py +110 -270
- pulumi_newrelic/plugins/_inputs.py +16 -16
- pulumi_newrelic/plugins/application_settings.py +0 -4
- pulumi_newrelic/plugins/outputs.py +16 -16
- pulumi_newrelic/plugins/workload.py +28 -48
- pulumi_newrelic/service_level.py +0 -91
- pulumi_newrelic/synthetics/alert_condition.py +14 -50
- pulumi_newrelic/synthetics/broken_links_monitor.py +0 -8
- pulumi_newrelic/synthetics/cert_check_monitor.py +0 -8
- pulumi_newrelic/synthetics/get_private_location.py +0 -8
- pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
- pulumi_newrelic/synthetics/monitor.py +0 -16
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +49 -71
- pulumi_newrelic/synthetics/private_location.py +0 -4
- pulumi_newrelic/synthetics/script_monitor.py +4 -20
- pulumi_newrelic/synthetics/secure_credential.py +21 -18
- pulumi_newrelic/synthetics/step_monitor.py +4 -12
- pulumi_newrelic/user.py +0 -4
- pulumi_newrelic/workflow.py +0 -16
- {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.23.0a1713975814.dist-info/RECORD +89 -0
- pulumi_newrelic-5.23.0a1713561620.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/top_level.txt +0 -0
@@ -49,9 +49,9 @@ class WorkloadStatusConfigAutomaticArgs:
|
|
49
49
|
remaining_entities_rule: Optional[pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs']] = None,
|
50
50
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]]] = None):
|
51
51
|
"""
|
52
|
-
:param pulumi.Input[bool] enabled: Whether the
|
53
|
-
:param pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs'] remaining_entities_rule: An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
|
54
|
-
:param pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]] rules:
|
52
|
+
:param pulumi.Input[bool] enabled: Whether the automatic status configuration is enabled or not.
|
53
|
+
:param pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs'] remaining_entities_rule: An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
|
54
|
+
:param pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]] rules: A list of rules.
|
55
55
|
"""
|
56
56
|
pulumi.set(__self__, "enabled", enabled)
|
57
57
|
if remaining_entities_rule is not None:
|
@@ -63,7 +63,7 @@ class WorkloadStatusConfigAutomaticArgs:
|
|
63
63
|
@pulumi.getter
|
64
64
|
def enabled(self) -> pulumi.Input[bool]:
|
65
65
|
"""
|
66
|
-
Whether the
|
66
|
+
Whether the automatic status configuration is enabled or not.
|
67
67
|
"""
|
68
68
|
return pulumi.get(self, "enabled")
|
69
69
|
|
@@ -75,7 +75,7 @@ class WorkloadStatusConfigAutomaticArgs:
|
|
75
75
|
@pulumi.getter(name="remainingEntitiesRule")
|
76
76
|
def remaining_entities_rule(self) -> Optional[pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs']]:
|
77
77
|
"""
|
78
|
-
An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
|
78
|
+
An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
|
79
79
|
"""
|
80
80
|
return pulumi.get(self, "remaining_entities_rule")
|
81
81
|
|
@@ -87,7 +87,7 @@ class WorkloadStatusConfigAutomaticArgs:
|
|
87
87
|
@pulumi.getter
|
88
88
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]]]:
|
89
89
|
"""
|
90
|
-
|
90
|
+
A list of rules.
|
91
91
|
"""
|
92
92
|
return pulumi.get(self, "rules")
|
93
93
|
|
@@ -101,7 +101,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs:
|
|
101
101
|
def __init__(__self__, *,
|
102
102
|
remaining_entities_rule_rollup: pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs']):
|
103
103
|
"""
|
104
|
-
:param pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs'] remaining_entities_rule_rollup: The input object used to represent a rollup strategy.
|
104
|
+
:param pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs'] remaining_entities_rule_rollup: The input object used to represent a rollup strategy.
|
105
105
|
"""
|
106
106
|
pulumi.set(__self__, "remaining_entities_rule_rollup", remaining_entities_rule_rollup)
|
107
107
|
|
@@ -109,7 +109,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs:
|
|
109
109
|
@pulumi.getter(name="remainingEntitiesRuleRollup")
|
110
110
|
def remaining_entities_rule_rollup(self) -> pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs']:
|
111
111
|
"""
|
112
|
-
The input object used to represent a rollup strategy.
|
112
|
+
The input object used to represent a rollup strategy.
|
113
113
|
"""
|
114
114
|
return pulumi.get(self, "remaining_entities_rule_rollup")
|
115
115
|
|
@@ -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
|
|
@@ -187,7 +187,6 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
187
187
|
|
188
188
|
## Example Usage
|
189
189
|
|
190
|
-
<!--Start PulumiCodeChooser -->
|
191
190
|
```python
|
192
191
|
import pulumi
|
193
192
|
import pulumi_newrelic as newrelic
|
@@ -198,7 +197,6 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
198
197
|
end_user_apdex_threshold=0.8,
|
199
198
|
enable_real_user_monitoring=False)
|
200
199
|
```
|
201
|
-
<!--End PulumiCodeChooser -->
|
202
200
|
|
203
201
|
## Notes
|
204
202
|
|
@@ -239,7 +237,6 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
239
237
|
|
240
238
|
## Example Usage
|
241
239
|
|
242
|
-
<!--Start PulumiCodeChooser -->
|
243
240
|
```python
|
244
241
|
import pulumi
|
245
242
|
import pulumi_newrelic as newrelic
|
@@ -250,7 +247,6 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
250
247
|
end_user_apdex_threshold=0.8,
|
251
248
|
enable_real_user_monitoring=False)
|
252
249
|
```
|
253
|
-
<!--End PulumiCodeChooser -->
|
254
250
|
|
255
251
|
## Notes
|
256
252
|
|
@@ -63,9 +63,9 @@ class WorkloadStatusConfigAutomatic(dict):
|
|
63
63
|
remaining_entities_rule: Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule'] = None,
|
64
64
|
rules: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']] = None):
|
65
65
|
"""
|
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:
|
66
|
+
:param bool enabled: Whether the automatic status configuration is enabled or not.
|
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: A list of rules.
|
69
69
|
"""
|
70
70
|
pulumi.set(__self__, "enabled", enabled)
|
71
71
|
if remaining_entities_rule is not None:
|
@@ -77,7 +77,7 @@ class WorkloadStatusConfigAutomatic(dict):
|
|
77
77
|
@pulumi.getter
|
78
78
|
def enabled(self) -> bool:
|
79
79
|
"""
|
80
|
-
Whether the
|
80
|
+
Whether the automatic status configuration is enabled or not.
|
81
81
|
"""
|
82
82
|
return pulumi.get(self, "enabled")
|
83
83
|
|
@@ -85,7 +85,7 @@ class WorkloadStatusConfigAutomatic(dict):
|
|
85
85
|
@pulumi.getter(name="remainingEntitiesRule")
|
86
86
|
def remaining_entities_rule(self) -> Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule']:
|
87
87
|
"""
|
88
|
-
An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
|
88
|
+
An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.
|
89
89
|
"""
|
90
90
|
return pulumi.get(self, "remaining_entities_rule")
|
91
91
|
|
@@ -93,7 +93,7 @@ class WorkloadStatusConfigAutomatic(dict):
|
|
93
93
|
@pulumi.getter
|
94
94
|
def rules(self) -> Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']]:
|
95
95
|
"""
|
96
|
-
|
96
|
+
A list of rules.
|
97
97
|
"""
|
98
98
|
return pulumi.get(self, "rules")
|
99
99
|
|
@@ -120,7 +120,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRule(dict):
|
|
120
120
|
def __init__(__self__, *,
|
121
121
|
remaining_entities_rule_rollup: 'outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup'):
|
122
122
|
"""
|
123
|
-
:param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs' remaining_entities_rule_rollup: The input object used to represent a rollup strategy.
|
123
|
+
:param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs' remaining_entities_rule_rollup: The input object used to represent a rollup strategy.
|
124
124
|
"""
|
125
125
|
pulumi.set(__self__, "remaining_entities_rule_rollup", remaining_entities_rule_rollup)
|
126
126
|
|
@@ -128,7 +128,7 @@ class WorkloadStatusConfigAutomaticRemainingEntitiesRule(dict):
|
|
128
128
|
@pulumi.getter(name="remainingEntitiesRuleRollup")
|
129
129
|
def remaining_entities_rule_rollup(self) -> 'outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup':
|
130
130
|
"""
|
131
|
-
The input object used to represent a rollup strategy.
|
131
|
+
The input object used to represent a rollup strategy.
|
132
132
|
"""
|
133
133
|
return pulumi.get(self, "remaining_entities_rule_rollup")
|
134
134
|
|
@@ -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[int] 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[int]]] 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[int] 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[int]]] 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[int] 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
|
|
@@ -373,7 +373,6 @@ class Workload(pulumi.CustomResource):
|
|
373
373
|
## Example Usage
|
374
374
|
|
375
375
|
Include entities with a certain string on the name.
|
376
|
-
<!--Start PulumiCodeChooser -->
|
377
376
|
```python
|
378
377
|
import pulumi
|
379
378
|
import pulumi_newrelic as newrelic
|
@@ -387,10 +386,8 @@ class Workload(pulumi.CustomResource):
|
|
387
386
|
)],
|
388
387
|
scope_account_ids=[12345678])
|
389
388
|
```
|
390
|
-
<!--End PulumiCodeChooser -->
|
391
389
|
|
392
390
|
Include entities with a set of tags.
|
393
|
-
<!--Start PulumiCodeChooser -->
|
394
391
|
```python
|
395
392
|
import pulumi
|
396
393
|
import pulumi_newrelic as newrelic
|
@@ -404,10 +401,8 @@ class Workload(pulumi.CustomResource):
|
|
404
401
|
)],
|
405
402
|
scope_account_ids=[12345678])
|
406
403
|
```
|
407
|
-
<!--End PulumiCodeChooser -->
|
408
404
|
|
409
405
|
Include entities with a set of tags.
|
410
|
-
<!--Start PulumiCodeChooser -->
|
411
406
|
```python
|
412
407
|
import pulumi
|
413
408
|
import pulumi_newrelic as newrelic
|
@@ -421,13 +416,11 @@ class Workload(pulumi.CustomResource):
|
|
421
416
|
)],
|
422
417
|
scope_account_ids=[12345678])
|
423
418
|
```
|
424
|
-
<!--End PulumiCodeChooser -->
|
425
419
|
|
426
420
|
Include automatic status
|
427
421
|
|
428
422
|
> The global status of your workload is a quick indicator of the workload health. You can configure it to be calculated automatically, and you can also set an alert and get a notification whenever the workload stops being operational. Alternatively, you can communicate a certain status of the workload by setting up a static value and a description. [See our docs](https://docs.newrelic.com/docs/workloads/use-workloads/workloads/workload-status)
|
429
423
|
|
430
|
-
<!--Start PulumiCodeChooser -->
|
431
424
|
```python
|
432
425
|
import pulumi
|
433
426
|
import pulumi_newrelic as newrelic
|
@@ -464,13 +457,11 @@ class Workload(pulumi.CustomResource):
|
|
464
457
|
)],
|
465
458
|
))
|
466
459
|
```
|
467
|
-
<!--End PulumiCodeChooser -->
|
468
460
|
|
469
461
|
Include static status
|
470
462
|
|
471
463
|
> You can use this during maintenance tasks or any other time you want to provide a fixed status for your workload. This overrides all automatic rules. [See our docs](https://docs.newrelic.com/docs/workloads/use-workloads/workloads/workload-status#configure-static)
|
472
464
|
|
473
|
-
<!--Start PulumiCodeChooser -->
|
474
465
|
```python
|
475
466
|
import pulumi
|
476
467
|
import pulumi_newrelic as newrelic
|
@@ -491,7 +482,6 @@ class Workload(pulumi.CustomResource):
|
|
491
482
|
summary="summary of the status",
|
492
483
|
))
|
493
484
|
```
|
494
|
-
<!--End PulumiCodeChooser -->
|
495
485
|
|
496
486
|
## Import
|
497
487
|
|
@@ -509,12 +499,12 @@ class Workload(pulumi.CustomResource):
|
|
509
499
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
510
500
|
:param pulumi.Input[int] account_id: The New Relic account ID where you want to create the workload.
|
511
501
|
:param pulumi.Input[str] description: Relevant information about the workload.
|
512
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs manually assigned to this workload.
|
513
|
-
: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.
|
514
504
|
:param pulumi.Input[str] name: The workload's name.
|
515
505
|
:param pulumi.Input[Sequence[pulumi.Input[int]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
516
|
-
:param pulumi.Input[pulumi.InputType['WorkloadStatusConfigAutomaticArgs']] status_config_automatic: An input object used to represent an automatic status configuration.
|
517
|
-
: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.
|
518
508
|
"""
|
519
509
|
...
|
520
510
|
@overload
|
@@ -532,7 +522,6 @@ class Workload(pulumi.CustomResource):
|
|
532
522
|
## Example Usage
|
533
523
|
|
534
524
|
Include entities with a certain string on the name.
|
535
|
-
<!--Start PulumiCodeChooser -->
|
536
525
|
```python
|
537
526
|
import pulumi
|
538
527
|
import pulumi_newrelic as newrelic
|
@@ -546,10 +535,8 @@ class Workload(pulumi.CustomResource):
|
|
546
535
|
)],
|
547
536
|
scope_account_ids=[12345678])
|
548
537
|
```
|
549
|
-
<!--End PulumiCodeChooser -->
|
550
538
|
|
551
539
|
Include entities with a set of tags.
|
552
|
-
<!--Start PulumiCodeChooser -->
|
553
540
|
```python
|
554
541
|
import pulumi
|
555
542
|
import pulumi_newrelic as newrelic
|
@@ -563,10 +550,8 @@ class Workload(pulumi.CustomResource):
|
|
563
550
|
)],
|
564
551
|
scope_account_ids=[12345678])
|
565
552
|
```
|
566
|
-
<!--End PulumiCodeChooser -->
|
567
553
|
|
568
554
|
Include entities with a set of tags.
|
569
|
-
<!--Start PulumiCodeChooser -->
|
570
555
|
```python
|
571
556
|
import pulumi
|
572
557
|
import pulumi_newrelic as newrelic
|
@@ -580,13 +565,11 @@ class Workload(pulumi.CustomResource):
|
|
580
565
|
)],
|
581
566
|
scope_account_ids=[12345678])
|
582
567
|
```
|
583
|
-
<!--End PulumiCodeChooser -->
|
584
568
|
|
585
569
|
Include automatic status
|
586
570
|
|
587
571
|
> The global status of your workload is a quick indicator of the workload health. You can configure it to be calculated automatically, and you can also set an alert and get a notification whenever the workload stops being operational. Alternatively, you can communicate a certain status of the workload by setting up a static value and a description. [See our docs](https://docs.newrelic.com/docs/workloads/use-workloads/workloads/workload-status)
|
588
572
|
|
589
|
-
<!--Start PulumiCodeChooser -->
|
590
573
|
```python
|
591
574
|
import pulumi
|
592
575
|
import pulumi_newrelic as newrelic
|
@@ -623,13 +606,11 @@ class Workload(pulumi.CustomResource):
|
|
623
606
|
)],
|
624
607
|
))
|
625
608
|
```
|
626
|
-
<!--End PulumiCodeChooser -->
|
627
609
|
|
628
610
|
Include static status
|
629
611
|
|
630
612
|
> You can use this during maintenance tasks or any other time you want to provide a fixed status for your workload. This overrides all automatic rules. [See our docs](https://docs.newrelic.com/docs/workloads/use-workloads/workloads/workload-status#configure-static)
|
631
613
|
|
632
|
-
<!--Start PulumiCodeChooser -->
|
633
614
|
```python
|
634
615
|
import pulumi
|
635
616
|
import pulumi_newrelic as newrelic
|
@@ -650,7 +631,6 @@ class Workload(pulumi.CustomResource):
|
|
650
631
|
summary="summary of the status",
|
651
632
|
))
|
652
633
|
```
|
653
|
-
<!--End PulumiCodeChooser -->
|
654
634
|
|
655
635
|
## Import
|
656
636
|
|
@@ -740,14 +720,14 @@ class Workload(pulumi.CustomResource):
|
|
740
720
|
:param pulumi.Input[int] account_id: The New Relic account ID where you want to create the workload.
|
741
721
|
:param pulumi.Input[str] composite_entity_search_query: The composite query used to compose a dynamic workload.
|
742
722
|
:param pulumi.Input[str] description: Relevant information about the workload.
|
743
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs manually assigned to this workload.
|
744
|
-
: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.
|
745
725
|
:param pulumi.Input[str] guid: The unique entity identifier of the workload in New Relic.
|
746
726
|
:param pulumi.Input[str] name: The workload's name.
|
747
727
|
:param pulumi.Input[str] permalink: The URL of the workload.
|
748
728
|
:param pulumi.Input[Sequence[pulumi.Input[int]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
749
|
-
:param pulumi.Input[pulumi.InputType['WorkloadStatusConfigAutomaticArgs']] status_config_automatic: An input object used to represent an automatic status configuration.
|
750
|
-
: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.
|
751
731
|
:param pulumi.Input[int] workload_id: The unique entity identifier of the workload.
|
752
732
|
"""
|
753
733
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -796,7 +776,7 @@ class Workload(pulumi.CustomResource):
|
|
796
776
|
@pulumi.getter(name="entityGuids")
|
797
777
|
def entity_guids(self) -> pulumi.Output[Sequence[str]]:
|
798
778
|
"""
|
799
|
-
A list of entity GUIDs manually assigned to this workload.
|
779
|
+
A list of entity GUIDs manually assigned to this workload.
|
800
780
|
"""
|
801
781
|
return pulumi.get(self, "entity_guids")
|
802
782
|
|
@@ -804,7 +784,7 @@ class Workload(pulumi.CustomResource):
|
|
804
784
|
@pulumi.getter(name="entitySearchQueries")
|
805
785
|
def entity_search_queries(self) -> pulumi.Output[Optional[Sequence['outputs.WorkloadEntitySearchQuery']]]:
|
806
786
|
"""
|
807
|
-
A list of search queries that define a dynamic workload.
|
787
|
+
A list of search queries that define a dynamic workload.
|
808
788
|
"""
|
809
789
|
return pulumi.get(self, "entity_search_queries")
|
810
790
|
|
@@ -844,7 +824,7 @@ class Workload(pulumi.CustomResource):
|
|
844
824
|
@pulumi.getter(name="statusConfigAutomatic")
|
845
825
|
def status_config_automatic(self) -> pulumi.Output[Optional['outputs.WorkloadStatusConfigAutomatic']]:
|
846
826
|
"""
|
847
|
-
An input object used to represent an automatic status configuration.
|
827
|
+
An input object used to represent an automatic status configuration.
|
848
828
|
"""
|
849
829
|
return pulumi.get(self, "status_config_automatic")
|
850
830
|
|
@@ -852,7 +832,7 @@ class Workload(pulumi.CustomResource):
|
|
852
832
|
@pulumi.getter(name="statusConfigStatic")
|
853
833
|
def status_config_static(self) -> pulumi.Output[Optional['outputs.WorkloadStatusConfigStatic']]:
|
854
834
|
"""
|
855
|
-
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.
|
856
836
|
"""
|
857
837
|
return pulumi.get(self, "status_config_static")
|
858
838
|
|