pulumi-newrelic 5.28.0a1723009616__tar.gz → 5.29.0__tar.gz
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-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/PKG-INFO +1 -1
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/_inputs.py +18 -18
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/alert_channel.py +69 -69
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/alert_condition.py +49 -49
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/alert_muting_rule.py +54 -54
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/alert_policy.py +16 -16
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/alert_policy_channel.py +16 -16
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/cloud/aws_govcloud_integrations.py +100 -100
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/cloud/aws_integrations.py +798 -798
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/cloud/azure_integrations.py +424 -424
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/cloud/gcp_integrations.py +288 -288
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/entity_tags.py +21 -21
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_application.py +14 -14
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_entity.py +4 -4
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_key_transaction.py +14 -14
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_notification_destination.py +5 -5
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_obfuscation_expression.py +10 -10
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_service_level_alert_helper.py +76 -76
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/infra_alert_condition.py +90 -90
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/insights/event.py +43 -43
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/monitor_downtime.py +52 -52
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/notification_channel.py +218 -194
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/notification_destination.py +46 -39
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/nrql_alert_condition.py +262 -164
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/obfuscation_rule.py +15 -15
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/one_dashboard.py +10 -10
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/one_dashboard_raw.py +75 -75
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/outputs.py +14 -14
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/plugins/workload.py +101 -101
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/pulumi-plugin.json +1 -1
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/service_level.py +164 -164
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/alert_condition.py +32 -32
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/broken_links_monitor.py +21 -21
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/cert_check_monitor.py +21 -21
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/get_private_location.py +6 -6
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/monitor.py +74 -74
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/multi_location_alert_condition.py +66 -66
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/script_monitor.py +58 -58
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/step_monitor.py +59 -59
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/workflow.py +155 -155
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic.egg-info/PKG-INFO +1 -1
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pyproject.toml +1 -1
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/README.md +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/__init__.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/_utilities.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/account_management.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/api_access_key.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/browser_application.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/cloud/__init__.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/cloud/_inputs.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/cloud/aws_link_account.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/cloud/azure_link_account.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/cloud/gcp_link_account.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/cloud/outputs.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/config/__init__.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/config/__init__.pyi +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/config/vars.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/data_partition_rule.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/events_to_metrics_rule.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_account.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_alert_channel.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_alert_policy.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_authentication_domain.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_cloud_account.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_group.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_test_grok_pattern.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/get_user.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/group.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/insights/__init__.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/insights/_inputs.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/insights/outputs.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/log_parsing_rule.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/nrql_drop_rule.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/obfuscation_expression.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/one_dashboard_json.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/plugins/__init__.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/plugins/_inputs.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/plugins/application_settings.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/plugins/outputs.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/provider.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/py.typed +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/__init__.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/_inputs.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/get_secure_credential.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/outputs.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/private_location.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/synthetics/secure_credential.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/user.py +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic.egg-info/SOURCES.txt +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic.egg-info/dependency_links.txt +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic.egg-info/requires.txt +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic.egg-info/top_level.txt +0 -0
- {pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/setup.cfg +0 -0
@@ -6781,15 +6781,15 @@ class OneDashboardPageWidgetLineNullValueSeriesOverrideArgs:
|
|
6781
6781
|
@pulumi.input_type
|
6782
6782
|
class OneDashboardPageWidgetLineThresholdArgs:
|
6783
6783
|
def __init__(__self__, *,
|
6784
|
-
from_: Optional[pulumi.Input[
|
6784
|
+
from_: Optional[pulumi.Input[str]] = None,
|
6785
6785
|
name: Optional[pulumi.Input[str]] = None,
|
6786
6786
|
severity: Optional[pulumi.Input[str]] = None,
|
6787
|
-
to: Optional[pulumi.Input[
|
6787
|
+
to: Optional[pulumi.Input[str]] = None):
|
6788
6788
|
"""
|
6789
|
-
:param pulumi.Input[
|
6789
|
+
:param pulumi.Input[str] from_: The value 'from' which the threshold would need to be applied.
|
6790
6790
|
:param pulumi.Input[str] name: The title of the dashboard.
|
6791
6791
|
:param pulumi.Input[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.
|
6792
|
-
:param pulumi.Input[
|
6792
|
+
:param pulumi.Input[str] to: The value until which the threshold would need to be applied.
|
6793
6793
|
"""
|
6794
6794
|
if from_ is not None:
|
6795
6795
|
pulumi.set(__self__, "from_", from_)
|
@@ -6802,14 +6802,14 @@ class OneDashboardPageWidgetLineThresholdArgs:
|
|
6802
6802
|
|
6803
6803
|
@property
|
6804
6804
|
@pulumi.getter(name="from")
|
6805
|
-
def from_(self) -> Optional[pulumi.Input[
|
6805
|
+
def from_(self) -> Optional[pulumi.Input[str]]:
|
6806
6806
|
"""
|
6807
6807
|
The value 'from' which the threshold would need to be applied.
|
6808
6808
|
"""
|
6809
6809
|
return pulumi.get(self, "from_")
|
6810
6810
|
|
6811
6811
|
@from_.setter
|
6812
|
-
def from_(self, value: Optional[pulumi.Input[
|
6812
|
+
def from_(self, value: Optional[pulumi.Input[str]]):
|
6813
6813
|
pulumi.set(self, "from_", value)
|
6814
6814
|
|
6815
6815
|
@property
|
@@ -6838,14 +6838,14 @@ class OneDashboardPageWidgetLineThresholdArgs:
|
|
6838
6838
|
|
6839
6839
|
@property
|
6840
6840
|
@pulumi.getter
|
6841
|
-
def to(self) -> Optional[pulumi.Input[
|
6841
|
+
def to(self) -> Optional[pulumi.Input[str]]:
|
6842
6842
|
"""
|
6843
6843
|
The value until which the threshold would need to be applied.
|
6844
6844
|
"""
|
6845
6845
|
return pulumi.get(self, "to")
|
6846
6846
|
|
6847
6847
|
@to.setter
|
6848
|
-
def to(self, value: Optional[pulumi.Input[
|
6848
|
+
def to(self, value: Optional[pulumi.Input[str]]):
|
6849
6849
|
pulumi.set(self, "to", value)
|
6850
6850
|
|
6851
6851
|
|
@@ -9521,14 +9521,14 @@ class OneDashboardPageWidgetTableNullValueSeriesOverrideArgs:
|
|
9521
9521
|
class OneDashboardPageWidgetTableThresholdArgs:
|
9522
9522
|
def __init__(__self__, *,
|
9523
9523
|
column_name: Optional[pulumi.Input[str]] = None,
|
9524
|
-
from_: Optional[pulumi.Input[
|
9524
|
+
from_: Optional[pulumi.Input[str]] = None,
|
9525
9525
|
severity: Optional[pulumi.Input[str]] = None,
|
9526
|
-
to: Optional[pulumi.Input[
|
9526
|
+
to: Optional[pulumi.Input[str]] = None):
|
9527
9527
|
"""
|
9528
9528
|
:param pulumi.Input[str] column_name: The name of the column in the table, to which the threshold would need to be applied.
|
9529
|
-
:param pulumi.Input[
|
9529
|
+
:param pulumi.Input[str] from_: The value 'from' which the threshold would need to be applied.
|
9530
9530
|
:param pulumi.Input[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.
|
9531
|
-
:param pulumi.Input[
|
9531
|
+
:param pulumi.Input[str] to: The value until which the threshold would need to be applied.
|
9532
9532
|
"""
|
9533
9533
|
if column_name is not None:
|
9534
9534
|
pulumi.set(__self__, "column_name", column_name)
|
@@ -9553,14 +9553,14 @@ class OneDashboardPageWidgetTableThresholdArgs:
|
|
9553
9553
|
|
9554
9554
|
@property
|
9555
9555
|
@pulumi.getter(name="from")
|
9556
|
-
def from_(self) -> Optional[pulumi.Input[
|
9556
|
+
def from_(self) -> Optional[pulumi.Input[str]]:
|
9557
9557
|
"""
|
9558
9558
|
The value 'from' which the threshold would need to be applied.
|
9559
9559
|
"""
|
9560
9560
|
return pulumi.get(self, "from_")
|
9561
9561
|
|
9562
9562
|
@from_.setter
|
9563
|
-
def from_(self, value: Optional[pulumi.Input[
|
9563
|
+
def from_(self, value: Optional[pulumi.Input[str]]):
|
9564
9564
|
pulumi.set(self, "from_", value)
|
9565
9565
|
|
9566
9566
|
@property
|
@@ -9577,14 +9577,14 @@ class OneDashboardPageWidgetTableThresholdArgs:
|
|
9577
9577
|
|
9578
9578
|
@property
|
9579
9579
|
@pulumi.getter
|
9580
|
-
def to(self) -> Optional[pulumi.Input[
|
9580
|
+
def to(self) -> Optional[pulumi.Input[str]]:
|
9581
9581
|
"""
|
9582
9582
|
The value until which the threshold would need to be applied.
|
9583
9583
|
"""
|
9584
9584
|
return pulumi.get(self, "to")
|
9585
9585
|
|
9586
9586
|
@to.setter
|
9587
|
-
def to(self, value: Optional[pulumi.Input[
|
9587
|
+
def to(self, value: Optional[pulumi.Input[str]]):
|
9588
9588
|
pulumi.set(self, "to", value)
|
9589
9589
|
|
9590
9590
|
|
@@ -10667,7 +10667,7 @@ class WorkflowDestinationArgs:
|
|
10667
10667
|
:param pulumi.Input[str] channel_id: (Required) Destination's channel id.
|
10668
10668
|
:param pulumi.Input[str] name: The name of the workflow.
|
10669
10669
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] notification_triggers: List of triggers to notify about in this destination configuration.
|
10670
|
-
:param pulumi.Input[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).
|
10670
|
+
:param pulumi.Input[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).
|
10671
10671
|
:param pulumi.Input[bool] update_original_message: Update original notification message (Slack channels only)
|
10672
10672
|
"""
|
10673
10673
|
pulumi.set(__self__, "channel_id", channel_id)
|
@@ -10720,7 +10720,7 @@ class WorkflowDestinationArgs:
|
|
10720
10720
|
@pulumi.getter
|
10721
10721
|
def type(self) -> Optional[pulumi.Input[str]]:
|
10722
10722
|
"""
|
10723
|
-
(Required) The type of the destination. One of: (EMAIL, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, SERVICE_NOW, WEBHOOK, MOBILE_PUSH, SLACK, JIRA).
|
10723
|
+
(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).
|
10724
10724
|
"""
|
10725
10725
|
return pulumi.get(self, "type")
|
10726
10726
|
|
{pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/alert_channel.py
RENAMED
@@ -162,7 +162,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
162
162
|
resource_name: str,
|
163
163
|
opts: Optional[pulumi.ResourceOptions] = None,
|
164
164
|
account_id: Optional[pulumi.Input[str]] = None,
|
165
|
-
config: Optional[pulumi.Input[
|
165
|
+
config: Optional[pulumi.Input[Union['AlertChannelConfigArgs', 'AlertChannelConfigArgsDict']]] = None,
|
166
166
|
name: Optional[pulumi.Input[str]] = None,
|
167
167
|
type: Optional[pulumi.Input[str]] = None,
|
168
168
|
__props__=None):
|
@@ -181,10 +181,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
181
181
|
foo = newrelic.AlertChannel("foo",
|
182
182
|
name="foo",
|
183
183
|
type="email",
|
184
|
-
config=
|
185
|
-
recipients
|
186
|
-
include_json_attachment
|
187
|
-
)
|
184
|
+
config={
|
185
|
+
"recipients": "foo@example.com",
|
186
|
+
"include_json_attachment": "true",
|
187
|
+
})
|
188
188
|
```
|
189
189
|
|
190
190
|
## Additional Examples
|
@@ -197,10 +197,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
197
197
|
foo = newrelic.AlertChannel("foo",
|
198
198
|
name="slack-example",
|
199
199
|
type="slack",
|
200
|
-
config=
|
201
|
-
url
|
202
|
-
channel
|
203
|
-
)
|
200
|
+
config={
|
201
|
+
"url": "https://hooks.slack.com/services/XXXXXXX/XXXXXXX/XXXXXXXXXX",
|
202
|
+
"channel": "example-alerts-channel",
|
203
|
+
})
|
204
204
|
```
|
205
205
|
|
206
206
|
> **NOTE:** For instructions on setting up Webhooks with Slack, please visit the article linked under the argument `slack` in the aforementioned configuration, or [this article](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/alert-notifications/notification-channels-control-where-send-alerts/#slack) in New Relic's docs for additional details on setting up the `New Relic Alerts` Slack application, and subsequently using the generated Webhook URL.
|
@@ -213,12 +213,12 @@ class AlertChannel(pulumi.CustomResource):
|
|
213
213
|
foo = newrelic.AlertChannel("foo",
|
214
214
|
name="opsgenie-example",
|
215
215
|
type="opsgenie",
|
216
|
-
config=
|
217
|
-
api_key
|
218
|
-
teams
|
219
|
-
tags
|
220
|
-
recipients
|
221
|
-
)
|
216
|
+
config={
|
217
|
+
"api_key": "abc123",
|
218
|
+
"teams": "team1, team2",
|
219
|
+
"tags": "tag1, tag2",
|
220
|
+
"recipients": "user1@domain.com, user2@domain.com",
|
221
|
+
})
|
222
222
|
```
|
223
223
|
|
224
224
|
### PagerDuty
|
@@ -229,9 +229,9 @@ class AlertChannel(pulumi.CustomResource):
|
|
229
229
|
foo = newrelic.AlertChannel("foo",
|
230
230
|
name="pagerduty-example",
|
231
231
|
type="pagerduty",
|
232
|
-
config=
|
233
|
-
service_key
|
234
|
-
)
|
232
|
+
config={
|
233
|
+
"service_key": "abc123",
|
234
|
+
})
|
235
235
|
```
|
236
236
|
|
237
237
|
### VictorOps
|
@@ -242,10 +242,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
242
242
|
foo = newrelic.AlertChannel("foo",
|
243
243
|
name="victorops-example",
|
244
244
|
type="victorops",
|
245
|
-
config=
|
246
|
-
key
|
247
|
-
route_key
|
248
|
-
)
|
245
|
+
config={
|
246
|
+
"key": "abc123",
|
247
|
+
"route_key": "/example",
|
248
|
+
})
|
249
249
|
```
|
250
250
|
|
251
251
|
### Webhook
|
@@ -256,18 +256,18 @@ class AlertChannel(pulumi.CustomResource):
|
|
256
256
|
foo = newrelic.AlertChannel("foo",
|
257
257
|
name="webhook-example",
|
258
258
|
type="webhook",
|
259
|
-
config=
|
260
|
-
base_url
|
261
|
-
payload_type
|
262
|
-
payload
|
259
|
+
config={
|
260
|
+
"base_url": "http://www.test.com",
|
261
|
+
"payload_type": "application/json",
|
262
|
+
"payload": {
|
263
263
|
"condition_name": "$CONDITION_NAME",
|
264
264
|
"policy_name": "$POLICY_NAME",
|
265
265
|
},
|
266
|
-
headers
|
266
|
+
"headers": {
|
267
267
|
"header1": value1,
|
268
268
|
"header2": value2,
|
269
269
|
},
|
270
|
-
)
|
270
|
+
})
|
271
271
|
```
|
272
272
|
|
273
273
|
### Webhook with complex payload
|
@@ -278,17 +278,17 @@ class AlertChannel(pulumi.CustomResource):
|
|
278
278
|
foo = newrelic.AlertChannel("foo",
|
279
279
|
name="webhook-example",
|
280
280
|
type="webhook",
|
281
|
-
config=
|
282
|
-
base_url
|
283
|
-
payload_type
|
284
|
-
payload_string
|
281
|
+
config={
|
282
|
+
"base_url": "http://www.test.com",
|
283
|
+
"payload_type": "application/json",
|
284
|
+
"payload_string": \"\"\"{
|
285
285
|
"my_custom_values": {
|
286
286
|
"condition_name": "$CONDITION_NAME",
|
287
287
|
"policy_name": "$POLICY_NAME"
|
288
288
|
}
|
289
289
|
}
|
290
290
|
\"\"\",
|
291
|
-
)
|
291
|
+
})
|
292
292
|
```
|
293
293
|
|
294
294
|
## Import
|
@@ -304,7 +304,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
304
304
|
:param str resource_name: The name of the resource.
|
305
305
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
306
306
|
:param pulumi.Input[str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
307
|
-
:param pulumi.Input[
|
307
|
+
:param pulumi.Input[Union['AlertChannelConfigArgs', 'AlertChannelConfigArgsDict']] config: A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
308
308
|
:param pulumi.Input[str] name: The name of the channel.
|
309
309
|
:param pulumi.Input[str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
310
310
|
"""
|
@@ -329,10 +329,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
329
329
|
foo = newrelic.AlertChannel("foo",
|
330
330
|
name="foo",
|
331
331
|
type="email",
|
332
|
-
config=
|
333
|
-
recipients
|
334
|
-
include_json_attachment
|
335
|
-
)
|
332
|
+
config={
|
333
|
+
"recipients": "foo@example.com",
|
334
|
+
"include_json_attachment": "true",
|
335
|
+
})
|
336
336
|
```
|
337
337
|
|
338
338
|
## Additional Examples
|
@@ -345,10 +345,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
345
345
|
foo = newrelic.AlertChannel("foo",
|
346
346
|
name="slack-example",
|
347
347
|
type="slack",
|
348
|
-
config=
|
349
|
-
url
|
350
|
-
channel
|
351
|
-
)
|
348
|
+
config={
|
349
|
+
"url": "https://hooks.slack.com/services/XXXXXXX/XXXXXXX/XXXXXXXXXX",
|
350
|
+
"channel": "example-alerts-channel",
|
351
|
+
})
|
352
352
|
```
|
353
353
|
|
354
354
|
> **NOTE:** For instructions on setting up Webhooks with Slack, please visit the article linked under the argument `slack` in the aforementioned configuration, or [this article](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/alert-notifications/notification-channels-control-where-send-alerts/#slack) in New Relic's docs for additional details on setting up the `New Relic Alerts` Slack application, and subsequently using the generated Webhook URL.
|
@@ -361,12 +361,12 @@ class AlertChannel(pulumi.CustomResource):
|
|
361
361
|
foo = newrelic.AlertChannel("foo",
|
362
362
|
name="opsgenie-example",
|
363
363
|
type="opsgenie",
|
364
|
-
config=
|
365
|
-
api_key
|
366
|
-
teams
|
367
|
-
tags
|
368
|
-
recipients
|
369
|
-
)
|
364
|
+
config={
|
365
|
+
"api_key": "abc123",
|
366
|
+
"teams": "team1, team2",
|
367
|
+
"tags": "tag1, tag2",
|
368
|
+
"recipients": "user1@domain.com, user2@domain.com",
|
369
|
+
})
|
370
370
|
```
|
371
371
|
|
372
372
|
### PagerDuty
|
@@ -377,9 +377,9 @@ class AlertChannel(pulumi.CustomResource):
|
|
377
377
|
foo = newrelic.AlertChannel("foo",
|
378
378
|
name="pagerduty-example",
|
379
379
|
type="pagerduty",
|
380
|
-
config=
|
381
|
-
service_key
|
382
|
-
)
|
380
|
+
config={
|
381
|
+
"service_key": "abc123",
|
382
|
+
})
|
383
383
|
```
|
384
384
|
|
385
385
|
### VictorOps
|
@@ -390,10 +390,10 @@ class AlertChannel(pulumi.CustomResource):
|
|
390
390
|
foo = newrelic.AlertChannel("foo",
|
391
391
|
name="victorops-example",
|
392
392
|
type="victorops",
|
393
|
-
config=
|
394
|
-
key
|
395
|
-
route_key
|
396
|
-
)
|
393
|
+
config={
|
394
|
+
"key": "abc123",
|
395
|
+
"route_key": "/example",
|
396
|
+
})
|
397
397
|
```
|
398
398
|
|
399
399
|
### Webhook
|
@@ -404,18 +404,18 @@ class AlertChannel(pulumi.CustomResource):
|
|
404
404
|
foo = newrelic.AlertChannel("foo",
|
405
405
|
name="webhook-example",
|
406
406
|
type="webhook",
|
407
|
-
config=
|
408
|
-
base_url
|
409
|
-
payload_type
|
410
|
-
payload
|
407
|
+
config={
|
408
|
+
"base_url": "http://www.test.com",
|
409
|
+
"payload_type": "application/json",
|
410
|
+
"payload": {
|
411
411
|
"condition_name": "$CONDITION_NAME",
|
412
412
|
"policy_name": "$POLICY_NAME",
|
413
413
|
},
|
414
|
-
headers
|
414
|
+
"headers": {
|
415
415
|
"header1": value1,
|
416
416
|
"header2": value2,
|
417
417
|
},
|
418
|
-
)
|
418
|
+
})
|
419
419
|
```
|
420
420
|
|
421
421
|
### Webhook with complex payload
|
@@ -426,17 +426,17 @@ class AlertChannel(pulumi.CustomResource):
|
|
426
426
|
foo = newrelic.AlertChannel("foo",
|
427
427
|
name="webhook-example",
|
428
428
|
type="webhook",
|
429
|
-
config=
|
430
|
-
base_url
|
431
|
-
payload_type
|
432
|
-
payload_string
|
429
|
+
config={
|
430
|
+
"base_url": "http://www.test.com",
|
431
|
+
"payload_type": "application/json",
|
432
|
+
"payload_string": \"\"\"{
|
433
433
|
"my_custom_values": {
|
434
434
|
"condition_name": "$CONDITION_NAME",
|
435
435
|
"policy_name": "$POLICY_NAME"
|
436
436
|
}
|
437
437
|
}
|
438
438
|
\"\"\",
|
439
|
-
)
|
439
|
+
})
|
440
440
|
```
|
441
441
|
|
442
442
|
## Import
|
@@ -465,7 +465,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
465
465
|
resource_name: str,
|
466
466
|
opts: Optional[pulumi.ResourceOptions] = None,
|
467
467
|
account_id: Optional[pulumi.Input[str]] = None,
|
468
|
-
config: Optional[pulumi.Input[
|
468
|
+
config: Optional[pulumi.Input[Union['AlertChannelConfigArgs', 'AlertChannelConfigArgsDict']]] = None,
|
469
469
|
name: Optional[pulumi.Input[str]] = None,
|
470
470
|
type: Optional[pulumi.Input[str]] = None,
|
471
471
|
__props__=None):
|
@@ -494,7 +494,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
494
494
|
id: pulumi.Input[str],
|
495
495
|
opts: Optional[pulumi.ResourceOptions] = None,
|
496
496
|
account_id: Optional[pulumi.Input[str]] = None,
|
497
|
-
config: Optional[pulumi.Input[
|
497
|
+
config: Optional[pulumi.Input[Union['AlertChannelConfigArgs', 'AlertChannelConfigArgsDict']]] = None,
|
498
498
|
name: Optional[pulumi.Input[str]] = None,
|
499
499
|
type: Optional[pulumi.Input[str]] = None) -> 'AlertChannel':
|
500
500
|
"""
|
@@ -505,7 +505,7 @@ class AlertChannel(pulumi.CustomResource):
|
|
505
505
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
506
506
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
507
507
|
:param pulumi.Input[str] account_id: Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
508
|
-
:param pulumi.Input[
|
508
|
+
:param pulumi.Input[Union['AlertChannelConfigArgs', 'AlertChannelConfigArgsDict']] config: A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
|
509
509
|
:param pulumi.Input[str] name: The name of the channel.
|
510
510
|
:param pulumi.Input[str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
|
511
511
|
"""
|
{pulumi_newrelic-5.28.0a1723009616 → pulumi_newrelic-5.29.0}/pulumi_newrelic/alert_condition.py
RENAMED
@@ -501,7 +501,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
501
501
|
name: Optional[pulumi.Input[str]] = None,
|
502
502
|
policy_id: Optional[pulumi.Input[str]] = None,
|
503
503
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
504
|
-
terms: Optional[pulumi.Input[Sequence[pulumi.Input[
|
504
|
+
terms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertConditionTermArgs', 'AlertConditionTermArgsDict']]]]] = None,
|
505
505
|
type: Optional[pulumi.Input[str]] = None,
|
506
506
|
user_defined_metric: Optional[pulumi.Input[str]] = None,
|
507
507
|
user_defined_value_function: Optional[pulumi.Input[str]] = None,
|
@@ -530,13 +530,13 @@ class AlertCondition(pulumi.CustomResource):
|
|
530
530
|
metric="apdex",
|
531
531
|
runbook_url="https://www.example.com",
|
532
532
|
condition_scope="application",
|
533
|
-
terms=[
|
534
|
-
duration
|
535
|
-
operator
|
536
|
-
priority
|
537
|
-
threshold
|
538
|
-
time_function
|
539
|
-
|
533
|
+
terms=[{
|
534
|
+
"duration": 5,
|
535
|
+
"operator": "below",
|
536
|
+
"priority": "critical",
|
537
|
+
"threshold": 0.75,
|
538
|
+
"time_function": "all",
|
539
|
+
}])
|
540
540
|
```
|
541
541
|
|
542
542
|
## Terms
|
@@ -567,27 +567,27 @@ class AlertCondition(pulumi.CustomResource):
|
|
567
567
|
metric="apdex",
|
568
568
|
runbook_url="https://www.example.com",
|
569
569
|
condition_scope="application",
|
570
|
-
terms=[
|
571
|
-
duration
|
572
|
-
operator
|
573
|
-
priority
|
574
|
-
threshold
|
575
|
-
time_function
|
576
|
-
|
570
|
+
terms=[{
|
571
|
+
"duration": 5,
|
572
|
+
"operator": "below",
|
573
|
+
"priority": "critical",
|
574
|
+
"threshold": 0.75,
|
575
|
+
"time_function": "all",
|
576
|
+
}])
|
577
577
|
my_condition_entity_tags = newrelic.EntityTags("my_condition_entity_tags",
|
578
578
|
guid=foo_alert_condition.entity_guid,
|
579
579
|
tags=[
|
580
|
-
|
581
|
-
key
|
582
|
-
values
|
580
|
+
{
|
581
|
+
"key": "my-key",
|
582
|
+
"values": [
|
583
583
|
"my-value",
|
584
584
|
"my-other-value",
|
585
585
|
],
|
586
|
-
|
587
|
-
|
588
|
-
key
|
589
|
-
values
|
590
|
-
|
586
|
+
},
|
587
|
+
{
|
588
|
+
"key": "my-key-2",
|
589
|
+
"values": ["my-value-2"],
|
590
|
+
},
|
591
591
|
])
|
592
592
|
```
|
593
593
|
|
@@ -609,7 +609,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
609
609
|
:param pulumi.Input[str] name: The title of the condition. Must be between 1 and 64 characters, inclusive.
|
610
610
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
611
611
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
612
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
612
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AlertConditionTermArgs', 'AlertConditionTermArgsDict']]]] terms: A list of terms for this condition. See Terms below for details.
|
613
613
|
:param pulumi.Input[str] type: The type of condition. One of: `apm_app_metric`, `apm_jvm_metric`, `apm_kt_metric`, `browser_metric`, `mobile_metric`
|
614
614
|
:param pulumi.Input[str] user_defined_metric: A custom metric to be evaluated.
|
615
615
|
:param pulumi.Input[str] user_defined_value_function: One of: `average`, `min`, `max`, `total`, `sample_size`, `rate` or `percent`.
|
@@ -652,13 +652,13 @@ class AlertCondition(pulumi.CustomResource):
|
|
652
652
|
metric="apdex",
|
653
653
|
runbook_url="https://www.example.com",
|
654
654
|
condition_scope="application",
|
655
|
-
terms=[
|
656
|
-
duration
|
657
|
-
operator
|
658
|
-
priority
|
659
|
-
threshold
|
660
|
-
time_function
|
661
|
-
|
655
|
+
terms=[{
|
656
|
+
"duration": 5,
|
657
|
+
"operator": "below",
|
658
|
+
"priority": "critical",
|
659
|
+
"threshold": 0.75,
|
660
|
+
"time_function": "all",
|
661
|
+
}])
|
662
662
|
```
|
663
663
|
|
664
664
|
## Terms
|
@@ -689,27 +689,27 @@ class AlertCondition(pulumi.CustomResource):
|
|
689
689
|
metric="apdex",
|
690
690
|
runbook_url="https://www.example.com",
|
691
691
|
condition_scope="application",
|
692
|
-
terms=[
|
693
|
-
duration
|
694
|
-
operator
|
695
|
-
priority
|
696
|
-
threshold
|
697
|
-
time_function
|
698
|
-
|
692
|
+
terms=[{
|
693
|
+
"duration": 5,
|
694
|
+
"operator": "below",
|
695
|
+
"priority": "critical",
|
696
|
+
"threshold": 0.75,
|
697
|
+
"time_function": "all",
|
698
|
+
}])
|
699
699
|
my_condition_entity_tags = newrelic.EntityTags("my_condition_entity_tags",
|
700
700
|
guid=foo_alert_condition.entity_guid,
|
701
701
|
tags=[
|
702
|
-
|
703
|
-
key
|
704
|
-
values
|
702
|
+
{
|
703
|
+
"key": "my-key",
|
704
|
+
"values": [
|
705
705
|
"my-value",
|
706
706
|
"my-other-value",
|
707
707
|
],
|
708
|
-
|
709
|
-
|
710
|
-
key
|
711
|
-
values
|
712
|
-
|
708
|
+
},
|
709
|
+
{
|
710
|
+
"key": "my-key-2",
|
711
|
+
"values": ["my-value-2"],
|
712
|
+
},
|
713
713
|
])
|
714
714
|
```
|
715
715
|
|
@@ -744,7 +744,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
744
744
|
name: Optional[pulumi.Input[str]] = None,
|
745
745
|
policy_id: Optional[pulumi.Input[str]] = None,
|
746
746
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
747
|
-
terms: Optional[pulumi.Input[Sequence[pulumi.Input[
|
747
|
+
terms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertConditionTermArgs', 'AlertConditionTermArgsDict']]]]] = None,
|
748
748
|
type: Optional[pulumi.Input[str]] = None,
|
749
749
|
user_defined_metric: Optional[pulumi.Input[str]] = None,
|
750
750
|
user_defined_value_function: Optional[pulumi.Input[str]] = None,
|
@@ -801,7 +801,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
801
801
|
name: Optional[pulumi.Input[str]] = None,
|
802
802
|
policy_id: Optional[pulumi.Input[str]] = None,
|
803
803
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
804
|
-
terms: Optional[pulumi.Input[Sequence[pulumi.Input[
|
804
|
+
terms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertConditionTermArgs', 'AlertConditionTermArgsDict']]]]] = None,
|
805
805
|
type: Optional[pulumi.Input[str]] = None,
|
806
806
|
user_defined_metric: Optional[pulumi.Input[str]] = None,
|
807
807
|
user_defined_value_function: Optional[pulumi.Input[str]] = None,
|
@@ -822,7 +822,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
822
822
|
:param pulumi.Input[str] name: The title of the condition. Must be between 1 and 64 characters, inclusive.
|
823
823
|
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
824
824
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
825
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
825
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AlertConditionTermArgs', 'AlertConditionTermArgsDict']]]] terms: A list of terms for this condition. See Terms below for details.
|
826
826
|
:param pulumi.Input[str] type: The type of condition. One of: `apm_app_metric`, `apm_jvm_metric`, `apm_kt_metric`, `browser_metric`, `mobile_metric`
|
827
827
|
:param pulumi.Input[str] user_defined_metric: A custom metric to be evaluated.
|
828
828
|
:param pulumi.Input[str] user_defined_value_function: One of: `average`, `min`, `max`, `total`, `sample_size`, `rate` or `percent`.
|