pulumi-newrelic 5.28.0a1723107045__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/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 +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/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.0.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0.dist-info}/RECORD +41 -41
- {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0.dist-info}/top_level.txt +0 -0
@@ -433,15 +433,15 @@ class StepMonitor(pulumi.CustomResource):
|
|
433
433
|
opts: Optional[pulumi.ResourceOptions] = None,
|
434
434
|
account_id: Optional[pulumi.Input[str]] = None,
|
435
435
|
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
436
|
-
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[
|
436
|
+
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]]] = None,
|
437
437
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
438
438
|
name: Optional[pulumi.Input[str]] = None,
|
439
439
|
period: Optional[pulumi.Input[str]] = None,
|
440
440
|
runtime_type: Optional[pulumi.Input[str]] = None,
|
441
441
|
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
442
442
|
status: Optional[pulumi.Input[str]] = None,
|
443
|
-
steps: Optional[pulumi.Input[Sequence[pulumi.Input[
|
444
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
443
|
+
steps: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]]] = None,
|
444
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]]] = None,
|
445
445
|
__props__=None):
|
446
446
|
"""
|
447
447
|
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after August 26, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
@@ -465,15 +465,15 @@ class StepMonitor(pulumi.CustomResource):
|
|
465
465
|
status="ENABLED",
|
466
466
|
runtime_type="CHROME_BROWSER",
|
467
467
|
runtime_type_version="100",
|
468
|
-
steps=[
|
469
|
-
ordinal
|
470
|
-
type
|
471
|
-
values
|
472
|
-
|
473
|
-
tags=[
|
474
|
-
key
|
475
|
-
values
|
476
|
-
|
468
|
+
steps=[{
|
469
|
+
"ordinal": 0,
|
470
|
+
"type": "NAVIGATE",
|
471
|
+
"values": ["https://www.newrelic.com"],
|
472
|
+
}],
|
473
|
+
tags=[{
|
474
|
+
"key": "some_key",
|
475
|
+
"values": ["some_value"],
|
476
|
+
}])
|
477
477
|
```
|
478
478
|
See additional examples.
|
479
479
|
|
@@ -497,19 +497,19 @@ class StepMonitor(pulumi.CustomResource):
|
|
497
497
|
name="Sample Step Monitor",
|
498
498
|
period="EVERY_6_HOURS",
|
499
499
|
status="ENABLED",
|
500
|
-
location_privates=[
|
501
|
-
guid
|
502
|
-
vse_password
|
503
|
-
|
504
|
-
steps=[
|
505
|
-
ordinal
|
506
|
-
type
|
507
|
-
values
|
508
|
-
|
509
|
-
tags=[
|
510
|
-
key
|
511
|
-
values
|
512
|
-
|
500
|
+
location_privates=[{
|
501
|
+
"guid": foo.id,
|
502
|
+
"vse_password": "secret",
|
503
|
+
}],
|
504
|
+
steps=[{
|
505
|
+
"ordinal": 0,
|
506
|
+
"type": "NAVIGATE",
|
507
|
+
"values": ["https://google.com"],
|
508
|
+
}],
|
509
|
+
tags=[{
|
510
|
+
"key": "some_key",
|
511
|
+
"values": ["some_value"],
|
512
|
+
}])
|
513
513
|
```
|
514
514
|
|
515
515
|
## Import
|
@@ -526,7 +526,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
526
526
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
527
527
|
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
528
528
|
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
529
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
529
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]] location_privates: The location the monitor will run from. At least one of `locations_public` or `location_private` is required. See Nested locations_private blocks below for details.
|
530
530
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
531
531
|
:param pulumi.Input[str] name: The name for the monitor.
|
532
532
|
:param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
@@ -537,8 +537,8 @@ class StepMonitor(pulumi.CustomResource):
|
|
537
537
|
|
538
538
|
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after August 26, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
539
539
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
540
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
541
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
540
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
|
541
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
542
542
|
"""
|
543
543
|
...
|
544
544
|
@overload
|
@@ -568,15 +568,15 @@ class StepMonitor(pulumi.CustomResource):
|
|
568
568
|
status="ENABLED",
|
569
569
|
runtime_type="CHROME_BROWSER",
|
570
570
|
runtime_type_version="100",
|
571
|
-
steps=[
|
572
|
-
ordinal
|
573
|
-
type
|
574
|
-
values
|
575
|
-
|
576
|
-
tags=[
|
577
|
-
key
|
578
|
-
values
|
579
|
-
|
571
|
+
steps=[{
|
572
|
+
"ordinal": 0,
|
573
|
+
"type": "NAVIGATE",
|
574
|
+
"values": ["https://www.newrelic.com"],
|
575
|
+
}],
|
576
|
+
tags=[{
|
577
|
+
"key": "some_key",
|
578
|
+
"values": ["some_value"],
|
579
|
+
}])
|
580
580
|
```
|
581
581
|
See additional examples.
|
582
582
|
|
@@ -600,19 +600,19 @@ class StepMonitor(pulumi.CustomResource):
|
|
600
600
|
name="Sample Step Monitor",
|
601
601
|
period="EVERY_6_HOURS",
|
602
602
|
status="ENABLED",
|
603
|
-
location_privates=[
|
604
|
-
guid
|
605
|
-
vse_password
|
606
|
-
|
607
|
-
steps=[
|
608
|
-
ordinal
|
609
|
-
type
|
610
|
-
values
|
611
|
-
|
612
|
-
tags=[
|
613
|
-
key
|
614
|
-
values
|
615
|
-
|
603
|
+
location_privates=[{
|
604
|
+
"guid": foo.id,
|
605
|
+
"vse_password": "secret",
|
606
|
+
}],
|
607
|
+
steps=[{
|
608
|
+
"ordinal": 0,
|
609
|
+
"type": "NAVIGATE",
|
610
|
+
"values": ["https://google.com"],
|
611
|
+
}],
|
612
|
+
tags=[{
|
613
|
+
"key": "some_key",
|
614
|
+
"values": ["some_value"],
|
615
|
+
}])
|
616
616
|
```
|
617
617
|
|
618
618
|
## Import
|
@@ -642,15 +642,15 @@ class StepMonitor(pulumi.CustomResource):
|
|
642
642
|
opts: Optional[pulumi.ResourceOptions] = None,
|
643
643
|
account_id: Optional[pulumi.Input[str]] = None,
|
644
644
|
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
645
|
-
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[
|
645
|
+
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]]] = None,
|
646
646
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
647
647
|
name: Optional[pulumi.Input[str]] = None,
|
648
648
|
period: Optional[pulumi.Input[str]] = None,
|
649
649
|
runtime_type: Optional[pulumi.Input[str]] = None,
|
650
650
|
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
651
651
|
status: Optional[pulumi.Input[str]] = None,
|
652
|
-
steps: Optional[pulumi.Input[Sequence[pulumi.Input[
|
653
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
652
|
+
steps: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]]] = None,
|
653
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]]] = None,
|
654
654
|
__props__=None):
|
655
655
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
656
656
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -692,7 +692,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
692
692
|
account_id: Optional[pulumi.Input[str]] = None,
|
693
693
|
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
694
694
|
guid: Optional[pulumi.Input[str]] = None,
|
695
|
-
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[
|
695
|
+
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]]] = None,
|
696
696
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
697
697
|
name: Optional[pulumi.Input[str]] = None,
|
698
698
|
period: Optional[pulumi.Input[str]] = None,
|
@@ -700,8 +700,8 @@ class StepMonitor(pulumi.CustomResource):
|
|
700
700
|
runtime_type: Optional[pulumi.Input[str]] = None,
|
701
701
|
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
702
702
|
status: Optional[pulumi.Input[str]] = None,
|
703
|
-
steps: Optional[pulumi.Input[Sequence[pulumi.Input[
|
704
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
703
|
+
steps: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]]] = None,
|
704
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]]] = None) -> 'StepMonitor':
|
705
705
|
"""
|
706
706
|
Get an existing StepMonitor resource's state with the given name, id, and optional extra
|
707
707
|
properties used to qualify the lookup.
|
@@ -712,7 +712,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
712
712
|
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
713
713
|
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
714
714
|
:param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
|
715
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
715
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]] location_privates: The location the monitor will run from. At least one of `locations_public` or `location_private` is required. See Nested locations_private blocks below for details.
|
716
716
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
717
717
|
:param pulumi.Input[str] name: The name for the monitor.
|
718
718
|
:param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
@@ -724,8 +724,8 @@ class StepMonitor(pulumi.CustomResource):
|
|
724
724
|
|
725
725
|
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after August 26, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
726
726
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
727
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
728
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
727
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
|
728
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
729
729
|
"""
|
730
730
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
731
731
|
|