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