pulumi-newrelic 5.57.2a1762486520__py3-none-any.whl → 5.58.0a1764915474__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.
Potentially problematic release.
This version of pulumi-newrelic might be problematic. Click here for more details.
- pulumi_newrelic/get_alert_channel.py +28 -0
- pulumi_newrelic/get_alert_policy.py +22 -0
- pulumi_newrelic/pulumi-plugin.json +1 -1
- {pulumi_newrelic-5.57.2a1762486520.dist-info → pulumi_newrelic-5.58.0a1764915474.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.57.2a1762486520.dist-info → pulumi_newrelic-5.58.0a1764915474.dist-info}/RECORD +7 -7
- {pulumi_newrelic-5.57.2a1762486520.dist-info → pulumi_newrelic-5.58.0a1764915474.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.57.2a1762486520.dist-info → pulumi_newrelic-5.58.0a1764915474.dist-info}/top_level.txt +0 -0
|
@@ -114,6 +114,20 @@ def get_alert_channel(account_id: Optional[_builtins.str] = None,
|
|
|
114
114
|
|
|
115
115
|
## Example Usage
|
|
116
116
|
|
|
117
|
+
```python
|
|
118
|
+
import pulumi
|
|
119
|
+
import pulumi_newrelic as newrelic
|
|
120
|
+
|
|
121
|
+
# Data source
|
|
122
|
+
foo = newrelic.get_alert_channel(name="foo@example.com")
|
|
123
|
+
# Resource
|
|
124
|
+
foo_alert_policy = newrelic.AlertPolicy("foo", name="foo")
|
|
125
|
+
# Using the data source and resource together
|
|
126
|
+
foo_alert_policy_channel = newrelic.AlertPolicyChannel("foo",
|
|
127
|
+
policy_id=foo_alert_policy.id,
|
|
128
|
+
channel_id=foo.id)
|
|
129
|
+
```
|
|
130
|
+
|
|
117
131
|
|
|
118
132
|
:param _builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
119
133
|
:param _builtins.str name: The name of the alert channel in New Relic.
|
|
@@ -141,6 +155,20 @@ def get_alert_channel_output(account_id: Optional[pulumi.Input[Optional[_builtin
|
|
|
141
155
|
|
|
142
156
|
## Example Usage
|
|
143
157
|
|
|
158
|
+
```python
|
|
159
|
+
import pulumi
|
|
160
|
+
import pulumi_newrelic as newrelic
|
|
161
|
+
|
|
162
|
+
# Data source
|
|
163
|
+
foo = newrelic.get_alert_channel(name="foo@example.com")
|
|
164
|
+
# Resource
|
|
165
|
+
foo_alert_policy = newrelic.AlertPolicy("foo", name="foo")
|
|
166
|
+
# Using the data source and resource together
|
|
167
|
+
foo_alert_policy_channel = newrelic.AlertPolicyChannel("foo",
|
|
168
|
+
policy_id=foo_alert_policy.id,
|
|
169
|
+
channel_id=foo.id)
|
|
170
|
+
```
|
|
171
|
+
|
|
144
172
|
|
|
145
173
|
:param _builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
146
174
|
:param _builtins.str name: The name of the alert channel in New Relic.
|
|
@@ -115,6 +115,17 @@ def get_alert_policy(account_id: Optional[_builtins.str] = None,
|
|
|
115
115
|
|
|
116
116
|
## Example Usage
|
|
117
117
|
|
|
118
|
+
```python
|
|
119
|
+
import pulumi
|
|
120
|
+
import pulumi_newrelic as newrelic
|
|
121
|
+
|
|
122
|
+
foo = newrelic.get_alert_channel(name="foo@example.com")
|
|
123
|
+
foo_get_alert_policy = newrelic.get_alert_policy(name="foo policy")
|
|
124
|
+
foo_alert_policy_channel = newrelic.AlertPolicyChannel("foo",
|
|
125
|
+
policy_id=foo_get_alert_policy.id,
|
|
126
|
+
channel_id=foo.id)
|
|
127
|
+
```
|
|
128
|
+
|
|
118
129
|
|
|
119
130
|
:param _builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
120
131
|
:param _builtins.str incident_preference: The rollup strategy for the policy, which can have one of the following values:
|
|
@@ -146,6 +157,17 @@ def get_alert_policy_output(account_id: Optional[pulumi.Input[Optional[_builtins
|
|
|
146
157
|
|
|
147
158
|
## Example Usage
|
|
148
159
|
|
|
160
|
+
```python
|
|
161
|
+
import pulumi
|
|
162
|
+
import pulumi_newrelic as newrelic
|
|
163
|
+
|
|
164
|
+
foo = newrelic.get_alert_channel(name="foo@example.com")
|
|
165
|
+
foo_get_alert_policy = newrelic.get_alert_policy(name="foo policy")
|
|
166
|
+
foo_alert_policy_channel = newrelic.AlertPolicyChannel("foo",
|
|
167
|
+
policy_id=foo_get_alert_policy.id,
|
|
168
|
+
channel_id=foo.id)
|
|
169
|
+
```
|
|
170
|
+
|
|
149
171
|
|
|
150
172
|
:param _builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
151
173
|
:param _builtins.str incident_preference: The rollup strategy for the policy, which can have one of the following values:
|
{pulumi_newrelic-5.57.2a1762486520.dist-info → pulumi_newrelic-5.58.0a1764915474.dist-info}/RECORD
RENAMED
|
@@ -13,8 +13,8 @@ pulumi_newrelic/data_partition_rule.py,sha256=trKw0gNOAVf7AVp7bHtpJuyVxGJbOFkx9N
|
|
|
13
13
|
pulumi_newrelic/entity_tags.py,sha256=JPxziyMKb_rxCIz9ds9GSpEH84VgDElW8JsUdvGKKrM,12681
|
|
14
14
|
pulumi_newrelic/events_to_metrics_rule.py,sha256=1c4hMI-wspYsroOmqGkK2uSK-0qReyZDydwy_MSZUNc,17184
|
|
15
15
|
pulumi_newrelic/get_account.py,sha256=-6rn4zzYqY1nLv93qjQ-SpI1ZyE-SpWbPkv__dWdDkI,5604
|
|
16
|
-
pulumi_newrelic/get_alert_channel.py,sha256=
|
|
17
|
-
pulumi_newrelic/get_alert_policy.py,sha256=
|
|
16
|
+
pulumi_newrelic/get_alert_channel.py,sha256=eFTO-fTpY0DPGlp_n02yZx9WVsZDCK0aQnPi4RzF_dk,7335
|
|
17
|
+
pulumi_newrelic/get_alert_policy.py,sha256=ueQ9WYEhczYQNiJY8X8faglAzjYt-bV0aODSQ094f6c,10716
|
|
18
18
|
pulumi_newrelic/get_application.py,sha256=SO_71J4z99hRXDNzum9TwJZLOqkrN7NaWCIHzh31bVw,6068
|
|
19
19
|
pulumi_newrelic/get_authentication_domain.py,sha256=hdYJK1DvCHzmwUodaCY2XWiTfkGZlKG4NYYYdsyFKfw,4192
|
|
20
20
|
pulumi_newrelic/get_cloud_account.py,sha256=lhu5c5RwUtMY0667P-6qzBpLtr5GS_2A3uttWt69SAM,6193
|
|
@@ -43,7 +43,7 @@ pulumi_newrelic/one_dashboard_raw.py,sha256=V1F113AK_iHqbqwAeeW6Fdt9Wlfgj4EE2Gid
|
|
|
43
43
|
pulumi_newrelic/outputs.py,sha256=Bf6sk6GT0Nx_MICGgRiTCYWMMLWxguMzbKrkeaEJ8H8,631533
|
|
44
44
|
pulumi_newrelic/pipeline_cloud_rule.py,sha256=I6874bmRCGe0b_ClHs86qyYkpFML2QvD_iMzJ-NN_ws,13644
|
|
45
45
|
pulumi_newrelic/provider.py,sha256=644yJkWitRT_BZOlW_q-_W0x_bnLAIfOrFx_O1V_CEA,20441
|
|
46
|
-
pulumi_newrelic/pulumi-plugin.json,sha256=
|
|
46
|
+
pulumi_newrelic/pulumi-plugin.json,sha256=ihLcGISjctYORk7AK98XgmSi_KlasQA5AbZuU6jqK3U,85
|
|
47
47
|
pulumi_newrelic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
48
|
pulumi_newrelic/service_level.py,sha256=gxclcbnMv1zxbt3ZSR1QCHSzcKiYXUCJfFjbyn3mKvE,29792
|
|
49
49
|
pulumi_newrelic/user.py,sha256=CTl-KJ2yLDl8dwmRGksYCHCQ2KvUyA8U81WV4cGpaj4,19842
|
|
@@ -86,7 +86,7 @@ pulumi_newrelic/synthetics/private_location.py,sha256=RInZWYYxloyzGmgaVTsEO_fGrn
|
|
|
86
86
|
pulumi_newrelic/synthetics/script_monitor.py,sha256=Ijs_jSriw0BFjqEt7sS5jfaiunBhmEB-Li-ED3lYhaM,73319
|
|
87
87
|
pulumi_newrelic/synthetics/secure_credential.py,sha256=f4gs62_FcBaeO6YMZLMKwBuOS73qxpKmudoelXbmtso,16701
|
|
88
88
|
pulumi_newrelic/synthetics/step_monitor.py,sha256=1PtSgEInngOinmSSPaPqIxwJx2iSRoMSa9Fw6zlh-rQ,52671
|
|
89
|
-
pulumi_newrelic-5.
|
|
90
|
-
pulumi_newrelic-5.
|
|
91
|
-
pulumi_newrelic-5.
|
|
92
|
-
pulumi_newrelic-5.
|
|
89
|
+
pulumi_newrelic-5.58.0a1764915474.dist-info/METADATA,sha256=_slcwE7q1stoNJetfrycQRnI7oFPvvvz4wWaEGWlT9M,3966
|
|
90
|
+
pulumi_newrelic-5.58.0a1764915474.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
91
|
+
pulumi_newrelic-5.58.0a1764915474.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
|
|
92
|
+
pulumi_newrelic-5.58.0a1764915474.dist-info/RECORD,,
|
{pulumi_newrelic-5.57.2a1762486520.dist-info → pulumi_newrelic-5.58.0a1764915474.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|