pulumi-newrelic 5.23.0__py3-none-any.whl → 5.23.0a1711707796__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_newrelic/_inputs.py +270 -183
- pulumi_newrelic/account_management.py +20 -20
- pulumi_newrelic/alert_channel.py +92 -76
- pulumi_newrelic/alert_condition.py +163 -104
- pulumi_newrelic/alert_muting_rule.py +35 -33
- pulumi_newrelic/alert_policy.py +43 -68
- pulumi_newrelic/alert_policy_channel.py +8 -12
- pulumi_newrelic/cloud/_inputs.py +1072 -322
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +6 -4
- pulumi_newrelic/cloud/aws_integrations.py +15 -13
- pulumi_newrelic/cloud/aws_link_account.py +6 -4
- pulumi_newrelic/cloud/azure_integrations.py +12 -10
- pulumi_newrelic/cloud/azure_link_account.py +6 -4
- pulumi_newrelic/cloud/gcp_integrations.py +6 -6
- pulumi_newrelic/cloud/gcp_link_account.py +6 -4
- pulumi_newrelic/cloud/outputs.py +1072 -322
- pulumi_newrelic/data_partition_rule.py +4 -0
- pulumi_newrelic/entity_tags.py +17 -13
- pulumi_newrelic/events_to_metrics_rule.py +4 -2
- pulumi_newrelic/get_account.py +4 -0
- pulumi_newrelic/get_application.py +10 -8
- pulumi_newrelic/get_authentication_domain.py +8 -4
- pulumi_newrelic/get_cloud_account.py +4 -0
- pulumi_newrelic/get_entity.py +32 -28
- pulumi_newrelic/get_group.py +8 -42
- pulumi_newrelic/get_key_transaction.py +10 -8
- pulumi_newrelic/get_notification_destination.py +1 -20
- pulumi_newrelic/get_obfuscation_expression.py +4 -2
- pulumi_newrelic/get_service_level_alert_helper.py +46 -22
- pulumi_newrelic/get_test_grok_pattern.py +6 -4
- pulumi_newrelic/get_user.py +4 -0
- pulumi_newrelic/group.py +42 -40
- pulumi_newrelic/infra_alert_condition.py +145 -154
- pulumi_newrelic/insights/event.py +25 -8
- pulumi_newrelic/log_parsing_rule.py +10 -6
- pulumi_newrelic/monitor_downtime.py +193 -174
- pulumi_newrelic/notification_channel.py +150 -124
- pulumi_newrelic/notification_destination.py +1 -95
- pulumi_newrelic/nrql_alert_condition.py +48 -38
- pulumi_newrelic/nrql_drop_rule.py +38 -34
- pulumi_newrelic/obfuscation_expression.py +4 -2
- pulumi_newrelic/obfuscation_rule.py +4 -4
- pulumi_newrelic/one_dashboard.py +48 -42
- pulumi_newrelic/one_dashboard_raw.py +86 -86
- pulumi_newrelic/outputs.py +270 -180
- pulumi_newrelic/plugins/_inputs.py +16 -16
- pulumi_newrelic/plugins/application_settings.py +36 -20
- pulumi_newrelic/plugins/outputs.py +16 -16
- pulumi_newrelic/plugins/workload.py +40 -158
- pulumi_newrelic/service_level.py +123 -38
- pulumi_newrelic/synthetics/alert_condition.py +78 -34
- pulumi_newrelic/synthetics/broken_links_monitor.py +20 -18
- pulumi_newrelic/synthetics/cert_check_monitor.py +18 -16
- pulumi_newrelic/synthetics/get_private_location.py +8 -0
- pulumi_newrelic/synthetics/get_secure_credential.py +12 -0
- pulumi_newrelic/synthetics/monitor.py +52 -48
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +83 -69
- pulumi_newrelic/synthetics/private_location.py +6 -6
- pulumi_newrelic/synthetics/script_monitor.py +42 -38
- pulumi_newrelic/synthetics/secure_credential.py +22 -25
- pulumi_newrelic/synthetics/step_monitor.py +20 -18
- pulumi_newrelic/user.py +10 -8
- pulumi_newrelic/workflow.py +24 -20
- {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711707796.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.23.0a1711707796.dist-info/RECORD +89 -0
- pulumi_newrelic-5.23.0.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711707796.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711707796.dist-info}/top_level.txt +0 -0
@@ -243,18 +243,19 @@ 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
|
249
250
|
|
250
251
|
foo = newrelic.cloud.AwsGovcloudLinkAccount("foo",
|
251
|
-
account_id="The New Relic account ID where you want to link the AWS GovCloud account",
|
252
252
|
access_key_id="access-key-id of aws govcloud account",
|
253
|
+
account_id="The New Relic account ID where you want to link the AWS GovCloud account",
|
253
254
|
aws_account_id="aws govcloud account id",
|
254
255
|
metric_collection_mode="PULL",
|
255
|
-
name="account name",
|
256
256
|
secret_access_key="secret access key of the aws govcloud account")
|
257
257
|
```
|
258
|
+
<!--End PulumiCodeChooser -->
|
258
259
|
|
259
260
|
## Import
|
260
261
|
|
@@ -296,18 +297,19 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
296
297
|
|
297
298
|
## Example Usage
|
298
299
|
|
300
|
+
<!--Start PulumiCodeChooser -->
|
299
301
|
```python
|
300
302
|
import pulumi
|
301
303
|
import pulumi_newrelic as newrelic
|
302
304
|
|
303
305
|
foo = newrelic.cloud.AwsGovcloudLinkAccount("foo",
|
304
|
-
account_id="The New Relic account ID where you want to link the AWS GovCloud account",
|
305
306
|
access_key_id="access-key-id of aws govcloud account",
|
307
|
+
account_id="The New Relic account ID where you want to link the AWS GovCloud account",
|
306
308
|
aws_account_id="aws govcloud account id",
|
307
309
|
metric_collection_mode="PULL",
|
308
|
-
name="account name",
|
309
310
|
secret_access_key="secret access key of the aws govcloud account")
|
310
311
|
```
|
312
|
+
<!--End PulumiCodeChooser -->
|
311
313
|
|
312
314
|
## Import
|
313
315
|
|
@@ -137,7 +137,7 @@ class AwsIntegrationsArgs:
|
|
137
137
|
:param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
138
138
|
:param pulumi.Input['AwsIntegrationsAlbArgs'] alb: ALB integration
|
139
139
|
:param pulumi.Input['AwsIntegrationsApiGatewayArgs'] api_gateway: API Gateway integration
|
140
|
-
:param pulumi.Input['AwsIntegrationsAutoScalingArgs'] auto_scaling:
|
140
|
+
:param pulumi.Input['AwsIntegrationsAutoScalingArgs'] auto_scaling: ,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
|
141
141
|
:param pulumi.Input['AwsIntegrationsAwsAppSyncArgs'] aws_app_sync: Aws Appsync integration
|
142
142
|
:param pulumi.Input['AwsIntegrationsAwsAthenaArgs'] aws_athena: Aws Athena integration
|
143
143
|
:param pulumi.Input['AwsIntegrationsAwsCognitoArgs'] aws_cognito: Aws Cognito integration
|
@@ -409,7 +409,7 @@ class AwsIntegrationsArgs:
|
|
409
409
|
@pulumi.getter(name="autoScaling")
|
410
410
|
def auto_scaling(self) -> Optional[pulumi.Input['AwsIntegrationsAutoScalingArgs']]:
|
411
411
|
"""
|
412
|
-
|
412
|
+
,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
|
413
413
|
"""
|
414
414
|
return pulumi.get(self, "auto_scaling")
|
415
415
|
|
@@ -1068,7 +1068,7 @@ class _AwsIntegrationsState:
|
|
1068
1068
|
:param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
1069
1069
|
:param pulumi.Input['AwsIntegrationsAlbArgs'] alb: ALB integration
|
1070
1070
|
:param pulumi.Input['AwsIntegrationsApiGatewayArgs'] api_gateway: API Gateway integration
|
1071
|
-
:param pulumi.Input['AwsIntegrationsAutoScalingArgs'] auto_scaling:
|
1071
|
+
:param pulumi.Input['AwsIntegrationsAutoScalingArgs'] auto_scaling: ,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
|
1072
1072
|
:param pulumi.Input['AwsIntegrationsAwsAppSyncArgs'] aws_app_sync: Aws Appsync integration
|
1073
1073
|
:param pulumi.Input['AwsIntegrationsAwsAthenaArgs'] aws_athena: Aws Athena integration
|
1074
1074
|
:param pulumi.Input['AwsIntegrationsAwsCognitoArgs'] aws_cognito: Aws Cognito integration
|
@@ -1330,7 +1330,7 @@ class _AwsIntegrationsState:
|
|
1330
1330
|
@pulumi.getter(name="autoScaling")
|
1331
1331
|
def auto_scaling(self) -> Optional[pulumi.Input['AwsIntegrationsAutoScalingArgs']]:
|
1332
1332
|
"""
|
1333
|
-
|
1333
|
+
,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
|
1334
1334
|
"""
|
1335
1335
|
return pulumi.get(self, "auto_scaling")
|
1336
1336
|
|
@@ -2075,14 +2075,14 @@ 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
|
2081
2082
|
|
2082
2083
|
foo = newrelic.cloud.AwsLinkAccount("foo",
|
2083
|
-
arn=newrelic_aws_role["arn"],
|
2084
|
-
metric_collection_mode="PULL"
|
2085
|
-
name="foo")
|
2084
|
+
arn=aws_iam_role["newrelic_aws_role"]["arn"],
|
2085
|
+
metric_collection_mode="PULL")
|
2086
2086
|
bar = newrelic.cloud.AwsIntegrations("bar",
|
2087
2087
|
linked_account_id=foo.id,
|
2088
2088
|
billing=newrelic.cloud.AwsIntegrationsBillingArgs(),
|
@@ -2362,6 +2362,7 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2362
2362
|
metrics_polling_interval=6000,
|
2363
2363
|
))
|
2364
2364
|
```
|
2365
|
+
<!--End PulumiCodeChooser -->
|
2365
2366
|
|
2366
2367
|
## Import
|
2367
2368
|
|
@@ -2378,7 +2379,7 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2378
2379
|
:param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
2379
2380
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAlbArgs']] alb: ALB integration
|
2380
2381
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsApiGatewayArgs']] api_gateway: API Gateway integration
|
2381
|
-
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling:
|
2382
|
+
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling: ,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
|
2382
2383
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAppSyncArgs']] aws_app_sync: Aws Appsync integration
|
2383
2384
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAthenaArgs']] aws_athena: Aws Athena integration
|
2384
2385
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsCognitoArgs']] aws_cognito: Aws Cognito integration
|
@@ -2512,14 +2513,14 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2512
2513
|
|
2513
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.
|
2514
2515
|
|
2516
|
+
<!--Start PulumiCodeChooser -->
|
2515
2517
|
```python
|
2516
2518
|
import pulumi
|
2517
2519
|
import pulumi_newrelic as newrelic
|
2518
2520
|
|
2519
2521
|
foo = newrelic.cloud.AwsLinkAccount("foo",
|
2520
|
-
arn=newrelic_aws_role["arn"],
|
2521
|
-
metric_collection_mode="PULL"
|
2522
|
-
name="foo")
|
2522
|
+
arn=aws_iam_role["newrelic_aws_role"]["arn"],
|
2523
|
+
metric_collection_mode="PULL")
|
2523
2524
|
bar = newrelic.cloud.AwsIntegrations("bar",
|
2524
2525
|
linked_account_id=foo.id,
|
2525
2526
|
billing=newrelic.cloud.AwsIntegrationsBillingArgs(),
|
@@ -2799,6 +2800,7 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2799
2800
|
metrics_polling_interval=6000,
|
2800
2801
|
))
|
2801
2802
|
```
|
2803
|
+
<!--End PulumiCodeChooser -->
|
2802
2804
|
|
2803
2805
|
## Import
|
2804
2806
|
|
@@ -3018,7 +3020,7 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
3018
3020
|
:param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
3019
3021
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAlbArgs']] alb: ALB integration
|
3020
3022
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsApiGatewayArgs']] api_gateway: API Gateway integration
|
3021
|
-
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling:
|
3023
|
+
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling: ,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
|
3022
3024
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAppSyncArgs']] aws_app_sync: Aws Appsync integration
|
3023
3025
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAthenaArgs']] aws_athena: Aws Athena integration
|
3024
3026
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsCognitoArgs']] aws_cognito: Aws Cognito integration
|
@@ -3219,7 +3221,7 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
3219
3221
|
@pulumi.getter(name="autoScaling")
|
3220
3222
|
def auto_scaling(self) -> pulumi.Output[Optional['outputs.AwsIntegrationsAutoScaling']]:
|
3221
3223
|
"""
|
3222
|
-
|
3224
|
+
,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
|
3223
3225
|
"""
|
3224
3226
|
return pulumi.get(self, "auto_scaling")
|
3225
3227
|
|
@@ -179,15 +179,16 @@ 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
|
185
186
|
|
186
187
|
foo = newrelic.cloud.AwsLinkAccount("foo",
|
187
188
|
arn="arn:aws:service:region:account-id:resource-id",
|
188
|
-
metric_collection_mode="PUSH"
|
189
|
-
name="account name")
|
189
|
+
metric_collection_mode="PUSH")
|
190
190
|
```
|
191
|
+
<!--End PulumiCodeChooser -->
|
191
192
|
|
192
193
|
## Import
|
193
194
|
|
@@ -227,15 +228,16 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
227
228
|
|
228
229
|
You can also use the full example, including the AWS set up, found in our guides.
|
229
230
|
|
231
|
+
<!--Start PulumiCodeChooser -->
|
230
232
|
```python
|
231
233
|
import pulumi
|
232
234
|
import pulumi_newrelic as newrelic
|
233
235
|
|
234
236
|
foo = newrelic.cloud.AwsLinkAccount("foo",
|
235
237
|
arn="arn:aws:service:region:account-id:resource-id",
|
236
|
-
metric_collection_mode="PUSH"
|
237
|
-
name="account name")
|
238
|
+
metric_collection_mode="PUSH")
|
238
239
|
```
|
240
|
+
<!--End PulumiCodeChooser -->
|
239
241
|
|
240
242
|
## Import
|
241
243
|
|
@@ -1187,19 +1187,19 @@ 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
|
1193
1194
|
|
1194
|
-
|
1195
|
+
foo_azure_link_account = newrelic.cloud.AzureLinkAccount("fooAzureLinkAccount",
|
1195
1196
|
account_id="The New Relic account ID where you want to link the Azure account",
|
1196
1197
|
application_id="ID of the application",
|
1197
1198
|
client_secret="Secret value of client's Azure account",
|
1198
1199
|
subscription_id="Subscription ID of Azure",
|
1199
|
-
tenant_id="Tenant ID of the Azure"
|
1200
|
-
|
1201
|
-
|
1202
|
-
linked_account_id=foo.id,
|
1200
|
+
tenant_id="Tenant ID of the Azure")
|
1201
|
+
foo_azure_integrations = newrelic.cloud.AzureIntegrations("fooAzureIntegrations",
|
1202
|
+
linked_account_id=foo_azure_link_account.id,
|
1203
1203
|
account_id="The New Relic account ID",
|
1204
1204
|
api_management=newrelic.cloud.AzureIntegrationsApiManagementArgs(
|
1205
1205
|
metrics_polling_interval=1200,
|
@@ -1337,6 +1337,7 @@ class AzureIntegrations(pulumi.CustomResource):
|
|
1337
1337
|
resource_groups=["resource_groups"],
|
1338
1338
|
))
|
1339
1339
|
```
|
1340
|
+
<!--End PulumiCodeChooser -->
|
1340
1341
|
|
1341
1342
|
## Import
|
1342
1343
|
|
@@ -1410,19 +1411,19 @@ class AzureIntegrations(pulumi.CustomResource):
|
|
1410
1411
|
|
1411
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.
|
1412
1413
|
|
1414
|
+
<!--Start PulumiCodeChooser -->
|
1413
1415
|
```python
|
1414
1416
|
import pulumi
|
1415
1417
|
import pulumi_newrelic as newrelic
|
1416
1418
|
|
1417
|
-
|
1419
|
+
foo_azure_link_account = newrelic.cloud.AzureLinkAccount("fooAzureLinkAccount",
|
1418
1420
|
account_id="The New Relic account ID where you want to link the Azure account",
|
1419
1421
|
application_id="ID of the application",
|
1420
1422
|
client_secret="Secret value of client's Azure account",
|
1421
1423
|
subscription_id="Subscription ID of Azure",
|
1422
|
-
tenant_id="Tenant ID of the Azure"
|
1423
|
-
|
1424
|
-
|
1425
|
-
linked_account_id=foo.id,
|
1424
|
+
tenant_id="Tenant ID of the Azure")
|
1425
|
+
foo_azure_integrations = newrelic.cloud.AzureIntegrations("fooAzureIntegrations",
|
1426
|
+
linked_account_id=foo_azure_link_account.id,
|
1426
1427
|
account_id="The New Relic account ID",
|
1427
1428
|
api_management=newrelic.cloud.AzureIntegrationsApiManagementArgs(
|
1428
1429
|
metrics_polling_interval=1200,
|
@@ -1560,6 +1561,7 @@ class AzureIntegrations(pulumi.CustomResource):
|
|
1560
1561
|
resource_groups=["resource_groups"],
|
1561
1562
|
))
|
1562
1563
|
```
|
1564
|
+
<!--End PulumiCodeChooser -->
|
1563
1565
|
|
1564
1566
|
## Import
|
1565
1567
|
|
@@ -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
|
@@ -251,9 +252,9 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
251
252
|
application_id="ID of the application",
|
252
253
|
client_secret="Secret value of client's Azure account",
|
253
254
|
subscription_id="Subscription ID of Azure",
|
254
|
-
tenant_id="Tenant ID of the Azure"
|
255
|
-
name="Name of the linked account")
|
255
|
+
tenant_id="Tenant ID of the Azure")
|
256
256
|
```
|
257
|
+
<!--End PulumiCodeChooser -->
|
257
258
|
|
258
259
|
## Import
|
259
260
|
|
@@ -295,6 +296,7 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
295
296
|
|
296
297
|
You can also use the full example, including the Azure set up, found in our guides.
|
297
298
|
|
299
|
+
<!--Start PulumiCodeChooser -->
|
298
300
|
```python
|
299
301
|
import pulumi
|
300
302
|
import pulumi_newrelic as newrelic
|
@@ -304,9 +306,9 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
304
306
|
application_id="ID of the application",
|
305
307
|
client_secret="Secret value of client's Azure account",
|
306
308
|
subscription_id="Subscription ID of Azure",
|
307
|
-
tenant_id="Tenant ID of the Azure"
|
308
|
-
name="Name of the linked account")
|
309
|
+
tenant_id="Tenant ID of the Azure")
|
309
310
|
```
|
311
|
+
<!--End PulumiCodeChooser -->
|
310
312
|
|
311
313
|
## Import
|
312
314
|
|
@@ -971,13 +971,12 @@ 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
|
977
978
|
|
978
|
-
foo = newrelic.cloud.GcpLinkAccount("foo",
|
979
|
-
name="example",
|
980
|
-
project_id="<Your GCP project ID>")
|
979
|
+
foo = newrelic.cloud.GcpLinkAccount("foo", project_id="<Your GCP project ID>")
|
981
980
|
foo1 = newrelic.cloud.GcpIntegrations("foo1",
|
982
981
|
linked_account_id=foo.id,
|
983
982
|
app_engine=newrelic.cloud.GcpIntegrationsAppEngineArgs(
|
@@ -1060,6 +1059,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1060
1059
|
metrics_polling_interval=400,
|
1061
1060
|
))
|
1062
1061
|
```
|
1062
|
+
<!--End PulumiCodeChooser -->
|
1063
1063
|
|
1064
1064
|
## Import
|
1065
1065
|
|
@@ -1121,13 +1121,12 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1121
1121
|
|
1122
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.
|
1123
1123
|
|
1124
|
+
<!--Start PulumiCodeChooser -->
|
1124
1125
|
```python
|
1125
1126
|
import pulumi
|
1126
1127
|
import pulumi_newrelic as newrelic
|
1127
1128
|
|
1128
|
-
foo = newrelic.cloud.GcpLinkAccount("foo",
|
1129
|
-
name="example",
|
1130
|
-
project_id="<Your GCP project ID>")
|
1129
|
+
foo = newrelic.cloud.GcpLinkAccount("foo", project_id="<Your GCP project ID>")
|
1131
1130
|
foo1 = newrelic.cloud.GcpIntegrations("foo1",
|
1132
1131
|
linked_account_id=foo.id,
|
1133
1132
|
app_engine=newrelic.cloud.GcpIntegrationsAppEngineArgs(
|
@@ -1210,6 +1209,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1210
1209
|
metrics_polling_interval=400,
|
1211
1210
|
))
|
1212
1211
|
```
|
1212
|
+
<!--End PulumiCodeChooser -->
|
1213
1213
|
|
1214
1214
|
## Import
|
1215
1215
|
|
@@ -150,15 +150,16 @@ 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
|
156
157
|
|
157
158
|
foo = newrelic.cloud.GcpLinkAccount("foo",
|
158
159
|
account_id="account id of newrelic account",
|
159
|
-
project_id="id of the Project"
|
160
|
-
name="account name")
|
160
|
+
project_id="id of the Project")
|
161
161
|
```
|
162
|
+
<!--End PulumiCodeChooser -->
|
162
163
|
|
163
164
|
## Import
|
164
165
|
|
@@ -201,15 +202,16 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
201
202
|
|
202
203
|
You can also use the full example, including the GCP set up, found in our guides.
|
203
204
|
|
205
|
+
<!--Start PulumiCodeChooser -->
|
204
206
|
```python
|
205
207
|
import pulumi
|
206
208
|
import pulumi_newrelic as newrelic
|
207
209
|
|
208
210
|
foo = newrelic.cloud.GcpLinkAccount("foo",
|
209
211
|
account_id="account id of newrelic account",
|
210
|
-
project_id="id of the Project"
|
211
|
-
name="account name")
|
212
|
+
project_id="id of the Project")
|
212
213
|
```
|
214
|
+
<!--End PulumiCodeChooser -->
|
213
215
|
|
214
216
|
## Import
|
215
217
|
|