pulumi-newrelic 5.23.0a1713333809__py3-none-any.whl → 5.23.0a1713975814__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 +110 -270
- pulumi_newrelic/account_management.py +20 -20
- pulumi_newrelic/alert_channel.py +76 -92
- pulumi_newrelic/alert_condition.py +104 -149
- pulumi_newrelic/alert_muting_rule.py +33 -35
- pulumi_newrelic/alert_policy.py +68 -43
- pulumi_newrelic/alert_policy_channel.py +12 -8
- pulumi_newrelic/cloud/_inputs.py +322 -1072
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +4 -6
- pulumi_newrelic/cloud/aws_integrations.py +13 -15
- pulumi_newrelic/cloud/aws_link_account.py +4 -6
- pulumi_newrelic/cloud/azure_integrations.py +10 -12
- pulumi_newrelic/cloud/azure_link_account.py +4 -6
- pulumi_newrelic/cloud/gcp_integrations.py +6 -6
- pulumi_newrelic/cloud/gcp_link_account.py +4 -6
- pulumi_newrelic/cloud/outputs.py +322 -1072
- pulumi_newrelic/data_partition_rule.py +0 -4
- pulumi_newrelic/entity_tags.py +13 -17
- pulumi_newrelic/events_to_metrics_rule.py +2 -4
- pulumi_newrelic/get_account.py +0 -4
- pulumi_newrelic/get_application.py +8 -10
- pulumi_newrelic/get_authentication_domain.py +4 -8
- pulumi_newrelic/get_cloud_account.py +0 -4
- pulumi_newrelic/get_entity.py +28 -32
- pulumi_newrelic/get_group.py +42 -8
- pulumi_newrelic/get_key_transaction.py +8 -10
- pulumi_newrelic/get_obfuscation_expression.py +2 -4
- pulumi_newrelic/get_service_level_alert_helper.py +22 -46
- pulumi_newrelic/get_test_grok_pattern.py +4 -6
- pulumi_newrelic/get_user.py +0 -4
- pulumi_newrelic/group.py +40 -42
- pulumi_newrelic/infra_alert_condition.py +154 -131
- pulumi_newrelic/insights/event.py +8 -25
- pulumi_newrelic/log_parsing_rule.py +6 -10
- pulumi_newrelic/monitor_downtime.py +174 -193
- pulumi_newrelic/notification_channel.py +124 -150
- pulumi_newrelic/nrql_alert_condition.py +38 -48
- pulumi_newrelic/nrql_drop_rule.py +34 -38
- pulumi_newrelic/obfuscation_expression.py +2 -4
- pulumi_newrelic/obfuscation_rule.py +4 -4
- pulumi_newrelic/one_dashboard.py +42 -48
- pulumi_newrelic/one_dashboard_raw.py +86 -86
- pulumi_newrelic/outputs.py +110 -270
- pulumi_newrelic/plugins/_inputs.py +16 -16
- pulumi_newrelic/plugins/application_settings.py +6 -8
- pulumi_newrelic/plugins/outputs.py +16 -16
- pulumi_newrelic/plugins/workload.py +158 -40
- pulumi_newrelic/service_level.py +38 -123
- pulumi_newrelic/synthetics/alert_condition.py +34 -64
- pulumi_newrelic/synthetics/broken_links_monitor.py +18 -20
- pulumi_newrelic/synthetics/cert_check_monitor.py +16 -18
- pulumi_newrelic/synthetics/get_private_location.py +0 -8
- pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
- pulumi_newrelic/synthetics/monitor.py +48 -52
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +69 -83
- pulumi_newrelic/synthetics/private_location.py +6 -6
- pulumi_newrelic/synthetics/script_monitor.py +38 -42
- pulumi_newrelic/synthetics/secure_credential.py +25 -22
- pulumi_newrelic/synthetics/step_monitor.py +18 -20
- pulumi_newrelic/user.py +8 -10
- pulumi_newrelic/workflow.py +20 -24
- {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.23.0a1713975814.dist-info/RECORD +89 -0
- pulumi_newrelic-5.23.0a1713333809.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/top_level.txt +0 -0
@@ -243,19 +243,18 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
243
243
|
|
244
244
|
## Example Usage
|
245
245
|
|
246
|
-
<!--Start PulumiCodeChooser -->
|
247
246
|
```python
|
248
247
|
import pulumi
|
249
248
|
import pulumi_newrelic as newrelic
|
250
249
|
|
251
250
|
foo = newrelic.cloud.AwsGovcloudLinkAccount("foo",
|
252
|
-
access_key_id="access-key-id of aws govcloud account",
|
253
251
|
account_id="The New Relic account ID where you want to link the AWS GovCloud account",
|
252
|
+
access_key_id="access-key-id of aws govcloud account",
|
254
253
|
aws_account_id="aws govcloud account id",
|
255
254
|
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 -->
|
259
258
|
|
260
259
|
## Import
|
261
260
|
|
@@ -297,19 +296,18 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
297
296
|
|
298
297
|
## Example Usage
|
299
298
|
|
300
|
-
<!--Start PulumiCodeChooser -->
|
301
299
|
```python
|
302
300
|
import pulumi
|
303
301
|
import pulumi_newrelic as newrelic
|
304
302
|
|
305
303
|
foo = newrelic.cloud.AwsGovcloudLinkAccount("foo",
|
306
|
-
access_key_id="access-key-id of aws govcloud account",
|
307
304
|
account_id="The New Relic account ID where you want to link the AWS GovCloud account",
|
305
|
+
access_key_id="access-key-id of aws govcloud account",
|
308
306
|
aws_account_id="aws govcloud account id",
|
309
307
|
metric_collection_mode="PULL",
|
308
|
+
name="account name",
|
310
309
|
secret_access_key="secret access key of the aws govcloud account")
|
311
310
|
```
|
312
|
-
<!--End PulumiCodeChooser -->
|
313
311
|
|
314
312
|
## Import
|
315
313
|
|
@@ -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: AutoScaling integration
|
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
|
+
AutoScaling integration
|
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: AutoScaling integration
|
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
|
+
AutoScaling integration
|
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 -->
|
2079
2078
|
```python
|
2080
2079
|
import pulumi
|
2081
2080
|
import pulumi_newrelic as newrelic
|
2082
2081
|
|
2083
2082
|
foo = newrelic.cloud.AwsLinkAccount("foo",
|
2084
|
-
arn=
|
2085
|
-
metric_collection_mode="PULL"
|
2083
|
+
arn=newrelic_aws_role["arn"],
|
2084
|
+
metric_collection_mode="PULL",
|
2085
|
+
name="foo")
|
2086
2086
|
bar = newrelic.cloud.AwsIntegrations("bar",
|
2087
2087
|
linked_account_id=foo.id,
|
2088
2088
|
billing=newrelic.cloud.AwsIntegrationsBillingArgs(),
|
@@ -2362,7 +2362,6 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2362
2362
|
metrics_polling_interval=6000,
|
2363
2363
|
))
|
2364
2364
|
```
|
2365
|
-
<!--End PulumiCodeChooser -->
|
2366
2365
|
|
2367
2366
|
## Import
|
2368
2367
|
|
@@ -2379,7 +2378,7 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2379
2378
|
: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`.
|
2380
2379
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAlbArgs']] alb: ALB integration
|
2381
2380
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsApiGatewayArgs']] api_gateway: API Gateway integration
|
2382
|
-
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling:
|
2381
|
+
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling: AutoScaling integration
|
2383
2382
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAppSyncArgs']] aws_app_sync: Aws Appsync integration
|
2384
2383
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAthenaArgs']] aws_athena: Aws Athena integration
|
2385
2384
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsCognitoArgs']] aws_cognito: Aws Cognito integration
|
@@ -2513,14 +2512,14 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2513
2512
|
|
2514
2513
|
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.
|
2515
2514
|
|
2516
|
-
<!--Start PulumiCodeChooser -->
|
2517
2515
|
```python
|
2518
2516
|
import pulumi
|
2519
2517
|
import pulumi_newrelic as newrelic
|
2520
2518
|
|
2521
2519
|
foo = newrelic.cloud.AwsLinkAccount("foo",
|
2522
|
-
arn=
|
2523
|
-
metric_collection_mode="PULL"
|
2520
|
+
arn=newrelic_aws_role["arn"],
|
2521
|
+
metric_collection_mode="PULL",
|
2522
|
+
name="foo")
|
2524
2523
|
bar = newrelic.cloud.AwsIntegrations("bar",
|
2525
2524
|
linked_account_id=foo.id,
|
2526
2525
|
billing=newrelic.cloud.AwsIntegrationsBillingArgs(),
|
@@ -2800,7 +2799,6 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
2800
2799
|
metrics_polling_interval=6000,
|
2801
2800
|
))
|
2802
2801
|
```
|
2803
|
-
<!--End PulumiCodeChooser -->
|
2804
2802
|
|
2805
2803
|
## Import
|
2806
2804
|
|
@@ -3020,7 +3018,7 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
3020
3018
|
: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`.
|
3021
3019
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAlbArgs']] alb: ALB integration
|
3022
3020
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsApiGatewayArgs']] api_gateway: API Gateway integration
|
3023
|
-
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling:
|
3021
|
+
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling: AutoScaling integration
|
3024
3022
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAppSyncArgs']] aws_app_sync: Aws Appsync integration
|
3025
3023
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAthenaArgs']] aws_athena: Aws Athena integration
|
3026
3024
|
:param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsCognitoArgs']] aws_cognito: Aws Cognito integration
|
@@ -3221,7 +3219,7 @@ class AwsIntegrations(pulumi.CustomResource):
|
|
3221
3219
|
@pulumi.getter(name="autoScaling")
|
3222
3220
|
def auto_scaling(self) -> pulumi.Output[Optional['outputs.AwsIntegrationsAutoScaling']]:
|
3223
3221
|
"""
|
3224
|
-
|
3222
|
+
AutoScaling integration
|
3225
3223
|
"""
|
3226
3224
|
return pulumi.get(self, "auto_scaling")
|
3227
3225
|
|
@@ -179,16 +179,15 @@ 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 -->
|
183
182
|
```python
|
184
183
|
import pulumi
|
185
184
|
import pulumi_newrelic as newrelic
|
186
185
|
|
187
186
|
foo = newrelic.cloud.AwsLinkAccount("foo",
|
188
187
|
arn="arn:aws:service:region:account-id:resource-id",
|
189
|
-
metric_collection_mode="PUSH"
|
188
|
+
metric_collection_mode="PUSH",
|
189
|
+
name="account name")
|
190
190
|
```
|
191
|
-
<!--End PulumiCodeChooser -->
|
192
191
|
|
193
192
|
## Import
|
194
193
|
|
@@ -228,16 +227,15 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
228
227
|
|
229
228
|
You can also use the full example, including the AWS set up, found in our guides.
|
230
229
|
|
231
|
-
<!--Start PulumiCodeChooser -->
|
232
230
|
```python
|
233
231
|
import pulumi
|
234
232
|
import pulumi_newrelic as newrelic
|
235
233
|
|
236
234
|
foo = newrelic.cloud.AwsLinkAccount("foo",
|
237
235
|
arn="arn:aws:service:region:account-id:resource-id",
|
238
|
-
metric_collection_mode="PUSH"
|
236
|
+
metric_collection_mode="PUSH",
|
237
|
+
name="account name")
|
239
238
|
```
|
240
|
-
<!--End PulumiCodeChooser -->
|
241
239
|
|
242
240
|
## Import
|
243
241
|
|
@@ -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 -->
|
1191
1190
|
```python
|
1192
1191
|
import pulumi
|
1193
1192
|
import pulumi_newrelic as newrelic
|
1194
1193
|
|
1195
|
-
|
1194
|
+
foo = newrelic.cloud.AzureLinkAccount("foo",
|
1196
1195
|
account_id="The New Relic account ID where you want to link the Azure account",
|
1197
1196
|
application_id="ID of the application",
|
1198
1197
|
client_secret="Secret value of client's Azure account",
|
1199
1198
|
subscription_id="Subscription ID of Azure",
|
1200
|
-
tenant_id="Tenant ID of the Azure"
|
1201
|
-
|
1202
|
-
|
1199
|
+
tenant_id="Tenant ID of the Azure",
|
1200
|
+
name="Name of the linked account")
|
1201
|
+
foo_azure_integrations = newrelic.cloud.AzureIntegrations("foo",
|
1202
|
+
linked_account_id=foo.id,
|
1203
1203
|
account_id="The New Relic account ID",
|
1204
1204
|
api_management=newrelic.cloud.AzureIntegrationsApiManagementArgs(
|
1205
1205
|
metrics_polling_interval=1200,
|
@@ -1337,7 +1337,6 @@ class AzureIntegrations(pulumi.CustomResource):
|
|
1337
1337
|
resource_groups=["resource_groups"],
|
1338
1338
|
))
|
1339
1339
|
```
|
1340
|
-
<!--End PulumiCodeChooser -->
|
1341
1340
|
|
1342
1341
|
## Import
|
1343
1342
|
|
@@ -1411,19 +1410,19 @@ class AzureIntegrations(pulumi.CustomResource):
|
|
1411
1410
|
|
1412
1411
|
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.
|
1413
1412
|
|
1414
|
-
<!--Start PulumiCodeChooser -->
|
1415
1413
|
```python
|
1416
1414
|
import pulumi
|
1417
1415
|
import pulumi_newrelic as newrelic
|
1418
1416
|
|
1419
|
-
|
1417
|
+
foo = newrelic.cloud.AzureLinkAccount("foo",
|
1420
1418
|
account_id="The New Relic account ID where you want to link the Azure account",
|
1421
1419
|
application_id="ID of the application",
|
1422
1420
|
client_secret="Secret value of client's Azure account",
|
1423
1421
|
subscription_id="Subscription ID of Azure",
|
1424
|
-
tenant_id="Tenant ID of the Azure"
|
1425
|
-
|
1426
|
-
|
1422
|
+
tenant_id="Tenant ID of the Azure",
|
1423
|
+
name="Name of the linked account")
|
1424
|
+
foo_azure_integrations = newrelic.cloud.AzureIntegrations("foo",
|
1425
|
+
linked_account_id=foo.id,
|
1427
1426
|
account_id="The New Relic account ID",
|
1428
1427
|
api_management=newrelic.cloud.AzureIntegrationsApiManagementArgs(
|
1429
1428
|
metrics_polling_interval=1200,
|
@@ -1561,7 +1560,6 @@ class AzureIntegrations(pulumi.CustomResource):
|
|
1561
1560
|
resource_groups=["resource_groups"],
|
1562
1561
|
))
|
1563
1562
|
```
|
1564
|
-
<!--End PulumiCodeChooser -->
|
1565
1563
|
|
1566
1564
|
## Import
|
1567
1565
|
|
@@ -242,7 +242,6 @@ 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 -->
|
246
245
|
```python
|
247
246
|
import pulumi
|
248
247
|
import pulumi_newrelic as newrelic
|
@@ -252,9 +251,9 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
252
251
|
application_id="ID of the application",
|
253
252
|
client_secret="Secret value of client's Azure account",
|
254
253
|
subscription_id="Subscription ID of Azure",
|
255
|
-
tenant_id="Tenant ID of the Azure"
|
254
|
+
tenant_id="Tenant ID of the Azure",
|
255
|
+
name="Name of the linked account")
|
256
256
|
```
|
257
|
-
<!--End PulumiCodeChooser -->
|
258
257
|
|
259
258
|
## Import
|
260
259
|
|
@@ -296,7 +295,6 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
296
295
|
|
297
296
|
You can also use the full example, including the Azure set up, found in our guides.
|
298
297
|
|
299
|
-
<!--Start PulumiCodeChooser -->
|
300
298
|
```python
|
301
299
|
import pulumi
|
302
300
|
import pulumi_newrelic as newrelic
|
@@ -306,9 +304,9 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
306
304
|
application_id="ID of the application",
|
307
305
|
client_secret="Secret value of client's Azure account",
|
308
306
|
subscription_id="Subscription ID of Azure",
|
309
|
-
tenant_id="Tenant ID of the Azure"
|
307
|
+
tenant_id="Tenant ID of the Azure",
|
308
|
+
name="Name of the linked account")
|
310
309
|
```
|
311
|
-
<!--End PulumiCodeChooser -->
|
312
310
|
|
313
311
|
## Import
|
314
312
|
|
@@ -971,12 +971,13 @@ 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 -->
|
975
974
|
```python
|
976
975
|
import pulumi
|
977
976
|
import pulumi_newrelic as newrelic
|
978
977
|
|
979
|
-
foo = newrelic.cloud.GcpLinkAccount("foo",
|
978
|
+
foo = newrelic.cloud.GcpLinkAccount("foo",
|
979
|
+
name="example",
|
980
|
+
project_id="<Your GCP project ID>")
|
980
981
|
foo1 = newrelic.cloud.GcpIntegrations("foo1",
|
981
982
|
linked_account_id=foo.id,
|
982
983
|
app_engine=newrelic.cloud.GcpIntegrationsAppEngineArgs(
|
@@ -1059,7 +1060,6 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1059
1060
|
metrics_polling_interval=400,
|
1060
1061
|
))
|
1061
1062
|
```
|
1062
|
-
<!--End PulumiCodeChooser -->
|
1063
1063
|
|
1064
1064
|
## Import
|
1065
1065
|
|
@@ -1121,12 +1121,13 @@ 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 -->
|
1125
1124
|
```python
|
1126
1125
|
import pulumi
|
1127
1126
|
import pulumi_newrelic as newrelic
|
1128
1127
|
|
1129
|
-
foo = newrelic.cloud.GcpLinkAccount("foo",
|
1128
|
+
foo = newrelic.cloud.GcpLinkAccount("foo",
|
1129
|
+
name="example",
|
1130
|
+
project_id="<Your GCP project ID>")
|
1130
1131
|
foo1 = newrelic.cloud.GcpIntegrations("foo1",
|
1131
1132
|
linked_account_id=foo.id,
|
1132
1133
|
app_engine=newrelic.cloud.GcpIntegrationsAppEngineArgs(
|
@@ -1209,7 +1210,6 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1209
1210
|
metrics_polling_interval=400,
|
1210
1211
|
))
|
1211
1212
|
```
|
1212
|
-
<!--End PulumiCodeChooser -->
|
1213
1213
|
|
1214
1214
|
## Import
|
1215
1215
|
|
@@ -150,16 +150,15 @@ 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 -->
|
154
153
|
```python
|
155
154
|
import pulumi
|
156
155
|
import pulumi_newrelic as newrelic
|
157
156
|
|
158
157
|
foo = newrelic.cloud.GcpLinkAccount("foo",
|
159
158
|
account_id="account id of newrelic account",
|
160
|
-
project_id="id of the Project"
|
159
|
+
project_id="id of the Project",
|
160
|
+
name="account name")
|
161
161
|
```
|
162
|
-
<!--End PulumiCodeChooser -->
|
163
162
|
|
164
163
|
## Import
|
165
164
|
|
@@ -202,16 +201,15 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
202
201
|
|
203
202
|
You can also use the full example, including the GCP set up, found in our guides.
|
204
203
|
|
205
|
-
<!--Start PulumiCodeChooser -->
|
206
204
|
```python
|
207
205
|
import pulumi
|
208
206
|
import pulumi_newrelic as newrelic
|
209
207
|
|
210
208
|
foo = newrelic.cloud.GcpLinkAccount("foo",
|
211
209
|
account_id="account id of newrelic account",
|
212
|
-
project_id="id of the Project"
|
210
|
+
project_id="id of the Project",
|
211
|
+
name="account name")
|
213
212
|
```
|
214
|
-
<!--End PulumiCodeChooser -->
|
215
213
|
|
216
214
|
## Import
|
217
215
|
|