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
@@ -28,8 +28,9 @@ class NotificationDestinationArgs:
|
|
28
28
|
"""
|
29
29
|
The set of arguments for constructing a NotificationDestination resource.
|
30
30
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
31
|
-
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
32
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
31
|
+
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
32
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
33
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
33
34
|
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
34
35
|
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
35
36
|
:param pulumi.Input['NotificationDestinationAuthBasicArgs'] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
|
@@ -71,8 +72,9 @@ class NotificationDestinationArgs:
|
|
71
72
|
@pulumi.getter
|
72
73
|
def type(self) -> pulumi.Input[str]:
|
73
74
|
"""
|
74
|
-
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
75
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
75
|
+
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
76
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
77
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
76
78
|
"""
|
77
79
|
return pulumi.get(self, "type")
|
78
80
|
|
@@ -193,8 +195,9 @@ class _NotificationDestinationState:
|
|
193
195
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
194
196
|
:param pulumi.Input['NotificationDestinationSecureUrlArgs'] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
195
197
|
:param pulumi.Input[str] status: The status of the destination.
|
196
|
-
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
197
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
198
|
+
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
199
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
200
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
198
201
|
"""
|
199
202
|
if account_id is not None:
|
200
203
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -357,8 +360,9 @@ class _NotificationDestinationState:
|
|
357
360
|
@pulumi.getter
|
358
361
|
def type(self) -> Optional[pulumi.Input[str]]:
|
359
362
|
"""
|
360
|
-
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
361
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
363
|
+
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
364
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
365
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
362
366
|
"""
|
363
367
|
return pulumi.get(self, "type")
|
364
368
|
|
@@ -374,12 +378,12 @@ class NotificationDestination(pulumi.CustomResource):
|
|
374
378
|
opts: Optional[pulumi.ResourceOptions] = None,
|
375
379
|
account_id: Optional[pulumi.Input[str]] = None,
|
376
380
|
active: Optional[pulumi.Input[bool]] = None,
|
377
|
-
auth_basic: Optional[pulumi.Input[
|
378
|
-
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[
|
379
|
-
auth_token: Optional[pulumi.Input[
|
381
|
+
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
382
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
383
|
+
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
380
384
|
name: Optional[pulumi.Input[str]] = None,
|
381
|
-
properties: Optional[pulumi.Input[Sequence[pulumi.Input[
|
382
|
-
secure_url: Optional[pulumi.Input[
|
385
|
+
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
386
|
+
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
383
387
|
type: Optional[pulumi.Input[str]] = None,
|
384
388
|
__props__=None):
|
385
389
|
"""
|
@@ -455,14 +459,15 @@ class NotificationDestination(pulumi.CustomResource):
|
|
455
459
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
456
460
|
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
457
461
|
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
458
|
-
:param pulumi.Input[
|
459
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
460
|
-
:param pulumi.Input[
|
462
|
+
:param pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
|
463
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
464
|
+
:param pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
461
465
|
:param pulumi.Input[str] name: The name of the destination.
|
462
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
463
|
-
:param pulumi.Input[
|
464
|
-
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
465
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
466
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
467
|
+
:param pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
468
|
+
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
469
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
470
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
466
471
|
"""
|
467
472
|
...
|
468
473
|
@overload
|
@@ -556,12 +561,12 @@ class NotificationDestination(pulumi.CustomResource):
|
|
556
561
|
opts: Optional[pulumi.ResourceOptions] = None,
|
557
562
|
account_id: Optional[pulumi.Input[str]] = None,
|
558
563
|
active: Optional[pulumi.Input[bool]] = None,
|
559
|
-
auth_basic: Optional[pulumi.Input[
|
560
|
-
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[
|
561
|
-
auth_token: Optional[pulumi.Input[
|
564
|
+
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
565
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
566
|
+
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
562
567
|
name: Optional[pulumi.Input[str]] = None,
|
563
|
-
properties: Optional[pulumi.Input[Sequence[pulumi.Input[
|
564
|
-
secure_url: Optional[pulumi.Input[
|
568
|
+
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
569
|
+
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
565
570
|
type: Optional[pulumi.Input[str]] = None,
|
566
571
|
__props__=None):
|
567
572
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -600,14 +605,14 @@ class NotificationDestination(pulumi.CustomResource):
|
|
600
605
|
opts: Optional[pulumi.ResourceOptions] = None,
|
601
606
|
account_id: Optional[pulumi.Input[str]] = None,
|
602
607
|
active: Optional[pulumi.Input[bool]] = None,
|
603
|
-
auth_basic: Optional[pulumi.Input[
|
604
|
-
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[
|
605
|
-
auth_token: Optional[pulumi.Input[
|
608
|
+
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
609
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
610
|
+
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
606
611
|
guid: Optional[pulumi.Input[str]] = None,
|
607
612
|
last_sent: Optional[pulumi.Input[str]] = None,
|
608
613
|
name: Optional[pulumi.Input[str]] = None,
|
609
|
-
properties: Optional[pulumi.Input[Sequence[pulumi.Input[
|
610
|
-
secure_url: Optional[pulumi.Input[
|
614
|
+
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
615
|
+
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
611
616
|
status: Optional[pulumi.Input[str]] = None,
|
612
617
|
type: Optional[pulumi.Input[str]] = None) -> 'NotificationDestination':
|
613
618
|
"""
|
@@ -619,17 +624,18 @@ class NotificationDestination(pulumi.CustomResource):
|
|
619
624
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
620
625
|
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
621
626
|
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
622
|
-
:param pulumi.Input[
|
623
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
624
|
-
:param pulumi.Input[
|
627
|
+
:param pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
|
628
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
629
|
+
:param pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
625
630
|
:param pulumi.Input[str] guid: The unique entity identifier of the destination in New Relic.
|
626
631
|
:param pulumi.Input[str] last_sent: The last time a notification was sent.
|
627
632
|
:param pulumi.Input[str] name: The name of the destination.
|
628
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
629
|
-
:param pulumi.Input[
|
633
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
634
|
+
:param pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
630
635
|
:param pulumi.Input[str] status: The status of the destination.
|
631
|
-
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
632
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
636
|
+
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
637
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
638
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
633
639
|
"""
|
634
640
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
635
641
|
|
@@ -741,8 +747,9 @@ class NotificationDestination(pulumi.CustomResource):
|
|
741
747
|
@pulumi.getter
|
742
748
|
def type(self) -> pulumi.Output[str]:
|
743
749
|
"""
|
744
|
-
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
745
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
750
|
+
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
751
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
752
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
746
753
|
"""
|
747
754
|
return pulumi.get(self, "type")
|
748
755
|
|