pulumi-newrelic 5.24.0a1715356536__py3-none-any.whl → 5.24.1__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 +63 -63
- pulumi_newrelic/alert_channel.py +14 -14
- pulumi_newrelic/alert_condition.py +28 -28
- pulumi_newrelic/alert_muting_rule.py +14 -14
- pulumi_newrelic/alert_policy.py +24 -24
- pulumi_newrelic/alert_policy_channel.py +42 -42
- pulumi_newrelic/api_access_key.py +28 -28
- pulumi_newrelic/browser_application.py +14 -14
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +28 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +14 -14
- pulumi_newrelic/cloud/aws_integrations.py +28 -28
- pulumi_newrelic/cloud/aws_link_account.py +14 -14
- pulumi_newrelic/cloud/azure_integrations.py +28 -28
- pulumi_newrelic/cloud/azure_link_account.py +14 -14
- pulumi_newrelic/cloud/gcp_integrations.py +28 -28
- pulumi_newrelic/cloud/gcp_link_account.py +14 -14
- pulumi_newrelic/config/__init__.pyi +1 -1
- pulumi_newrelic/config/vars.py +2 -2
- pulumi_newrelic/data_partition_rule.py +14 -14
- pulumi_newrelic/events_to_metrics_rule.py +16 -16
- pulumi_newrelic/get_account.py +7 -7
- pulumi_newrelic/get_alert_channel.py +8 -8
- pulumi_newrelic/get_alert_policy.py +7 -7
- pulumi_newrelic/get_application.py +2 -2
- pulumi_newrelic/get_cloud_account.py +9 -9
- pulumi_newrelic/get_entity.py +15 -15
- pulumi_newrelic/get_notification_destination.py +7 -7
- pulumi_newrelic/get_obfuscation_expression.py +9 -9
- pulumi_newrelic/get_service_level_alert_helper.py +10 -10
- pulumi_newrelic/get_test_grok_pattern.py +7 -7
- pulumi_newrelic/infra_alert_condition.py +14 -14
- pulumi_newrelic/log_parsing_rule.py +14 -14
- pulumi_newrelic/monitor_downtime.py +14 -14
- pulumi_newrelic/notification_channel.py +36 -36
- pulumi_newrelic/notification_destination.py +14 -14
- pulumi_newrelic/nrql_alert_condition.py +32 -32
- pulumi_newrelic/nrql_drop_rule.py +20 -20
- pulumi_newrelic/obfuscation_expression.py +16 -16
- pulumi_newrelic/obfuscation_rule.py +14 -14
- pulumi_newrelic/one_dashboard.py +14 -14
- pulumi_newrelic/one_dashboard_json.py +14 -14
- pulumi_newrelic/one_dashboard_raw.py +14 -14
- pulumi_newrelic/outputs.py +47 -47
- pulumi_newrelic/plugins/workload.py +55 -55
- pulumi_newrelic/provider.py +14 -9
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +6 -6
- pulumi_newrelic/synthetics/alert_condition.py +14 -14
- pulumi_newrelic/synthetics/broken_links_monitor.py +32 -14
- pulumi_newrelic/synthetics/cert_check_monitor.py +32 -14
- pulumi_newrelic/synthetics/get_private_location.py +11 -11
- pulumi_newrelic/synthetics/get_secure_credential.py +5 -5
- pulumi_newrelic/synthetics/monitor.py +18 -14
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +14 -14
- pulumi_newrelic/synthetics/private_location.py +14 -14
- pulumi_newrelic/synthetics/script_monitor.py +18 -14
- pulumi_newrelic/synthetics/secure_credential.py +14 -14
- pulumi_newrelic/synthetics/step_monitor.py +32 -14
- pulumi_newrelic/workflow.py +14 -14
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.24.1.dist-info/RECORD +89 -0
- pulumi_newrelic-5.24.0a1715356536.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/top_level.txt +0 -0
@@ -16,9 +16,9 @@ __all__ = ['AlertConditionArgs', 'AlertCondition']
|
|
16
16
|
@pulumi.input_type
|
17
17
|
class AlertConditionArgs:
|
18
18
|
def __init__(__self__, *,
|
19
|
-
entities: pulumi.Input[Sequence[pulumi.Input[
|
19
|
+
entities: pulumi.Input[Sequence[pulumi.Input[str]]],
|
20
20
|
metric: pulumi.Input[str],
|
21
|
-
policy_id: pulumi.Input[
|
21
|
+
policy_id: pulumi.Input[str],
|
22
22
|
terms: pulumi.Input[Sequence[pulumi.Input['AlertConditionTermArgs']]],
|
23
23
|
type: pulumi.Input[str],
|
24
24
|
condition_scope: Optional[pulumi.Input[str]] = None,
|
@@ -31,9 +31,9 @@ class AlertConditionArgs:
|
|
31
31
|
violation_close_timer: Optional[pulumi.Input[int]] = None):
|
32
32
|
"""
|
33
33
|
The set of arguments for constructing a AlertCondition resource.
|
34
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
34
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The instance IDs associated with this condition.
|
35
35
|
:param pulumi.Input[str] metric: The metric field accepts parameters based on the type set.
|
36
|
-
:param pulumi.Input[
|
36
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
37
37
|
:param pulumi.Input[str] type: The type of condition. One of: (apm_app_metric, apm_jvm_metric, apm_kt_metric, browser_metric, mobile_metric,
|
38
38
|
servers_metric).
|
39
39
|
:param pulumi.Input[str] condition_scope: One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the
|
@@ -72,14 +72,14 @@ class AlertConditionArgs:
|
|
72
72
|
|
73
73
|
@property
|
74
74
|
@pulumi.getter
|
75
|
-
def entities(self) -> pulumi.Input[Sequence[pulumi.Input[
|
75
|
+
def entities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
76
76
|
"""
|
77
77
|
The instance IDs associated with this condition.
|
78
78
|
"""
|
79
79
|
return pulumi.get(self, "entities")
|
80
80
|
|
81
81
|
@entities.setter
|
82
|
-
def entities(self, value: pulumi.Input[Sequence[pulumi.Input[
|
82
|
+
def entities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
83
83
|
pulumi.set(self, "entities", value)
|
84
84
|
|
85
85
|
@property
|
@@ -96,14 +96,14 @@ class AlertConditionArgs:
|
|
96
96
|
|
97
97
|
@property
|
98
98
|
@pulumi.getter(name="policyId")
|
99
|
-
def policy_id(self) -> pulumi.Input[
|
99
|
+
def policy_id(self) -> pulumi.Input[str]:
|
100
100
|
"""
|
101
101
|
The ID of the policy where this condition should be used.
|
102
102
|
"""
|
103
103
|
return pulumi.get(self, "policy_id")
|
104
104
|
|
105
105
|
@policy_id.setter
|
106
|
-
def policy_id(self, value: pulumi.Input[
|
106
|
+
def policy_id(self, value: pulumi.Input[str]):
|
107
107
|
pulumi.set(self, "policy_id", value)
|
108
108
|
|
109
109
|
@property
|
@@ -233,12 +233,12 @@ class _AlertConditionState:
|
|
233
233
|
def __init__(__self__, *,
|
234
234
|
condition_scope: Optional[pulumi.Input[str]] = None,
|
235
235
|
enabled: Optional[pulumi.Input[bool]] = None,
|
236
|
-
entities: Optional[pulumi.Input[Sequence[pulumi.Input[
|
236
|
+
entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
237
237
|
entity_guid: Optional[pulumi.Input[str]] = None,
|
238
238
|
gc_metric: Optional[pulumi.Input[str]] = None,
|
239
239
|
metric: Optional[pulumi.Input[str]] = None,
|
240
240
|
name: Optional[pulumi.Input[str]] = None,
|
241
|
-
policy_id: Optional[pulumi.Input[
|
241
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
242
242
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
243
243
|
terms: Optional[pulumi.Input[Sequence[pulumi.Input['AlertConditionTermArgs']]]] = None,
|
244
244
|
type: Optional[pulumi.Input[str]] = None,
|
@@ -250,13 +250,13 @@ class _AlertConditionState:
|
|
250
250
|
:param pulumi.Input[str] condition_scope: One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the
|
251
251
|
instance setting allows your condition to trigger for specific app instances.
|
252
252
|
:param pulumi.Input[bool] enabled: Whether the condition is enabled.
|
253
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
253
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The instance IDs associated with this condition.
|
254
254
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
255
255
|
:param pulumi.Input[str] gc_metric: A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with
|
256
256
|
gc_cpu_time condition type.
|
257
257
|
:param pulumi.Input[str] metric: The metric field accepts parameters based on the type set.
|
258
258
|
:param pulumi.Input[str] name: The title of the condition. Must be between 1 and 128 characters, inclusive.
|
259
|
-
:param pulumi.Input[
|
259
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
260
260
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
261
261
|
:param pulumi.Input[str] type: The type of condition. One of: (apm_app_metric, apm_jvm_metric, apm_kt_metric, browser_metric, mobile_metric,
|
262
262
|
servers_metric).
|
@@ -321,14 +321,14 @@ class _AlertConditionState:
|
|
321
321
|
|
322
322
|
@property
|
323
323
|
@pulumi.getter
|
324
|
-
def entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
324
|
+
def entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
325
325
|
"""
|
326
326
|
The instance IDs associated with this condition.
|
327
327
|
"""
|
328
328
|
return pulumi.get(self, "entities")
|
329
329
|
|
330
330
|
@entities.setter
|
331
|
-
def entities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
331
|
+
def entities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
332
332
|
pulumi.set(self, "entities", value)
|
333
333
|
|
334
334
|
@property
|
@@ -382,14 +382,14 @@ class _AlertConditionState:
|
|
382
382
|
|
383
383
|
@property
|
384
384
|
@pulumi.getter(name="policyId")
|
385
|
-
def policy_id(self) -> Optional[pulumi.Input[
|
385
|
+
def policy_id(self) -> Optional[pulumi.Input[str]]:
|
386
386
|
"""
|
387
387
|
The ID of the policy where this condition should be used.
|
388
388
|
"""
|
389
389
|
return pulumi.get(self, "policy_id")
|
390
390
|
|
391
391
|
@policy_id.setter
|
392
|
-
def policy_id(self, value: Optional[pulumi.Input[
|
392
|
+
def policy_id(self, value: Optional[pulumi.Input[str]]):
|
393
393
|
pulumi.set(self, "policy_id", value)
|
394
394
|
|
395
395
|
@property
|
@@ -471,11 +471,11 @@ class AlertCondition(pulumi.CustomResource):
|
|
471
471
|
opts: Optional[pulumi.ResourceOptions] = None,
|
472
472
|
condition_scope: Optional[pulumi.Input[str]] = None,
|
473
473
|
enabled: Optional[pulumi.Input[bool]] = None,
|
474
|
-
entities: Optional[pulumi.Input[Sequence[pulumi.Input[
|
474
|
+
entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
475
475
|
gc_metric: Optional[pulumi.Input[str]] = None,
|
476
476
|
metric: Optional[pulumi.Input[str]] = None,
|
477
477
|
name: Optional[pulumi.Input[str]] = None,
|
478
|
-
policy_id: Optional[pulumi.Input[
|
478
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
479
479
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
480
480
|
terms: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertConditionTermArgs']]]]] = None,
|
481
481
|
type: Optional[pulumi.Input[str]] = None,
|
@@ -580,12 +580,12 @@ class AlertCondition(pulumi.CustomResource):
|
|
580
580
|
:param pulumi.Input[str] condition_scope: One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the
|
581
581
|
instance setting allows your condition to trigger for specific app instances.
|
582
582
|
:param pulumi.Input[bool] enabled: Whether the condition is enabled.
|
583
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
583
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The instance IDs associated with this condition.
|
584
584
|
:param pulumi.Input[str] gc_metric: A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with
|
585
585
|
gc_cpu_time condition type.
|
586
586
|
:param pulumi.Input[str] metric: The metric field accepts parameters based on the type set.
|
587
587
|
:param pulumi.Input[str] name: The title of the condition. Must be between 1 and 128 characters, inclusive.
|
588
|
-
:param pulumi.Input[
|
588
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
589
589
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
590
590
|
:param pulumi.Input[str] type: The type of condition. One of: (apm_app_metric, apm_jvm_metric, apm_kt_metric, browser_metric, mobile_metric,
|
591
591
|
servers_metric).
|
@@ -709,11 +709,11 @@ class AlertCondition(pulumi.CustomResource):
|
|
709
709
|
opts: Optional[pulumi.ResourceOptions] = None,
|
710
710
|
condition_scope: Optional[pulumi.Input[str]] = None,
|
711
711
|
enabled: Optional[pulumi.Input[bool]] = None,
|
712
|
-
entities: Optional[pulumi.Input[Sequence[pulumi.Input[
|
712
|
+
entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
713
713
|
gc_metric: Optional[pulumi.Input[str]] = None,
|
714
714
|
metric: Optional[pulumi.Input[str]] = None,
|
715
715
|
name: Optional[pulumi.Input[str]] = None,
|
716
|
-
policy_id: Optional[pulumi.Input[
|
716
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
717
717
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
718
718
|
terms: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertConditionTermArgs']]]]] = None,
|
719
719
|
type: Optional[pulumi.Input[str]] = None,
|
@@ -765,12 +765,12 @@ class AlertCondition(pulumi.CustomResource):
|
|
765
765
|
opts: Optional[pulumi.ResourceOptions] = None,
|
766
766
|
condition_scope: Optional[pulumi.Input[str]] = None,
|
767
767
|
enabled: Optional[pulumi.Input[bool]] = None,
|
768
|
-
entities: Optional[pulumi.Input[Sequence[pulumi.Input[
|
768
|
+
entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
769
769
|
entity_guid: Optional[pulumi.Input[str]] = None,
|
770
770
|
gc_metric: Optional[pulumi.Input[str]] = None,
|
771
771
|
metric: Optional[pulumi.Input[str]] = None,
|
772
772
|
name: Optional[pulumi.Input[str]] = None,
|
773
|
-
policy_id: Optional[pulumi.Input[
|
773
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
774
774
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
775
775
|
terms: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertConditionTermArgs']]]]] = None,
|
776
776
|
type: Optional[pulumi.Input[str]] = None,
|
@@ -787,13 +787,13 @@ class AlertCondition(pulumi.CustomResource):
|
|
787
787
|
:param pulumi.Input[str] condition_scope: One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the
|
788
788
|
instance setting allows your condition to trigger for specific app instances.
|
789
789
|
:param pulumi.Input[bool] enabled: Whether the condition is enabled.
|
790
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
790
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The instance IDs associated with this condition.
|
791
791
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
792
792
|
:param pulumi.Input[str] gc_metric: A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with
|
793
793
|
gc_cpu_time condition type.
|
794
794
|
:param pulumi.Input[str] metric: The metric field accepts parameters based on the type set.
|
795
795
|
:param pulumi.Input[str] name: The title of the condition. Must be between 1 and 128 characters, inclusive.
|
796
|
-
:param pulumi.Input[
|
796
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
797
797
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
798
798
|
:param pulumi.Input[str] type: The type of condition. One of: (apm_app_metric, apm_jvm_metric, apm_kt_metric, browser_metric, mobile_metric,
|
799
799
|
servers_metric).
|
@@ -841,7 +841,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
841
841
|
|
842
842
|
@property
|
843
843
|
@pulumi.getter
|
844
|
-
def entities(self) -> pulumi.Output[Sequence[
|
844
|
+
def entities(self) -> pulumi.Output[Sequence[str]]:
|
845
845
|
"""
|
846
846
|
The instance IDs associated with this condition.
|
847
847
|
"""
|
@@ -882,7 +882,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
882
882
|
|
883
883
|
@property
|
884
884
|
@pulumi.getter(name="policyId")
|
885
|
-
def policy_id(self) -> pulumi.Output[
|
885
|
+
def policy_id(self) -> pulumi.Output[str]:
|
886
886
|
"""
|
887
887
|
The ID of the policy where this condition should be used.
|
888
888
|
"""
|
@@ -18,7 +18,7 @@ class AlertMutingRuleArgs:
|
|
18
18
|
def __init__(__self__, *,
|
19
19
|
condition: pulumi.Input['AlertMutingRuleConditionArgs'],
|
20
20
|
enabled: pulumi.Input[bool],
|
21
|
-
account_id: Optional[pulumi.Input[
|
21
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
22
22
|
description: Optional[pulumi.Input[str]] = None,
|
23
23
|
name: Optional[pulumi.Input[str]] = None,
|
24
24
|
schedule: Optional[pulumi.Input['AlertMutingRuleScheduleArgs']] = None):
|
@@ -26,7 +26,7 @@ class AlertMutingRuleArgs:
|
|
26
26
|
The set of arguments for constructing a AlertMutingRule resource.
|
27
27
|
:param pulumi.Input['AlertMutingRuleConditionArgs'] condition: The condition that defines which incidents to target.
|
28
28
|
:param pulumi.Input[bool] enabled: Whether the MutingRule is enabled.
|
29
|
-
:param pulumi.Input[
|
29
|
+
:param pulumi.Input[str] account_id: The account id of the MutingRule..
|
30
30
|
:param pulumi.Input[str] description: The description of the MutingRule.
|
31
31
|
:param pulumi.Input[str] name: The name of the MutingRule.
|
32
32
|
:param pulumi.Input['AlertMutingRuleScheduleArgs'] schedule: The time window when the MutingRule should actively mute incidents.
|
@@ -68,14 +68,14 @@ class AlertMutingRuleArgs:
|
|
68
68
|
|
69
69
|
@property
|
70
70
|
@pulumi.getter(name="accountId")
|
71
|
-
def account_id(self) -> Optional[pulumi.Input[
|
71
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
72
72
|
"""
|
73
73
|
The account id of the MutingRule..
|
74
74
|
"""
|
75
75
|
return pulumi.get(self, "account_id")
|
76
76
|
|
77
77
|
@account_id.setter
|
78
|
-
def account_id(self, value: Optional[pulumi.Input[
|
78
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
79
79
|
pulumi.set(self, "account_id", value)
|
80
80
|
|
81
81
|
@property
|
@@ -118,7 +118,7 @@ class AlertMutingRuleArgs:
|
|
118
118
|
@pulumi.input_type
|
119
119
|
class _AlertMutingRuleState:
|
120
120
|
def __init__(__self__, *,
|
121
|
-
account_id: Optional[pulumi.Input[
|
121
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
122
122
|
condition: Optional[pulumi.Input['AlertMutingRuleConditionArgs']] = None,
|
123
123
|
description: Optional[pulumi.Input[str]] = None,
|
124
124
|
enabled: Optional[pulumi.Input[bool]] = None,
|
@@ -126,7 +126,7 @@ class _AlertMutingRuleState:
|
|
126
126
|
schedule: Optional[pulumi.Input['AlertMutingRuleScheduleArgs']] = None):
|
127
127
|
"""
|
128
128
|
Input properties used for looking up and filtering AlertMutingRule resources.
|
129
|
-
:param pulumi.Input[
|
129
|
+
:param pulumi.Input[str] account_id: The account id of the MutingRule..
|
130
130
|
:param pulumi.Input['AlertMutingRuleConditionArgs'] condition: The condition that defines which incidents to target.
|
131
131
|
:param pulumi.Input[str] description: The description of the MutingRule.
|
132
132
|
:param pulumi.Input[bool] enabled: Whether the MutingRule is enabled.
|
@@ -148,14 +148,14 @@ class _AlertMutingRuleState:
|
|
148
148
|
|
149
149
|
@property
|
150
150
|
@pulumi.getter(name="accountId")
|
151
|
-
def account_id(self) -> Optional[pulumi.Input[
|
151
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
152
152
|
"""
|
153
153
|
The account id of the MutingRule..
|
154
154
|
"""
|
155
155
|
return pulumi.get(self, "account_id")
|
156
156
|
|
157
157
|
@account_id.setter
|
158
|
-
def account_id(self, value: Optional[pulumi.Input[
|
158
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
159
159
|
pulumi.set(self, "account_id", value)
|
160
160
|
|
161
161
|
@property
|
@@ -224,7 +224,7 @@ class AlertMutingRule(pulumi.CustomResource):
|
|
224
224
|
def __init__(__self__,
|
225
225
|
resource_name: str,
|
226
226
|
opts: Optional[pulumi.ResourceOptions] = None,
|
227
|
-
account_id: Optional[pulumi.Input[
|
227
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
228
228
|
condition: Optional[pulumi.Input[pulumi.InputType['AlertMutingRuleConditionArgs']]] = None,
|
229
229
|
description: Optional[pulumi.Input[str]] = None,
|
230
230
|
enabled: Optional[pulumi.Input[bool]] = None,
|
@@ -281,7 +281,7 @@ class AlertMutingRule(pulumi.CustomResource):
|
|
281
281
|
|
282
282
|
:param str resource_name: The name of the resource.
|
283
283
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
284
|
-
:param pulumi.Input[
|
284
|
+
:param pulumi.Input[str] account_id: The account id of the MutingRule..
|
285
285
|
:param pulumi.Input[pulumi.InputType['AlertMutingRuleConditionArgs']] condition: The condition that defines which incidents to target.
|
286
286
|
:param pulumi.Input[str] description: The description of the MutingRule.
|
287
287
|
:param pulumi.Input[bool] enabled: Whether the MutingRule is enabled.
|
@@ -357,7 +357,7 @@ class AlertMutingRule(pulumi.CustomResource):
|
|
357
357
|
def _internal_init(__self__,
|
358
358
|
resource_name: str,
|
359
359
|
opts: Optional[pulumi.ResourceOptions] = None,
|
360
|
-
account_id: Optional[pulumi.Input[
|
360
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
361
361
|
condition: Optional[pulumi.Input[pulumi.InputType['AlertMutingRuleConditionArgs']]] = None,
|
362
362
|
description: Optional[pulumi.Input[str]] = None,
|
363
363
|
enabled: Optional[pulumi.Input[bool]] = None,
|
@@ -392,7 +392,7 @@ class AlertMutingRule(pulumi.CustomResource):
|
|
392
392
|
def get(resource_name: str,
|
393
393
|
id: pulumi.Input[str],
|
394
394
|
opts: Optional[pulumi.ResourceOptions] = None,
|
395
|
-
account_id: Optional[pulumi.Input[
|
395
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
396
396
|
condition: Optional[pulumi.Input[pulumi.InputType['AlertMutingRuleConditionArgs']]] = None,
|
397
397
|
description: Optional[pulumi.Input[str]] = None,
|
398
398
|
enabled: Optional[pulumi.Input[bool]] = None,
|
@@ -405,7 +405,7 @@ class AlertMutingRule(pulumi.CustomResource):
|
|
405
405
|
:param str resource_name: The unique name of the resulting resource.
|
406
406
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
407
407
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
408
|
-
:param pulumi.Input[
|
408
|
+
:param pulumi.Input[str] account_id: The account id of the MutingRule..
|
409
409
|
:param pulumi.Input[pulumi.InputType['AlertMutingRuleConditionArgs']] condition: The condition that defines which incidents to target.
|
410
410
|
:param pulumi.Input[str] description: The description of the MutingRule.
|
411
411
|
:param pulumi.Input[bool] enabled: Whether the MutingRule is enabled.
|
@@ -426,7 +426,7 @@ class AlertMutingRule(pulumi.CustomResource):
|
|
426
426
|
|
427
427
|
@property
|
428
428
|
@pulumi.getter(name="accountId")
|
429
|
-
def account_id(self) -> pulumi.Output[
|
429
|
+
def account_id(self) -> pulumi.Output[str]:
|
430
430
|
"""
|
431
431
|
The account id of the MutingRule..
|
432
432
|
"""
|
pulumi_newrelic/alert_policy.py
CHANGED
@@ -14,13 +14,13 @@ __all__ = ['AlertPolicyArgs', 'AlertPolicy']
|
|
14
14
|
@pulumi.input_type
|
15
15
|
class AlertPolicyArgs:
|
16
16
|
def __init__(__self__, *,
|
17
|
-
account_id: Optional[pulumi.Input[
|
18
|
-
channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
17
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
18
|
+
channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
19
19
|
incident_preference: Optional[pulumi.Input[str]] = None,
|
20
20
|
name: Optional[pulumi.Input[str]] = None):
|
21
21
|
"""
|
22
22
|
The set of arguments for constructing a AlertPolicy resource.
|
23
|
-
:param pulumi.Input[
|
23
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on.
|
24
24
|
:param pulumi.Input[str] incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default
|
25
25
|
is PER_POLICY.
|
26
26
|
:param pulumi.Input[str] name: The name of the policy.
|
@@ -39,26 +39,26 @@ class AlertPolicyArgs:
|
|
39
39
|
|
40
40
|
@property
|
41
41
|
@pulumi.getter(name="accountId")
|
42
|
-
def account_id(self) -> Optional[pulumi.Input[
|
42
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
43
43
|
"""
|
44
44
|
The New Relic account ID to operate on.
|
45
45
|
"""
|
46
46
|
return pulumi.get(self, "account_id")
|
47
47
|
|
48
48
|
@account_id.setter
|
49
|
-
def account_id(self, value: Optional[pulumi.Input[
|
49
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
50
50
|
pulumi.set(self, "account_id", value)
|
51
51
|
|
52
52
|
@property
|
53
53
|
@pulumi.getter(name="channelIds")
|
54
|
-
def channel_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
54
|
+
def channel_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
55
55
|
warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning)
|
56
56
|
pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""")
|
57
57
|
|
58
58
|
return pulumi.get(self, "channel_ids")
|
59
59
|
|
60
60
|
@channel_ids.setter
|
61
|
-
def channel_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
61
|
+
def channel_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
62
62
|
pulumi.set(self, "channel_ids", value)
|
63
63
|
|
64
64
|
@property
|
@@ -90,13 +90,13 @@ class AlertPolicyArgs:
|
|
90
90
|
@pulumi.input_type
|
91
91
|
class _AlertPolicyState:
|
92
92
|
def __init__(__self__, *,
|
93
|
-
account_id: Optional[pulumi.Input[
|
94
|
-
channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
93
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
94
|
+
channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
95
95
|
incident_preference: Optional[pulumi.Input[str]] = None,
|
96
96
|
name: Optional[pulumi.Input[str]] = None):
|
97
97
|
"""
|
98
98
|
Input properties used for looking up and filtering AlertPolicy resources.
|
99
|
-
:param pulumi.Input[
|
99
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on.
|
100
100
|
:param pulumi.Input[str] incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default
|
101
101
|
is PER_POLICY.
|
102
102
|
:param pulumi.Input[str] name: The name of the policy.
|
@@ -115,26 +115,26 @@ class _AlertPolicyState:
|
|
115
115
|
|
116
116
|
@property
|
117
117
|
@pulumi.getter(name="accountId")
|
118
|
-
def account_id(self) -> Optional[pulumi.Input[
|
118
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
119
119
|
"""
|
120
120
|
The New Relic account ID to operate on.
|
121
121
|
"""
|
122
122
|
return pulumi.get(self, "account_id")
|
123
123
|
|
124
124
|
@account_id.setter
|
125
|
-
def account_id(self, value: Optional[pulumi.Input[
|
125
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
126
126
|
pulumi.set(self, "account_id", value)
|
127
127
|
|
128
128
|
@property
|
129
129
|
@pulumi.getter(name="channelIds")
|
130
|
-
def channel_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
130
|
+
def channel_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
131
131
|
warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning)
|
132
132
|
pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""")
|
133
133
|
|
134
134
|
return pulumi.get(self, "channel_ids")
|
135
135
|
|
136
136
|
@channel_ids.setter
|
137
|
-
def channel_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
137
|
+
def channel_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
138
138
|
pulumi.set(self, "channel_ids", value)
|
139
139
|
|
140
140
|
@property
|
@@ -168,8 +168,8 @@ class AlertPolicy(pulumi.CustomResource):
|
|
168
168
|
def __init__(__self__,
|
169
169
|
resource_name: str,
|
170
170
|
opts: Optional[pulumi.ResourceOptions] = None,
|
171
|
-
account_id: Optional[pulumi.Input[
|
172
|
-
channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
171
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
172
|
+
channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
173
173
|
incident_preference: Optional[pulumi.Input[str]] = None,
|
174
174
|
name: Optional[pulumi.Input[str]] = None,
|
175
175
|
__props__=None):
|
@@ -266,7 +266,7 @@ class AlertPolicy(pulumi.CustomResource):
|
|
266
266
|
|
267
267
|
:param str resource_name: The name of the resource.
|
268
268
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
269
|
-
:param pulumi.Input[
|
269
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on.
|
270
270
|
:param pulumi.Input[str] incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default
|
271
271
|
is PER_POLICY.
|
272
272
|
:param pulumi.Input[str] name: The name of the policy.
|
@@ -383,8 +383,8 @@ class AlertPolicy(pulumi.CustomResource):
|
|
383
383
|
def _internal_init(__self__,
|
384
384
|
resource_name: str,
|
385
385
|
opts: Optional[pulumi.ResourceOptions] = None,
|
386
|
-
account_id: Optional[pulumi.Input[
|
387
|
-
channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
386
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
387
|
+
channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
388
388
|
incident_preference: Optional[pulumi.Input[str]] = None,
|
389
389
|
name: Optional[pulumi.Input[str]] = None,
|
390
390
|
__props__=None):
|
@@ -410,8 +410,8 @@ class AlertPolicy(pulumi.CustomResource):
|
|
410
410
|
def get(resource_name: str,
|
411
411
|
id: pulumi.Input[str],
|
412
412
|
opts: Optional[pulumi.ResourceOptions] = None,
|
413
|
-
account_id: Optional[pulumi.Input[
|
414
|
-
channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
413
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
414
|
+
channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
415
415
|
incident_preference: Optional[pulumi.Input[str]] = None,
|
416
416
|
name: Optional[pulumi.Input[str]] = None) -> 'AlertPolicy':
|
417
417
|
"""
|
@@ -421,7 +421,7 @@ class AlertPolicy(pulumi.CustomResource):
|
|
421
421
|
:param str resource_name: The unique name of the resulting resource.
|
422
422
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
423
423
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
424
|
-
:param pulumi.Input[
|
424
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on.
|
425
425
|
:param pulumi.Input[str] incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default
|
426
426
|
is PER_POLICY.
|
427
427
|
:param pulumi.Input[str] name: The name of the policy.
|
@@ -438,7 +438,7 @@ class AlertPolicy(pulumi.CustomResource):
|
|
438
438
|
|
439
439
|
@property
|
440
440
|
@pulumi.getter(name="accountId")
|
441
|
-
def account_id(self) -> pulumi.Output[
|
441
|
+
def account_id(self) -> pulumi.Output[str]:
|
442
442
|
"""
|
443
443
|
The New Relic account ID to operate on.
|
444
444
|
"""
|
@@ -446,7 +446,7 @@ class AlertPolicy(pulumi.CustomResource):
|
|
446
446
|
|
447
447
|
@property
|
448
448
|
@pulumi.getter(name="channelIds")
|
449
|
-
def channel_ids(self) -> pulumi.Output[Optional[Sequence[
|
449
|
+
def channel_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
450
450
|
warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning)
|
451
451
|
pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""")
|
452
452
|
|