pulumi-newrelic 5.24.0a1715356536__py3-none-any.whl → 5.25.0__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 +499 -93
- pulumi_newrelic/account_management.py +14 -14
- pulumi_newrelic/alert_channel.py +38 -38
- pulumi_newrelic/alert_condition.py +153 -112
- pulumi_newrelic/alert_muting_rule.py +31 -31
- pulumi_newrelic/alert_policy.py +47 -41
- pulumi_newrelic/alert_policy_channel.py +42 -42
- pulumi_newrelic/api_access_key.py +28 -28
- pulumi_newrelic/browser_application.py +14 -14
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +28 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +14 -14
- pulumi_newrelic/cloud/aws_integrations.py +28 -28
- pulumi_newrelic/cloud/aws_link_account.py +14 -14
- pulumi_newrelic/cloud/azure_integrations.py +28 -28
- pulumi_newrelic/cloud/azure_link_account.py +14 -14
- pulumi_newrelic/cloud/gcp_integrations.py +28 -28
- pulumi_newrelic/cloud/gcp_link_account.py +14 -14
- pulumi_newrelic/config/__init__.pyi +1 -1
- pulumi_newrelic/config/vars.py +2 -2
- pulumi_newrelic/data_partition_rule.py +14 -14
- pulumi_newrelic/entity_tags.py +7 -7
- pulumi_newrelic/events_to_metrics_rule.py +16 -16
- pulumi_newrelic/get_account.py +7 -7
- pulumi_newrelic/get_alert_channel.py +8 -8
- pulumi_newrelic/get_alert_policy.py +16 -7
- pulumi_newrelic/get_application.py +2 -2
- pulumi_newrelic/get_cloud_account.py +9 -9
- pulumi_newrelic/get_entity.py +15 -15
- pulumi_newrelic/get_notification_destination.py +7 -7
- pulumi_newrelic/get_obfuscation_expression.py +9 -9
- pulumi_newrelic/get_service_level_alert_helper.py +28 -10
- pulumi_newrelic/get_test_grok_pattern.py +7 -7
- pulumi_newrelic/infra_alert_condition.py +119 -140
- pulumi_newrelic/insights/event.py +13 -0
- pulumi_newrelic/log_parsing_rule.py +14 -14
- pulumi_newrelic/monitor_downtime.py +14 -14
- pulumi_newrelic/notification_channel.py +36 -36
- pulumi_newrelic/notification_destination.py +28 -24
- pulumi_newrelic/nrql_alert_condition.py +32 -32
- pulumi_newrelic/nrql_drop_rule.py +44 -44
- pulumi_newrelic/obfuscation_expression.py +16 -16
- pulumi_newrelic/obfuscation_rule.py +14 -14
- pulumi_newrelic/one_dashboard.py +58 -52
- pulumi_newrelic/one_dashboard_json.py +14 -14
- pulumi_newrelic/one_dashboard_raw.py +14 -14
- pulumi_newrelic/outputs.py +482 -77
- pulumi_newrelic/plugins/_inputs.py +8 -8
- pulumi_newrelic/plugins/outputs.py +8 -8
- pulumi_newrelic/plugins/workload.py +83 -83
- pulumi_newrelic/provider.py +14 -9
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +85 -6
- pulumi_newrelic/synthetics/alert_condition.py +56 -28
- pulumi_newrelic/synthetics/broken_links_monitor.py +32 -14
- pulumi_newrelic/synthetics/cert_check_monitor.py +32 -14
- pulumi_newrelic/synthetics/get_private_location.py +11 -11
- pulumi_newrelic/synthetics/get_secure_credential.py +13 -5
- pulumi_newrelic/synthetics/monitor.py +18 -14
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +77 -63
- pulumi_newrelic/synthetics/private_location.py +14 -14
- pulumi_newrelic/synthetics/script_monitor.py +18 -14
- pulumi_newrelic/synthetics/secure_credential.py +24 -31
- pulumi_newrelic/synthetics/step_monitor.py +32 -14
- pulumi_newrelic/workflow.py +14 -14
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.25.0.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.25.0.dist-info/RECORD +89 -0
- pulumi_newrelic-5.24.0a1715356536.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.25.0.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.25.0.dist-info}/top_level.txt +0 -0
@@ -16,8 +16,8 @@ __all__ = ['GcpIntegrationsArgs', 'GcpIntegrations']
|
|
16
16
|
@pulumi.input_type
|
17
17
|
class GcpIntegrationsArgs:
|
18
18
|
def __init__(__self__, *,
|
19
|
-
linked_account_id: pulumi.Input[
|
20
|
-
account_id: Optional[pulumi.Input[
|
19
|
+
linked_account_id: pulumi.Input[str],
|
20
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
21
21
|
alloy_db: Optional[pulumi.Input['GcpIntegrationsAlloyDbArgs']] = None,
|
22
22
|
app_engine: Optional[pulumi.Input['GcpIntegrationsAppEngineArgs']] = None,
|
23
23
|
big_query: Optional[pulumi.Input['GcpIntegrationsBigQueryArgs']] = None,
|
@@ -46,10 +46,10 @@ class GcpIntegrationsArgs:
|
|
46
46
|
vpc_access: Optional[pulumi.Input['GcpIntegrationsVpcAccessArgs']] = None):
|
47
47
|
"""
|
48
48
|
The set of arguments for constructing a GcpIntegrations resource.
|
49
|
-
:param pulumi.Input[
|
49
|
+
:param pulumi.Input[str] linked_account_id: The ID of the linked GCP account in New Relic.
|
50
50
|
|
51
51
|
The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 300 seconds.
|
52
|
-
:param pulumi.Input[
|
52
|
+
:param pulumi.Input[str] 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`.
|
53
53
|
:param pulumi.Input['GcpIntegrationsAlloyDbArgs'] alloy_db: Alloy DB integration. See Integration blocks below for details.
|
54
54
|
:param pulumi.Input['GcpIntegrationsAppEngineArgs'] app_engine: App Engine integration. See Integration blocks below for details.
|
55
55
|
:param pulumi.Input['GcpIntegrationsBigQueryArgs'] big_query: Biq Query integration. See Integration blocks below for details.
|
@@ -135,7 +135,7 @@ class GcpIntegrationsArgs:
|
|
135
135
|
|
136
136
|
@property
|
137
137
|
@pulumi.getter(name="linkedAccountId")
|
138
|
-
def linked_account_id(self) -> pulumi.Input[
|
138
|
+
def linked_account_id(self) -> pulumi.Input[str]:
|
139
139
|
"""
|
140
140
|
The ID of the linked GCP account in New Relic.
|
141
141
|
|
@@ -144,19 +144,19 @@ class GcpIntegrationsArgs:
|
|
144
144
|
return pulumi.get(self, "linked_account_id")
|
145
145
|
|
146
146
|
@linked_account_id.setter
|
147
|
-
def linked_account_id(self, value: pulumi.Input[
|
147
|
+
def linked_account_id(self, value: pulumi.Input[str]):
|
148
148
|
pulumi.set(self, "linked_account_id", value)
|
149
149
|
|
150
150
|
@property
|
151
151
|
@pulumi.getter(name="accountId")
|
152
|
-
def account_id(self) -> Optional[pulumi.Input[
|
152
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
153
153
|
"""
|
154
154
|
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`.
|
155
155
|
"""
|
156
156
|
return pulumi.get(self, "account_id")
|
157
157
|
|
158
158
|
@account_id.setter
|
159
|
-
def account_id(self, value: Optional[pulumi.Input[
|
159
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
160
160
|
pulumi.set(self, "account_id", value)
|
161
161
|
|
162
162
|
@property
|
@@ -475,7 +475,7 @@ class GcpIntegrationsArgs:
|
|
475
475
|
@pulumi.input_type
|
476
476
|
class _GcpIntegrationsState:
|
477
477
|
def __init__(__self__, *,
|
478
|
-
account_id: Optional[pulumi.Input[
|
478
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
479
479
|
alloy_db: Optional[pulumi.Input['GcpIntegrationsAlloyDbArgs']] = None,
|
480
480
|
app_engine: Optional[pulumi.Input['GcpIntegrationsAppEngineArgs']] = None,
|
481
481
|
big_query: Optional[pulumi.Input['GcpIntegrationsBigQueryArgs']] = None,
|
@@ -491,7 +491,7 @@ class _GcpIntegrationsState:
|
|
491
491
|
functions: Optional[pulumi.Input['GcpIntegrationsFunctionsArgs']] = None,
|
492
492
|
interconnect: Optional[pulumi.Input['GcpIntegrationsInterconnectArgs']] = None,
|
493
493
|
kubernetes: Optional[pulumi.Input['GcpIntegrationsKubernetesArgs']] = None,
|
494
|
-
linked_account_id: Optional[pulumi.Input[
|
494
|
+
linked_account_id: Optional[pulumi.Input[str]] = None,
|
495
495
|
load_balancing: Optional[pulumi.Input['GcpIntegrationsLoadBalancingArgs']] = None,
|
496
496
|
mem_cache: Optional[pulumi.Input['GcpIntegrationsMemCacheArgs']] = None,
|
497
497
|
pub_sub: Optional[pulumi.Input['GcpIntegrationsPubSubArgs']] = None,
|
@@ -505,7 +505,7 @@ class _GcpIntegrationsState:
|
|
505
505
|
vpc_access: Optional[pulumi.Input['GcpIntegrationsVpcAccessArgs']] = None):
|
506
506
|
"""
|
507
507
|
Input properties used for looking up and filtering GcpIntegrations resources.
|
508
|
-
:param pulumi.Input[
|
508
|
+
:param pulumi.Input[str] 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`.
|
509
509
|
:param pulumi.Input['GcpIntegrationsAlloyDbArgs'] alloy_db: Alloy DB integration. See Integration blocks below for details.
|
510
510
|
:param pulumi.Input['GcpIntegrationsAppEngineArgs'] app_engine: App Engine integration. See Integration blocks below for details.
|
511
511
|
:param pulumi.Input['GcpIntegrationsBigQueryArgs'] big_query: Biq Query integration. See Integration blocks below for details.
|
@@ -521,7 +521,7 @@ class _GcpIntegrationsState:
|
|
521
521
|
:param pulumi.Input['GcpIntegrationsFunctionsArgs'] functions: Functions integration. See Integration blocks below for details.
|
522
522
|
:param pulumi.Input['GcpIntegrationsInterconnectArgs'] interconnect: Interconnect integration. See Integration blocks below for details.
|
523
523
|
:param pulumi.Input['GcpIntegrationsKubernetesArgs'] kubernetes: Kubernetes integration. See Integration blocks below for details.
|
524
|
-
:param pulumi.Input[
|
524
|
+
:param pulumi.Input[str] linked_account_id: The ID of the linked GCP account in New Relic.
|
525
525
|
|
526
526
|
The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 300 seconds.
|
527
527
|
:param pulumi.Input['GcpIntegrationsLoadBalancingArgs'] load_balancing: Load Balancing integration. See Integration blocks below for details.
|
@@ -595,14 +595,14 @@ class _GcpIntegrationsState:
|
|
595
595
|
|
596
596
|
@property
|
597
597
|
@pulumi.getter(name="accountId")
|
598
|
-
def account_id(self) -> Optional[pulumi.Input[
|
598
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
599
599
|
"""
|
600
600
|
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`.
|
601
601
|
"""
|
602
602
|
return pulumi.get(self, "account_id")
|
603
603
|
|
604
604
|
@account_id.setter
|
605
|
-
def account_id(self, value: Optional[pulumi.Input[
|
605
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
606
606
|
pulumi.set(self, "account_id", value)
|
607
607
|
|
608
608
|
@property
|
@@ -787,7 +787,7 @@ class _GcpIntegrationsState:
|
|
787
787
|
|
788
788
|
@property
|
789
789
|
@pulumi.getter(name="linkedAccountId")
|
790
|
-
def linked_account_id(self) -> Optional[pulumi.Input[
|
790
|
+
def linked_account_id(self) -> Optional[pulumi.Input[str]]:
|
791
791
|
"""
|
792
792
|
The ID of the linked GCP account in New Relic.
|
793
793
|
|
@@ -796,7 +796,7 @@ class _GcpIntegrationsState:
|
|
796
796
|
return pulumi.get(self, "linked_account_id")
|
797
797
|
|
798
798
|
@linked_account_id.setter
|
799
|
-
def linked_account_id(self, value: Optional[pulumi.Input[
|
799
|
+
def linked_account_id(self, value: Optional[pulumi.Input[str]]):
|
800
800
|
pulumi.set(self, "linked_account_id", value)
|
801
801
|
|
802
802
|
@property
|
@@ -937,7 +937,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
937
937
|
def __init__(__self__,
|
938
938
|
resource_name: str,
|
939
939
|
opts: Optional[pulumi.ResourceOptions] = None,
|
940
|
-
account_id: Optional[pulumi.Input[
|
940
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
941
941
|
alloy_db: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsAlloyDbArgs']]] = None,
|
942
942
|
app_engine: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsAppEngineArgs']]] = None,
|
943
943
|
big_query: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsBigQueryArgs']]] = None,
|
@@ -953,7 +953,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
953
953
|
functions: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsFunctionsArgs']]] = None,
|
954
954
|
interconnect: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsInterconnectArgs']]] = None,
|
955
955
|
kubernetes: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsKubernetesArgs']]] = None,
|
956
|
-
linked_account_id: Optional[pulumi.Input[
|
956
|
+
linked_account_id: Optional[pulumi.Input[str]] = None,
|
957
957
|
load_balancing: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsLoadBalancingArgs']]] = None,
|
958
958
|
mem_cache: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsMemCacheArgs']]] = None,
|
959
959
|
pub_sub: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsPubSubArgs']]] = None,
|
@@ -1081,7 +1081,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1081
1081
|
|
1082
1082
|
:param str resource_name: The name of the resource.
|
1083
1083
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1084
|
-
:param pulumi.Input[
|
1084
|
+
:param pulumi.Input[str] 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`.
|
1085
1085
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsAlloyDbArgs']] alloy_db: Alloy DB integration. See Integration blocks below for details.
|
1086
1086
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsAppEngineArgs']] app_engine: App Engine integration. See Integration blocks below for details.
|
1087
1087
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsBigQueryArgs']] big_query: Biq Query integration. See Integration blocks below for details.
|
@@ -1097,7 +1097,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1097
1097
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsFunctionsArgs']] functions: Functions integration. See Integration blocks below for details.
|
1098
1098
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsInterconnectArgs']] interconnect: Interconnect integration. See Integration blocks below for details.
|
1099
1099
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsKubernetesArgs']] kubernetes: Kubernetes integration. See Integration blocks below for details.
|
1100
|
-
:param pulumi.Input[
|
1100
|
+
:param pulumi.Input[str] linked_account_id: The ID of the linked GCP account in New Relic.
|
1101
1101
|
|
1102
1102
|
The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 300 seconds.
|
1103
1103
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsLoadBalancingArgs']] load_balancing: Load Balancing integration. See Integration blocks below for details.
|
@@ -1246,7 +1246,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1246
1246
|
def _internal_init(__self__,
|
1247
1247
|
resource_name: str,
|
1248
1248
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1249
|
-
account_id: Optional[pulumi.Input[
|
1249
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
1250
1250
|
alloy_db: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsAlloyDbArgs']]] = None,
|
1251
1251
|
app_engine: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsAppEngineArgs']]] = None,
|
1252
1252
|
big_query: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsBigQueryArgs']]] = None,
|
@@ -1262,7 +1262,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1262
1262
|
functions: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsFunctionsArgs']]] = None,
|
1263
1263
|
interconnect: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsInterconnectArgs']]] = None,
|
1264
1264
|
kubernetes: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsKubernetesArgs']]] = None,
|
1265
|
-
linked_account_id: Optional[pulumi.Input[
|
1265
|
+
linked_account_id: Optional[pulumi.Input[str]] = None,
|
1266
1266
|
load_balancing: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsLoadBalancingArgs']]] = None,
|
1267
1267
|
mem_cache: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsMemCacheArgs']]] = None,
|
1268
1268
|
pub_sub: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsPubSubArgs']]] = None,
|
@@ -1323,7 +1323,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1323
1323
|
def get(resource_name: str,
|
1324
1324
|
id: pulumi.Input[str],
|
1325
1325
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1326
|
-
account_id: Optional[pulumi.Input[
|
1326
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
1327
1327
|
alloy_db: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsAlloyDbArgs']]] = None,
|
1328
1328
|
app_engine: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsAppEngineArgs']]] = None,
|
1329
1329
|
big_query: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsBigQueryArgs']]] = None,
|
@@ -1339,7 +1339,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1339
1339
|
functions: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsFunctionsArgs']]] = None,
|
1340
1340
|
interconnect: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsInterconnectArgs']]] = None,
|
1341
1341
|
kubernetes: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsKubernetesArgs']]] = None,
|
1342
|
-
linked_account_id: Optional[pulumi.Input[
|
1342
|
+
linked_account_id: Optional[pulumi.Input[str]] = None,
|
1343
1343
|
load_balancing: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsLoadBalancingArgs']]] = None,
|
1344
1344
|
mem_cache: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsMemCacheArgs']]] = None,
|
1345
1345
|
pub_sub: Optional[pulumi.Input[pulumi.InputType['GcpIntegrationsPubSubArgs']]] = None,
|
@@ -1358,7 +1358,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1358
1358
|
:param str resource_name: The unique name of the resulting resource.
|
1359
1359
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1360
1360
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1361
|
-
:param pulumi.Input[
|
1361
|
+
:param pulumi.Input[str] 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`.
|
1362
1362
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsAlloyDbArgs']] alloy_db: Alloy DB integration. See Integration blocks below for details.
|
1363
1363
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsAppEngineArgs']] app_engine: App Engine integration. See Integration blocks below for details.
|
1364
1364
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsBigQueryArgs']] big_query: Biq Query integration. See Integration blocks below for details.
|
@@ -1374,7 +1374,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1374
1374
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsFunctionsArgs']] functions: Functions integration. See Integration blocks below for details.
|
1375
1375
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsInterconnectArgs']] interconnect: Interconnect integration. See Integration blocks below for details.
|
1376
1376
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsKubernetesArgs']] kubernetes: Kubernetes integration. See Integration blocks below for details.
|
1377
|
-
:param pulumi.Input[
|
1377
|
+
:param pulumi.Input[str] linked_account_id: The ID of the linked GCP account in New Relic.
|
1378
1378
|
|
1379
1379
|
The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 300 seconds.
|
1380
1380
|
:param pulumi.Input[pulumi.InputType['GcpIntegrationsLoadBalancingArgs']] load_balancing: Load Balancing integration. See Integration blocks below for details.
|
@@ -1425,7 +1425,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1425
1425
|
|
1426
1426
|
@property
|
1427
1427
|
@pulumi.getter(name="accountId")
|
1428
|
-
def account_id(self) -> pulumi.Output[
|
1428
|
+
def account_id(self) -> pulumi.Output[str]:
|
1429
1429
|
"""
|
1430
1430
|
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`.
|
1431
1431
|
"""
|
@@ -1553,7 +1553,7 @@ class GcpIntegrations(pulumi.CustomResource):
|
|
1553
1553
|
|
1554
1554
|
@property
|
1555
1555
|
@pulumi.getter(name="linkedAccountId")
|
1556
|
-
def linked_account_id(self) -> pulumi.Output[
|
1556
|
+
def linked_account_id(self) -> pulumi.Output[str]:
|
1557
1557
|
"""
|
1558
1558
|
The ID of the linked GCP account in New Relic.
|
1559
1559
|
|
@@ -15,12 +15,12 @@ __all__ = ['GcpLinkAccountArgs', 'GcpLinkAccount']
|
|
15
15
|
class GcpLinkAccountArgs:
|
16
16
|
def __init__(__self__, *,
|
17
17
|
project_id: pulumi.Input[str],
|
18
|
-
account_id: Optional[pulumi.Input[
|
18
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
19
19
|
name: Optional[pulumi.Input[str]] = None):
|
20
20
|
"""
|
21
21
|
The set of arguments for constructing a GcpLinkAccount resource.
|
22
22
|
:param pulumi.Input[str] project_id: Project ID of the GCP account.
|
23
|
-
:param pulumi.Input[
|
23
|
+
:param pulumi.Input[str] account_id: Account ID of the New Relic account.
|
24
24
|
:param pulumi.Input[str] name: name of the linked account
|
25
25
|
"""
|
26
26
|
pulumi.set(__self__, "project_id", project_id)
|
@@ -43,14 +43,14 @@ class GcpLinkAccountArgs:
|
|
43
43
|
|
44
44
|
@property
|
45
45
|
@pulumi.getter(name="accountId")
|
46
|
-
def account_id(self) -> Optional[pulumi.Input[
|
46
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
47
47
|
"""
|
48
48
|
Account ID of the New Relic account.
|
49
49
|
"""
|
50
50
|
return pulumi.get(self, "account_id")
|
51
51
|
|
52
52
|
@account_id.setter
|
53
|
-
def account_id(self, value: Optional[pulumi.Input[
|
53
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
54
54
|
pulumi.set(self, "account_id", value)
|
55
55
|
|
56
56
|
@property
|
@@ -69,12 +69,12 @@ class GcpLinkAccountArgs:
|
|
69
69
|
@pulumi.input_type
|
70
70
|
class _GcpLinkAccountState:
|
71
71
|
def __init__(__self__, *,
|
72
|
-
account_id: Optional[pulumi.Input[
|
72
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
73
73
|
name: Optional[pulumi.Input[str]] = None,
|
74
74
|
project_id: Optional[pulumi.Input[str]] = None):
|
75
75
|
"""
|
76
76
|
Input properties used for looking up and filtering GcpLinkAccount resources.
|
77
|
-
:param pulumi.Input[
|
77
|
+
:param pulumi.Input[str] account_id: Account ID of the New Relic account.
|
78
78
|
:param pulumi.Input[str] name: name of the linked account
|
79
79
|
:param pulumi.Input[str] project_id: Project ID of the GCP account.
|
80
80
|
"""
|
@@ -87,14 +87,14 @@ class _GcpLinkAccountState:
|
|
87
87
|
|
88
88
|
@property
|
89
89
|
@pulumi.getter(name="accountId")
|
90
|
-
def account_id(self) -> Optional[pulumi.Input[
|
90
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
91
91
|
"""
|
92
92
|
Account ID of the New Relic account.
|
93
93
|
"""
|
94
94
|
return pulumi.get(self, "account_id")
|
95
95
|
|
96
96
|
@account_id.setter
|
97
|
-
def account_id(self, value: Optional[pulumi.Input[
|
97
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
98
98
|
pulumi.set(self, "account_id", value)
|
99
99
|
|
100
100
|
@property
|
@@ -127,7 +127,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
127
127
|
def __init__(__self__,
|
128
128
|
resource_name: str,
|
129
129
|
opts: Optional[pulumi.ResourceOptions] = None,
|
130
|
-
account_id: Optional[pulumi.Input[
|
130
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
131
131
|
name: Optional[pulumi.Input[str]] = None,
|
132
132
|
project_id: Optional[pulumi.Input[str]] = None,
|
133
133
|
__props__=None):
|
@@ -172,7 +172,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
172
172
|
|
173
173
|
:param str resource_name: The name of the resource.
|
174
174
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
175
|
-
:param pulumi.Input[
|
175
|
+
:param pulumi.Input[str] account_id: Account ID of the New Relic account.
|
176
176
|
:param pulumi.Input[str] name: name of the linked account
|
177
177
|
:param pulumi.Input[str] project_id: Project ID of the GCP account.
|
178
178
|
"""
|
@@ -236,7 +236,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
236
236
|
def _internal_init(__self__,
|
237
237
|
resource_name: str,
|
238
238
|
opts: Optional[pulumi.ResourceOptions] = None,
|
239
|
-
account_id: Optional[pulumi.Input[
|
239
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
240
240
|
name: Optional[pulumi.Input[str]] = None,
|
241
241
|
project_id: Optional[pulumi.Input[str]] = None,
|
242
242
|
__props__=None):
|
@@ -263,7 +263,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
263
263
|
def get(resource_name: str,
|
264
264
|
id: pulumi.Input[str],
|
265
265
|
opts: Optional[pulumi.ResourceOptions] = None,
|
266
|
-
account_id: Optional[pulumi.Input[
|
266
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
267
267
|
name: Optional[pulumi.Input[str]] = None,
|
268
268
|
project_id: Optional[pulumi.Input[str]] = None) -> 'GcpLinkAccount':
|
269
269
|
"""
|
@@ -273,7 +273,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
273
273
|
:param str resource_name: The unique name of the resulting resource.
|
274
274
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
275
275
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
276
|
-
:param pulumi.Input[
|
276
|
+
:param pulumi.Input[str] account_id: Account ID of the New Relic account.
|
277
277
|
:param pulumi.Input[str] name: name of the linked account
|
278
278
|
:param pulumi.Input[str] project_id: Project ID of the GCP account.
|
279
279
|
"""
|
@@ -288,7 +288,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
288
288
|
|
289
289
|
@property
|
290
290
|
@pulumi.getter(name="accountId")
|
291
|
-
def account_id(self) -> pulumi.Output[
|
291
|
+
def account_id(self) -> pulumi.Output[str]:
|
292
292
|
"""
|
293
293
|
Account ID of the New Relic account.
|
294
294
|
"""
|
pulumi_newrelic/config/vars.py
CHANGED
@@ -16,8 +16,8 @@ __config__ = pulumi.Config('newrelic')
|
|
16
16
|
|
17
17
|
class _ExportableConfig(types.ModuleType):
|
18
18
|
@property
|
19
|
-
def account_id(self) -> Optional[
|
20
|
-
return __config__.
|
19
|
+
def account_id(self) -> Optional[str]:
|
20
|
+
return __config__.get('accountId') or _utilities.get_env('NEW_RELIC_ACCOUNT_ID')
|
21
21
|
|
22
22
|
@property
|
23
23
|
def admin_api_key(self) -> Optional[str]:
|
@@ -18,7 +18,7 @@ class DataPartitionRuleArgs:
|
|
18
18
|
nrql: pulumi.Input[str],
|
19
19
|
retention_policy: pulumi.Input[str],
|
20
20
|
target_data_partition: pulumi.Input[str],
|
21
|
-
account_id: Optional[pulumi.Input[
|
21
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
22
22
|
description: Optional[pulumi.Input[str]] = None):
|
23
23
|
"""
|
24
24
|
The set of arguments for constructing a DataPartitionRule resource.
|
@@ -26,7 +26,7 @@ class DataPartitionRuleArgs:
|
|
26
26
|
:param pulumi.Input[str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
|
27
27
|
:param pulumi.Input[str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
|
28
28
|
:param pulumi.Input[str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled.
|
29
|
-
:param pulumi.Input[
|
29
|
+
:param pulumi.Input[str] account_id: The account id associated with the data partition rule.
|
30
30
|
:param pulumi.Input[str] description: The description of the data partition rule.
|
31
31
|
"""
|
32
32
|
pulumi.set(__self__, "enabled", enabled)
|
@@ -88,14 +88,14 @@ class DataPartitionRuleArgs:
|
|
88
88
|
|
89
89
|
@property
|
90
90
|
@pulumi.getter(name="accountId")
|
91
|
-
def account_id(self) -> Optional[pulumi.Input[
|
91
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
92
92
|
"""
|
93
93
|
The account id associated with the data partition rule.
|
94
94
|
"""
|
95
95
|
return pulumi.get(self, "account_id")
|
96
96
|
|
97
97
|
@account_id.setter
|
98
|
-
def account_id(self, value: Optional[pulumi.Input[
|
98
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
99
99
|
pulumi.set(self, "account_id", value)
|
100
100
|
|
101
101
|
@property
|
@@ -114,7 +114,7 @@ class DataPartitionRuleArgs:
|
|
114
114
|
@pulumi.input_type
|
115
115
|
class _DataPartitionRuleState:
|
116
116
|
def __init__(__self__, *,
|
117
|
-
account_id: Optional[pulumi.Input[
|
117
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
118
118
|
deleted: Optional[pulumi.Input[bool]] = None,
|
119
119
|
description: Optional[pulumi.Input[str]] = None,
|
120
120
|
enabled: Optional[pulumi.Input[bool]] = None,
|
@@ -123,7 +123,7 @@ class _DataPartitionRuleState:
|
|
123
123
|
target_data_partition: Optional[pulumi.Input[str]] = None):
|
124
124
|
"""
|
125
125
|
Input properties used for looking up and filtering DataPartitionRule resources.
|
126
|
-
:param pulumi.Input[
|
126
|
+
:param pulumi.Input[str] account_id: The account id associated with the data partition rule.
|
127
127
|
:param pulumi.Input[bool] deleted: Whether or not this data partition rule is deleted. Deleting a data partition rule does not delete the already persisted data. This data will be retained for a given period of time specified in the retention policy field.
|
128
128
|
:param pulumi.Input[str] description: The description of the data partition rule.
|
129
129
|
:param pulumi.Input[bool] enabled: Whether or not this data partition rule is enabled.
|
@@ -148,14 +148,14 @@ class _DataPartitionRuleState:
|
|
148
148
|
|
149
149
|
@property
|
150
150
|
@pulumi.getter(name="accountId")
|
151
|
-
def account_id(self) -> Optional[pulumi.Input[
|
151
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
152
152
|
"""
|
153
153
|
The account id associated with the data partition rule.
|
154
154
|
"""
|
155
155
|
return pulumi.get(self, "account_id")
|
156
156
|
|
157
157
|
@account_id.setter
|
158
|
-
def account_id(self, value: Optional[pulumi.Input[
|
158
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
159
159
|
pulumi.set(self, "account_id", value)
|
160
160
|
|
161
161
|
@property
|
@@ -236,7 +236,7 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
236
236
|
def __init__(__self__,
|
237
237
|
resource_name: str,
|
238
238
|
opts: Optional[pulumi.ResourceOptions] = None,
|
239
|
-
account_id: Optional[pulumi.Input[
|
239
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
240
240
|
description: Optional[pulumi.Input[str]] = None,
|
241
241
|
enabled: Optional[pulumi.Input[bool]] = None,
|
242
242
|
nrql: Optional[pulumi.Input[str]] = None,
|
@@ -276,7 +276,7 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
276
276
|
|
277
277
|
:param str resource_name: The name of the resource.
|
278
278
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
279
|
-
:param pulumi.Input[
|
279
|
+
:param pulumi.Input[str] account_id: The account id associated with the data partition rule.
|
280
280
|
:param pulumi.Input[str] description: The description of the data partition rule.
|
281
281
|
:param pulumi.Input[bool] enabled: Whether or not this data partition rule is enabled.
|
282
282
|
:param pulumi.Input[str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
|
@@ -335,7 +335,7 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
335
335
|
def _internal_init(__self__,
|
336
336
|
resource_name: str,
|
337
337
|
opts: Optional[pulumi.ResourceOptions] = None,
|
338
|
-
account_id: Optional[pulumi.Input[
|
338
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
339
339
|
description: Optional[pulumi.Input[str]] = None,
|
340
340
|
enabled: Optional[pulumi.Input[bool]] = None,
|
341
341
|
nrql: Optional[pulumi.Input[str]] = None,
|
@@ -375,7 +375,7 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
375
375
|
def get(resource_name: str,
|
376
376
|
id: pulumi.Input[str],
|
377
377
|
opts: Optional[pulumi.ResourceOptions] = None,
|
378
|
-
account_id: Optional[pulumi.Input[
|
378
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
379
379
|
deleted: Optional[pulumi.Input[bool]] = None,
|
380
380
|
description: Optional[pulumi.Input[str]] = None,
|
381
381
|
enabled: Optional[pulumi.Input[bool]] = None,
|
@@ -389,7 +389,7 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
389
389
|
:param str resource_name: The unique name of the resulting resource.
|
390
390
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
391
391
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
392
|
-
:param pulumi.Input[
|
392
|
+
:param pulumi.Input[str] account_id: The account id associated with the data partition rule.
|
393
393
|
:param pulumi.Input[bool] deleted: Whether or not this data partition rule is deleted. Deleting a data partition rule does not delete the already persisted data. This data will be retained for a given period of time specified in the retention policy field.
|
394
394
|
:param pulumi.Input[str] description: The description of the data partition rule.
|
395
395
|
:param pulumi.Input[bool] enabled: Whether or not this data partition rule is enabled.
|
@@ -412,7 +412,7 @@ class DataPartitionRule(pulumi.CustomResource):
|
|
412
412
|
|
413
413
|
@property
|
414
414
|
@pulumi.getter(name="accountId")
|
415
|
-
def account_id(self) -> pulumi.Output[
|
415
|
+
def account_id(self) -> pulumi.Output[str]:
|
416
416
|
"""
|
417
417
|
The account id associated with the data partition rule.
|
418
418
|
"""
|
pulumi_newrelic/entity_tags.py
CHANGED
@@ -21,7 +21,7 @@ class EntityTagsArgs:
|
|
21
21
|
"""
|
22
22
|
The set of arguments for constructing a EntityTags resource.
|
23
23
|
:param pulumi.Input[str] guid: The guid of the entity to tag.
|
24
|
-
:param pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]] tags: A
|
24
|
+
:param pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]] tags: A nested block that describes an entity tag. See Nested tag blocks below for details.
|
25
25
|
"""
|
26
26
|
pulumi.set(__self__, "guid", guid)
|
27
27
|
pulumi.set(__self__, "tags", tags)
|
@@ -42,7 +42,7 @@ class EntityTagsArgs:
|
|
42
42
|
@pulumi.getter
|
43
43
|
def tags(self) -> pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]]:
|
44
44
|
"""
|
45
|
-
A
|
45
|
+
A nested block that describes an entity tag. See Nested tag blocks below for details.
|
46
46
|
"""
|
47
47
|
return pulumi.get(self, "tags")
|
48
48
|
|
@@ -59,7 +59,7 @@ class _EntityTagsState:
|
|
59
59
|
"""
|
60
60
|
Input properties used for looking up and filtering EntityTags resources.
|
61
61
|
:param pulumi.Input[str] guid: The guid of the entity to tag.
|
62
|
-
:param pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]] tags: A
|
62
|
+
:param pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]] tags: A nested block that describes an entity tag. See Nested tag blocks below for details.
|
63
63
|
"""
|
64
64
|
if guid is not None:
|
65
65
|
pulumi.set(__self__, "guid", guid)
|
@@ -82,7 +82,7 @@ class _EntityTagsState:
|
|
82
82
|
@pulumi.getter
|
83
83
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]]]:
|
84
84
|
"""
|
85
|
-
A
|
85
|
+
A nested block that describes an entity tag. See Nested tag blocks below for details.
|
86
86
|
"""
|
87
87
|
return pulumi.get(self, "tags")
|
88
88
|
|
@@ -143,7 +143,7 @@ class EntityTags(pulumi.CustomResource):
|
|
143
143
|
:param str resource_name: The name of the resource.
|
144
144
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
145
145
|
:param pulumi.Input[str] guid: The guid of the entity to tag.
|
146
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntityTagsTagArgs']]]] tags: A
|
146
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntityTagsTagArgs']]]] tags: A nested block that describes an entity tag. See Nested tag blocks below for details.
|
147
147
|
"""
|
148
148
|
...
|
149
149
|
@overload
|
@@ -244,7 +244,7 @@ class EntityTags(pulumi.CustomResource):
|
|
244
244
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
245
245
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
246
246
|
:param pulumi.Input[str] guid: The guid of the entity to tag.
|
247
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntityTagsTagArgs']]]] tags: A
|
247
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntityTagsTagArgs']]]] tags: A nested block that describes an entity tag. See Nested tag blocks below for details.
|
248
248
|
"""
|
249
249
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
250
250
|
|
@@ -266,7 +266,7 @@ class EntityTags(pulumi.CustomResource):
|
|
266
266
|
@pulumi.getter
|
267
267
|
def tags(self) -> pulumi.Output[Sequence['outputs.EntityTagsTag']]:
|
268
268
|
"""
|
269
|
-
A
|
269
|
+
A nested block that describes an entity tag. See Nested tag blocks below for details.
|
270
270
|
"""
|
271
271
|
return pulumi.get(self, "tags")
|
272
272
|
|