pulumi-newrelic 5.23.0__py3-none-any.whl → 5.23.0a1711707796__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 +270 -183
- pulumi_newrelic/account_management.py +20 -20
- pulumi_newrelic/alert_channel.py +92 -76
- pulumi_newrelic/alert_condition.py +163 -104
- pulumi_newrelic/alert_muting_rule.py +35 -33
- pulumi_newrelic/alert_policy.py +43 -68
- pulumi_newrelic/alert_policy_channel.py +8 -12
- pulumi_newrelic/cloud/_inputs.py +1072 -322
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +6 -4
- pulumi_newrelic/cloud/aws_integrations.py +15 -13
- pulumi_newrelic/cloud/aws_link_account.py +6 -4
- pulumi_newrelic/cloud/azure_integrations.py +12 -10
- pulumi_newrelic/cloud/azure_link_account.py +6 -4
- pulumi_newrelic/cloud/gcp_integrations.py +6 -6
- pulumi_newrelic/cloud/gcp_link_account.py +6 -4
- pulumi_newrelic/cloud/outputs.py +1072 -322
- pulumi_newrelic/data_partition_rule.py +4 -0
- pulumi_newrelic/entity_tags.py +17 -13
- pulumi_newrelic/events_to_metrics_rule.py +4 -2
- pulumi_newrelic/get_account.py +4 -0
- pulumi_newrelic/get_application.py +10 -8
- pulumi_newrelic/get_authentication_domain.py +8 -4
- pulumi_newrelic/get_cloud_account.py +4 -0
- pulumi_newrelic/get_entity.py +32 -28
- pulumi_newrelic/get_group.py +8 -42
- pulumi_newrelic/get_key_transaction.py +10 -8
- pulumi_newrelic/get_notification_destination.py +1 -20
- pulumi_newrelic/get_obfuscation_expression.py +4 -2
- pulumi_newrelic/get_service_level_alert_helper.py +46 -22
- pulumi_newrelic/get_test_grok_pattern.py +6 -4
- pulumi_newrelic/get_user.py +4 -0
- pulumi_newrelic/group.py +42 -40
- pulumi_newrelic/infra_alert_condition.py +145 -154
- pulumi_newrelic/insights/event.py +25 -8
- pulumi_newrelic/log_parsing_rule.py +10 -6
- pulumi_newrelic/monitor_downtime.py +193 -174
- pulumi_newrelic/notification_channel.py +150 -124
- pulumi_newrelic/notification_destination.py +1 -95
- pulumi_newrelic/nrql_alert_condition.py +48 -38
- pulumi_newrelic/nrql_drop_rule.py +38 -34
- pulumi_newrelic/obfuscation_expression.py +4 -2
- pulumi_newrelic/obfuscation_rule.py +4 -4
- pulumi_newrelic/one_dashboard.py +48 -42
- pulumi_newrelic/one_dashboard_raw.py +86 -86
- pulumi_newrelic/outputs.py +270 -180
- pulumi_newrelic/plugins/_inputs.py +16 -16
- pulumi_newrelic/plugins/application_settings.py +36 -20
- pulumi_newrelic/plugins/outputs.py +16 -16
- pulumi_newrelic/plugins/workload.py +40 -158
- pulumi_newrelic/service_level.py +123 -38
- pulumi_newrelic/synthetics/alert_condition.py +78 -34
- pulumi_newrelic/synthetics/broken_links_monitor.py +20 -18
- pulumi_newrelic/synthetics/cert_check_monitor.py +18 -16
- pulumi_newrelic/synthetics/get_private_location.py +8 -0
- pulumi_newrelic/synthetics/get_secure_credential.py +12 -0
- pulumi_newrelic/synthetics/monitor.py +52 -48
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +83 -69
- pulumi_newrelic/synthetics/private_location.py +6 -6
- pulumi_newrelic/synthetics/script_monitor.py +42 -38
- pulumi_newrelic/synthetics/secure_credential.py +22 -25
- pulumi_newrelic/synthetics/step_monitor.py +20 -18
- pulumi_newrelic/user.py +10 -8
- pulumi_newrelic/workflow.py +24 -20
- {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711707796.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.23.0a1711707796.dist-info/RECORD +89 -0
- pulumi_newrelic-5.23.0.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711707796.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711707796.dist-info}/top_level.txt +0 -0
@@ -20,10 +20,10 @@ class NrqlDropRuleArgs:
|
|
20
20
|
description: Optional[pulumi.Input[str]] = None):
|
21
21
|
"""
|
22
22
|
The set of arguments for constructing a NrqlDropRule resource.
|
23
|
-
:param pulumi.Input[str] action:
|
24
|
-
:param pulumi.Input[str] nrql:
|
25
|
-
:param pulumi.Input[int] account_id: Account
|
26
|
-
:param pulumi.Input[str] description:
|
23
|
+
:param pulumi.Input[str] action: An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
|
24
|
+
:param pulumi.Input[str] nrql: A NRQL string that specifies what data types to drop.
|
25
|
+
:param pulumi.Input[int] account_id: Account where the drop rule will be put. Defaults to the account associated with the API key used.
|
26
|
+
:param pulumi.Input[str] description: The description of the drop rule.
|
27
27
|
"""
|
28
28
|
pulumi.set(__self__, "action", action)
|
29
29
|
pulumi.set(__self__, "nrql", nrql)
|
@@ -36,7 +36,7 @@ class NrqlDropRuleArgs:
|
|
36
36
|
@pulumi.getter
|
37
37
|
def action(self) -> pulumi.Input[str]:
|
38
38
|
"""
|
39
|
-
|
39
|
+
An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
|
40
40
|
"""
|
41
41
|
return pulumi.get(self, "action")
|
42
42
|
|
@@ -48,7 +48,7 @@ class NrqlDropRuleArgs:
|
|
48
48
|
@pulumi.getter
|
49
49
|
def nrql(self) -> pulumi.Input[str]:
|
50
50
|
"""
|
51
|
-
|
51
|
+
A NRQL string that specifies what data types to drop.
|
52
52
|
"""
|
53
53
|
return pulumi.get(self, "nrql")
|
54
54
|
|
@@ -60,7 +60,7 @@ class NrqlDropRuleArgs:
|
|
60
60
|
@pulumi.getter(name="accountId")
|
61
61
|
def account_id(self) -> Optional[pulumi.Input[int]]:
|
62
62
|
"""
|
63
|
-
Account
|
63
|
+
Account where the drop rule will be put. Defaults to the account associated with the API key used.
|
64
64
|
"""
|
65
65
|
return pulumi.get(self, "account_id")
|
66
66
|
|
@@ -72,7 +72,7 @@ class NrqlDropRuleArgs:
|
|
72
72
|
@pulumi.getter
|
73
73
|
def description(self) -> Optional[pulumi.Input[str]]:
|
74
74
|
"""
|
75
|
-
|
75
|
+
The description of the drop rule.
|
76
76
|
"""
|
77
77
|
return pulumi.get(self, "description")
|
78
78
|
|
@@ -91,10 +91,10 @@ class _NrqlDropRuleState:
|
|
91
91
|
rule_id: Optional[pulumi.Input[str]] = None):
|
92
92
|
"""
|
93
93
|
Input properties used for looking up and filtering NrqlDropRule resources.
|
94
|
-
:param pulumi.Input[int] account_id: Account
|
95
|
-
:param pulumi.Input[str] action:
|
96
|
-
:param pulumi.Input[str] description:
|
97
|
-
:param pulumi.Input[str] nrql:
|
94
|
+
:param pulumi.Input[int] account_id: Account where the drop rule will be put. Defaults to the account associated with the API key used.
|
95
|
+
:param pulumi.Input[str] action: An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
|
96
|
+
:param pulumi.Input[str] description: The description of the drop rule.
|
97
|
+
:param pulumi.Input[str] nrql: A NRQL string that specifies what data types to drop.
|
98
98
|
:param pulumi.Input[str] rule_id: The id, uniquely identifying the rule.
|
99
99
|
"""
|
100
100
|
if account_id is not None:
|
@@ -112,7 +112,7 @@ class _NrqlDropRuleState:
|
|
112
112
|
@pulumi.getter(name="accountId")
|
113
113
|
def account_id(self) -> Optional[pulumi.Input[int]]:
|
114
114
|
"""
|
115
|
-
Account
|
115
|
+
Account where the drop rule will be put. Defaults to the account associated with the API key used.
|
116
116
|
"""
|
117
117
|
return pulumi.get(self, "account_id")
|
118
118
|
|
@@ -124,7 +124,7 @@ class _NrqlDropRuleState:
|
|
124
124
|
@pulumi.getter
|
125
125
|
def action(self) -> Optional[pulumi.Input[str]]:
|
126
126
|
"""
|
127
|
-
|
127
|
+
An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
|
128
128
|
"""
|
129
129
|
return pulumi.get(self, "action")
|
130
130
|
|
@@ -136,7 +136,7 @@ class _NrqlDropRuleState:
|
|
136
136
|
@pulumi.getter
|
137
137
|
def description(self) -> Optional[pulumi.Input[str]]:
|
138
138
|
"""
|
139
|
-
|
139
|
+
The description of the drop rule.
|
140
140
|
"""
|
141
141
|
return pulumi.get(self, "description")
|
142
142
|
|
@@ -148,7 +148,7 @@ class _NrqlDropRuleState:
|
|
148
148
|
@pulumi.getter
|
149
149
|
def nrql(self) -> Optional[pulumi.Input[str]]:
|
150
150
|
"""
|
151
|
-
|
151
|
+
A NRQL string that specifies what data types to drop.
|
152
152
|
"""
|
153
153
|
return pulumi.get(self, "nrql")
|
154
154
|
|
@@ -182,26 +182,28 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
182
182
|
"""
|
183
183
|
## Example Usage
|
184
184
|
|
185
|
+
<!--Start PulumiCodeChooser -->
|
185
186
|
```python
|
186
187
|
import pulumi
|
187
188
|
import pulumi_newrelic as newrelic
|
188
189
|
|
189
190
|
foo = newrelic.NrqlDropRule("foo",
|
190
191
|
account_id=12345,
|
191
|
-
description="Drops all data for MyCustomEvent that comes from the LoadGeneratingApp in the dev environment, because there is too much and we don’t look at it.",
|
192
192
|
action="drop_data",
|
193
|
+
description="Drops all data for MyCustomEvent that comes from the LoadGeneratingApp in the dev environment, because there is too much and we don’t look at it.",
|
193
194
|
nrql="SELECT * FROM MyCustomEvent WHERE appName='LoadGeneratingApp' AND environment='development'")
|
194
195
|
bar = newrelic.NrqlDropRule("bar",
|
195
196
|
account_id=12345,
|
196
|
-
description="Removes the user name and email fields from MyCustomEvent",
|
197
197
|
action="drop_attributes",
|
198
|
+
description="Removes the user name and email fields from MyCustomEvent",
|
198
199
|
nrql="SELECT userEmail, userName FROM MyCustomEvent")
|
199
200
|
baz = newrelic.NrqlDropRule("baz",
|
200
201
|
account_id=12345,
|
201
|
-
description="Removes containerId from metric aggregates to reduce metric cardinality.",
|
202
202
|
action="drop_attributes_from_metric_aggregates",
|
203
|
+
description="Removes containerId from metric aggregates to reduce metric cardinality.",
|
203
204
|
nrql="SELECT containerId FROM Metric")
|
204
205
|
```
|
206
|
+
<!--End PulumiCodeChooser -->
|
205
207
|
|
206
208
|
## Using `newrelic-cli` to List Out Drop Rules
|
207
209
|
|
@@ -228,10 +230,10 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
228
230
|
|
229
231
|
:param str resource_name: The name of the resource.
|
230
232
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
231
|
-
:param pulumi.Input[int] account_id: Account
|
232
|
-
:param pulumi.Input[str] action:
|
233
|
-
:param pulumi.Input[str] description:
|
234
|
-
:param pulumi.Input[str] nrql:
|
233
|
+
:param pulumi.Input[int] account_id: Account where the drop rule will be put. Defaults to the account associated with the API key used.
|
234
|
+
:param pulumi.Input[str] action: An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
|
235
|
+
:param pulumi.Input[str] description: The description of the drop rule.
|
236
|
+
:param pulumi.Input[str] nrql: A NRQL string that specifies what data types to drop.
|
235
237
|
"""
|
236
238
|
...
|
237
239
|
@overload
|
@@ -242,26 +244,28 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
242
244
|
"""
|
243
245
|
## Example Usage
|
244
246
|
|
247
|
+
<!--Start PulumiCodeChooser -->
|
245
248
|
```python
|
246
249
|
import pulumi
|
247
250
|
import pulumi_newrelic as newrelic
|
248
251
|
|
249
252
|
foo = newrelic.NrqlDropRule("foo",
|
250
253
|
account_id=12345,
|
251
|
-
description="Drops all data for MyCustomEvent that comes from the LoadGeneratingApp in the dev environment, because there is too much and we don’t look at it.",
|
252
254
|
action="drop_data",
|
255
|
+
description="Drops all data for MyCustomEvent that comes from the LoadGeneratingApp in the dev environment, because there is too much and we don’t look at it.",
|
253
256
|
nrql="SELECT * FROM MyCustomEvent WHERE appName='LoadGeneratingApp' AND environment='development'")
|
254
257
|
bar = newrelic.NrqlDropRule("bar",
|
255
258
|
account_id=12345,
|
256
|
-
description="Removes the user name and email fields from MyCustomEvent",
|
257
259
|
action="drop_attributes",
|
260
|
+
description="Removes the user name and email fields from MyCustomEvent",
|
258
261
|
nrql="SELECT userEmail, userName FROM MyCustomEvent")
|
259
262
|
baz = newrelic.NrqlDropRule("baz",
|
260
263
|
account_id=12345,
|
261
|
-
description="Removes containerId from metric aggregates to reduce metric cardinality.",
|
262
264
|
action="drop_attributes_from_metric_aggregates",
|
265
|
+
description="Removes containerId from metric aggregates to reduce metric cardinality.",
|
263
266
|
nrql="SELECT containerId FROM Metric")
|
264
267
|
```
|
268
|
+
<!--End PulumiCodeChooser -->
|
265
269
|
|
266
270
|
## Using `newrelic-cli` to List Out Drop Rules
|
267
271
|
|
@@ -345,10 +349,10 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
345
349
|
:param str resource_name: The unique name of the resulting resource.
|
346
350
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
347
351
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
348
|
-
:param pulumi.Input[int] account_id: Account
|
349
|
-
:param pulumi.Input[str] action:
|
350
|
-
:param pulumi.Input[str] description:
|
351
|
-
:param pulumi.Input[str] nrql:
|
352
|
+
:param pulumi.Input[int] account_id: Account where the drop rule will be put. Defaults to the account associated with the API key used.
|
353
|
+
:param pulumi.Input[str] action: An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
|
354
|
+
:param pulumi.Input[str] description: The description of the drop rule.
|
355
|
+
:param pulumi.Input[str] nrql: A NRQL string that specifies what data types to drop.
|
352
356
|
:param pulumi.Input[str] rule_id: The id, uniquely identifying the rule.
|
353
357
|
"""
|
354
358
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -366,7 +370,7 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
366
370
|
@pulumi.getter(name="accountId")
|
367
371
|
def account_id(self) -> pulumi.Output[int]:
|
368
372
|
"""
|
369
|
-
Account
|
373
|
+
Account where the drop rule will be put. Defaults to the account associated with the API key used.
|
370
374
|
"""
|
371
375
|
return pulumi.get(self, "account_id")
|
372
376
|
|
@@ -374,7 +378,7 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
374
378
|
@pulumi.getter
|
375
379
|
def action(self) -> pulumi.Output[str]:
|
376
380
|
"""
|
377
|
-
|
381
|
+
An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
|
378
382
|
"""
|
379
383
|
return pulumi.get(self, "action")
|
380
384
|
|
@@ -382,7 +386,7 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
382
386
|
@pulumi.getter
|
383
387
|
def description(self) -> pulumi.Output[Optional[str]]:
|
384
388
|
"""
|
385
|
-
|
389
|
+
The description of the drop rule.
|
386
390
|
"""
|
387
391
|
return pulumi.get(self, "description")
|
388
392
|
|
@@ -390,7 +394,7 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
390
394
|
@pulumi.getter
|
391
395
|
def nrql(self) -> pulumi.Output[str]:
|
392
396
|
"""
|
393
|
-
|
397
|
+
A NRQL string that specifies what data types to drop.
|
394
398
|
"""
|
395
399
|
return pulumi.get(self, "nrql")
|
396
400
|
|
@@ -169,16 +169,17 @@ class ObfuscationExpression(pulumi.CustomResource):
|
|
169
169
|
|
170
170
|
## Example Usage
|
171
171
|
|
172
|
+
<!--Start PulumiCodeChooser -->
|
172
173
|
```python
|
173
174
|
import pulumi
|
174
175
|
import pulumi_newrelic as newrelic
|
175
176
|
|
176
177
|
foo = newrelic.ObfuscationExpression("foo",
|
177
178
|
account_id=12345,
|
178
|
-
name="OExp",
|
179
179
|
description="The description",
|
180
180
|
regex="(regex.*)")
|
181
181
|
```
|
182
|
+
<!--End PulumiCodeChooser -->
|
182
183
|
|
183
184
|
## Import
|
184
185
|
|
@@ -208,16 +209,17 @@ class ObfuscationExpression(pulumi.CustomResource):
|
|
208
209
|
|
209
210
|
## Example Usage
|
210
211
|
|
212
|
+
<!--Start PulumiCodeChooser -->
|
211
213
|
```python
|
212
214
|
import pulumi
|
213
215
|
import pulumi_newrelic as newrelic
|
214
216
|
|
215
217
|
foo = newrelic.ObfuscationExpression("foo",
|
216
218
|
account_id=12345,
|
217
|
-
name="OExp",
|
218
219
|
description="The description",
|
219
220
|
regex="(regex.*)")
|
220
221
|
```
|
222
|
+
<!--End PulumiCodeChooser -->
|
221
223
|
|
222
224
|
## Import
|
223
225
|
|
@@ -235,16 +235,15 @@ class ObfuscationRule(pulumi.CustomResource):
|
|
235
235
|
|
236
236
|
## Example Usage
|
237
237
|
|
238
|
+
<!--Start PulumiCodeChooser -->
|
238
239
|
```python
|
239
240
|
import pulumi
|
240
241
|
import pulumi_newrelic as newrelic
|
241
242
|
|
242
243
|
bar = newrelic.ObfuscationExpression("bar",
|
243
|
-
name="expressionName",
|
244
244
|
description="description of the expression",
|
245
245
|
regex="(^http)")
|
246
246
|
foo = newrelic.ObfuscationRule("foo",
|
247
|
-
name="ruleName",
|
248
247
|
description="description of the rule",
|
249
248
|
filter="hostStatus=running",
|
250
249
|
enabled=True,
|
@@ -254,6 +253,7 @@ class ObfuscationRule(pulumi.CustomResource):
|
|
254
253
|
method="MASK",
|
255
254
|
)])
|
256
255
|
```
|
256
|
+
<!--End PulumiCodeChooser -->
|
257
257
|
|
258
258
|
## Import
|
259
259
|
|
@@ -285,16 +285,15 @@ class ObfuscationRule(pulumi.CustomResource):
|
|
285
285
|
|
286
286
|
## Example Usage
|
287
287
|
|
288
|
+
<!--Start PulumiCodeChooser -->
|
288
289
|
```python
|
289
290
|
import pulumi
|
290
291
|
import pulumi_newrelic as newrelic
|
291
292
|
|
292
293
|
bar = newrelic.ObfuscationExpression("bar",
|
293
|
-
name="expressionName",
|
294
294
|
description="description of the expression",
|
295
295
|
regex="(^http)")
|
296
296
|
foo = newrelic.ObfuscationRule("foo",
|
297
|
-
name="ruleName",
|
298
297
|
description="description of the rule",
|
299
298
|
filter="hostStatus=running",
|
300
299
|
enabled=True,
|
@@ -304,6 +303,7 @@ class ObfuscationRule(pulumi.CustomResource):
|
|
304
303
|
method="MASK",
|
305
304
|
)])
|
306
305
|
```
|
306
|
+
<!--End PulumiCodeChooser -->
|
307
307
|
|
308
308
|
## Import
|
309
309
|
|
pulumi_newrelic/one_dashboard.py
CHANGED
@@ -24,12 +24,12 @@ class OneDashboardArgs:
|
|
24
24
|
variables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]] = None):
|
25
25
|
"""
|
26
26
|
The set of arguments for constructing a OneDashboard resource.
|
27
|
-
:param pulumi.Input[
|
28
|
-
:param pulumi.Input[
|
29
|
-
:param pulumi.Input[str]
|
30
|
-
:param pulumi.Input[str]
|
31
|
-
|
32
|
-
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables:
|
27
|
+
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]] pages: A nested block that describes a page. See Nested page blocks below for details.
|
28
|
+
:param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
29
|
+
:param pulumi.Input[str] description: Brief text describing the dashboard.
|
30
|
+
:param pulumi.Input[str] name: The title of the dashboard.
|
31
|
+
:param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
|
32
|
+
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
|
33
33
|
"""
|
34
34
|
pulumi.set(__self__, "pages", pages)
|
35
35
|
if account_id is not None:
|
@@ -46,6 +46,9 @@ class OneDashboardArgs:
|
|
46
46
|
@property
|
47
47
|
@pulumi.getter
|
48
48
|
def pages(self) -> pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]]:
|
49
|
+
"""
|
50
|
+
A nested block that describes a page. See Nested page blocks below for details.
|
51
|
+
"""
|
49
52
|
return pulumi.get(self, "pages")
|
50
53
|
|
51
54
|
@pages.setter
|
@@ -56,7 +59,7 @@ class OneDashboardArgs:
|
|
56
59
|
@pulumi.getter(name="accountId")
|
57
60
|
def account_id(self) -> Optional[pulumi.Input[int]]:
|
58
61
|
"""
|
59
|
-
|
62
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
60
63
|
"""
|
61
64
|
return pulumi.get(self, "account_id")
|
62
65
|
|
@@ -68,7 +71,7 @@ class OneDashboardArgs:
|
|
68
71
|
@pulumi.getter
|
69
72
|
def description(self) -> Optional[pulumi.Input[str]]:
|
70
73
|
"""
|
71
|
-
|
74
|
+
Brief text describing the dashboard.
|
72
75
|
"""
|
73
76
|
return pulumi.get(self, "description")
|
74
77
|
|
@@ -80,7 +83,7 @@ class OneDashboardArgs:
|
|
80
83
|
@pulumi.getter
|
81
84
|
def name(self) -> Optional[pulumi.Input[str]]:
|
82
85
|
"""
|
83
|
-
|
86
|
+
The title of the dashboard.
|
84
87
|
"""
|
85
88
|
return pulumi.get(self, "name")
|
86
89
|
|
@@ -92,8 +95,7 @@ class OneDashboardArgs:
|
|
92
95
|
@pulumi.getter
|
93
96
|
def permissions(self) -> Optional[pulumi.Input[str]]:
|
94
97
|
"""
|
95
|
-
Determines who can see
|
96
|
-
public_read_only.
|
98
|
+
Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
|
97
99
|
"""
|
98
100
|
return pulumi.get(self, "permissions")
|
99
101
|
|
@@ -105,7 +107,7 @@ class OneDashboardArgs:
|
|
105
107
|
@pulumi.getter
|
106
108
|
def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]]:
|
107
109
|
"""
|
108
|
-
|
110
|
+
A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
|
109
111
|
"""
|
110
112
|
return pulumi.get(self, "variables")
|
111
113
|
|
@@ -127,14 +129,14 @@ class _OneDashboardState:
|
|
127
129
|
variables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]] = None):
|
128
130
|
"""
|
129
131
|
Input properties used for looking up and filtering OneDashboard resources.
|
130
|
-
:param pulumi.Input[int] account_id:
|
131
|
-
:param pulumi.Input[str] description:
|
132
|
+
:param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
133
|
+
:param pulumi.Input[str] description: Brief text describing the dashboard.
|
132
134
|
:param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
|
133
|
-
:param pulumi.Input[str] name:
|
135
|
+
:param pulumi.Input[str] name: The title of the dashboard.
|
136
|
+
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]] pages: A nested block that describes a page. See Nested page blocks below for details.
|
134
137
|
:param pulumi.Input[str] permalink: The URL for viewing the dashboard.
|
135
|
-
:param pulumi.Input[str] permissions: Determines who can see
|
136
|
-
|
137
|
-
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables: Dashboard-local variable definitions.
|
138
|
+
:param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
|
139
|
+
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
|
138
140
|
"""
|
139
141
|
if account_id is not None:
|
140
142
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -157,7 +159,7 @@ class _OneDashboardState:
|
|
157
159
|
@pulumi.getter(name="accountId")
|
158
160
|
def account_id(self) -> Optional[pulumi.Input[int]]:
|
159
161
|
"""
|
160
|
-
|
162
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
161
163
|
"""
|
162
164
|
return pulumi.get(self, "account_id")
|
163
165
|
|
@@ -169,7 +171,7 @@ class _OneDashboardState:
|
|
169
171
|
@pulumi.getter
|
170
172
|
def description(self) -> Optional[pulumi.Input[str]]:
|
171
173
|
"""
|
172
|
-
|
174
|
+
Brief text describing the dashboard.
|
173
175
|
"""
|
174
176
|
return pulumi.get(self, "description")
|
175
177
|
|
@@ -193,7 +195,7 @@ class _OneDashboardState:
|
|
193
195
|
@pulumi.getter
|
194
196
|
def name(self) -> Optional[pulumi.Input[str]]:
|
195
197
|
"""
|
196
|
-
|
198
|
+
The title of the dashboard.
|
197
199
|
"""
|
198
200
|
return pulumi.get(self, "name")
|
199
201
|
|
@@ -204,6 +206,9 @@ class _OneDashboardState:
|
|
204
206
|
@property
|
205
207
|
@pulumi.getter
|
206
208
|
def pages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]]]:
|
209
|
+
"""
|
210
|
+
A nested block that describes a page. See Nested page blocks below for details.
|
211
|
+
"""
|
207
212
|
return pulumi.get(self, "pages")
|
208
213
|
|
209
214
|
@pages.setter
|
@@ -226,8 +231,7 @@ class _OneDashboardState:
|
|
226
231
|
@pulumi.getter
|
227
232
|
def permissions(self) -> Optional[pulumi.Input[str]]:
|
228
233
|
"""
|
229
|
-
Determines who can see
|
230
|
-
public_read_only.
|
234
|
+
Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
|
231
235
|
"""
|
232
236
|
return pulumi.get(self, "permissions")
|
233
237
|
|
@@ -239,7 +243,7 @@ class _OneDashboardState:
|
|
239
243
|
@pulumi.getter
|
240
244
|
def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]]:
|
241
245
|
"""
|
242
|
-
|
246
|
+
A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
|
243
247
|
"""
|
244
248
|
return pulumi.get(self, "variables")
|
245
249
|
|
@@ -273,12 +277,12 @@ class OneDashboard(pulumi.CustomResource):
|
|
273
277
|
|
274
278
|
:param str resource_name: The name of the resource.
|
275
279
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
276
|
-
:param pulumi.Input[int] account_id:
|
277
|
-
:param pulumi.Input[str] description:
|
278
|
-
:param pulumi.Input[str] name:
|
279
|
-
:param pulumi.Input[
|
280
|
-
|
281
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]] variables:
|
280
|
+
:param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
281
|
+
:param pulumi.Input[str] description: Brief text describing the dashboard.
|
282
|
+
:param pulumi.Input[str] name: The title of the dashboard.
|
283
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
|
284
|
+
:param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
|
285
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
|
282
286
|
"""
|
283
287
|
...
|
284
288
|
@overload
|
@@ -362,14 +366,14 @@ class OneDashboard(pulumi.CustomResource):
|
|
362
366
|
:param str resource_name: The unique name of the resulting resource.
|
363
367
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
364
368
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
365
|
-
:param pulumi.Input[int] account_id:
|
366
|
-
:param pulumi.Input[str] description:
|
369
|
+
:param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
370
|
+
:param pulumi.Input[str] description: Brief text describing the dashboard.
|
367
371
|
:param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
|
368
|
-
:param pulumi.Input[str] name:
|
372
|
+
:param pulumi.Input[str] name: The title of the dashboard.
|
373
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
|
369
374
|
:param pulumi.Input[str] permalink: The URL for viewing the dashboard.
|
370
|
-
:param pulumi.Input[str] permissions: Determines who can see
|
371
|
-
|
372
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]] variables: Dashboard-local variable definitions.
|
375
|
+
:param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
|
376
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
|
373
377
|
"""
|
374
378
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
375
379
|
|
@@ -389,7 +393,7 @@ class OneDashboard(pulumi.CustomResource):
|
|
389
393
|
@pulumi.getter(name="accountId")
|
390
394
|
def account_id(self) -> pulumi.Output[int]:
|
391
395
|
"""
|
392
|
-
|
396
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
393
397
|
"""
|
394
398
|
return pulumi.get(self, "account_id")
|
395
399
|
|
@@ -397,7 +401,7 @@ class OneDashboard(pulumi.CustomResource):
|
|
397
401
|
@pulumi.getter
|
398
402
|
def description(self) -> pulumi.Output[Optional[str]]:
|
399
403
|
"""
|
400
|
-
|
404
|
+
Brief text describing the dashboard.
|
401
405
|
"""
|
402
406
|
return pulumi.get(self, "description")
|
403
407
|
|
@@ -413,13 +417,16 @@ class OneDashboard(pulumi.CustomResource):
|
|
413
417
|
@pulumi.getter
|
414
418
|
def name(self) -> pulumi.Output[str]:
|
415
419
|
"""
|
416
|
-
|
420
|
+
The title of the dashboard.
|
417
421
|
"""
|
418
422
|
return pulumi.get(self, "name")
|
419
423
|
|
420
424
|
@property
|
421
425
|
@pulumi.getter
|
422
426
|
def pages(self) -> pulumi.Output[Sequence['outputs.OneDashboardPage']]:
|
427
|
+
"""
|
428
|
+
A nested block that describes a page. See Nested page blocks below for details.
|
429
|
+
"""
|
423
430
|
return pulumi.get(self, "pages")
|
424
431
|
|
425
432
|
@property
|
@@ -434,8 +441,7 @@ class OneDashboard(pulumi.CustomResource):
|
|
434
441
|
@pulumi.getter
|
435
442
|
def permissions(self) -> pulumi.Output[Optional[str]]:
|
436
443
|
"""
|
437
|
-
Determines who can see
|
438
|
-
public_read_only.
|
444
|
+
Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
|
439
445
|
"""
|
440
446
|
return pulumi.get(self, "permissions")
|
441
447
|
|
@@ -443,7 +449,7 @@ class OneDashboard(pulumi.CustomResource):
|
|
443
449
|
@pulumi.getter
|
444
450
|
def variables(self) -> pulumi.Output[Optional[Sequence['outputs.OneDashboardVariable']]]:
|
445
451
|
"""
|
446
|
-
|
452
|
+
A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
|
447
453
|
"""
|
448
454
|
return pulumi.get(self, "variables")
|
449
455
|
|