pulumi-newrelic 5.28.0a1723107045__py3-none-any.whl → 5.29.0a1723454189__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/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 +4 -4
- 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 +187 -187
- pulumi_newrelic/notification_destination.py +25 -25
- pulumi_newrelic/nrql_alert_condition.py +164 -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/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.0a1723107045.dist-info → pulumi_newrelic-5.29.0a1723454189.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0a1723454189.dist-info}/RECORD +41 -41
- {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0a1723454189.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0a1723454189.dist-info}/top_level.txt +0 -0
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
|
"""
|