pulumi-newrelic 5.51.0__py3-none-any.whl → 5.52.0a1757042932__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.

@@ -93,6 +93,7 @@ class _NrqlDropRuleState:
93
93
  action: Optional[pulumi.Input[_builtins.str]] = None,
94
94
  description: Optional[pulumi.Input[_builtins.str]] = None,
95
95
  nrql: Optional[pulumi.Input[_builtins.str]] = None,
96
+ pipeline_cloud_rule_entity_id: Optional[pulumi.Input[_builtins.str]] = None,
96
97
  rule_id: Optional[pulumi.Input[_builtins.str]] = None):
97
98
  """
98
99
  Input properties used for looking up and filtering NrqlDropRule resources.
@@ -100,6 +101,7 @@ class _NrqlDropRuleState:
100
101
  :param pulumi.Input[_builtins.str] action: An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
101
102
  :param pulumi.Input[_builtins.str] description: The description of the drop rule.
102
103
  :param pulumi.Input[_builtins.str] nrql: A NRQL string that specifies what data types to drop.
104
+ :param pulumi.Input[_builtins.str] pipeline_cloud_rule_entity_id: The ID (GUID) of the corresponding Pipeline Cloud Rule, (migrated upstream by New Relic, in light of the upcoming EOL, as stated in the Deprecation Warning above). This can be used to import the corresponding Pipeline Cloud Rule as a [`PipelineCloudRule`](https://www.terraform.io/providers/newrelic/newrelic/latest/docs/resources/pipeline_cloud_rule) resource, as explained in our Drop Rules EOL Migration Guide.
103
105
  :param pulumi.Input[_builtins.str] rule_id: The id, uniquely identifying the rule.
104
106
  """
105
107
  if account_id is not None:
@@ -110,6 +112,8 @@ class _NrqlDropRuleState:
110
112
  pulumi.set(__self__, "description", description)
111
113
  if nrql is not None:
112
114
  pulumi.set(__self__, "nrql", nrql)
115
+ if pipeline_cloud_rule_entity_id is not None:
116
+ pulumi.set(__self__, "pipeline_cloud_rule_entity_id", pipeline_cloud_rule_entity_id)
113
117
  if rule_id is not None:
114
118
  pulumi.set(__self__, "rule_id", rule_id)
115
119
 
@@ -161,6 +165,18 @@ class _NrqlDropRuleState:
161
165
  def nrql(self, value: Optional[pulumi.Input[_builtins.str]]):
162
166
  pulumi.set(self, "nrql", value)
163
167
 
168
+ @_builtins.property
169
+ @pulumi.getter(name="pipelineCloudRuleEntityId")
170
+ def pipeline_cloud_rule_entity_id(self) -> Optional[pulumi.Input[_builtins.str]]:
171
+ """
172
+ The ID (GUID) of the corresponding Pipeline Cloud Rule, (migrated upstream by New Relic, in light of the upcoming EOL, as stated in the Deprecation Warning above). This can be used to import the corresponding Pipeline Cloud Rule as a [`PipelineCloudRule`](https://www.terraform.io/providers/newrelic/newrelic/latest/docs/resources/pipeline_cloud_rule) resource, as explained in our Drop Rules EOL Migration Guide.
173
+ """
174
+ return pulumi.get(self, "pipeline_cloud_rule_entity_id")
175
+
176
+ @pipeline_cloud_rule_entity_id.setter
177
+ def pipeline_cloud_rule_entity_id(self, value: Optional[pulumi.Input[_builtins.str]]):
178
+ pulumi.set(self, "pipeline_cloud_rule_entity_id", value)
179
+
164
180
  @_builtins.property
165
181
  @pulumi.getter(name="ruleId")
166
182
  def rule_id(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -186,40 +202,6 @@ class NrqlDropRule(pulumi.CustomResource):
186
202
  nrql: Optional[pulumi.Input[_builtins.str]] = None,
187
203
  __props__=None):
188
204
  """
189
- ## Example Usage
190
-
191
- ```python
192
- import pulumi
193
- import pulumi_newrelic as newrelic
194
-
195
- foo = newrelic.NrqlDropRule("foo",
196
- account_id="12345",
197
- description="Drops all data for MyCustomEvent that comes from the LoadGeneratingApp in the dev environment, because there is too much and we don’t look at it.",
198
- action="drop_data",
199
- nrql="SELECT * FROM MyCustomEvent WHERE appName='LoadGeneratingApp' AND environment='development'")
200
- bar = newrelic.NrqlDropRule("bar",
201
- account_id="12345",
202
- description="Removes the user name and email fields from MyCustomEvent",
203
- action="drop_attributes",
204
- nrql="SELECT userEmail, userName FROM MyCustomEvent")
205
- baz = newrelic.NrqlDropRule("baz",
206
- account_id="12345",
207
- description="Removes containerId from metric aggregates to reduce metric cardinality.",
208
- action="drop_attributes_from_metric_aggregates",
209
- nrql="SELECT containerId FROM Metric")
210
- ```
211
-
212
- ## Using `newrelic-cli` to List Out Drop Rules
213
-
214
- All NRQL Drop Rules associated with a New Relic account may be listed out using the following newrelic-cli command:
215
-
216
- This would print all drop rules associated with your New Relic account to the terminal.
217
- The number of rules to be printed can be customized using the `limit` argument of this command.
218
- For instance, the following command limits the number of drop rules printed to two.
219
-
220
- More details on the command and its arguments (for instance, the format in which the droprules are to be listed in the terminal, which is JSON by default) can be found in the output of the `newrelic nrql droprules --help` command.
221
- If you do not have **newrelic-cli** installed on your device already, head over to [this page](https://github.com/newrelic/newrelic-cli#installation--upgrades) for instructions.
222
-
223
205
  ## Import
224
206
 
225
207
  New Relic NRQL drop rules can be imported using a concatenated string of the format
@@ -246,40 +228,6 @@ class NrqlDropRule(pulumi.CustomResource):
246
228
  args: NrqlDropRuleArgs,
247
229
  opts: Optional[pulumi.ResourceOptions] = None):
248
230
  """
249
- ## Example Usage
250
-
251
- ```python
252
- import pulumi
253
- import pulumi_newrelic as newrelic
254
-
255
- foo = newrelic.NrqlDropRule("foo",
256
- account_id="12345",
257
- description="Drops all data for MyCustomEvent that comes from the LoadGeneratingApp in the dev environment, because there is too much and we don’t look at it.",
258
- action="drop_data",
259
- nrql="SELECT * FROM MyCustomEvent WHERE appName='LoadGeneratingApp' AND environment='development'")
260
- bar = newrelic.NrqlDropRule("bar",
261
- account_id="12345",
262
- description="Removes the user name and email fields from MyCustomEvent",
263
- action="drop_attributes",
264
- nrql="SELECT userEmail, userName FROM MyCustomEvent")
265
- baz = newrelic.NrqlDropRule("baz",
266
- account_id="12345",
267
- description="Removes containerId from metric aggregates to reduce metric cardinality.",
268
- action="drop_attributes_from_metric_aggregates",
269
- nrql="SELECT containerId FROM Metric")
270
- ```
271
-
272
- ## Using `newrelic-cli` to List Out Drop Rules
273
-
274
- All NRQL Drop Rules associated with a New Relic account may be listed out using the following newrelic-cli command:
275
-
276
- This would print all drop rules associated with your New Relic account to the terminal.
277
- The number of rules to be printed can be customized using the `limit` argument of this command.
278
- For instance, the following command limits the number of drop rules printed to two.
279
-
280
- More details on the command and its arguments (for instance, the format in which the droprules are to be listed in the terminal, which is JSON by default) can be found in the output of the `newrelic nrql droprules --help` command.
281
- If you do not have **newrelic-cli** installed on your device already, head over to [this page](https://github.com/newrelic/newrelic-cli#installation--upgrades) for instructions.
282
-
283
231
  ## Import
284
232
 
285
233
  New Relic NRQL drop rules can be imported using a concatenated string of the format
@@ -328,6 +276,7 @@ class NrqlDropRule(pulumi.CustomResource):
328
276
  if nrql is None and not opts.urn:
329
277
  raise TypeError("Missing required property 'nrql'")
330
278
  __props__.__dict__["nrql"] = nrql
279
+ __props__.__dict__["pipeline_cloud_rule_entity_id"] = None
331
280
  __props__.__dict__["rule_id"] = None
332
281
  super(NrqlDropRule, __self__).__init__(
333
282
  'newrelic:index/nrqlDropRule:NrqlDropRule',
@@ -343,6 +292,7 @@ class NrqlDropRule(pulumi.CustomResource):
343
292
  action: Optional[pulumi.Input[_builtins.str]] = None,
344
293
  description: Optional[pulumi.Input[_builtins.str]] = None,
345
294
  nrql: Optional[pulumi.Input[_builtins.str]] = None,
295
+ pipeline_cloud_rule_entity_id: Optional[pulumi.Input[_builtins.str]] = None,
346
296
  rule_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'NrqlDropRule':
347
297
  """
348
298
  Get an existing NrqlDropRule resource's state with the given name, id, and optional extra
@@ -355,6 +305,7 @@ class NrqlDropRule(pulumi.CustomResource):
355
305
  :param pulumi.Input[_builtins.str] action: An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
356
306
  :param pulumi.Input[_builtins.str] description: The description of the drop rule.
357
307
  :param pulumi.Input[_builtins.str] nrql: A NRQL string that specifies what data types to drop.
308
+ :param pulumi.Input[_builtins.str] pipeline_cloud_rule_entity_id: The ID (GUID) of the corresponding Pipeline Cloud Rule, (migrated upstream by New Relic, in light of the upcoming EOL, as stated in the Deprecation Warning above). This can be used to import the corresponding Pipeline Cloud Rule as a [`PipelineCloudRule`](https://www.terraform.io/providers/newrelic/newrelic/latest/docs/resources/pipeline_cloud_rule) resource, as explained in our Drop Rules EOL Migration Guide.
358
309
  :param pulumi.Input[_builtins.str] rule_id: The id, uniquely identifying the rule.
359
310
  """
360
311
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -365,6 +316,7 @@ class NrqlDropRule(pulumi.CustomResource):
365
316
  __props__.__dict__["action"] = action
366
317
  __props__.__dict__["description"] = description
367
318
  __props__.__dict__["nrql"] = nrql
319
+ __props__.__dict__["pipeline_cloud_rule_entity_id"] = pipeline_cloud_rule_entity_id
368
320
  __props__.__dict__["rule_id"] = rule_id
369
321
  return NrqlDropRule(resource_name, opts=opts, __props__=__props__)
370
322
 
@@ -400,6 +352,14 @@ class NrqlDropRule(pulumi.CustomResource):
400
352
  """
401
353
  return pulumi.get(self, "nrql")
402
354
 
355
+ @_builtins.property
356
+ @pulumi.getter(name="pipelineCloudRuleEntityId")
357
+ def pipeline_cloud_rule_entity_id(self) -> pulumi.Output[_builtins.str]:
358
+ """
359
+ The ID (GUID) of the corresponding Pipeline Cloud Rule, (migrated upstream by New Relic, in light of the upcoming EOL, as stated in the Deprecation Warning above). This can be used to import the corresponding Pipeline Cloud Rule as a [`PipelineCloudRule`](https://www.terraform.io/providers/newrelic/newrelic/latest/docs/resources/pipeline_cloud_rule) resource, as explained in our Drop Rules EOL Migration Guide.
360
+ """
361
+ return pulumi.get(self, "pipeline_cloud_rule_entity_id")
362
+
403
363
  @_builtins.property
404
364
  @pulumi.getter(name="ruleId")
405
365
  def rule_id(self) -> pulumi.Output[_builtins.str]:
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "newrelic",
4
- "version": "5.51.0"
4
+ "version": "5.52.0-alpha.1757042932"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_newrelic
3
- Version: 5.51.0
3
+ Version: 5.52.0a1757042932
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -34,7 +34,7 @@ pulumi_newrelic/monitor_downtime.py,sha256=eFrGb_WimQE5et66GvIIG29BS0-zlU7gxGvBY
34
34
  pulumi_newrelic/notification_channel.py,sha256=s7iHV_50OqFi0vK82IXoY94s2qIOmYVC_GGVilEAnFA,50583
35
35
  pulumi_newrelic/notification_destination.py,sha256=CIgQtK9zP7Bc7BBTAhSYXGnjZyy1EuOQBhmKa4H1iUs,41261
36
36
  pulumi_newrelic/nrql_alert_condition.py,sha256=mHH83HYqV0MwTt3x65IYDSqmCJ4D182aUwVk4ruif5o,123317
37
- pulumi_newrelic/nrql_drop_rule.py,sha256=94jXXbW-CjcZUhUlQtrm4CdVhZunV1QRVmVTqJaAkcA,18544
37
+ pulumi_newrelic/nrql_drop_rule.py,sha256=R3TmLv9E-e2AgDL6TetErk05yBkaLlc3yZNuEBHqcHg,17621
38
38
  pulumi_newrelic/obfuscation_expression.py,sha256=_IemP9OPdRPD2KtWoebyKr3BIyuVp7-YC71-IiBRDcc,13277
39
39
  pulumi_newrelic/obfuscation_rule.py,sha256=i-7TgU5nsjsSAM5cLdKPKiReUMGVlkvDyAgCkB62KJg,18991
40
40
  pulumi_newrelic/one_dashboard.py,sha256=siAjVf7CK3wJeOuprhFyhiAoO06KHWqkdNf5BX3Vf9A,21836
@@ -43,7 +43,7 @@ pulumi_newrelic/one_dashboard_raw.py,sha256=bTp__xyOtRYfwLR81YQLYyi_9NQNpTee7B_d
43
43
  pulumi_newrelic/outputs.py,sha256=lTP4XwC_1Mjxk0x2AQcZGRm9YoNWAHys4ZHHqAkNX9w,621054
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=jQ9TF2xOjoiZrm__Klz_1RxpTULDVHOhtYbwU-2ukY8,68
46
+ pulumi_newrelic/pulumi-plugin.json,sha256=tjj0pmtQn1r_b1tCeh5uTGo6rQo2l4-Np-BhgenVsak,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
@@ -85,7 +85,7 @@ pulumi_newrelic/synthetics/private_location.py,sha256=RInZWYYxloyzGmgaVTsEO_fGrn
85
85
  pulumi_newrelic/synthetics/script_monitor.py,sha256=3yEDZqm5R__WEsgb-EhB5kla7eyd9RdO9eauqfFqB7I,70607
86
86
  pulumi_newrelic/synthetics/secure_credential.py,sha256=f4gs62_FcBaeO6YMZLMKwBuOS73qxpKmudoelXbmtso,16701
87
87
  pulumi_newrelic/synthetics/step_monitor.py,sha256=1PtSgEInngOinmSSPaPqIxwJx2iSRoMSa9Fw6zlh-rQ,52671
88
- pulumi_newrelic-5.51.0.dist-info/METADATA,sha256=1frbJX4I-X6H6xfkAnfWp7EqbXPZBw8o27hmVqzLC6Y,3955
89
- pulumi_newrelic-5.51.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
90
- pulumi_newrelic-5.51.0.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
91
- pulumi_newrelic-5.51.0.dist-info/RECORD,,
88
+ pulumi_newrelic-5.52.0a1757042932.dist-info/METADATA,sha256=LKGdwVvoNnm7auGNn7hDtIxs80LOuBoMTEnc3jvHmao,3966
89
+ pulumi_newrelic-5.52.0a1757042932.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
90
+ pulumi_newrelic-5.52.0a1757042932.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
91
+ pulumi_newrelic-5.52.0a1757042932.dist-info/RECORD,,