pulumi-newrelic 5.20.0a1709643785__py3-none-any.whl → 5.21.0a1710157101__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/account_management.py +6 -2
- pulumi_newrelic/alert_channel.py +34 -2
- pulumi_newrelic/alert_condition.py +26 -2
- pulumi_newrelic/alert_muting_rule.py +6 -2
- pulumi_newrelic/alert_policy.py +22 -4
- pulumi_newrelic/alert_policy_channel.py +8 -4
- pulumi_newrelic/api_access_key.py +6 -26
- pulumi_newrelic/browser_application.py +6 -2
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +2 -2
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +6 -2
- pulumi_newrelic/cloud/aws_integrations.py +6 -2
- pulumi_newrelic/cloud/aws_link_account.py +6 -2
- pulumi_newrelic/cloud/azure_integrations.py +6 -2
- pulumi_newrelic/cloud/azure_link_account.py +6 -2
- pulumi_newrelic/cloud/gcp_integrations.py +6 -2
- pulumi_newrelic/cloud/gcp_link_account.py +6 -2
- pulumi_newrelic/data_partition_rule.py +8 -2
- pulumi_newrelic/entity_tags.py +8 -4
- pulumi_newrelic/events_to_metrics_rule.py +8 -4
- pulumi_newrelic/get_account.py +4 -0
- pulumi_newrelic/get_application.py +4 -0
- pulumi_newrelic/get_authentication_domain.py +4 -0
- pulumi_newrelic/get_cloud_account.py +4 -0
- pulumi_newrelic/get_entity.py +66 -4
- pulumi_newrelic/get_group.py +4 -0
- pulumi_newrelic/get_key_transaction.py +4 -0
- pulumi_newrelic/get_obfuscation_expression.py +4 -0
- pulumi_newrelic/get_service_level_alert_helper.py +12 -0
- pulumi_newrelic/get_test_grok_pattern.py +4 -0
- pulumi_newrelic/get_user.py +4 -0
- pulumi_newrelic/group.py +14 -0
- pulumi_newrelic/infra_alert_condition.py +33 -9
- pulumi_newrelic/insights/event.py +6 -0
- pulumi_newrelic/log_parsing_rule.py +12 -2
- pulumi_newrelic/monitor_downtime.py +28 -2
- pulumi_newrelic/notification_channel.py +50 -4
- pulumi_newrelic/notification_destination.py +64 -72
- pulumi_newrelic/nrql_alert_condition.py +28 -4
- pulumi_newrelic/nrql_drop_rule.py +30 -4
- pulumi_newrelic/obfuscation_expression.py +6 -2
- pulumi_newrelic/obfuscation_rule.py +6 -2
- pulumi_newrelic/one_dashboard.py +2 -2
- pulumi_newrelic/one_dashboard_json.py +2 -2
- pulumi_newrelic/one_dashboard_raw.py +6 -0
- pulumi_newrelic/plugins/application_settings.py +22 -2
- pulumi_newrelic/plugins/workload.py +112 -4
- pulumi_newrelic/service_level.py +20 -6
- pulumi_newrelic/synthetics/alert_condition.py +26 -2
- pulumi_newrelic/synthetics/broken_links_monitor.py +12 -2
- pulumi_newrelic/synthetics/cert_check_monitor.py +12 -2
- pulumi_newrelic/synthetics/get_private_location.py +8 -0
- pulumi_newrelic/synthetics/get_secure_credential.py +4 -0
- pulumi_newrelic/synthetics/monitor.py +20 -2
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +12 -4
- pulumi_newrelic/synthetics/private_location.py +6 -2
- pulumi_newrelic/synthetics/script_monitor.py +20 -2
- pulumi_newrelic/synthetics/secure_credential.py +6 -2
- pulumi_newrelic/synthetics/step_monitor.py +8 -2
- pulumi_newrelic/user.py +4 -0
- pulumi_newrelic/workflow.py +22 -4
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0a1710157101.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.21.0a1710157101.dist-info/RECORD +89 -0
- pulumi_newrelic-5.20.0a1709643785.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0a1710157101.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0a1710157101.dist-info}/top_level.txt +0 -0
@@ -236,6 +236,7 @@ class BrowserApplication(pulumi.CustomResource):
|
|
236
236
|
## Example Usage
|
237
237
|
|
238
238
|
Basic usage to create a standalone browser application.
|
239
|
+
<!--Start PulumiCodeChooser -->
|
239
240
|
```python
|
240
241
|
import pulumi
|
241
242
|
import pulumi_newrelic as newrelic
|
@@ -245,12 +246,13 @@ class BrowserApplication(pulumi.CustomResource):
|
|
245
246
|
distributed_tracing_enabled=True,
|
246
247
|
loader_type="SPA")
|
247
248
|
```
|
249
|
+
<!--End PulumiCodeChooser -->
|
248
250
|
|
249
251
|
## Import
|
250
252
|
|
251
253
|
Browser applications can be imported using the GUID of the browser application.
|
252
254
|
|
253
|
-
|
255
|
+
bash
|
254
256
|
|
255
257
|
```sh
|
256
258
|
$ pulumi import newrelic:index/browserApplication:BrowserApplication foo <GUID>
|
@@ -276,6 +278,7 @@ class BrowserApplication(pulumi.CustomResource):
|
|
276
278
|
## Example Usage
|
277
279
|
|
278
280
|
Basic usage to create a standalone browser application.
|
281
|
+
<!--Start PulumiCodeChooser -->
|
279
282
|
```python
|
280
283
|
import pulumi
|
281
284
|
import pulumi_newrelic as newrelic
|
@@ -285,12 +288,13 @@ class BrowserApplication(pulumi.CustomResource):
|
|
285
288
|
distributed_tracing_enabled=True,
|
286
289
|
loader_type="SPA")
|
287
290
|
```
|
291
|
+
<!--End PulumiCodeChooser -->
|
288
292
|
|
289
293
|
## Import
|
290
294
|
|
291
295
|
Browser applications can be imported using the GUID of the browser application.
|
292
296
|
|
293
|
-
|
297
|
+
bash
|
294
298
|
|
295
299
|
```sh
|
296
300
|
$ pulumi import newrelic:index/browserApplication:BrowserApplication foo <GUID>
|
@@ -777,7 +777,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
777
777
|
|
778
778
|
Integrate AWSGovCloud accounts can be imported using the `id`, e.g.
|
779
779
|
|
780
|
-
|
780
|
+
bash
|
781
781
|
|
782
782
|
```sh
|
783
783
|
$ pulumi import newrelic:cloud/awsGovcloudIntegrations:AwsGovcloudIntegrations foo <id>
|
@@ -831,7 +831,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
831
831
|
|
832
832
|
Integrate AWSGovCloud accounts can be imported using the `id`, e.g.
|
833
833
|
|
834
|
-
|
834
|
+
bash
|
835
835
|
|
836
836
|
```sh
|
837
837
|
$ pulumi import newrelic:cloud/awsGovcloudIntegrations:AwsGovcloudIntegrations foo <id>
|
@@ -243,6 +243,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
243
243
|
|
244
244
|
## Example Usage
|
245
245
|
|
246
|
+
<!--Start PulumiCodeChooser -->
|
246
247
|
```python
|
247
248
|
import pulumi
|
248
249
|
import pulumi_newrelic as newrelic
|
@@ -254,12 +255,13 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
254
255
|
metric_collection_mode="PULL",
|
255
256
|
secret_access_key="secret access key of the aws govcloud account")
|
256
257
|
```
|
258
|
+
<!--End PulumiCodeChooser -->
|
257
259
|
|
258
260
|
## Import
|
259
261
|
|
260
262
|
Linked AWSGovCloud accounts can be imported using the `id`, e.g.
|
261
263
|
|
262
|
-
|
264
|
+
bash
|
263
265
|
|
264
266
|
```sh
|
265
267
|
$ pulumi import newrelic:cloud/awsGovcloudLinkAccount:AwsGovcloudLinkAccount foo <id>
|
@@ -295,6 +297,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
295
297
|
|
296
298
|
## Example Usage
|
297
299
|
|
300
|
+
<!--Start PulumiCodeChooser -->
|
298
301
|
```python
|
299
302
|
import pulumi
|
300
303
|
import pulumi_newrelic as newrelic
|
@@ -306,12 +309,13 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
306
309
|
metric_collection_mode="PULL",
|
307
310
|
secret_access_key="secret access key of the aws govcloud account")
|
308
311
|
```
|
312
|
+
<!--End PulumiCodeChooser -->
|
309
313
|
|
310
314
|
## Import
|
311
315
|
|
312
316
|
Linked AWSGovCloud accounts can be imported using the `id`, e.g.
|
313
317
|
|
314
|
-
|
318
|
+
bash
|
315
319
|
|
316
320
|
```sh
|
317
321
|
$ pulumi import newrelic:cloud/awsGovcloudLinkAccount:AwsGovcloudLinkAccount foo <id>
|
@@ -2075,6 +2075,7 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2075
2075
|
|
2076
2076
|
Leave an integration block empty to use its default configuration. You can also use the full example, including the AWS set up, found in our guides.
|
2077
2077
|
|
2078
|
+
<!--Start PulumiCodeChooser -->
|
2078
2079
|
```python
|
2079
2080
|
import pulumi
|
2080
2081
|
import pulumi_newrelic as newrelic
|
@@ -2361,12 +2362,13 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2361
2362
|
metrics_polling_interval=6000,
|
2362
2363
|
))
|
2363
2364
|
```
|
2365
|
+
<!--End PulumiCodeChooser -->
|
2364
2366
|
|
2365
2367
|
## Import
|
2366
2368
|
|
2367
2369
|
Linked AWS account integrations can be imported using the `id`, e.g.
|
2368
2370
|
|
2369
|
-
|
2371
|
+
bash
|
2370
2372
|
|
2371
2373
|
```sh
|
2372
2374
|
$ pulumi import newrelic:cloud/awsIntegrations:AwsIntegrations foo <id>
|
@@ -2511,6 +2513,7 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2511
2513
|
|
2512
2514
|
Leave an integration block empty to use its default configuration. You can also use the full example, including the AWS set up, found in our guides.
|
2513
2515
|
|
2516
|
+
<!--Start PulumiCodeChooser -->
|
2514
2517
|
```python
|
2515
2518
|
import pulumi
|
2516
2519
|
import pulumi_newrelic as newrelic
|
@@ -2797,12 +2800,13 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2797
2800
|
metrics_polling_interval=6000,
|
2798
2801
|
))
|
2799
2802
|
```
|
2803
|
+
<!--End PulumiCodeChooser -->
|
2800
2804
|
|
2801
2805
|
## Import
|
2802
2806
|
|
2803
2807
|
Linked AWS account integrations can be imported using the `id`, e.g.
|
2804
2808
|
|
2805
|
-
|
2809
|
+
bash
|
2806
2810
|
|
2807
2811
|
```sh
|
2808
2812
|
$ pulumi import newrelic:cloud/awsIntegrations:AwsIntegrations foo <id>
|
@@ -179,6 +179,7 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
179
179
|
|
180
180
|
You can also use the full example, including the AWS set up, found in our guides.
|
181
181
|
|
182
|
+
<!--Start PulumiCodeChooser -->
|
182
183
|
```python
|
183
184
|
import pulumi
|
184
185
|
import pulumi_newrelic as newrelic
|
@@ -187,12 +188,13 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
187
188
|
arn="arn:aws:service:region:account-id:resource-id",
|
188
189
|
metric_collection_mode="PUSH")
|
189
190
|
```
|
191
|
+
<!--End PulumiCodeChooser -->
|
190
192
|
|
191
193
|
## Import
|
192
194
|
|
193
195
|
Linked AWS accounts can be imported using the `id`, e.g.
|
194
196
|
|
195
|
-
|
197
|
+
bash
|
196
198
|
|
197
199
|
```sh
|
198
200
|
$ pulumi import newrelic:cloud/awsLinkAccount:AwsLinkAccount foo <id>
|
@@ -226,6 +228,7 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
226
228
|
|
227
229
|
You can also use the full example, including the AWS set up, found in our guides.
|
228
230
|
|
231
|
+
<!--Start PulumiCodeChooser -->
|
229
232
|
```python
|
230
233
|
import pulumi
|
231
234
|
import pulumi_newrelic as newrelic
|
@@ -234,12 +237,13 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
234
237
|
arn="arn:aws:service:region:account-id:resource-id",
|
235
238
|
metric_collection_mode="PUSH")
|
236
239
|
```
|
240
|
+
<!--End PulumiCodeChooser -->
|
237
241
|
|
238
242
|
## Import
|
239
243
|
|
240
244
|
Linked AWS accounts can be imported using the `id`, e.g.
|
241
245
|
|
242
|
-
|
246
|
+
bash
|
243
247
|
|
244
248
|
```sh
|
245
249
|
$ pulumi import newrelic:cloud/awsLinkAccount:AwsLinkAccount foo <id>
|
@@ -1187,6 +1187,7 @@ class AzureIntegrations(pulumi.CustomResource):
|
|
1187
1187
|
|
1188
1188
|
Leave an integration block empty to use its default configuration. You can also use the full example, including the Azure set up, found in our guides.
|
1189
1189
|
|
1190
|
+
<!--Start PulumiCodeChooser -->
|
1190
1191
|
```python
|
1191
1192
|
import pulumi
|
1192
1193
|
import pulumi_newrelic as newrelic
|
@@ -1336,12 +1337,13 @@ class AzureIntegrations(pulumi.CustomResource):
|
|
1336
1337
|
resource_groups=["resource_groups"],
|
1337
1338
|
))
|
1338
1339
|
```
|
1340
|
+
<!--End PulumiCodeChooser -->
|
1339
1341
|
|
1340
1342
|
## Import
|
1341
1343
|
|
1342
1344
|
Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic.
|
1343
1345
|
|
1344
|
-
|
1346
|
+
bash
|
1345
1347
|
|
1346
1348
|
```sh
|
1347
1349
|
$ pulumi import newrelic:cloud/azureIntegrations:AzureIntegrations foo <id>
|
@@ -1409,6 +1411,7 @@ class AzureIntegrations(pulumi.CustomResource):
|
|
1409
1411
|
|
1410
1412
|
Leave an integration block empty to use its default configuration. You can also use the full example, including the Azure set up, found in our guides.
|
1411
1413
|
|
1414
|
+
<!--Start PulumiCodeChooser -->
|
1412
1415
|
```python
|
1413
1416
|
import pulumi
|
1414
1417
|
import pulumi_newrelic as newrelic
|
@@ -1558,12 +1561,13 @@ class AzureIntegrations(pulumi.CustomResource):
|
|
1558
1561
|
resource_groups=["resource_groups"],
|
1559
1562
|
))
|
1560
1563
|
```
|
1564
|
+
<!--End PulumiCodeChooser -->
|
1561
1565
|
|
1562
1566
|
## Import
|
1563
1567
|
|
1564
1568
|
Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic.
|
1565
1569
|
|
1566
|
-
|
1570
|
+
bash
|
1567
1571
|
|
1568
1572
|
```sh
|
1569
1573
|
$ pulumi import newrelic:cloud/azureIntegrations:AzureIntegrations foo <id>
|
@@ -242,6 +242,7 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
242
242
|
|
243
243
|
You can also use the full example, including the Azure set up, found in our guides.
|
244
244
|
|
245
|
+
<!--Start PulumiCodeChooser -->
|
245
246
|
```python
|
246
247
|
import pulumi
|
247
248
|
import pulumi_newrelic as newrelic
|
@@ -253,12 +254,13 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
253
254
|
subscription_id="Subscription ID of Azure",
|
254
255
|
tenant_id="Tenant ID of the Azure")
|
255
256
|
```
|
257
|
+
<!--End PulumiCodeChooser -->
|
256
258
|
|
257
259
|
## Import
|
258
260
|
|
259
261
|
Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic
|
260
262
|
|
261
|
-
|
263
|
+
bash
|
262
264
|
|
263
265
|
```sh
|
264
266
|
$ pulumi import newrelic:cloud/azureLinkAccount:AzureLinkAccount foo <id>
|
@@ -294,6 +296,7 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
294
296
|
|
295
297
|
You can also use the full example, including the Azure set up, found in our guides.
|
296
298
|
|
299
|
+
<!--Start PulumiCodeChooser -->
|
297
300
|
```python
|
298
301
|
import pulumi
|
299
302
|
import pulumi_newrelic as newrelic
|
@@ -305,12 +308,13 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
305
308
|
subscription_id="Subscription ID of Azure",
|
306
309
|
tenant_id="Tenant ID of the Azure")
|
307
310
|
```
|
311
|
+
<!--End PulumiCodeChooser -->
|
308
312
|
|
309
313
|
## Import
|
310
314
|
|
311
315
|
Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic
|
312
316
|
|
313
|
-
|
317
|
+
bash
|
314
318
|
|
315
319
|
```sh
|
316
320
|
$ pulumi import newrelic:cloud/azureLinkAccount:AzureLinkAccount foo <id>
|
@@ -971,6 +971,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
971
971
|
|
972
972
|
Leave an integration block empty to use its default configuration. You can also use the full example, including the GCP set up, found in our guides.
|
973
973
|
|
974
|
+
<!--Start PulumiCodeChooser -->
|
974
975
|
```python
|
975
976
|
import pulumi
|
976
977
|
import pulumi_newrelic as newrelic
|
@@ -1058,12 +1059,13 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1058
1059
|
metrics_polling_interval=400,
|
1059
1060
|
))
|
1060
1061
|
```
|
1062
|
+
<!--End PulumiCodeChooser -->
|
1061
1063
|
|
1062
1064
|
## Import
|
1063
1065
|
|
1064
1066
|
Linked GCP account integrations can be imported using the `id`, e.g.
|
1065
1067
|
|
1066
|
-
|
1068
|
+
bash
|
1067
1069
|
|
1068
1070
|
```sh
|
1069
1071
|
$ pulumi import newrelic:cloud/gcpIntegrations:GcpIntegrations foo <id>
|
@@ -1119,6 +1121,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1119
1121
|
|
1120
1122
|
Leave an integration block empty to use its default configuration. You can also use the full example, including the GCP set up, found in our guides.
|
1121
1123
|
|
1124
|
+
<!--Start PulumiCodeChooser -->
|
1122
1125
|
```python
|
1123
1126
|
import pulumi
|
1124
1127
|
import pulumi_newrelic as newrelic
|
@@ -1206,12 +1209,13 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1206
1209
|
metrics_polling_interval=400,
|
1207
1210
|
))
|
1208
1211
|
```
|
1212
|
+
<!--End PulumiCodeChooser -->
|
1209
1213
|
|
1210
1214
|
## Import
|
1211
1215
|
|
1212
1216
|
Linked GCP account integrations can be imported using the `id`, e.g.
|
1213
1217
|
|
1214
|
-
|
1218
|
+
bash
|
1215
1219
|
|
1216
1220
|
```sh
|
1217
1221
|
$ pulumi import newrelic:cloud/gcpIntegrations:GcpIntegrations foo <id>
|
@@ -150,6 +150,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
150
150
|
|
151
151
|
You can also use the full example, including the GCP set up, found in our guides.
|
152
152
|
|
153
|
+
<!--Start PulumiCodeChooser -->
|
153
154
|
```python
|
154
155
|
import pulumi
|
155
156
|
import pulumi_newrelic as newrelic
|
@@ -158,12 +159,13 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
158
159
|
account_id="account id of newrelic account",
|
159
160
|
project_id="id of the Project")
|
160
161
|
```
|
162
|
+
<!--End PulumiCodeChooser -->
|
161
163
|
|
162
164
|
## Import
|
163
165
|
|
164
166
|
Linked GCP accounts can be imported using `id`, you can find the `id` of an existing GCP linked accounts in GCP dashboard under Infrastructure in Newrelic Console.
|
165
167
|
|
166
|
-
|
168
|
+
bash
|
167
169
|
|
168
170
|
```sh
|
169
171
|
$ pulumi import newrelic:cloud/gcpLinkAccount:GcpLinkAccount newrelic_cloud_gcp_link_account.foo <id>
|
@@ -200,6 +202,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
200
202
|
|
201
203
|
You can also use the full example, including the GCP set up, found in our guides.
|
202
204
|
|
205
|
+
<!--Start PulumiCodeChooser -->
|
203
206
|
```python
|
204
207
|
import pulumi
|
205
208
|
import pulumi_newrelic as newrelic
|
@@ -208,12 +211,13 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
208
211
|
account_id="account id of newrelic account",
|
209
212
|
project_id="id of the Project")
|
210
213
|
```
|
214
|
+
<!--End PulumiCodeChooser -->
|
211
215
|
|
212
216
|
## Import
|
213
217
|
|
214
218
|
Linked GCP accounts can be imported using `id`, you can find the `id` of an existing GCP linked accounts in GCP dashboard under Infrastructure in Newrelic Console.
|
215
219
|
|
216
|
-
|
220
|
+
bash
|
217
221
|
|
218
222
|
```sh
|
219
223
|
$ pulumi import newrelic:cloud/gcpLinkAccount:GcpLinkAccount newrelic_cloud_gcp_link_account.foo <id>
|
@@ -248,6 +248,7 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
248
248
|
|
249
249
|
## Example Usage
|
250
250
|
|
251
|
+
<!--Start PulumiCodeChooser -->
|
251
252
|
```python
|
252
253
|
import pulumi
|
253
254
|
import pulumi_newrelic as newrelic
|
@@ -259,6 +260,8 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
259
260
|
retention_policy="STANDARD",
|
260
261
|
target_data_partition="Log_name")
|
261
262
|
```
|
263
|
+
<!--End PulumiCodeChooser -->
|
264
|
+
|
262
265
|
## Additional Information
|
263
266
|
|
264
267
|
More details about the data partition can be found [here](https://docs.newrelic.com/docs/logs/ui-data/data-partitions/)
|
@@ -267,7 +270,7 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
267
270
|
|
268
271
|
New Relic data partition rule can be imported using the rule ID, e.g.
|
269
272
|
|
270
|
-
|
273
|
+
bash
|
271
274
|
|
272
275
|
```sh
|
273
276
|
$ pulumi import newrelic:index/dataPartitionRule:DataPartitionRule foo <id>
|
@@ -293,6 +296,7 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
293
296
|
|
294
297
|
## Example Usage
|
295
298
|
|
299
|
+
<!--Start PulumiCodeChooser -->
|
296
300
|
```python
|
297
301
|
import pulumi
|
298
302
|
import pulumi_newrelic as newrelic
|
@@ -304,6 +308,8 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
304
308
|
retention_policy="STANDARD",
|
305
309
|
target_data_partition="Log_name")
|
306
310
|
```
|
311
|
+
<!--End PulumiCodeChooser -->
|
312
|
+
|
307
313
|
## Additional Information
|
308
314
|
|
309
315
|
More details about the data partition can be found [here](https://docs.newrelic.com/docs/logs/ui-data/data-partitions/)
|
@@ -312,7 +318,7 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
312
318
|
|
313
319
|
New Relic data partition rule can be imported using the rule ID, e.g.
|
314
320
|
|
315
|
-
|
321
|
+
bash
|
316
322
|
|
317
323
|
```sh
|
318
324
|
$ pulumi import newrelic:index/dataPartitionRule:DataPartitionRule foo <id>
|
pulumi_newrelic/entity_tags.py
CHANGED
@@ -104,6 +104,7 @@ class EntityTags(pulumi.CustomResource):
|
|
104
104
|
|
105
105
|
## Example Usage
|
106
106
|
|
107
|
+
<!--Start PulumiCodeChooser -->
|
107
108
|
```python
|
108
109
|
import pulumi
|
109
110
|
import pulumi_newrelic as newrelic
|
@@ -127,14 +128,15 @@ class EntityTags(pulumi.CustomResource):
|
|
127
128
|
),
|
128
129
|
])
|
129
130
|
```
|
131
|
+
<!--End PulumiCodeChooser -->
|
130
132
|
|
131
133
|
## Import
|
132
134
|
|
133
135
|
New Relic One entity tags can be imported using a concatenated string of the format
|
134
136
|
|
135
|
-
|
137
|
+
`<guid>`, e.g.
|
136
138
|
|
137
|
-
|
139
|
+
bash
|
138
140
|
|
139
141
|
```sh
|
140
142
|
$ pulumi import newrelic:index/entityTags:EntityTags foo MjUyMDUyOHxBUE18QVBRTElDQVRJT058MjE1MDM3Nzk1
|
@@ -156,6 +158,7 @@ class EntityTags(pulumi.CustomResource):
|
|
156
158
|
|
157
159
|
## Example Usage
|
158
160
|
|
161
|
+
<!--Start PulumiCodeChooser -->
|
159
162
|
```python
|
160
163
|
import pulumi
|
161
164
|
import pulumi_newrelic as newrelic
|
@@ -179,14 +182,15 @@ class EntityTags(pulumi.CustomResource):
|
|
179
182
|
),
|
180
183
|
])
|
181
184
|
```
|
185
|
+
<!--End PulumiCodeChooser -->
|
182
186
|
|
183
187
|
## Import
|
184
188
|
|
185
189
|
New Relic One entity tags can be imported using a concatenated string of the format
|
186
190
|
|
187
|
-
|
191
|
+
`<guid>`, e.g.
|
188
192
|
|
189
|
-
|
193
|
+
bash
|
190
194
|
|
191
195
|
```sh
|
192
196
|
$ pulumi import newrelic:index/entityTags:EntityTags foo MjUyMDUyOHxBUE18QVBRTElDQVRJT058MjE1MDM3Nzk1
|
@@ -218,6 +218,7 @@ class EventsToMetricsRule(pulumi.CustomResource):
|
|
218
218
|
|
219
219
|
## Example Usage
|
220
220
|
|
221
|
+
<!--Start PulumiCodeChooser -->
|
221
222
|
```python
|
222
223
|
import pulumi
|
223
224
|
import pulumi_newrelic as newrelic
|
@@ -227,14 +228,15 @@ class EventsToMetricsRule(pulumi.CustomResource):
|
|
227
228
|
description="Example description",
|
228
229
|
nrql="SELECT uniqueCount(account_id) AS ``Transaction.account_id`` FROM Transaction FACET appName, name")
|
229
230
|
```
|
231
|
+
<!--End PulumiCodeChooser -->
|
230
232
|
|
231
233
|
## Import
|
232
234
|
|
233
235
|
New Relic Events to Metrics rules can be imported using a concatenated string of the format
|
234
236
|
|
235
|
-
|
237
|
+
`<account_id>:<rule_id>`, e.g.
|
236
238
|
|
237
|
-
|
239
|
+
bash
|
238
240
|
|
239
241
|
```sh
|
240
242
|
$ pulumi import newrelic:index/eventsToMetricsRule:EventsToMetricsRule foo 12345:34567
|
@@ -259,6 +261,7 @@ class EventsToMetricsRule(pulumi.CustomResource):
|
|
259
261
|
|
260
262
|
## Example Usage
|
261
263
|
|
264
|
+
<!--Start PulumiCodeChooser -->
|
262
265
|
```python
|
263
266
|
import pulumi
|
264
267
|
import pulumi_newrelic as newrelic
|
@@ -268,14 +271,15 @@ class EventsToMetricsRule(pulumi.CustomResource):
|
|
268
271
|
description="Example description",
|
269
272
|
nrql="SELECT uniqueCount(account_id) AS ``Transaction.account_id`` FROM Transaction FACET appName, name")
|
270
273
|
```
|
274
|
+
<!--End PulumiCodeChooser -->
|
271
275
|
|
272
276
|
## Import
|
273
277
|
|
274
278
|
New Relic Events to Metrics rules can be imported using a concatenated string of the format
|
275
279
|
|
276
|
-
|
280
|
+
`<account_id>:<rule_id>`, e.g.
|
277
281
|
|
278
|
-
|
282
|
+
bash
|
279
283
|
|
280
284
|
```sh
|
281
285
|
$ pulumi import newrelic:index/eventsToMetricsRule:EventsToMetricsRule foo 12345:34567
|
pulumi_newrelic/get_account.py
CHANGED
@@ -82,12 +82,14 @@ def get_account(account_id: Optional[int] = None,
|
|
82
82
|
|
83
83
|
## Example Usage
|
84
84
|
|
85
|
+
<!--Start PulumiCodeChooser -->
|
85
86
|
```python
|
86
87
|
import pulumi
|
87
88
|
import pulumi_newrelic as newrelic
|
88
89
|
|
89
90
|
acc = newrelic.get_account(scope="global")
|
90
91
|
```
|
92
|
+
<!--End PulumiCodeChooser -->
|
91
93
|
|
92
94
|
|
93
95
|
:param int account_id: The account ID in New Relic.
|
@@ -120,12 +122,14 @@ def get_account_output(account_id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
120
122
|
|
121
123
|
## Example Usage
|
122
124
|
|
125
|
+
<!--Start PulumiCodeChooser -->
|
123
126
|
```python
|
124
127
|
import pulumi
|
125
128
|
import pulumi_newrelic as newrelic
|
126
129
|
|
127
130
|
acc = newrelic.get_account(scope="global")
|
128
131
|
```
|
132
|
+
<!--End PulumiCodeChooser -->
|
129
133
|
|
130
134
|
|
131
135
|
:param int account_id: The account ID in New Relic.
|
@@ -86,6 +86,7 @@ def get_application(name: Optional[str] = None,
|
|
86
86
|
|
87
87
|
## Example Usage
|
88
88
|
|
89
|
+
<!--Start PulumiCodeChooser -->
|
89
90
|
```python
|
90
91
|
import pulumi
|
91
92
|
import pulumi_newrelic as newrelic
|
@@ -106,6 +107,7 @@ def get_application(name: Optional[str] = None,
|
|
106
107
|
time_function="all",
|
107
108
|
)])
|
108
109
|
```
|
110
|
+
<!--End PulumiCodeChooser -->
|
109
111
|
|
110
112
|
|
111
113
|
:param str name: The name of the application in New Relic.
|
@@ -132,6 +134,7 @@ def get_application_output(name: Optional[pulumi.Input[str]] = None,
|
|
132
134
|
|
133
135
|
## Example Usage
|
134
136
|
|
137
|
+
<!--Start PulumiCodeChooser -->
|
135
138
|
```python
|
136
139
|
import pulumi
|
137
140
|
import pulumi_newrelic as newrelic
|
@@ -152,6 +155,7 @@ def get_application_output(name: Optional[pulumi.Input[str]] = None,
|
|
152
155
|
time_function="all",
|
153
156
|
)])
|
154
157
|
```
|
158
|
+
<!--End PulumiCodeChooser -->
|
155
159
|
|
156
160
|
|
157
161
|
:param str name: The name of the application in New Relic.
|
@@ -60,6 +60,7 @@ def get_authentication_domain(name: Optional[str] = None,
|
|
60
60
|
|
61
61
|
## Example Usage
|
62
62
|
|
63
|
+
<!--Start PulumiCodeChooser -->
|
63
64
|
```python
|
64
65
|
import pulumi
|
65
66
|
import pulumi_newrelic as newrelic
|
@@ -67,6 +68,7 @@ def get_authentication_domain(name: Optional[str] = None,
|
|
67
68
|
foo_authentication_domain = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
68
69
|
pulumi.export("foo", foo_authentication_domain.id)
|
69
70
|
```
|
71
|
+
<!--End PulumiCodeChooser -->
|
70
72
|
|
71
73
|
|
72
74
|
:param str name: The name of the authentication domain to be searched for. An error is thrown, if no authentication domain is found with the specified name.
|
@@ -89,6 +91,7 @@ def get_authentication_domain_output(name: Optional[pulumi.Input[str]] = None,
|
|
89
91
|
|
90
92
|
## Example Usage
|
91
93
|
|
94
|
+
<!--Start PulumiCodeChooser -->
|
92
95
|
```python
|
93
96
|
import pulumi
|
94
97
|
import pulumi_newrelic as newrelic
|
@@ -96,6 +99,7 @@ def get_authentication_domain_output(name: Optional[pulumi.Input[str]] = None,
|
|
96
99
|
foo_authentication_domain = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
97
100
|
pulumi.export("foo", foo_authentication_domain.id)
|
98
101
|
```
|
102
|
+
<!--End PulumiCodeChooser -->
|
99
103
|
|
100
104
|
|
101
105
|
:param str name: The name of the authentication domain to be searched for. An error is thrown, if no authentication domain is found with the specified name.
|
@@ -81,6 +81,7 @@ def get_cloud_account(account_id: Optional[int] = None,
|
|
81
81
|
|
82
82
|
## Example Usage
|
83
83
|
|
84
|
+
<!--Start PulumiCodeChooser -->
|
84
85
|
```python
|
85
86
|
import pulumi
|
86
87
|
import pulumi_newrelic as newrelic
|
@@ -89,6 +90,7 @@ def get_cloud_account(account_id: Optional[int] = None,
|
|
89
90
|
cloud_provider="aws",
|
90
91
|
name="my aws account")
|
91
92
|
```
|
93
|
+
<!--End PulumiCodeChooser -->
|
92
94
|
|
93
95
|
|
94
96
|
:param int account_id: The account ID in New Relic.
|
@@ -120,6 +122,7 @@ def get_cloud_account_output(account_id: Optional[pulumi.Input[Optional[int]]] =
|
|
120
122
|
|
121
123
|
## Example Usage
|
122
124
|
|
125
|
+
<!--Start PulumiCodeChooser -->
|
123
126
|
```python
|
124
127
|
import pulumi
|
125
128
|
import pulumi_newrelic as newrelic
|
@@ -128,6 +131,7 @@ def get_cloud_account_output(account_id: Optional[pulumi.Input[Optional[int]]] =
|
|
128
131
|
cloud_provider="aws",
|
129
132
|
name="my aws account")
|
130
133
|
```
|
134
|
+
<!--End PulumiCodeChooser -->
|
131
135
|
|
132
136
|
|
133
137
|
:param int account_id: The account ID in New Relic.
|