pulumi-newrelic 5.45.0a1743574084__py3-none-any.whl → 5.45.0a1744183332__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_newrelic/__init__.py +1 -0
- pulumi_newrelic/_inputs.py +2961 -2960
- pulumi_newrelic/account_management.py +29 -28
- pulumi_newrelic/alert_channel.py +43 -42
- pulumi_newrelic/alert_condition.py +176 -175
- pulumi_newrelic/alert_muting_rule.py +71 -70
- pulumi_newrelic/alert_policy.py +57 -56
- pulumi_newrelic/alert_policy_channel.py +43 -42
- pulumi_newrelic/api_access_key.py +92 -91
- pulumi_newrelic/browser_application.py +92 -91
- pulumi_newrelic/cloud/__init__.py +1 -0
- pulumi_newrelic/cloud/_inputs.py +1765 -1764
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
- pulumi_newrelic/cloud/aws_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_link_account.py +57 -56
- pulumi_newrelic/cloud/azure_integrations.py +29 -28
- pulumi_newrelic/cloud/azure_link_account.py +85 -84
- pulumi_newrelic/cloud/gcp_integrations.py +29 -28
- pulumi_newrelic/cloud/gcp_link_account.py +45 -44
- pulumi_newrelic/cloud/outputs.py +1057 -1056
- pulumi_newrelic/config/__init__.py +1 -0
- pulumi_newrelic/config/__init__.pyi +1 -0
- pulumi_newrelic/config/vars.py +1 -0
- pulumi_newrelic/data_partition_rule.py +92 -91
- pulumi_newrelic/entity_tags.py +15 -14
- pulumi_newrelic/events_to_metrics_rule.py +78 -77
- pulumi_newrelic/get_account.py +17 -16
- pulumi_newrelic/get_alert_channel.py +14 -13
- pulumi_newrelic/get_alert_policy.py +19 -18
- pulumi_newrelic/get_application.py +9 -8
- pulumi_newrelic/get_authentication_domain.py +7 -6
- pulumi_newrelic/get_cloud_account.py +17 -16
- pulumi_newrelic/get_entity.py +40 -39
- pulumi_newrelic/get_group.py +13 -12
- pulumi_newrelic/get_key_transaction.py +19 -18
- pulumi_newrelic/get_notification_destination.py +20 -19
- pulumi_newrelic/get_obfuscation_expression.py +12 -11
- pulumi_newrelic/get_service_level_alert_helper.py +41 -40
- pulumi_newrelic/get_test_grok_pattern.py +17 -16
- pulumi_newrelic/get_user.py +17 -16
- pulumi_newrelic/group.py +43 -42
- pulumi_newrelic/infra_alert_condition.py +204 -203
- pulumi_newrelic/insights/__init__.py +1 -0
- pulumi_newrelic/insights/_inputs.py +26 -25
- pulumi_newrelic/insights/event.py +1 -0
- pulumi_newrelic/insights/outputs.py +16 -15
- pulumi_newrelic/key_transaction.py +85 -84
- pulumi_newrelic/log_parsing_rule.py +120 -119
- pulumi_newrelic/monitor_downtime.py +113 -112
- pulumi_newrelic/notification_channel.py +92 -91
- pulumi_newrelic/notification_destination.py +78 -77
- pulumi_newrelic/nrql_alert_condition.py +330 -329
- pulumi_newrelic/nrql_drop_rule.py +64 -63
- pulumi_newrelic/obfuscation_expression.py +57 -56
- pulumi_newrelic/obfuscation_rule.py +71 -70
- pulumi_newrelic/one_dashboard.py +71 -70
- pulumi_newrelic/one_dashboard_json.py +50 -49
- pulumi_newrelic/one_dashboard_raw.py +71 -70
- pulumi_newrelic/outputs.py +1831 -1830
- pulumi_newrelic/plugins/__init__.py +1 -0
- pulumi_newrelic/plugins/_inputs.py +126 -125
- pulumi_newrelic/plugins/application_settings.py +132 -131
- pulumi_newrelic/plugins/outputs.py +76 -75
- pulumi_newrelic/plugins/workload.py +99 -98
- pulumi_newrelic/provider.py +80 -79
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +57 -56
- pulumi_newrelic/synthetics/__init__.py +1 -0
- pulumi_newrelic/synthetics/_inputs.py +106 -105
- pulumi_newrelic/synthetics/alert_condition.py +78 -77
- pulumi_newrelic/synthetics/broken_links_monitor.py +151 -150
- pulumi_newrelic/synthetics/cert_check_monitor.py +158 -157
- pulumi_newrelic/synthetics/get_private_location.py +17 -16
- pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
- pulumi_newrelic/synthetics/monitor.py +298 -297
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
- pulumi_newrelic/synthetics/outputs.py +64 -63
- pulumi_newrelic/synthetics/private_location.py +85 -84
- pulumi_newrelic/synthetics/script_monitor.py +235 -234
- pulumi_newrelic/synthetics/secure_credential.py +71 -70
- pulumi_newrelic/synthetics/step_monitor.py +165 -164
- pulumi_newrelic/user.py +57 -56
- pulumi_newrelic/workflow.py +106 -105
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.45.0a1744183332.dist-info/RECORD +90 -0
- pulumi_newrelic-5.45.0a1743574084.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -21,22 +22,22 @@ __all__ = ['WorkloadArgs', 'Workload']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class WorkloadArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
25
|
-
description: Optional[pulumi.Input[str]] = None,
|
26
|
-
entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
25
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
26
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
27
|
+
entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
27
28
|
entity_search_queries: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]]] = None,
|
28
|
-
name: Optional[pulumi.Input[str]] = None,
|
29
|
-
scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
29
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
30
|
+
scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
30
31
|
status_config_automatic: Optional[pulumi.Input['WorkloadStatusConfigAutomaticArgs']] = None,
|
31
32
|
status_config_static: Optional[pulumi.Input['WorkloadStatusConfigStaticArgs']] = None):
|
32
33
|
"""
|
33
34
|
The set of arguments for constructing a Workload resource.
|
34
|
-
:param pulumi.Input[str] account_id: The New Relic account ID where you want to create the workload.
|
35
|
-
:param pulumi.Input[str] description: Relevant information about the workload.
|
36
|
-
: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.
|
35
|
+
:param pulumi.Input[builtins.str] account_id: The New Relic account ID where you want to create the workload.
|
36
|
+
:param pulumi.Input[builtins.str] description: Relevant information about the workload.
|
37
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.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.
|
37
38
|
: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.
|
38
|
-
:param pulumi.Input[str] name: The workload's name.
|
39
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
39
|
+
:param pulumi.Input[builtins.str] name: The workload's name.
|
40
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
40
41
|
: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.
|
41
42
|
: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.
|
42
43
|
"""
|
@@ -59,38 +60,38 @@ class WorkloadArgs:
|
|
59
60
|
|
60
61
|
@property
|
61
62
|
@pulumi.getter(name="accountId")
|
62
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
63
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
63
64
|
"""
|
64
65
|
The New Relic account ID where you want to create the workload.
|
65
66
|
"""
|
66
67
|
return pulumi.get(self, "account_id")
|
67
68
|
|
68
69
|
@account_id.setter
|
69
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
70
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
70
71
|
pulumi.set(self, "account_id", value)
|
71
72
|
|
72
73
|
@property
|
73
74
|
@pulumi.getter
|
74
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
75
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
75
76
|
"""
|
76
77
|
Relevant information about the workload.
|
77
78
|
"""
|
78
79
|
return pulumi.get(self, "description")
|
79
80
|
|
80
81
|
@description.setter
|
81
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
82
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
82
83
|
pulumi.set(self, "description", value)
|
83
84
|
|
84
85
|
@property
|
85
86
|
@pulumi.getter(name="entityGuids")
|
86
|
-
def entity_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
87
|
+
def entity_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
87
88
|
"""
|
88
89
|
A list of entity GUIDs manually assigned to this workload. At least one of either `entity_guids` or `entity_search_query` is required.
|
89
90
|
"""
|
90
91
|
return pulumi.get(self, "entity_guids")
|
91
92
|
|
92
93
|
@entity_guids.setter
|
93
|
-
def entity_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
94
|
+
def entity_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
94
95
|
pulumi.set(self, "entity_guids", value)
|
95
96
|
|
96
97
|
@property
|
@@ -107,26 +108,26 @@ class WorkloadArgs:
|
|
107
108
|
|
108
109
|
@property
|
109
110
|
@pulumi.getter
|
110
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
111
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
111
112
|
"""
|
112
113
|
The workload's name.
|
113
114
|
"""
|
114
115
|
return pulumi.get(self, "name")
|
115
116
|
|
116
117
|
@name.setter
|
117
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
118
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
118
119
|
pulumi.set(self, "name", value)
|
119
120
|
|
120
121
|
@property
|
121
122
|
@pulumi.getter(name="scopeAccountIds")
|
122
|
-
def scope_account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
123
|
+
def scope_account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
123
124
|
"""
|
124
125
|
A list of account IDs that will be used to get entities from.
|
125
126
|
"""
|
126
127
|
return pulumi.get(self, "scope_account_ids")
|
127
128
|
|
128
129
|
@scope_account_ids.setter
|
129
|
-
def scope_account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
130
|
+
def scope_account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
130
131
|
pulumi.set(self, "scope_account_ids", value)
|
131
132
|
|
132
133
|
@property
|
@@ -157,32 +158,32 @@ class WorkloadArgs:
|
|
157
158
|
@pulumi.input_type
|
158
159
|
class _WorkloadState:
|
159
160
|
def __init__(__self__, *,
|
160
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
161
|
-
composite_entity_search_query: Optional[pulumi.Input[str]] = None,
|
162
|
-
description: Optional[pulumi.Input[str]] = None,
|
163
|
-
entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
161
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
162
|
+
composite_entity_search_query: Optional[pulumi.Input[builtins.str]] = None,
|
163
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
164
|
+
entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
164
165
|
entity_search_queries: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]]] = None,
|
165
|
-
guid: Optional[pulumi.Input[str]] = None,
|
166
|
-
name: Optional[pulumi.Input[str]] = None,
|
167
|
-
permalink: Optional[pulumi.Input[str]] = None,
|
168
|
-
scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
166
|
+
guid: Optional[pulumi.Input[builtins.str]] = None,
|
167
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
168
|
+
permalink: Optional[pulumi.Input[builtins.str]] = None,
|
169
|
+
scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
169
170
|
status_config_automatic: Optional[pulumi.Input['WorkloadStatusConfigAutomaticArgs']] = None,
|
170
171
|
status_config_static: Optional[pulumi.Input['WorkloadStatusConfigStaticArgs']] = None,
|
171
|
-
workload_id: Optional[pulumi.Input[str]] = None):
|
172
|
+
workload_id: Optional[pulumi.Input[builtins.str]] = None):
|
172
173
|
"""
|
173
174
|
Input properties used for looking up and filtering Workload resources.
|
174
|
-
:param pulumi.Input[str] account_id: The New Relic account ID where you want to create the workload.
|
175
|
-
:param pulumi.Input[str] composite_entity_search_query: The composite query used to compose a dynamic workload.
|
176
|
-
:param pulumi.Input[str] description: Relevant information about the workload.
|
177
|
-
: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.
|
175
|
+
:param pulumi.Input[builtins.str] account_id: The New Relic account ID where you want to create the workload.
|
176
|
+
:param pulumi.Input[builtins.str] composite_entity_search_query: The composite query used to compose a dynamic workload.
|
177
|
+
:param pulumi.Input[builtins.str] description: Relevant information about the workload.
|
178
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.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.
|
178
179
|
: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.
|
179
|
-
:param pulumi.Input[str] guid: The unique entity identifier of the workload in New Relic.
|
180
|
-
:param pulumi.Input[str] name: The workload's name.
|
181
|
-
:param pulumi.Input[str] permalink: The URL of the workload.
|
182
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
180
|
+
:param pulumi.Input[builtins.str] guid: The unique entity identifier of the workload in New Relic.
|
181
|
+
:param pulumi.Input[builtins.str] name: The workload's name.
|
182
|
+
:param pulumi.Input[builtins.str] permalink: The URL of the workload.
|
183
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
183
184
|
: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.
|
184
185
|
: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.
|
185
|
-
:param pulumi.Input[str] workload_id: The unique entity identifier of the workload.
|
186
|
+
:param pulumi.Input[builtins.str] workload_id: The unique entity identifier of the workload.
|
186
187
|
"""
|
187
188
|
if account_id is not None:
|
188
189
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -211,50 +212,50 @@ class _WorkloadState:
|
|
211
212
|
|
212
213
|
@property
|
213
214
|
@pulumi.getter(name="accountId")
|
214
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
215
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
215
216
|
"""
|
216
217
|
The New Relic account ID where you want to create the workload.
|
217
218
|
"""
|
218
219
|
return pulumi.get(self, "account_id")
|
219
220
|
|
220
221
|
@account_id.setter
|
221
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
222
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
222
223
|
pulumi.set(self, "account_id", value)
|
223
224
|
|
224
225
|
@property
|
225
226
|
@pulumi.getter(name="compositeEntitySearchQuery")
|
226
|
-
def composite_entity_search_query(self) -> Optional[pulumi.Input[str]]:
|
227
|
+
def composite_entity_search_query(self) -> Optional[pulumi.Input[builtins.str]]:
|
227
228
|
"""
|
228
229
|
The composite query used to compose a dynamic workload.
|
229
230
|
"""
|
230
231
|
return pulumi.get(self, "composite_entity_search_query")
|
231
232
|
|
232
233
|
@composite_entity_search_query.setter
|
233
|
-
def composite_entity_search_query(self, value: Optional[pulumi.Input[str]]):
|
234
|
+
def composite_entity_search_query(self, value: Optional[pulumi.Input[builtins.str]]):
|
234
235
|
pulumi.set(self, "composite_entity_search_query", value)
|
235
236
|
|
236
237
|
@property
|
237
238
|
@pulumi.getter
|
238
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
239
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
239
240
|
"""
|
240
241
|
Relevant information about the workload.
|
241
242
|
"""
|
242
243
|
return pulumi.get(self, "description")
|
243
244
|
|
244
245
|
@description.setter
|
245
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
246
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
246
247
|
pulumi.set(self, "description", value)
|
247
248
|
|
248
249
|
@property
|
249
250
|
@pulumi.getter(name="entityGuids")
|
250
|
-
def entity_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
251
|
+
def entity_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
251
252
|
"""
|
252
253
|
A list of entity GUIDs manually assigned to this workload. At least one of either `entity_guids` or `entity_search_query` is required.
|
253
254
|
"""
|
254
255
|
return pulumi.get(self, "entity_guids")
|
255
256
|
|
256
257
|
@entity_guids.setter
|
257
|
-
def entity_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
258
|
+
def entity_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
258
259
|
pulumi.set(self, "entity_guids", value)
|
259
260
|
|
260
261
|
@property
|
@@ -271,50 +272,50 @@ class _WorkloadState:
|
|
271
272
|
|
272
273
|
@property
|
273
274
|
@pulumi.getter
|
274
|
-
def guid(self) -> Optional[pulumi.Input[str]]:
|
275
|
+
def guid(self) -> Optional[pulumi.Input[builtins.str]]:
|
275
276
|
"""
|
276
277
|
The unique entity identifier of the workload in New Relic.
|
277
278
|
"""
|
278
279
|
return pulumi.get(self, "guid")
|
279
280
|
|
280
281
|
@guid.setter
|
281
|
-
def guid(self, value: Optional[pulumi.Input[str]]):
|
282
|
+
def guid(self, value: Optional[pulumi.Input[builtins.str]]):
|
282
283
|
pulumi.set(self, "guid", value)
|
283
284
|
|
284
285
|
@property
|
285
286
|
@pulumi.getter
|
286
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
287
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
287
288
|
"""
|
288
289
|
The workload's name.
|
289
290
|
"""
|
290
291
|
return pulumi.get(self, "name")
|
291
292
|
|
292
293
|
@name.setter
|
293
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
294
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
294
295
|
pulumi.set(self, "name", value)
|
295
296
|
|
296
297
|
@property
|
297
298
|
@pulumi.getter
|
298
|
-
def permalink(self) -> Optional[pulumi.Input[str]]:
|
299
|
+
def permalink(self) -> Optional[pulumi.Input[builtins.str]]:
|
299
300
|
"""
|
300
301
|
The URL of the workload.
|
301
302
|
"""
|
302
303
|
return pulumi.get(self, "permalink")
|
303
304
|
|
304
305
|
@permalink.setter
|
305
|
-
def permalink(self, value: Optional[pulumi.Input[str]]):
|
306
|
+
def permalink(self, value: Optional[pulumi.Input[builtins.str]]):
|
306
307
|
pulumi.set(self, "permalink", value)
|
307
308
|
|
308
309
|
@property
|
309
310
|
@pulumi.getter(name="scopeAccountIds")
|
310
|
-
def scope_account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
311
|
+
def scope_account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
311
312
|
"""
|
312
313
|
A list of account IDs that will be used to get entities from.
|
313
314
|
"""
|
314
315
|
return pulumi.get(self, "scope_account_ids")
|
315
316
|
|
316
317
|
@scope_account_ids.setter
|
317
|
-
def scope_account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
318
|
+
def scope_account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
318
319
|
pulumi.set(self, "scope_account_ids", value)
|
319
320
|
|
320
321
|
@property
|
@@ -343,14 +344,14 @@ class _WorkloadState:
|
|
343
344
|
|
344
345
|
@property
|
345
346
|
@pulumi.getter(name="workloadId")
|
346
|
-
def workload_id(self) -> Optional[pulumi.Input[str]]:
|
347
|
+
def workload_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
347
348
|
"""
|
348
349
|
The unique entity identifier of the workload.
|
349
350
|
"""
|
350
351
|
return pulumi.get(self, "workload_id")
|
351
352
|
|
352
353
|
@workload_id.setter
|
353
|
-
def workload_id(self, value: Optional[pulumi.Input[str]]):
|
354
|
+
def workload_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
354
355
|
pulumi.set(self, "workload_id", value)
|
355
356
|
|
356
357
|
|
@@ -359,12 +360,12 @@ class Workload(pulumi.CustomResource):
|
|
359
360
|
def __init__(__self__,
|
360
361
|
resource_name: str,
|
361
362
|
opts: Optional[pulumi.ResourceOptions] = None,
|
362
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
363
|
-
description: Optional[pulumi.Input[str]] = None,
|
364
|
-
entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
363
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
364
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
365
|
+
entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
365
366
|
entity_search_queries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkloadEntitySearchQueryArgs', 'WorkloadEntitySearchQueryArgsDict']]]]] = None,
|
366
|
-
name: Optional[pulumi.Input[str]] = None,
|
367
|
-
scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
367
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
368
|
+
scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
368
369
|
status_config_automatic: Optional[pulumi.Input[Union['WorkloadStatusConfigAutomaticArgs', 'WorkloadStatusConfigAutomaticArgsDict']]] = None,
|
369
370
|
status_config_static: Optional[pulumi.Input[Union['WorkloadStatusConfigStaticArgs', 'WorkloadStatusConfigStaticArgsDict']]] = None,
|
370
371
|
__props__=None):
|
@@ -502,12 +503,12 @@ class Workload(pulumi.CustomResource):
|
|
502
503
|
|
503
504
|
:param str resource_name: The name of the resource.
|
504
505
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
505
|
-
:param pulumi.Input[str] account_id: The New Relic account ID where you want to create the workload.
|
506
|
-
:param pulumi.Input[str] description: Relevant information about the workload.
|
507
|
-
: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.
|
506
|
+
:param pulumi.Input[builtins.str] account_id: The New Relic account ID where you want to create the workload.
|
507
|
+
:param pulumi.Input[builtins.str] description: Relevant information about the workload.
|
508
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.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.
|
508
509
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WorkloadEntitySearchQueryArgs', 'WorkloadEntitySearchQueryArgsDict']]]] 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.
|
509
|
-
:param pulumi.Input[str] name: The workload's name.
|
510
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
510
|
+
:param pulumi.Input[builtins.str] name: The workload's name.
|
511
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
511
512
|
:param pulumi.Input[Union['WorkloadStatusConfigAutomaticArgs', 'WorkloadStatusConfigAutomaticArgsDict']] status_config_automatic: An input object used to represent an automatic status configuration.See Nested status_config_automatic blocks below for details.
|
512
513
|
:param pulumi.Input[Union['WorkloadStatusConfigStaticArgs', 'WorkloadStatusConfigStaticArgsDict']] 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.
|
513
514
|
"""
|
@@ -664,12 +665,12 @@ class Workload(pulumi.CustomResource):
|
|
664
665
|
def _internal_init(__self__,
|
665
666
|
resource_name: str,
|
666
667
|
opts: Optional[pulumi.ResourceOptions] = None,
|
667
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
668
|
-
description: Optional[pulumi.Input[str]] = None,
|
669
|
-
entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
668
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
669
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
670
|
+
entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
670
671
|
entity_search_queries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkloadEntitySearchQueryArgs', 'WorkloadEntitySearchQueryArgsDict']]]]] = None,
|
671
|
-
name: Optional[pulumi.Input[str]] = None,
|
672
|
-
scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
672
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
673
|
+
scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
673
674
|
status_config_automatic: Optional[pulumi.Input[Union['WorkloadStatusConfigAutomaticArgs', 'WorkloadStatusConfigAutomaticArgsDict']]] = None,
|
674
675
|
status_config_static: Optional[pulumi.Input[Union['WorkloadStatusConfigStaticArgs', 'WorkloadStatusConfigStaticArgsDict']]] = None,
|
675
676
|
__props__=None):
|
@@ -703,18 +704,18 @@ class Workload(pulumi.CustomResource):
|
|
703
704
|
def get(resource_name: str,
|
704
705
|
id: pulumi.Input[str],
|
705
706
|
opts: Optional[pulumi.ResourceOptions] = None,
|
706
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
707
|
-
composite_entity_search_query: Optional[pulumi.Input[str]] = None,
|
708
|
-
description: Optional[pulumi.Input[str]] = None,
|
709
|
-
entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
707
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
708
|
+
composite_entity_search_query: Optional[pulumi.Input[builtins.str]] = None,
|
709
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
710
|
+
entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
710
711
|
entity_search_queries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkloadEntitySearchQueryArgs', 'WorkloadEntitySearchQueryArgsDict']]]]] = None,
|
711
|
-
guid: Optional[pulumi.Input[str]] = None,
|
712
|
-
name: Optional[pulumi.Input[str]] = None,
|
713
|
-
permalink: Optional[pulumi.Input[str]] = None,
|
714
|
-
scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
712
|
+
guid: Optional[pulumi.Input[builtins.str]] = None,
|
713
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
714
|
+
permalink: Optional[pulumi.Input[builtins.str]] = None,
|
715
|
+
scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
715
716
|
status_config_automatic: Optional[pulumi.Input[Union['WorkloadStatusConfigAutomaticArgs', 'WorkloadStatusConfigAutomaticArgsDict']]] = None,
|
716
717
|
status_config_static: Optional[pulumi.Input[Union['WorkloadStatusConfigStaticArgs', 'WorkloadStatusConfigStaticArgsDict']]] = None,
|
717
|
-
workload_id: Optional[pulumi.Input[str]] = None) -> 'Workload':
|
718
|
+
workload_id: Optional[pulumi.Input[builtins.str]] = None) -> 'Workload':
|
718
719
|
"""
|
719
720
|
Get an existing Workload resource's state with the given name, id, and optional extra
|
720
721
|
properties used to qualify the lookup.
|
@@ -722,18 +723,18 @@ class Workload(pulumi.CustomResource):
|
|
722
723
|
:param str resource_name: The unique name of the resulting resource.
|
723
724
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
724
725
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
725
|
-
:param pulumi.Input[str] account_id: The New Relic account ID where you want to create the workload.
|
726
|
-
:param pulumi.Input[str] composite_entity_search_query: The composite query used to compose a dynamic workload.
|
727
|
-
:param pulumi.Input[str] description: Relevant information about the workload.
|
728
|
-
: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.
|
726
|
+
:param pulumi.Input[builtins.str] account_id: The New Relic account ID where you want to create the workload.
|
727
|
+
:param pulumi.Input[builtins.str] composite_entity_search_query: The composite query used to compose a dynamic workload.
|
728
|
+
:param pulumi.Input[builtins.str] description: Relevant information about the workload.
|
729
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.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.
|
729
730
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WorkloadEntitySearchQueryArgs', 'WorkloadEntitySearchQueryArgsDict']]]] 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.
|
730
|
-
:param pulumi.Input[str] guid: The unique entity identifier of the workload in New Relic.
|
731
|
-
:param pulumi.Input[str] name: The workload's name.
|
732
|
-
:param pulumi.Input[str] permalink: The URL of the workload.
|
733
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
731
|
+
:param pulumi.Input[builtins.str] guid: The unique entity identifier of the workload in New Relic.
|
732
|
+
:param pulumi.Input[builtins.str] name: The workload's name.
|
733
|
+
:param pulumi.Input[builtins.str] permalink: The URL of the workload.
|
734
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] scope_account_ids: A list of account IDs that will be used to get entities from.
|
734
735
|
:param pulumi.Input[Union['WorkloadStatusConfigAutomaticArgs', 'WorkloadStatusConfigAutomaticArgsDict']] status_config_automatic: An input object used to represent an automatic status configuration.See Nested status_config_automatic blocks below for details.
|
735
736
|
:param pulumi.Input[Union['WorkloadStatusConfigStaticArgs', 'WorkloadStatusConfigStaticArgsDict']] 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.
|
736
|
-
:param pulumi.Input[str] workload_id: The unique entity identifier of the workload.
|
737
|
+
:param pulumi.Input[builtins.str] workload_id: The unique entity identifier of the workload.
|
737
738
|
"""
|
738
739
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
739
740
|
|
@@ -755,7 +756,7 @@ class Workload(pulumi.CustomResource):
|
|
755
756
|
|
756
757
|
@property
|
757
758
|
@pulumi.getter(name="accountId")
|
758
|
-
def account_id(self) -> pulumi.Output[str]:
|
759
|
+
def account_id(self) -> pulumi.Output[builtins.str]:
|
759
760
|
"""
|
760
761
|
The New Relic account ID where you want to create the workload.
|
761
762
|
"""
|
@@ -763,7 +764,7 @@ class Workload(pulumi.CustomResource):
|
|
763
764
|
|
764
765
|
@property
|
765
766
|
@pulumi.getter(name="compositeEntitySearchQuery")
|
766
|
-
def composite_entity_search_query(self) -> pulumi.Output[str]:
|
767
|
+
def composite_entity_search_query(self) -> pulumi.Output[builtins.str]:
|
767
768
|
"""
|
768
769
|
The composite query used to compose a dynamic workload.
|
769
770
|
"""
|
@@ -771,7 +772,7 @@ class Workload(pulumi.CustomResource):
|
|
771
772
|
|
772
773
|
@property
|
773
774
|
@pulumi.getter
|
774
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
775
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
775
776
|
"""
|
776
777
|
Relevant information about the workload.
|
777
778
|
"""
|
@@ -779,7 +780,7 @@ class Workload(pulumi.CustomResource):
|
|
779
780
|
|
780
781
|
@property
|
781
782
|
@pulumi.getter(name="entityGuids")
|
782
|
-
def entity_guids(self) -> pulumi.Output[Sequence[str]]:
|
783
|
+
def entity_guids(self) -> pulumi.Output[Sequence[builtins.str]]:
|
783
784
|
"""
|
784
785
|
A list of entity GUIDs manually assigned to this workload. At least one of either `entity_guids` or `entity_search_query` is required.
|
785
786
|
"""
|
@@ -795,7 +796,7 @@ class Workload(pulumi.CustomResource):
|
|
795
796
|
|
796
797
|
@property
|
797
798
|
@pulumi.getter
|
798
|
-
def guid(self) -> pulumi.Output[str]:
|
799
|
+
def guid(self) -> pulumi.Output[builtins.str]:
|
799
800
|
"""
|
800
801
|
The unique entity identifier of the workload in New Relic.
|
801
802
|
"""
|
@@ -803,7 +804,7 @@ class Workload(pulumi.CustomResource):
|
|
803
804
|
|
804
805
|
@property
|
805
806
|
@pulumi.getter
|
806
|
-
def name(self) -> pulumi.Output[str]:
|
807
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
807
808
|
"""
|
808
809
|
The workload's name.
|
809
810
|
"""
|
@@ -811,7 +812,7 @@ class Workload(pulumi.CustomResource):
|
|
811
812
|
|
812
813
|
@property
|
813
814
|
@pulumi.getter
|
814
|
-
def permalink(self) -> pulumi.Output[str]:
|
815
|
+
def permalink(self) -> pulumi.Output[builtins.str]:
|
815
816
|
"""
|
816
817
|
The URL of the workload.
|
817
818
|
"""
|
@@ -819,7 +820,7 @@ class Workload(pulumi.CustomResource):
|
|
819
820
|
|
820
821
|
@property
|
821
822
|
@pulumi.getter(name="scopeAccountIds")
|
822
|
-
def scope_account_ids(self) -> pulumi.Output[Sequence[str]]:
|
823
|
+
def scope_account_ids(self) -> pulumi.Output[Sequence[builtins.str]]:
|
823
824
|
"""
|
824
825
|
A list of account IDs that will be used to get entities from.
|
825
826
|
"""
|
@@ -843,7 +844,7 @@ class Workload(pulumi.CustomResource):
|
|
843
844
|
|
844
845
|
@property
|
845
846
|
@pulumi.getter(name="workloadId")
|
846
|
-
def workload_id(self) -> pulumi.Output[str]:
|
847
|
+
def workload_id(self) -> pulumi.Output[builtins.str]:
|
847
848
|
"""
|
848
849
|
The unique entity identifier of the workload.
|
849
850
|
"""
|