pulumi-newrelic 5.55.2__tar.gz → 5.56.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.

Potentially problematic release.


This version of pulumi-newrelic might be problematic. Click here for more details.

Files changed (97) hide show
  1. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/PKG-INFO +1 -1
  2. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/alert_channel.py +6 -6
  3. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/entity_tags.py +56 -0
  4. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/notification_channel.py +44 -44
  5. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/nrql_alert_condition.py +49 -0
  6. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/one_dashboard_raw.py +24 -24
  7. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/pulumi-plugin.json +1 -1
  8. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic.egg-info/PKG-INFO +1 -1
  9. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pyproject.toml +1 -1
  10. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/README.md +0 -0
  11. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/__init__.py +0 -0
  12. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/_inputs.py +0 -0
  13. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/_utilities.py +0 -0
  14. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/account_management.py +0 -0
  15. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/alert_condition.py +0 -0
  16. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/alert_muting_rule.py +0 -0
  17. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/alert_policy.py +0 -0
  18. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/alert_policy_channel.py +0 -0
  19. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/api_access_key.py +0 -0
  20. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/browser_application.py +0 -0
  21. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/__init__.py +0 -0
  22. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/_inputs.py +0 -0
  23. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/aws_govcloud_integrations.py +0 -0
  24. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -0
  25. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/aws_integrations.py +0 -0
  26. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/aws_link_account.py +0 -0
  27. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/azure_integrations.py +0 -0
  28. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/azure_link_account.py +0 -0
  29. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/gcp_integrations.py +0 -0
  30. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/gcp_link_account.py +0 -0
  31. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/oci_link_account.py +0 -0
  32. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/cloud/outputs.py +0 -0
  33. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/config/__init__.py +0 -0
  34. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/config/__init__.pyi +0 -0
  35. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/config/vars.py +0 -0
  36. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/data_partition_rule.py +0 -0
  37. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/events_to_metrics_rule.py +0 -0
  38. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_account.py +0 -0
  39. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_alert_channel.py +0 -0
  40. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_alert_policy.py +0 -0
  41. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_application.py +0 -0
  42. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_authentication_domain.py +0 -0
  43. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_cloud_account.py +0 -0
  44. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_entity.py +0 -0
  45. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_group.py +0 -0
  46. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_key_transaction.py +0 -0
  47. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_notification_destination.py +0 -0
  48. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_obfuscation_expression.py +0 -0
  49. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_service_level_alert_helper.py +0 -0
  50. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_test_grok_pattern.py +0 -0
  51. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/get_user.py +0 -0
  52. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/group.py +0 -0
  53. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/infra_alert_condition.py +0 -0
  54. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/insights/__init__.py +0 -0
  55. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/insights/_inputs.py +0 -0
  56. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/insights/event.py +0 -0
  57. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/insights/outputs.py +0 -0
  58. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/key_transaction.py +0 -0
  59. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/log_parsing_rule.py +0 -0
  60. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/monitor_downtime.py +0 -0
  61. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/notification_destination.py +0 -0
  62. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/nrql_drop_rule.py +0 -0
  63. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/obfuscation_expression.py +0 -0
  64. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/obfuscation_rule.py +0 -0
  65. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/one_dashboard.py +0 -0
  66. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/one_dashboard_json.py +0 -0
  67. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/outputs.py +0 -0
  68. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/pipeline_cloud_rule.py +0 -0
  69. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/plugins/__init__.py +0 -0
  70. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/plugins/_inputs.py +0 -0
  71. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/plugins/application_settings.py +0 -0
  72. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/plugins/outputs.py +0 -0
  73. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/plugins/workload.py +0 -0
  74. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/provider.py +0 -0
  75. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/py.typed +0 -0
  76. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/service_level.py +0 -0
  77. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/__init__.py +0 -0
  78. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/_inputs.py +0 -0
  79. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/alert_condition.py +0 -0
  80. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/broken_links_monitor.py +0 -0
  81. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/cert_check_monitor.py +0 -0
  82. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/get_private_location.py +0 -0
  83. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/get_secure_credential.py +0 -0
  84. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/monitor.py +0 -0
  85. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/multi_location_alert_condition.py +0 -0
  86. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/outputs.py +0 -0
  87. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/private_location.py +0 -0
  88. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/script_monitor.py +0 -0
  89. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/secure_credential.py +0 -0
  90. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/synthetics/step_monitor.py +0 -0
  91. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/user.py +0 -0
  92. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic/workflow.py +0 -0
  93. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic.egg-info/SOURCES.txt +0 -0
  94. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic.egg-info/dependency_links.txt +0 -0
  95. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic.egg-info/requires.txt +0 -0
  96. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/pulumi_newrelic.egg-info/top_level.txt +0 -0
  97. {pulumi_newrelic-5.55.2 → pulumi_newrelic-5.56.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_newrelic
3
- Version: 5.55.2
3
+ Version: 5.56.0
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
@@ -288,9 +288,9 @@ class AlertChannel(pulumi.CustomResource):
288
288
  "base_url": "http://www.test.com",
289
289
  "payload_type": "application/json",
290
290
  "payload_string": \"\"\"{
291
- "my_custom_values": {
292
- "condition_name": "$CONDITION_NAME",
293
- "policy_name": "$POLICY_NAME"
291
+ \\"my_custom_values\\": {
292
+ \\"condition_name\\": \\"$CONDITION_NAME\\",
293
+ \\"policy_name\\": \\"$POLICY_NAME\\"
294
294
  }
295
295
  }
296
296
  \"\"\",
@@ -436,9 +436,9 @@ class AlertChannel(pulumi.CustomResource):
436
436
  "base_url": "http://www.test.com",
437
437
  "payload_type": "application/json",
438
438
  "payload_string": \"\"\"{
439
- "my_custom_values": {
440
- "condition_name": "$CONDITION_NAME",
441
- "policy_name": "$POLICY_NAME"
439
+ \\"my_custom_values\\": {
440
+ \\"condition_name\\": \\"$CONDITION_NAME\\",
441
+ \\"policy_name\\": \\"$POLICY_NAME\\"
442
442
  }
443
443
  }
444
444
  \"\"\",
@@ -134,6 +134,34 @@ class EntityTags(pulumi.CustomResource):
134
134
  ])
135
135
  ```
136
136
 
137
+ ### Example of applying multiple tags to multiple entities using a nested `dynamic` block
138
+ ```python
139
+ import pulumi
140
+ import pulumi_newrelic as newrelic
141
+ import pulumi_std as std
142
+
143
+ apps = std.toset(input=[
144
+ "Example App Name 1",
145
+ "Example App Name 2",
146
+ ]).result
147
+ custom_tags = {
148
+ "tag-key-1": "tag-value-1",
149
+ "tag-key-2": "tag-value-2",
150
+ "tag-key-3": "tag-value-3",
151
+ }
152
+ foo = {__key: newrelic.get_entity(name=__key,
153
+ type="APPLICATION",
154
+ domain="APM") for __key, __value in apps}
155
+ foo_entity_tags = []
156
+ for range in [{"key": k, "value": v} for [k, v] in enumerate(apps)]:
157
+ foo_entity_tags.append(newrelic.EntityTags(f"foo-{range['key']}",
158
+ tags=[{
159
+ "key": entry["key"],
160
+ "values": [entry["value"]],
161
+ } for entry in [{"key": k, "value": v} for k, v in custom_tags]],
162
+ guid=foo[range["key"]].guid))
163
+ ```
164
+
137
165
  ## Import
138
166
 
139
167
  New Relic One entity tags can be imported using a concatenated string of the format
@@ -186,6 +214,34 @@ class EntityTags(pulumi.CustomResource):
186
214
  ])
187
215
  ```
188
216
 
217
+ ### Example of applying multiple tags to multiple entities using a nested `dynamic` block
218
+ ```python
219
+ import pulumi
220
+ import pulumi_newrelic as newrelic
221
+ import pulumi_std as std
222
+
223
+ apps = std.toset(input=[
224
+ "Example App Name 1",
225
+ "Example App Name 2",
226
+ ]).result
227
+ custom_tags = {
228
+ "tag-key-1": "tag-value-1",
229
+ "tag-key-2": "tag-value-2",
230
+ "tag-key-3": "tag-value-3",
231
+ }
232
+ foo = {__key: newrelic.get_entity(name=__key,
233
+ type="APPLICATION",
234
+ domain="APM") for __key, __value in apps}
235
+ foo_entity_tags = []
236
+ for range in [{"key": k, "value": v} for [k, v] in enumerate(apps)]:
237
+ foo_entity_tags.append(newrelic.EntityTags(f"foo-{range['key']}",
238
+ tags=[{
239
+ "key": entry["key"],
240
+ "values": [entry["value"]],
241
+ } for entry in [{"key": k, "value": v} for k, v in custom_tags]],
242
+ guid=foo[range["key"]].guid))
243
+ ```
244
+
189
245
  ## Import
190
246
 
191
247
  New Relic One entity tags can be imported using a concatenated string of the format
@@ -435,17 +435,17 @@ class NotificationChannel(pulumi.CustomResource):
435
435
  {
436
436
  "key": "customDetails",
437
437
  "value": \"\"\"{
438
- "id":{{json issueId}},
439
- "IssueURL":{{json issuePageUrl}},
440
- "NewRelic priority":{{json priority}},
441
- "Total Incidents":{{json totalIncidents}},
442
- "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
443
- "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
444
- "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
445
- "isCorrelated":{{json isCorrelated}},
446
- "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
447
- "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
448
- "Workflow Name":{{json workflowName}}
438
+ \\"id\\":{{json issueId}},
439
+ \\"IssueURL\\":{{json issuePageUrl}},
440
+ \\"NewRelic priority\\":{{json priority}},
441
+ \\"Total Incidents\\":{{json totalIncidents}},
442
+ \\"Impacted Entities\\":\\"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
443
+ \\"Runbook\\":\\"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
444
+ \\"Description\\":\\"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
445
+ \\"isCorrelated\\":{{json isCorrelated}},
446
+ \\"Alert Policy Names\\":\\"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
447
+ \\"Alert Condition Names\\":\\"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
448
+ \\"Workflow Name\\":{{json workflowName}}
449
449
  }
450
450
  \"\"\",
451
451
  },
@@ -471,17 +471,17 @@ class NotificationChannel(pulumi.CustomResource):
471
471
  {
472
472
  "key": "customDetails",
473
473
  "value": \"\"\"{
474
- "id":{{json issueId}},
475
- "IssueURL":{{json issuePageUrl}},
476
- "NewRelic priority":{{json priority}},
477
- "Total Incidents":{{json totalIncidents}},
478
- "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
479
- "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
480
- "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
481
- "isCorrelated":{{json isCorrelated}},
482
- "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
483
- "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
484
- "Workflow Name":{{json workflowName}}
474
+ \\"id\\":{{json issueId}},
475
+ \\"IssueURL\\":{{json issuePageUrl}},
476
+ \\"NewRelic priority\\":{{json priority}},
477
+ \\"Total Incidents\\":{{json totalIncidents}},
478
+ \\"Impacted Entities\\":\\"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
479
+ \\"Runbook\\":\\"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
480
+ \\"Description\\":\\"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
481
+ \\"isCorrelated\\":{{json isCorrelated}},
482
+ \\"Alert Policy Names\\":\\"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
483
+ \\"Alert Condition Names\\":\\"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
484
+ \\"Workflow Name\\":{{json workflowName}}
485
485
  }
486
486
  \"\"\",
487
487
  },
@@ -806,17 +806,17 @@ class NotificationChannel(pulumi.CustomResource):
806
806
  {
807
807
  "key": "customDetails",
808
808
  "value": \"\"\"{
809
- "id":{{json issueId}},
810
- "IssueURL":{{json issuePageUrl}},
811
- "NewRelic priority":{{json priority}},
812
- "Total Incidents":{{json totalIncidents}},
813
- "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
814
- "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
815
- "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
816
- "isCorrelated":{{json isCorrelated}},
817
- "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
818
- "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
819
- "Workflow Name":{{json workflowName}}
809
+ \\"id\\":{{json issueId}},
810
+ \\"IssueURL\\":{{json issuePageUrl}},
811
+ \\"NewRelic priority\\":{{json priority}},
812
+ \\"Total Incidents\\":{{json totalIncidents}},
813
+ \\"Impacted Entities\\":\\"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
814
+ \\"Runbook\\":\\"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
815
+ \\"Description\\":\\"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
816
+ \\"isCorrelated\\":{{json isCorrelated}},
817
+ \\"Alert Policy Names\\":\\"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
818
+ \\"Alert Condition Names\\":\\"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
819
+ \\"Workflow Name\\":{{json workflowName}}
820
820
  }
821
821
  \"\"\",
822
822
  },
@@ -842,17 +842,17 @@ class NotificationChannel(pulumi.CustomResource):
842
842
  {
843
843
  "key": "customDetails",
844
844
  "value": \"\"\"{
845
- "id":{{json issueId}},
846
- "IssueURL":{{json issuePageUrl}},
847
- "NewRelic priority":{{json priority}},
848
- "Total Incidents":{{json totalIncidents}},
849
- "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
850
- "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
851
- "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
852
- "isCorrelated":{{json isCorrelated}},
853
- "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
854
- "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
855
- "Workflow Name":{{json workflowName}}
845
+ \\"id\\":{{json issueId}},
846
+ \\"IssueURL\\":{{json issuePageUrl}},
847
+ \\"NewRelic priority\\":{{json priority}},
848
+ \\"Total Incidents\\":{{json totalIncidents}},
849
+ \\"Impacted Entities\\":\\"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
850
+ \\"Runbook\\":\\"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
851
+ \\"Description\\":\\"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
852
+ \\"isCorrelated\\":{{json isCorrelated}},
853
+ \\"Alert Policy Names\\":\\"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
854
+ \\"Alert Condition Names\\":\\"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
855
+ \\"Workflow Name\\":{{json workflowName}}
856
856
  }
857
857
  \"\"\",
858
858
  },
@@ -43,6 +43,7 @@ class NrqlAlertConditionArgs:
43
43
  runbook_url: Optional[pulumi.Input[_builtins.str]] = None,
44
44
  signal_seasonality: Optional[pulumi.Input[_builtins.str]] = None,
45
45
  slide_by: Optional[pulumi.Input[_builtins.int]] = None,
46
+ target_entity: Optional[pulumi.Input[_builtins.str]] = None,
46
47
  terms: Optional[pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]]] = None,
47
48
  title_template: Optional[pulumi.Input[_builtins.str]] = None,
48
49
  type: Optional[pulumi.Input[_builtins.str]] = None,
@@ -73,6 +74,7 @@ class NrqlAlertConditionArgs:
73
74
  :param pulumi.Input[_builtins.str] runbook_url: Runbook URL to display in notifications.
74
75
  :param pulumi.Input[_builtins.str] signal_seasonality: Seasonality under which a condition's signal(s) are evaluated. Only available for baseline conditions. Valid values are: `NEW_RELIC_CALCULATION`, `HOURLY`, `DAILY`, `WEEKLY`, or `NONE`. To have New Relic calculate seasonality automatically, set to `NEW_RELIC_CALCULATION`. To turn off seasonality completely, set to `NONE`.
75
76
  :param pulumi.Input[_builtins.int] slide_by: Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slide_by` value is specified in seconds and must be smaller than and a factor of the `aggregation_window`.
77
+ :param pulumi.Input[_builtins.str] target_entity: BETA PREVIEW: The GUID of the entity explicitly targeted by the condition. Issues triggered by this condition will affect the health status of this entity instead of having the affected entity detected automatically. The entity's account ID must be either `account_id` or `nrql.data_account_id`.
76
78
  :param pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]] terms: **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
77
79
  :param pulumi.Input[_builtins.str] title_template: The custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be [Handlebars](https://handlebarsjs.com/) format.
78
80
  :param pulumi.Input[_builtins.str] type: The type of the condition. Valid values are `static` or `baseline`. Defaults to `static`.
@@ -124,6 +126,8 @@ class NrqlAlertConditionArgs:
124
126
  pulumi.set(__self__, "signal_seasonality", signal_seasonality)
125
127
  if slide_by is not None:
126
128
  pulumi.set(__self__, "slide_by", slide_by)
129
+ if target_entity is not None:
130
+ pulumi.set(__self__, "target_entity", target_entity)
127
131
  if terms is not None:
128
132
  warnings.warn("""use `critical` and `warning` attributes instead""", DeprecationWarning)
129
133
  pulumi.log.warn("""terms is deprecated: use `critical` and `warning` attributes instead""")
@@ -407,6 +411,18 @@ class NrqlAlertConditionArgs:
407
411
  def slide_by(self, value: Optional[pulumi.Input[_builtins.int]]):
408
412
  pulumi.set(self, "slide_by", value)
409
413
 
414
+ @_builtins.property
415
+ @pulumi.getter(name="targetEntity")
416
+ def target_entity(self) -> Optional[pulumi.Input[_builtins.str]]:
417
+ """
418
+ BETA PREVIEW: The GUID of the entity explicitly targeted by the condition. Issues triggered by this condition will affect the health status of this entity instead of having the affected entity detected automatically. The entity's account ID must be either `account_id` or `nrql.data_account_id`.
419
+ """
420
+ return pulumi.get(self, "target_entity")
421
+
422
+ @target_entity.setter
423
+ def target_entity(self, value: Optional[pulumi.Input[_builtins.str]]):
424
+ pulumi.set(self, "target_entity", value)
425
+
410
426
  @_builtins.property
411
427
  @pulumi.getter
412
428
  @_utilities.deprecated("""use `critical` and `warning` attributes instead""")
@@ -510,6 +526,7 @@ class _NrqlAlertConditionState:
510
526
  runbook_url: Optional[pulumi.Input[_builtins.str]] = None,
511
527
  signal_seasonality: Optional[pulumi.Input[_builtins.str]] = None,
512
528
  slide_by: Optional[pulumi.Input[_builtins.int]] = None,
529
+ target_entity: Optional[pulumi.Input[_builtins.str]] = None,
513
530
  terms: Optional[pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]]] = None,
514
531
  title_template: Optional[pulumi.Input[_builtins.str]] = None,
515
532
  type: Optional[pulumi.Input[_builtins.str]] = None,
@@ -541,6 +558,7 @@ class _NrqlAlertConditionState:
541
558
  :param pulumi.Input[_builtins.str] runbook_url: Runbook URL to display in notifications.
542
559
  :param pulumi.Input[_builtins.str] signal_seasonality: Seasonality under which a condition's signal(s) are evaluated. Only available for baseline conditions. Valid values are: `NEW_RELIC_CALCULATION`, `HOURLY`, `DAILY`, `WEEKLY`, or `NONE`. To have New Relic calculate seasonality automatically, set to `NEW_RELIC_CALCULATION`. To turn off seasonality completely, set to `NONE`.
543
560
  :param pulumi.Input[_builtins.int] slide_by: Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slide_by` value is specified in seconds and must be smaller than and a factor of the `aggregation_window`.
561
+ :param pulumi.Input[_builtins.str] target_entity: BETA PREVIEW: The GUID of the entity explicitly targeted by the condition. Issues triggered by this condition will affect the health status of this entity instead of having the affected entity detected automatically. The entity's account ID must be either `account_id` or `nrql.data_account_id`.
544
562
  :param pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]] terms: **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
545
563
  :param pulumi.Input[_builtins.str] title_template: The custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be [Handlebars](https://handlebarsjs.com/) format.
546
564
  :param pulumi.Input[_builtins.str] type: The type of the condition. Valid values are `static` or `baseline`. Defaults to `static`.
@@ -596,6 +614,8 @@ class _NrqlAlertConditionState:
596
614
  pulumi.set(__self__, "signal_seasonality", signal_seasonality)
597
615
  if slide_by is not None:
598
616
  pulumi.set(__self__, "slide_by", slide_by)
617
+ if target_entity is not None:
618
+ pulumi.set(__self__, "target_entity", target_entity)
599
619
  if terms is not None:
600
620
  warnings.warn("""use `critical` and `warning` attributes instead""", DeprecationWarning)
601
621
  pulumi.log.warn("""terms is deprecated: use `critical` and `warning` attributes instead""")
@@ -891,6 +911,18 @@ class _NrqlAlertConditionState:
891
911
  def slide_by(self, value: Optional[pulumi.Input[_builtins.int]]):
892
912
  pulumi.set(self, "slide_by", value)
893
913
 
914
+ @_builtins.property
915
+ @pulumi.getter(name="targetEntity")
916
+ def target_entity(self) -> Optional[pulumi.Input[_builtins.str]]:
917
+ """
918
+ BETA PREVIEW: The GUID of the entity explicitly targeted by the condition. Issues triggered by this condition will affect the health status of this entity instead of having the affected entity detected automatically. The entity's account ID must be either `account_id` or `nrql.data_account_id`.
919
+ """
920
+ return pulumi.get(self, "target_entity")
921
+
922
+ @target_entity.setter
923
+ def target_entity(self, value: Optional[pulumi.Input[_builtins.str]]):
924
+ pulumi.set(self, "target_entity", value)
925
+
894
926
  @_builtins.property
895
927
  @pulumi.getter
896
928
  @_utilities.deprecated("""use `critical` and `warning` attributes instead""")
@@ -996,6 +1028,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
996
1028
  runbook_url: Optional[pulumi.Input[_builtins.str]] = None,
997
1029
  signal_seasonality: Optional[pulumi.Input[_builtins.str]] = None,
998
1030
  slide_by: Optional[pulumi.Input[_builtins.int]] = None,
1031
+ target_entity: Optional[pulumi.Input[_builtins.str]] = None,
999
1032
  terms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NrqlAlertConditionTermArgs', 'NrqlAlertConditionTermArgsDict']]]]] = None,
1000
1033
  title_template: Optional[pulumi.Input[_builtins.str]] = None,
1001
1034
  type: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1022,6 +1055,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1022
1055
  name="foo",
1023
1056
  description="Alert when transactions are taking too long",
1024
1057
  title_template="Issue in environment: {{ tags.environment }}",
1058
+ target_entity="MXxBUE18QVBQTElDQVRJT058MQ",
1025
1059
  runbook_url="https://www.example.com",
1026
1060
  enabled=True,
1027
1061
  violation_time_limit_seconds=3600,
@@ -1301,6 +1335,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1301
1335
  :param pulumi.Input[_builtins.str] runbook_url: Runbook URL to display in notifications.
1302
1336
  :param pulumi.Input[_builtins.str] signal_seasonality: Seasonality under which a condition's signal(s) are evaluated. Only available for baseline conditions. Valid values are: `NEW_RELIC_CALCULATION`, `HOURLY`, `DAILY`, `WEEKLY`, or `NONE`. To have New Relic calculate seasonality automatically, set to `NEW_RELIC_CALCULATION`. To turn off seasonality completely, set to `NONE`.
1303
1337
  :param pulumi.Input[_builtins.int] slide_by: Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slide_by` value is specified in seconds and must be smaller than and a factor of the `aggregation_window`.
1338
+ :param pulumi.Input[_builtins.str] target_entity: BETA PREVIEW: The GUID of the entity explicitly targeted by the condition. Issues triggered by this condition will affect the health status of this entity instead of having the affected entity detected automatically. The entity's account ID must be either `account_id` or `nrql.data_account_id`.
1304
1339
  :param pulumi.Input[Sequence[pulumi.Input[Union['NrqlAlertConditionTermArgs', 'NrqlAlertConditionTermArgsDict']]]] terms: **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
1305
1340
  :param pulumi.Input[_builtins.str] title_template: The custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be [Handlebars](https://handlebarsjs.com/) format.
1306
1341
  :param pulumi.Input[_builtins.str] type: The type of the condition. Valid values are `static` or `baseline`. Defaults to `static`.
@@ -1335,6 +1370,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1335
1370
  name="foo",
1336
1371
  description="Alert when transactions are taking too long",
1337
1372
  title_template="Issue in environment: {{ tags.environment }}",
1373
+ target_entity="MXxBUE18QVBQTElDQVRJT058MQ",
1338
1374
  runbook_url="https://www.example.com",
1339
1375
  enabled=True,
1340
1376
  violation_time_limit_seconds=3600,
@@ -1627,6 +1663,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1627
1663
  runbook_url: Optional[pulumi.Input[_builtins.str]] = None,
1628
1664
  signal_seasonality: Optional[pulumi.Input[_builtins.str]] = None,
1629
1665
  slide_by: Optional[pulumi.Input[_builtins.int]] = None,
1666
+ target_entity: Optional[pulumi.Input[_builtins.str]] = None,
1630
1667
  terms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NrqlAlertConditionTermArgs', 'NrqlAlertConditionTermArgsDict']]]]] = None,
1631
1668
  title_template: Optional[pulumi.Input[_builtins.str]] = None,
1632
1669
  type: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1668,6 +1705,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1668
1705
  __props__.__dict__["runbook_url"] = runbook_url
1669
1706
  __props__.__dict__["signal_seasonality"] = signal_seasonality
1670
1707
  __props__.__dict__["slide_by"] = slide_by
1708
+ __props__.__dict__["target_entity"] = target_entity
1671
1709
  __props__.__dict__["terms"] = terms
1672
1710
  __props__.__dict__["title_template"] = title_template
1673
1711
  __props__.__dict__["type"] = type
@@ -1708,6 +1746,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1708
1746
  runbook_url: Optional[pulumi.Input[_builtins.str]] = None,
1709
1747
  signal_seasonality: Optional[pulumi.Input[_builtins.str]] = None,
1710
1748
  slide_by: Optional[pulumi.Input[_builtins.int]] = None,
1749
+ target_entity: Optional[pulumi.Input[_builtins.str]] = None,
1711
1750
  terms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NrqlAlertConditionTermArgs', 'NrqlAlertConditionTermArgsDict']]]]] = None,
1712
1751
  title_template: Optional[pulumi.Input[_builtins.str]] = None,
1713
1752
  type: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1744,6 +1783,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1744
1783
  :param pulumi.Input[_builtins.str] runbook_url: Runbook URL to display in notifications.
1745
1784
  :param pulumi.Input[_builtins.str] signal_seasonality: Seasonality under which a condition's signal(s) are evaluated. Only available for baseline conditions. Valid values are: `NEW_RELIC_CALCULATION`, `HOURLY`, `DAILY`, `WEEKLY`, or `NONE`. To have New Relic calculate seasonality automatically, set to `NEW_RELIC_CALCULATION`. To turn off seasonality completely, set to `NONE`.
1746
1785
  :param pulumi.Input[_builtins.int] slide_by: Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slide_by` value is specified in seconds and must be smaller than and a factor of the `aggregation_window`.
1786
+ :param pulumi.Input[_builtins.str] target_entity: BETA PREVIEW: The GUID of the entity explicitly targeted by the condition. Issues triggered by this condition will affect the health status of this entity instead of having the affected entity detected automatically. The entity's account ID must be either `account_id` or `nrql.data_account_id`.
1747
1787
  :param pulumi.Input[Sequence[pulumi.Input[Union['NrqlAlertConditionTermArgs', 'NrqlAlertConditionTermArgsDict']]]] terms: **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
1748
1788
  :param pulumi.Input[_builtins.str] title_template: The custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be [Handlebars](https://handlebarsjs.com/) format.
1749
1789
  :param pulumi.Input[_builtins.str] type: The type of the condition. Valid values are `static` or `baseline`. Defaults to `static`.
@@ -1780,6 +1820,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1780
1820
  __props__.__dict__["runbook_url"] = runbook_url
1781
1821
  __props__.__dict__["signal_seasonality"] = signal_seasonality
1782
1822
  __props__.__dict__["slide_by"] = slide_by
1823
+ __props__.__dict__["target_entity"] = target_entity
1783
1824
  __props__.__dict__["terms"] = terms
1784
1825
  __props__.__dict__["title_template"] = title_template
1785
1826
  __props__.__dict__["type"] = type
@@ -1972,6 +2013,14 @@ class NrqlAlertCondition(pulumi.CustomResource):
1972
2013
  """
1973
2014
  return pulumi.get(self, "slide_by")
1974
2015
 
2016
+ @_builtins.property
2017
+ @pulumi.getter(name="targetEntity")
2018
+ def target_entity(self) -> pulumi.Output[Optional[_builtins.str]]:
2019
+ """
2020
+ BETA PREVIEW: The GUID of the entity explicitly targeted by the condition. Issues triggered by this condition will affect the health status of this entity instead of having the affected entity detected automatically. The entity's account ID must be either `account_id` or `nrql.data_account_id`.
2021
+ """
2022
+ return pulumi.get(self, "target_entity")
2023
+
1975
2024
  @_builtins.property
1976
2025
  @pulumi.getter
1977
2026
  @_utilities.deprecated("""use `critical` and `warning` attributes instead""")
@@ -262,19 +262,19 @@ class OneDashboardRaw(pulumi.CustomResource):
262
262
  "height": 1,
263
263
  "visualization_id": "viz.custom",
264
264
  "configuration": \"\"\" {
265
- "legend": {
266
- "enabled": false
265
+ \\"legend\\": {
266
+ \\"enabled\\": false
267
267
  },
268
- "nrqlQueries": [
268
+ \\"nrqlQueries\\": [
269
269
  {
270
- "accountId": ` + accountID + `,
271
- "query": "SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES"
270
+ \\"accountId\\": ` + accountID + `,
271
+ \\"query\\": \\"SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES\\"
272
272
  }
273
273
  ],
274
- "yAxisLeft": {
275
- "max": 100,
276
- "min": 50,
277
- "zero": false
274
+ \\"yAxisLeft\\": {
275
+ \\"max\\": 100,
276
+ \\"min\\": 50,
277
+ \\"zero\\": false
278
278
  }
279
279
  }
280
280
  \"\"\",
@@ -287,10 +287,10 @@ class OneDashboardRaw(pulumi.CustomResource):
287
287
  "height": 1,
288
288
  "visualization_id": "viz.testing",
289
289
  "configuration": \"\"\" {
290
- "nrqlQueries": [
290
+ \\"nrqlQueries\\": [
291
291
  {
292
- "accountId": ` + accountID + `,
293
- "query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400"
292
+ \\"accountId\\": ` + accountID + `,
293
+ \\"query\\": \\"SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400\\"
294
294
  }
295
295
  ]
296
296
  }
@@ -357,19 +357,19 @@ class OneDashboardRaw(pulumi.CustomResource):
357
357
  "height": 1,
358
358
  "visualization_id": "viz.custom",
359
359
  "configuration": \"\"\" {
360
- "legend": {
361
- "enabled": false
360
+ \\"legend\\": {
361
+ \\"enabled\\": false
362
362
  },
363
- "nrqlQueries": [
363
+ \\"nrqlQueries\\": [
364
364
  {
365
- "accountId": ` + accountID + `,
366
- "query": "SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES"
365
+ \\"accountId\\": ` + accountID + `,
366
+ \\"query\\": \\"SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES\\"
367
367
  }
368
368
  ],
369
- "yAxisLeft": {
370
- "max": 100,
371
- "min": 50,
372
- "zero": false
369
+ \\"yAxisLeft\\": {
370
+ \\"max\\": 100,
371
+ \\"min\\": 50,
372
+ \\"zero\\": false
373
373
  }
374
374
  }
375
375
  \"\"\",
@@ -382,10 +382,10 @@ class OneDashboardRaw(pulumi.CustomResource):
382
382
  "height": 1,
383
383
  "visualization_id": "viz.testing",
384
384
  "configuration": \"\"\" {
385
- "nrqlQueries": [
385
+ \\"nrqlQueries\\": [
386
386
  {
387
- "accountId": ` + accountID + `,
388
- "query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400"
387
+ \\"accountId\\": ` + accountID + `,
388
+ \\"query\\": \\"SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400\\"
389
389
  }
390
390
  ]
391
391
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "newrelic",
4
- "version": "5.55.2"
4
+ "version": "5.56.0"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_newrelic
3
- Version: 5.55.2
3
+ Version: 5.56.0
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
@@ -5,7 +5,7 @@
5
5
  keywords = ["pulumi", "new relic"]
6
6
  readme = "README.md"
7
7
  requires-python = ">=3.9"
8
- version = "5.55.2"
8
+ version = "5.56.0"
9
9
  [project.license]
10
10
  text = "Apache-2.0"
11
11
  [project.urls]