pulumi-newrelic 5.28.0a1723009616__py3-none-any.whl → 5.29.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 +18 -18
- pulumi_newrelic/alert_channel.py +69 -69
- pulumi_newrelic/alert_condition.py +49 -49
- pulumi_newrelic/alert_muting_rule.py +54 -54
- pulumi_newrelic/alert_policy.py +16 -16
- pulumi_newrelic/alert_policy_channel.py +16 -16
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +100 -100
- pulumi_newrelic/cloud/aws_integrations.py +798 -798
- pulumi_newrelic/cloud/azure_integrations.py +424 -424
- pulumi_newrelic/cloud/gcp_integrations.py +288 -288
- pulumi_newrelic/entity_tags.py +21 -21
- pulumi_newrelic/get_application.py +14 -14
- pulumi_newrelic/get_entity.py +4 -4
- pulumi_newrelic/get_key_transaction.py +14 -14
- pulumi_newrelic/get_notification_destination.py +5 -5
- pulumi_newrelic/get_obfuscation_expression.py +10 -10
- pulumi_newrelic/get_service_level_alert_helper.py +76 -76
- pulumi_newrelic/infra_alert_condition.py +90 -90
- pulumi_newrelic/insights/event.py +43 -43
- pulumi_newrelic/monitor_downtime.py +52 -52
- pulumi_newrelic/notification_channel.py +218 -194
- pulumi_newrelic/notification_destination.py +46 -39
- pulumi_newrelic/nrql_alert_condition.py +262 -164
- pulumi_newrelic/obfuscation_rule.py +15 -15
- pulumi_newrelic/one_dashboard.py +10 -10
- pulumi_newrelic/one_dashboard_raw.py +75 -75
- pulumi_newrelic/outputs.py +14 -14
- pulumi_newrelic/plugins/workload.py +101 -101
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +164 -164
- pulumi_newrelic/synthetics/alert_condition.py +32 -32
- pulumi_newrelic/synthetics/broken_links_monitor.py +21 -21
- pulumi_newrelic/synthetics/cert_check_monitor.py +21 -21
- pulumi_newrelic/synthetics/get_private_location.py +6 -6
- pulumi_newrelic/synthetics/monitor.py +74 -74
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +66 -66
- pulumi_newrelic/synthetics/script_monitor.py +58 -58
- pulumi_newrelic/synthetics/step_monitor.py +59 -59
- pulumi_newrelic/workflow.py +155 -155
- {pulumi_newrelic-5.28.0a1723009616.dist-info → pulumi_newrelic-5.29.0.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.28.0a1723009616.dist-info → pulumi_newrelic-5.29.0.dist-info}/RECORD +43 -43
- {pulumi_newrelic-5.28.0a1723009616.dist-info → pulumi_newrelic-5.29.0.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.28.0a1723009616.dist-info → pulumi_newrelic-5.29.0.dist-info}/top_level.txt +0 -0
@@ -224,7 +224,7 @@ class ObfuscationRule(pulumi.CustomResource):
|
|
224
224
|
resource_name: str,
|
225
225
|
opts: Optional[pulumi.ResourceOptions] = None,
|
226
226
|
account_id: Optional[pulumi.Input[str]] = None,
|
227
|
-
actions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
227
|
+
actions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObfuscationRuleActionArgs', 'ObfuscationRuleActionArgsDict']]]]] = None,
|
228
228
|
description: Optional[pulumi.Input[str]] = None,
|
229
229
|
enabled: Optional[pulumi.Input[bool]] = None,
|
230
230
|
filter: Optional[pulumi.Input[str]] = None,
|
@@ -248,11 +248,11 @@ class ObfuscationRule(pulumi.CustomResource):
|
|
248
248
|
description="description of the rule",
|
249
249
|
filter="hostStatus=running",
|
250
250
|
enabled=True,
|
251
|
-
actions=[
|
252
|
-
attributes
|
253
|
-
expression_id
|
254
|
-
method
|
255
|
-
|
251
|
+
actions=[{
|
252
|
+
"attributes": ["message"],
|
253
|
+
"expression_id": bar.id,
|
254
|
+
"method": "MASK",
|
255
|
+
}])
|
256
256
|
```
|
257
257
|
|
258
258
|
## Import
|
@@ -268,7 +268,7 @@ class ObfuscationRule(pulumi.CustomResource):
|
|
268
268
|
:param str resource_name: The name of the resource.
|
269
269
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
270
270
|
:param pulumi.Input[str] account_id: The account id associated with the obfuscation rule.
|
271
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
271
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ObfuscationRuleActionArgs', 'ObfuscationRuleActionArgsDict']]]] actions: Actions for the rule. The actions will be applied in the order specified by this list.
|
272
272
|
:param pulumi.Input[str] description: Description of rule.
|
273
273
|
:param pulumi.Input[bool] enabled: Whether the rule should be applied or not to incoming data.
|
274
274
|
:param pulumi.Input[str] filter: NRQL for determining whether a given log record should have obfuscation actions applied.
|
@@ -298,11 +298,11 @@ class ObfuscationRule(pulumi.CustomResource):
|
|
298
298
|
description="description of the rule",
|
299
299
|
filter="hostStatus=running",
|
300
300
|
enabled=True,
|
301
|
-
actions=[
|
302
|
-
attributes
|
303
|
-
expression_id
|
304
|
-
method
|
305
|
-
|
301
|
+
actions=[{
|
302
|
+
"attributes": ["message"],
|
303
|
+
"expression_id": bar.id,
|
304
|
+
"method": "MASK",
|
305
|
+
}])
|
306
306
|
```
|
307
307
|
|
308
308
|
## Import
|
@@ -331,7 +331,7 @@ class ObfuscationRule(pulumi.CustomResource):
|
|
331
331
|
resource_name: str,
|
332
332
|
opts: Optional[pulumi.ResourceOptions] = None,
|
333
333
|
account_id: Optional[pulumi.Input[str]] = None,
|
334
|
-
actions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
334
|
+
actions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObfuscationRuleActionArgs', 'ObfuscationRuleActionArgsDict']]]]] = None,
|
335
335
|
description: Optional[pulumi.Input[str]] = None,
|
336
336
|
enabled: Optional[pulumi.Input[bool]] = None,
|
337
337
|
filter: Optional[pulumi.Input[str]] = None,
|
@@ -368,7 +368,7 @@ class ObfuscationRule(pulumi.CustomResource):
|
|
368
368
|
id: pulumi.Input[str],
|
369
369
|
opts: Optional[pulumi.ResourceOptions] = None,
|
370
370
|
account_id: Optional[pulumi.Input[str]] = None,
|
371
|
-
actions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
371
|
+
actions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObfuscationRuleActionArgs', 'ObfuscationRuleActionArgsDict']]]]] = None,
|
372
372
|
description: Optional[pulumi.Input[str]] = None,
|
373
373
|
enabled: Optional[pulumi.Input[bool]] = None,
|
374
374
|
filter: Optional[pulumi.Input[str]] = None,
|
@@ -381,7 +381,7 @@ class ObfuscationRule(pulumi.CustomResource):
|
|
381
381
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
382
382
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
383
383
|
:param pulumi.Input[str] account_id: The account id associated with the obfuscation rule.
|
384
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
384
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ObfuscationRuleActionArgs', 'ObfuscationRuleActionArgsDict']]]] actions: Actions for the rule. The actions will be applied in the order specified by this list.
|
385
385
|
:param pulumi.Input[str] description: Description of rule.
|
386
386
|
:param pulumi.Input[bool] enabled: Whether the rule should be applied or not to incoming data.
|
387
387
|
:param pulumi.Input[str] filter: NRQL for determining whether a given log record should have obfuscation actions applied.
|
pulumi_newrelic/one_dashboard.py
CHANGED
@@ -260,9 +260,9 @@ class OneDashboard(pulumi.CustomResource):
|
|
260
260
|
account_id: Optional[pulumi.Input[str]] = None,
|
261
261
|
description: Optional[pulumi.Input[str]] = None,
|
262
262
|
name: Optional[pulumi.Input[str]] = None,
|
263
|
-
pages: Optional[pulumi.Input[Sequence[pulumi.Input[
|
263
|
+
pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
|
264
264
|
permissions: Optional[pulumi.Input[str]] = None,
|
265
|
-
variables: Optional[pulumi.Input[Sequence[pulumi.Input[
|
265
|
+
variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None,
|
266
266
|
__props__=None):
|
267
267
|
"""
|
268
268
|
## Import
|
@@ -280,9 +280,9 @@ class OneDashboard(pulumi.CustomResource):
|
|
280
280
|
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
281
281
|
:param pulumi.Input[str] description: Brief text describing the dashboard.
|
282
282
|
:param pulumi.Input[str] name: The title of the dashboard.
|
283
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
283
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
|
284
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[
|
285
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
|
286
286
|
"""
|
287
287
|
...
|
288
288
|
@overload
|
@@ -319,9 +319,9 @@ class OneDashboard(pulumi.CustomResource):
|
|
319
319
|
account_id: Optional[pulumi.Input[str]] = None,
|
320
320
|
description: Optional[pulumi.Input[str]] = None,
|
321
321
|
name: Optional[pulumi.Input[str]] = None,
|
322
|
-
pages: Optional[pulumi.Input[Sequence[pulumi.Input[
|
322
|
+
pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
|
323
323
|
permissions: Optional[pulumi.Input[str]] = None,
|
324
|
-
variables: Optional[pulumi.Input[Sequence[pulumi.Input[
|
324
|
+
variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None,
|
325
325
|
__props__=None):
|
326
326
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
327
327
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -355,10 +355,10 @@ class OneDashboard(pulumi.CustomResource):
|
|
355
355
|
description: Optional[pulumi.Input[str]] = None,
|
356
356
|
guid: Optional[pulumi.Input[str]] = None,
|
357
357
|
name: Optional[pulumi.Input[str]] = None,
|
358
|
-
pages: Optional[pulumi.Input[Sequence[pulumi.Input[
|
358
|
+
pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
|
359
359
|
permalink: Optional[pulumi.Input[str]] = None,
|
360
360
|
permissions: Optional[pulumi.Input[str]] = None,
|
361
|
-
variables: Optional[pulumi.Input[Sequence[pulumi.Input[
|
361
|
+
variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None) -> 'OneDashboard':
|
362
362
|
"""
|
363
363
|
Get an existing OneDashboard resource's state with the given name, id, and optional extra
|
364
364
|
properties used to qualify the lookup.
|
@@ -370,10 +370,10 @@ class OneDashboard(pulumi.CustomResource):
|
|
370
370
|
:param pulumi.Input[str] description: Brief text describing the dashboard.
|
371
371
|
:param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
|
372
372
|
:param pulumi.Input[str] name: The title of the dashboard.
|
373
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
373
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
|
374
374
|
:param pulumi.Input[str] permalink: The URL for viewing the dashboard.
|
375
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[
|
376
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
|
377
377
|
"""
|
378
378
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
379
379
|
|
@@ -228,7 +228,7 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
228
228
|
account_id: Optional[pulumi.Input[str]] = None,
|
229
229
|
description: Optional[pulumi.Input[str]] = None,
|
230
230
|
name: Optional[pulumi.Input[str]] = None,
|
231
|
-
pages: Optional[pulumi.Input[Sequence[pulumi.Input[
|
231
|
+
pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]]] = None,
|
232
232
|
permissions: Optional[pulumi.Input[str]] = None,
|
233
233
|
__props__=None):
|
234
234
|
"""
|
@@ -245,17 +245,17 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
245
245
|
|
246
246
|
exampledash = newrelic.OneDashboardRaw("exampledash",
|
247
247
|
name="New Relic Terraform Example",
|
248
|
-
pages=[
|
249
|
-
name
|
250
|
-
widgets
|
251
|
-
|
252
|
-
title
|
253
|
-
row
|
254
|
-
column
|
255
|
-
width
|
256
|
-
height
|
257
|
-
visualization_id
|
258
|
-
configuration
|
248
|
+
pages=[{
|
249
|
+
"name": "Page Name",
|
250
|
+
"widgets": [
|
251
|
+
{
|
252
|
+
"title": "Custom widget",
|
253
|
+
"row": 1,
|
254
|
+
"column": 1,
|
255
|
+
"width": 1,
|
256
|
+
"height": 1,
|
257
|
+
"visualization_id": "viz.custom",
|
258
|
+
"configuration": \"\"\" {
|
259
259
|
"legend": {
|
260
260
|
"enabled": false
|
261
261
|
},
|
@@ -272,15 +272,15 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
272
272
|
}
|
273
273
|
}
|
274
274
|
\"\"\",
|
275
|
-
|
276
|
-
|
277
|
-
title
|
278
|
-
row
|
279
|
-
column
|
280
|
-
width
|
281
|
-
height
|
282
|
-
visualization_id
|
283
|
-
configuration
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"title": "Server CPU",
|
278
|
+
"row": 1,
|
279
|
+
"column": 2,
|
280
|
+
"width": 1,
|
281
|
+
"height": 1,
|
282
|
+
"visualization_id": "viz.testing",
|
283
|
+
"configuration": \"\"\" {
|
284
284
|
"nrqlQueries": [
|
285
285
|
{
|
286
286
|
"accountId": ` + accountID + `,
|
@@ -289,27 +289,27 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
289
289
|
]
|
290
290
|
}
|
291
291
|
\"\"\",
|
292
|
-
|
293
|
-
|
294
|
-
title
|
295
|
-
row
|
296
|
-
column
|
297
|
-
height
|
298
|
-
width
|
299
|
-
visualization_id
|
300
|
-
configuration
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"title": "Docker Server CPU",
|
295
|
+
"row": 1,
|
296
|
+
"column": 3,
|
297
|
+
"height": 1,
|
298
|
+
"width": 1,
|
299
|
+
"visualization_id": "viz.bar",
|
300
|
+
"configuration": json.dumps({
|
301
301
|
"facet": {
|
302
|
-
"
|
302
|
+
"show_other_series": False,
|
303
303
|
},
|
304
|
-
"
|
305
|
-
"
|
304
|
+
"nrql_queries": [{
|
305
|
+
"account_id": account_id,
|
306
306
|
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
|
307
307
|
}],
|
308
308
|
}),
|
309
|
-
linked_entity_guids
|
310
|
-
|
309
|
+
"linked_entity_guids": ["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
|
310
|
+
},
|
311
311
|
],
|
312
|
-
|
312
|
+
}])
|
313
313
|
```
|
314
314
|
|
315
315
|
:param str resource_name: The name of the resource.
|
@@ -317,7 +317,7 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
317
317
|
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
318
318
|
:param pulumi.Input[str] description: Brief text describing the dashboard.
|
319
319
|
:param pulumi.Input[str] name: The title of the dashboard.
|
320
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
320
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
|
321
321
|
: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`.
|
322
322
|
"""
|
323
323
|
...
|
@@ -340,17 +340,17 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
340
340
|
|
341
341
|
exampledash = newrelic.OneDashboardRaw("exampledash",
|
342
342
|
name="New Relic Terraform Example",
|
343
|
-
pages=[
|
344
|
-
name
|
345
|
-
widgets
|
346
|
-
|
347
|
-
title
|
348
|
-
row
|
349
|
-
column
|
350
|
-
width
|
351
|
-
height
|
352
|
-
visualization_id
|
353
|
-
configuration
|
343
|
+
pages=[{
|
344
|
+
"name": "Page Name",
|
345
|
+
"widgets": [
|
346
|
+
{
|
347
|
+
"title": "Custom widget",
|
348
|
+
"row": 1,
|
349
|
+
"column": 1,
|
350
|
+
"width": 1,
|
351
|
+
"height": 1,
|
352
|
+
"visualization_id": "viz.custom",
|
353
|
+
"configuration": \"\"\" {
|
354
354
|
"legend": {
|
355
355
|
"enabled": false
|
356
356
|
},
|
@@ -367,15 +367,15 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
367
367
|
}
|
368
368
|
}
|
369
369
|
\"\"\",
|
370
|
-
|
371
|
-
|
372
|
-
title
|
373
|
-
row
|
374
|
-
column
|
375
|
-
width
|
376
|
-
height
|
377
|
-
visualization_id
|
378
|
-
configuration
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"title": "Server CPU",
|
373
|
+
"row": 1,
|
374
|
+
"column": 2,
|
375
|
+
"width": 1,
|
376
|
+
"height": 1,
|
377
|
+
"visualization_id": "viz.testing",
|
378
|
+
"configuration": \"\"\" {
|
379
379
|
"nrqlQueries": [
|
380
380
|
{
|
381
381
|
"accountId": ` + accountID + `,
|
@@ -384,27 +384,27 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
384
384
|
]
|
385
385
|
}
|
386
386
|
\"\"\",
|
387
|
-
|
388
|
-
|
389
|
-
title
|
390
|
-
row
|
391
|
-
column
|
392
|
-
height
|
393
|
-
width
|
394
|
-
visualization_id
|
395
|
-
configuration
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"title": "Docker Server CPU",
|
390
|
+
"row": 1,
|
391
|
+
"column": 3,
|
392
|
+
"height": 1,
|
393
|
+
"width": 1,
|
394
|
+
"visualization_id": "viz.bar",
|
395
|
+
"configuration": json.dumps({
|
396
396
|
"facet": {
|
397
|
-
"
|
397
|
+
"show_other_series": False,
|
398
398
|
},
|
399
|
-
"
|
400
|
-
"
|
399
|
+
"nrql_queries": [{
|
400
|
+
"account_id": account_id,
|
401
401
|
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
|
402
402
|
}],
|
403
403
|
}),
|
404
|
-
linked_entity_guids
|
405
|
-
|
404
|
+
"linked_entity_guids": ["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
|
405
|
+
},
|
406
406
|
],
|
407
|
-
|
407
|
+
}])
|
408
408
|
```
|
409
409
|
|
410
410
|
:param str resource_name: The name of the resource.
|
@@ -425,7 +425,7 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
425
425
|
account_id: Optional[pulumi.Input[str]] = None,
|
426
426
|
description: Optional[pulumi.Input[str]] = None,
|
427
427
|
name: Optional[pulumi.Input[str]] = None,
|
428
|
-
pages: Optional[pulumi.Input[Sequence[pulumi.Input[
|
428
|
+
pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]]] = None,
|
429
429
|
permissions: Optional[pulumi.Input[str]] = None,
|
430
430
|
__props__=None):
|
431
431
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -459,7 +459,7 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
459
459
|
description: Optional[pulumi.Input[str]] = None,
|
460
460
|
guid: Optional[pulumi.Input[str]] = None,
|
461
461
|
name: Optional[pulumi.Input[str]] = None,
|
462
|
-
pages: Optional[pulumi.Input[Sequence[pulumi.Input[
|
462
|
+
pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]]] = None,
|
463
463
|
permalink: Optional[pulumi.Input[str]] = None,
|
464
464
|
permissions: Optional[pulumi.Input[str]] = None) -> 'OneDashboardRaw':
|
465
465
|
"""
|
@@ -473,7 +473,7 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
473
473
|
:param pulumi.Input[str] description: Brief text describing the dashboard.
|
474
474
|
:param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
|
475
475
|
:param pulumi.Input[str] name: The title of the dashboard.
|
476
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
476
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
|
477
477
|
:param pulumi.Input[str] permalink: The URL for viewing the dashboard.
|
478
478
|
: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`.
|
479
479
|
"""
|
pulumi_newrelic/outputs.py
CHANGED
@@ -6980,15 +6980,15 @@ class OneDashboardPageWidgetLineThreshold(dict):
|
|
6980
6980
|
return super().get(key, default)
|
6981
6981
|
|
6982
6982
|
def __init__(__self__, *,
|
6983
|
-
from_: Optional[
|
6983
|
+
from_: Optional[str] = None,
|
6984
6984
|
name: Optional[str] = None,
|
6985
6985
|
severity: Optional[str] = None,
|
6986
|
-
to: Optional[
|
6986
|
+
to: Optional[str] = None):
|
6987
6987
|
"""
|
6988
|
-
:param
|
6988
|
+
:param str from_: The value 'from' which the threshold would need to be applied.
|
6989
6989
|
:param str name: The title of the dashboard.
|
6990
6990
|
:param str severity: The severity of the threshold, which would affect the visual appearance of the threshold (such as its color) accordingly. The value of this attribute would need to be one of the following - `warning`, `severe`, `critical`, `success`, `unavailable` which correspond to the severity labels _Warning_, _Approaching critical_, _Critical_, _Good_, _Neutral_ in the dropdown that helps specify the severity of thresholds in table widgets in the UI, respectively.
|
6991
|
-
:param
|
6991
|
+
:param str to: The value until which the threshold would need to be applied.
|
6992
6992
|
"""
|
6993
6993
|
if from_ is not None:
|
6994
6994
|
pulumi.set(__self__, "from_", from_)
|
@@ -7001,7 +7001,7 @@ class OneDashboardPageWidgetLineThreshold(dict):
|
|
7001
7001
|
|
7002
7002
|
@property
|
7003
7003
|
@pulumi.getter(name="from")
|
7004
|
-
def from_(self) -> Optional[
|
7004
|
+
def from_(self) -> Optional[str]:
|
7005
7005
|
"""
|
7006
7006
|
The value 'from' which the threshold would need to be applied.
|
7007
7007
|
"""
|
@@ -7025,7 +7025,7 @@ class OneDashboardPageWidgetLineThreshold(dict):
|
|
7025
7025
|
|
7026
7026
|
@property
|
7027
7027
|
@pulumi.getter
|
7028
|
-
def to(self) -> Optional[
|
7028
|
+
def to(self) -> Optional[str]:
|
7029
7029
|
"""
|
7030
7030
|
The value until which the threshold would need to be applied.
|
7031
7031
|
"""
|
@@ -9887,14 +9887,14 @@ class OneDashboardPageWidgetTableThreshold(dict):
|
|
9887
9887
|
|
9888
9888
|
def __init__(__self__, *,
|
9889
9889
|
column_name: Optional[str] = None,
|
9890
|
-
from_: Optional[
|
9890
|
+
from_: Optional[str] = None,
|
9891
9891
|
severity: Optional[str] = None,
|
9892
|
-
to: Optional[
|
9892
|
+
to: Optional[str] = None):
|
9893
9893
|
"""
|
9894
9894
|
:param str column_name: The name of the column in the table, to which the threshold would need to be applied.
|
9895
|
-
:param
|
9895
|
+
:param str from_: The value 'from' which the threshold would need to be applied.
|
9896
9896
|
:param str severity: The severity of the threshold, which would affect the visual appearance of the threshold (such as its color) accordingly. The value of this attribute would need to be one of the following - `warning`, `severe`, `critical`, `success`, `unavailable` which correspond to the severity labels _Warning_, _Approaching critical_, _Critical_, _Good_, _Neutral_ in the dropdown that helps specify the severity of thresholds in table widgets in the UI, respectively.
|
9897
|
-
:param
|
9897
|
+
:param str to: The value until which the threshold would need to be applied.
|
9898
9898
|
"""
|
9899
9899
|
if column_name is not None:
|
9900
9900
|
pulumi.set(__self__, "column_name", column_name)
|
@@ -9915,7 +9915,7 @@ class OneDashboardPageWidgetTableThreshold(dict):
|
|
9915
9915
|
|
9916
9916
|
@property
|
9917
9917
|
@pulumi.getter(name="from")
|
9918
|
-
def from_(self) -> Optional[
|
9918
|
+
def from_(self) -> Optional[str]:
|
9919
9919
|
"""
|
9920
9920
|
The value 'from' which the threshold would need to be applied.
|
9921
9921
|
"""
|
@@ -9931,7 +9931,7 @@ class OneDashboardPageWidgetTableThreshold(dict):
|
|
9931
9931
|
|
9932
9932
|
@property
|
9933
9933
|
@pulumi.getter
|
9934
|
-
def to(self) -> Optional[
|
9934
|
+
def to(self) -> Optional[str]:
|
9935
9935
|
"""
|
9936
9936
|
The value until which the threshold would need to be applied.
|
9937
9937
|
"""
|
@@ -10999,7 +10999,7 @@ class WorkflowDestination(dict):
|
|
10999
10999
|
:param str channel_id: (Required) Destination's channel id.
|
11000
11000
|
:param str name: The name of the workflow.
|
11001
11001
|
:param Sequence[str] notification_triggers: List of triggers to notify about in this destination configuration.
|
11002
|
-
:param str type: (Required) The type of the destination. One of: (EMAIL, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, SERVICE_NOW, WEBHOOK, MOBILE_PUSH, SLACK, JIRA).
|
11002
|
+
:param str type: (Required) The type of the destination. One of: (EMAIL, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, SERVICE_NOW, SERVICE_NOW_APP, WEBHOOK, MOBILE_PUSH, SLACK, JIRA).
|
11003
11003
|
:param bool update_original_message: Update original notification message (Slack channels only)
|
11004
11004
|
"""
|
11005
11005
|
pulumi.set(__self__, "channel_id", channel_id)
|
@@ -11040,7 +11040,7 @@ class WorkflowDestination(dict):
|
|
11040
11040
|
@pulumi.getter
|
11041
11041
|
def type(self) -> Optional[str]:
|
11042
11042
|
"""
|
11043
|
-
(Required) The type of the destination. One of: (EMAIL, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, SERVICE_NOW, WEBHOOK, MOBILE_PUSH, SLACK, JIRA).
|
11043
|
+
(Required) The type of the destination. One of: (EMAIL, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, SERVICE_NOW, SERVICE_NOW_APP, WEBHOOK, MOBILE_PUSH, SLACK, JIRA).
|
11044
11044
|
"""
|
11045
11045
|
return pulumi.get(self, "type")
|
11046
11046
|
|