pulumi-newrelic 5.45.0a1743574084__py3-none-any.whl → 5.45.0a1744183332__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/__init__.py +1 -0
- pulumi_newrelic/_inputs.py +2961 -2960
- pulumi_newrelic/account_management.py +29 -28
- pulumi_newrelic/alert_channel.py +43 -42
- pulumi_newrelic/alert_condition.py +176 -175
- pulumi_newrelic/alert_muting_rule.py +71 -70
- pulumi_newrelic/alert_policy.py +57 -56
- pulumi_newrelic/alert_policy_channel.py +43 -42
- pulumi_newrelic/api_access_key.py +92 -91
- pulumi_newrelic/browser_application.py +92 -91
- pulumi_newrelic/cloud/__init__.py +1 -0
- pulumi_newrelic/cloud/_inputs.py +1765 -1764
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
- pulumi_newrelic/cloud/aws_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_link_account.py +57 -56
- pulumi_newrelic/cloud/azure_integrations.py +29 -28
- pulumi_newrelic/cloud/azure_link_account.py +85 -84
- pulumi_newrelic/cloud/gcp_integrations.py +29 -28
- pulumi_newrelic/cloud/gcp_link_account.py +45 -44
- pulumi_newrelic/cloud/outputs.py +1057 -1056
- pulumi_newrelic/config/__init__.py +1 -0
- pulumi_newrelic/config/__init__.pyi +1 -0
- pulumi_newrelic/config/vars.py +1 -0
- pulumi_newrelic/data_partition_rule.py +92 -91
- pulumi_newrelic/entity_tags.py +15 -14
- pulumi_newrelic/events_to_metrics_rule.py +78 -77
- pulumi_newrelic/get_account.py +17 -16
- pulumi_newrelic/get_alert_channel.py +14 -13
- pulumi_newrelic/get_alert_policy.py +19 -18
- pulumi_newrelic/get_application.py +9 -8
- pulumi_newrelic/get_authentication_domain.py +7 -6
- pulumi_newrelic/get_cloud_account.py +17 -16
- pulumi_newrelic/get_entity.py +40 -39
- pulumi_newrelic/get_group.py +13 -12
- pulumi_newrelic/get_key_transaction.py +19 -18
- pulumi_newrelic/get_notification_destination.py +20 -19
- pulumi_newrelic/get_obfuscation_expression.py +12 -11
- pulumi_newrelic/get_service_level_alert_helper.py +41 -40
- pulumi_newrelic/get_test_grok_pattern.py +17 -16
- pulumi_newrelic/get_user.py +17 -16
- pulumi_newrelic/group.py +43 -42
- pulumi_newrelic/infra_alert_condition.py +204 -203
- pulumi_newrelic/insights/__init__.py +1 -0
- pulumi_newrelic/insights/_inputs.py +26 -25
- pulumi_newrelic/insights/event.py +1 -0
- pulumi_newrelic/insights/outputs.py +16 -15
- pulumi_newrelic/key_transaction.py +85 -84
- pulumi_newrelic/log_parsing_rule.py +120 -119
- pulumi_newrelic/monitor_downtime.py +113 -112
- pulumi_newrelic/notification_channel.py +92 -91
- pulumi_newrelic/notification_destination.py +78 -77
- pulumi_newrelic/nrql_alert_condition.py +330 -329
- pulumi_newrelic/nrql_drop_rule.py +64 -63
- pulumi_newrelic/obfuscation_expression.py +57 -56
- pulumi_newrelic/obfuscation_rule.py +71 -70
- pulumi_newrelic/one_dashboard.py +71 -70
- pulumi_newrelic/one_dashboard_json.py +50 -49
- pulumi_newrelic/one_dashboard_raw.py +71 -70
- pulumi_newrelic/outputs.py +1831 -1830
- pulumi_newrelic/plugins/__init__.py +1 -0
- pulumi_newrelic/plugins/_inputs.py +126 -125
- pulumi_newrelic/plugins/application_settings.py +132 -131
- pulumi_newrelic/plugins/outputs.py +76 -75
- pulumi_newrelic/plugins/workload.py +99 -98
- pulumi_newrelic/provider.py +80 -79
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +57 -56
- pulumi_newrelic/synthetics/__init__.py +1 -0
- pulumi_newrelic/synthetics/_inputs.py +106 -105
- pulumi_newrelic/synthetics/alert_condition.py +78 -77
- pulumi_newrelic/synthetics/broken_links_monitor.py +151 -150
- pulumi_newrelic/synthetics/cert_check_monitor.py +158 -157
- pulumi_newrelic/synthetics/get_private_location.py +17 -16
- pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
- pulumi_newrelic/synthetics/monitor.py +298 -297
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
- pulumi_newrelic/synthetics/outputs.py +64 -63
- pulumi_newrelic/synthetics/private_location.py +85 -84
- pulumi_newrelic/synthetics/script_monitor.py +235 -234
- pulumi_newrelic/synthetics/secure_credential.py +71 -70
- pulumi_newrelic/synthetics/step_monitor.py +165 -164
- pulumi_newrelic/user.py +57 -56
- pulumi_newrelic/workflow.py +106 -105
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.45.0a1744183332.dist-info/RECORD +90 -0
- pulumi_newrelic-5.45.0a1743574084.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -21,8 +22,8 @@ __all__ = ['AwsGovcloudIntegrationsArgs', 'AwsGovcloudIntegrations']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class AwsGovcloudIntegrationsArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
linked_account_id: pulumi.Input[str],
|
25
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
25
|
+
linked_account_id: pulumi.Input[builtins.str],
|
26
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
26
27
|
alb: Optional[pulumi.Input['AwsGovcloudIntegrationsAlbArgs']] = None,
|
27
28
|
api_gateway: Optional[pulumi.Input['AwsGovcloudIntegrationsApiGatewayArgs']] = None,
|
28
29
|
auto_scaling: Optional[pulumi.Input['AwsGovcloudIntegrationsAutoScalingArgs']] = None,
|
@@ -45,8 +46,8 @@ class AwsGovcloudIntegrationsArgs:
|
|
45
46
|
sqs: Optional[pulumi.Input['AwsGovcloudIntegrationsSqsArgs']] = None):
|
46
47
|
"""
|
47
48
|
The set of arguments for constructing a AwsGovcloudIntegrations resource.
|
48
|
-
:param pulumi.Input[str] linked_account_id: The access key of the AwsGovCloud.
|
49
|
-
: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`.
|
49
|
+
:param pulumi.Input[builtins.str] linked_account_id: The access key of the AwsGovCloud.
|
50
|
+
:param pulumi.Input[builtins.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`.
|
50
51
|
:param pulumi.Input['AwsGovcloudIntegrationsAlbArgs'] alb: Application load balancer AwsGovCloud integration.See Integration blocks below for details.
|
51
52
|
:param pulumi.Input['AwsGovcloudIntegrationsApiGatewayArgs'] api_gateway: Api Gateway AwsGovCloud integration.See Integration blocks below for details.
|
52
53
|
:param pulumi.Input['AwsGovcloudIntegrationsAutoScalingArgs'] auto_scaling: Autoscaling AwsGovCloud integration.See Integration blocks below for details.
|
@@ -114,26 +115,26 @@ class AwsGovcloudIntegrationsArgs:
|
|
114
115
|
|
115
116
|
@property
|
116
117
|
@pulumi.getter(name="linkedAccountId")
|
117
|
-
def linked_account_id(self) -> pulumi.Input[str]:
|
118
|
+
def linked_account_id(self) -> pulumi.Input[builtins.str]:
|
118
119
|
"""
|
119
120
|
The access key of the AwsGovCloud.
|
120
121
|
"""
|
121
122
|
return pulumi.get(self, "linked_account_id")
|
122
123
|
|
123
124
|
@linked_account_id.setter
|
124
|
-
def linked_account_id(self, value: pulumi.Input[str]):
|
125
|
+
def linked_account_id(self, value: pulumi.Input[builtins.str]):
|
125
126
|
pulumi.set(self, "linked_account_id", value)
|
126
127
|
|
127
128
|
@property
|
128
129
|
@pulumi.getter(name="accountId")
|
129
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
130
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
130
131
|
"""
|
131
132
|
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`.
|
132
133
|
"""
|
133
134
|
return pulumi.get(self, "account_id")
|
134
135
|
|
135
136
|
@account_id.setter
|
136
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
137
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
137
138
|
pulumi.set(self, "account_id", value)
|
138
139
|
|
139
140
|
@property
|
@@ -380,7 +381,7 @@ class AwsGovcloudIntegrationsArgs:
|
|
380
381
|
@pulumi.input_type
|
381
382
|
class _AwsGovcloudIntegrationsState:
|
382
383
|
def __init__(__self__, *,
|
383
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
384
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
384
385
|
alb: Optional[pulumi.Input['AwsGovcloudIntegrationsAlbArgs']] = None,
|
385
386
|
api_gateway: Optional[pulumi.Input['AwsGovcloudIntegrationsApiGatewayArgs']] = None,
|
386
387
|
auto_scaling: Optional[pulumi.Input['AwsGovcloudIntegrationsAutoScalingArgs']] = None,
|
@@ -395,7 +396,7 @@ class _AwsGovcloudIntegrationsState:
|
|
395
396
|
emr: Optional[pulumi.Input['AwsGovcloudIntegrationsEmrArgs']] = None,
|
396
397
|
iam: Optional[pulumi.Input['AwsGovcloudIntegrationsIamArgs']] = None,
|
397
398
|
lambda_: Optional[pulumi.Input['AwsGovcloudIntegrationsLambdaArgs']] = None,
|
398
|
-
linked_account_id: Optional[pulumi.Input[str]] = None,
|
399
|
+
linked_account_id: Optional[pulumi.Input[builtins.str]] = None,
|
399
400
|
rds: Optional[pulumi.Input['AwsGovcloudIntegrationsRdsArgs']] = None,
|
400
401
|
red_shift: Optional[pulumi.Input['AwsGovcloudIntegrationsRedShiftArgs']] = None,
|
401
402
|
route53: Optional[pulumi.Input['AwsGovcloudIntegrationsRoute53Args']] = None,
|
@@ -404,7 +405,7 @@ class _AwsGovcloudIntegrationsState:
|
|
404
405
|
sqs: Optional[pulumi.Input['AwsGovcloudIntegrationsSqsArgs']] = None):
|
405
406
|
"""
|
406
407
|
Input properties used for looking up and filtering AwsGovcloudIntegrations resources.
|
407
|
-
: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`.
|
408
|
+
:param pulumi.Input[builtins.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`.
|
408
409
|
:param pulumi.Input['AwsGovcloudIntegrationsAlbArgs'] alb: Application load balancer AwsGovCloud integration.See Integration blocks below for details.
|
409
410
|
:param pulumi.Input['AwsGovcloudIntegrationsApiGatewayArgs'] api_gateway: Api Gateway AwsGovCloud integration.See Integration blocks below for details.
|
410
411
|
:param pulumi.Input['AwsGovcloudIntegrationsAutoScalingArgs'] auto_scaling: Autoscaling AwsGovCloud integration.See Integration blocks below for details.
|
@@ -419,7 +420,7 @@ class _AwsGovcloudIntegrationsState:
|
|
419
420
|
:param pulumi.Input['AwsGovcloudIntegrationsEmrArgs'] emr: Emr AwsGovCloud integration.See Integration blocks below for details.
|
420
421
|
:param pulumi.Input['AwsGovcloudIntegrationsIamArgs'] iam: IAM AwsGovCloud integration.See Integration blocks below for details.
|
421
422
|
:param pulumi.Input['AwsGovcloudIntegrationsLambdaArgs'] lambda_: Lambda AwsGovCloud integration.See Integration blocks below for details.
|
422
|
-
:param pulumi.Input[str] linked_account_id: The access key of the AwsGovCloud.
|
423
|
+
:param pulumi.Input[builtins.str] linked_account_id: The access key of the AwsGovCloud.
|
423
424
|
:param pulumi.Input['AwsGovcloudIntegrationsRdsArgs'] rds: RDS AwsGovCloud integration.See Integration blocks below for details.
|
424
425
|
:param pulumi.Input['AwsGovcloudIntegrationsRedShiftArgs'] red_shift: Redshift AwsGovCloud integration.See Integration blocks below for details.
|
425
426
|
:param pulumi.Input['AwsGovcloudIntegrationsRoute53Args'] route53: Route53 AwsGovCloud integration.See Integration blocks below for details.
|
@@ -474,14 +475,14 @@ class _AwsGovcloudIntegrationsState:
|
|
474
475
|
|
475
476
|
@property
|
476
477
|
@pulumi.getter(name="accountId")
|
477
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
478
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
478
479
|
"""
|
479
480
|
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`.
|
480
481
|
"""
|
481
482
|
return pulumi.get(self, "account_id")
|
482
483
|
|
483
484
|
@account_id.setter
|
484
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
485
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
485
486
|
pulumi.set(self, "account_id", value)
|
486
487
|
|
487
488
|
@property
|
@@ -654,14 +655,14 @@ class _AwsGovcloudIntegrationsState:
|
|
654
655
|
|
655
656
|
@property
|
656
657
|
@pulumi.getter(name="linkedAccountId")
|
657
|
-
def linked_account_id(self) -> Optional[pulumi.Input[str]]:
|
658
|
+
def linked_account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
658
659
|
"""
|
659
660
|
The access key of the AwsGovCloud.
|
660
661
|
"""
|
661
662
|
return pulumi.get(self, "linked_account_id")
|
662
663
|
|
663
664
|
@linked_account_id.setter
|
664
|
-
def linked_account_id(self, value: Optional[pulumi.Input[str]]):
|
665
|
+
def linked_account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
665
666
|
pulumi.set(self, "linked_account_id", value)
|
666
667
|
|
667
668
|
@property
|
@@ -742,7 +743,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
742
743
|
def __init__(__self__,
|
743
744
|
resource_name: str,
|
744
745
|
opts: Optional[pulumi.ResourceOptions] = None,
|
745
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
746
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
746
747
|
alb: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAlbArgs', 'AwsGovcloudIntegrationsAlbArgsDict']]] = None,
|
747
748
|
api_gateway: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsApiGatewayArgs', 'AwsGovcloudIntegrationsApiGatewayArgsDict']]] = None,
|
748
749
|
auto_scaling: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAutoScalingArgs', 'AwsGovcloudIntegrationsAutoScalingArgsDict']]] = None,
|
@@ -757,7 +758,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
757
758
|
emr: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEmrArgs', 'AwsGovcloudIntegrationsEmrArgsDict']]] = None,
|
758
759
|
iam: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsIamArgs', 'AwsGovcloudIntegrationsIamArgsDict']]] = None,
|
759
760
|
lambda_: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsLambdaArgs', 'AwsGovcloudIntegrationsLambdaArgsDict']]] = None,
|
760
|
-
linked_account_id: Optional[pulumi.Input[str]] = None,
|
761
|
+
linked_account_id: Optional[pulumi.Input[builtins.str]] = None,
|
761
762
|
rds: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRdsArgs', 'AwsGovcloudIntegrationsRdsArgsDict']]] = None,
|
762
763
|
red_shift: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRedShiftArgs', 'AwsGovcloudIntegrationsRedShiftArgsDict']]] = None,
|
763
764
|
route53: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRoute53Args', 'AwsGovcloudIntegrationsRoute53ArgsDict']]] = None,
|
@@ -790,7 +791,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
790
791
|
|
791
792
|
:param str resource_name: The name of the resource.
|
792
793
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
793
|
-
: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`.
|
794
|
+
:param pulumi.Input[builtins.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`.
|
794
795
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsAlbArgs', 'AwsGovcloudIntegrationsAlbArgsDict']] alb: Application load balancer AwsGovCloud integration.See Integration blocks below for details.
|
795
796
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsApiGatewayArgs', 'AwsGovcloudIntegrationsApiGatewayArgsDict']] api_gateway: Api Gateway AwsGovCloud integration.See Integration blocks below for details.
|
796
797
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsAutoScalingArgs', 'AwsGovcloudIntegrationsAutoScalingArgsDict']] auto_scaling: Autoscaling AwsGovCloud integration.See Integration blocks below for details.
|
@@ -805,7 +806,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
805
806
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsEmrArgs', 'AwsGovcloudIntegrationsEmrArgsDict']] emr: Emr AwsGovCloud integration.See Integration blocks below for details.
|
806
807
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsIamArgs', 'AwsGovcloudIntegrationsIamArgsDict']] iam: IAM AwsGovCloud integration.See Integration blocks below for details.
|
807
808
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsLambdaArgs', 'AwsGovcloudIntegrationsLambdaArgsDict']] lambda_: Lambda AwsGovCloud integration.See Integration blocks below for details.
|
808
|
-
:param pulumi.Input[str] linked_account_id: The access key of the AwsGovCloud.
|
809
|
+
:param pulumi.Input[builtins.str] linked_account_id: The access key of the AwsGovCloud.
|
809
810
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsRdsArgs', 'AwsGovcloudIntegrationsRdsArgsDict']] rds: RDS AwsGovCloud integration.See Integration blocks below for details.
|
810
811
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsRedShiftArgs', 'AwsGovcloudIntegrationsRedShiftArgsDict']] red_shift: Redshift AwsGovCloud integration.See Integration blocks below for details.
|
811
812
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsRoute53Args', 'AwsGovcloudIntegrationsRoute53ArgsDict']] route53: Route53 AwsGovCloud integration.See Integration blocks below for details.
|
@@ -857,7 +858,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
857
858
|
def _internal_init(__self__,
|
858
859
|
resource_name: str,
|
859
860
|
opts: Optional[pulumi.ResourceOptions] = None,
|
860
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
861
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
861
862
|
alb: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAlbArgs', 'AwsGovcloudIntegrationsAlbArgsDict']]] = None,
|
862
863
|
api_gateway: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsApiGatewayArgs', 'AwsGovcloudIntegrationsApiGatewayArgsDict']]] = None,
|
863
864
|
auto_scaling: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAutoScalingArgs', 'AwsGovcloudIntegrationsAutoScalingArgsDict']]] = None,
|
@@ -872,7 +873,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
872
873
|
emr: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEmrArgs', 'AwsGovcloudIntegrationsEmrArgsDict']]] = None,
|
873
874
|
iam: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsIamArgs', 'AwsGovcloudIntegrationsIamArgsDict']]] = None,
|
874
875
|
lambda_: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsLambdaArgs', 'AwsGovcloudIntegrationsLambdaArgsDict']]] = None,
|
875
|
-
linked_account_id: Optional[pulumi.Input[str]] = None,
|
876
|
+
linked_account_id: Optional[pulumi.Input[builtins.str]] = None,
|
876
877
|
rds: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRdsArgs', 'AwsGovcloudIntegrationsRdsArgsDict']]] = None,
|
877
878
|
red_shift: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRedShiftArgs', 'AwsGovcloudIntegrationsRedShiftArgsDict']]] = None,
|
878
879
|
route53: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRoute53Args', 'AwsGovcloudIntegrationsRoute53ArgsDict']]] = None,
|
@@ -922,7 +923,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
922
923
|
def get(resource_name: str,
|
923
924
|
id: pulumi.Input[str],
|
924
925
|
opts: Optional[pulumi.ResourceOptions] = None,
|
925
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
926
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
926
927
|
alb: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAlbArgs', 'AwsGovcloudIntegrationsAlbArgsDict']]] = None,
|
927
928
|
api_gateway: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsApiGatewayArgs', 'AwsGovcloudIntegrationsApiGatewayArgsDict']]] = None,
|
928
929
|
auto_scaling: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAutoScalingArgs', 'AwsGovcloudIntegrationsAutoScalingArgsDict']]] = None,
|
@@ -937,7 +938,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
937
938
|
emr: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEmrArgs', 'AwsGovcloudIntegrationsEmrArgsDict']]] = None,
|
938
939
|
iam: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsIamArgs', 'AwsGovcloudIntegrationsIamArgsDict']]] = None,
|
939
940
|
lambda_: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsLambdaArgs', 'AwsGovcloudIntegrationsLambdaArgsDict']]] = None,
|
940
|
-
linked_account_id: Optional[pulumi.Input[str]] = None,
|
941
|
+
linked_account_id: Optional[pulumi.Input[builtins.str]] = None,
|
941
942
|
rds: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRdsArgs', 'AwsGovcloudIntegrationsRdsArgsDict']]] = None,
|
942
943
|
red_shift: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRedShiftArgs', 'AwsGovcloudIntegrationsRedShiftArgsDict']]] = None,
|
943
944
|
route53: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRoute53Args', 'AwsGovcloudIntegrationsRoute53ArgsDict']]] = None,
|
@@ -951,7 +952,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
951
952
|
:param str resource_name: The unique name of the resulting resource.
|
952
953
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
953
954
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
954
|
-
: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`.
|
955
|
+
:param pulumi.Input[builtins.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`.
|
955
956
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsAlbArgs', 'AwsGovcloudIntegrationsAlbArgsDict']] alb: Application load balancer AwsGovCloud integration.See Integration blocks below for details.
|
956
957
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsApiGatewayArgs', 'AwsGovcloudIntegrationsApiGatewayArgsDict']] api_gateway: Api Gateway AwsGovCloud integration.See Integration blocks below for details.
|
957
958
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsAutoScalingArgs', 'AwsGovcloudIntegrationsAutoScalingArgsDict']] auto_scaling: Autoscaling AwsGovCloud integration.See Integration blocks below for details.
|
@@ -966,7 +967,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
966
967
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsEmrArgs', 'AwsGovcloudIntegrationsEmrArgsDict']] emr: Emr AwsGovCloud integration.See Integration blocks below for details.
|
967
968
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsIamArgs', 'AwsGovcloudIntegrationsIamArgsDict']] iam: IAM AwsGovCloud integration.See Integration blocks below for details.
|
968
969
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsLambdaArgs', 'AwsGovcloudIntegrationsLambdaArgsDict']] lambda_: Lambda AwsGovCloud integration.See Integration blocks below for details.
|
969
|
-
:param pulumi.Input[str] linked_account_id: The access key of the AwsGovCloud.
|
970
|
+
:param pulumi.Input[builtins.str] linked_account_id: The access key of the AwsGovCloud.
|
970
971
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsRdsArgs', 'AwsGovcloudIntegrationsRdsArgsDict']] rds: RDS AwsGovCloud integration.See Integration blocks below for details.
|
971
972
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsRedShiftArgs', 'AwsGovcloudIntegrationsRedShiftArgsDict']] red_shift: Redshift AwsGovCloud integration.See Integration blocks below for details.
|
972
973
|
:param pulumi.Input[Union['AwsGovcloudIntegrationsRoute53Args', 'AwsGovcloudIntegrationsRoute53ArgsDict']] route53: Route53 AwsGovCloud integration.See Integration blocks below for details.
|
@@ -1004,7 +1005,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
1004
1005
|
|
1005
1006
|
@property
|
1006
1007
|
@pulumi.getter(name="accountId")
|
1007
|
-
def account_id(self) -> pulumi.Output[str]:
|
1008
|
+
def account_id(self) -> pulumi.Output[builtins.str]:
|
1008
1009
|
"""
|
1009
1010
|
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`.
|
1010
1011
|
"""
|
@@ -1124,7 +1125,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
1124
1125
|
|
1125
1126
|
@property
|
1126
1127
|
@pulumi.getter(name="linkedAccountId")
|
1127
|
-
def linked_account_id(self) -> pulumi.Output[str]:
|
1128
|
+
def linked_account_id(self) -> pulumi.Output[builtins.str]:
|
1128
1129
|
"""
|
1129
1130
|
The access key of the AwsGovCloud.
|
1130
1131
|
"""
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -19,19 +20,19 @@ __all__ = ['AwsGovcloudLinkAccountArgs', 'AwsGovcloudLinkAccount']
|
|
19
20
|
@pulumi.input_type
|
20
21
|
class AwsGovcloudLinkAccountArgs:
|
21
22
|
def __init__(__self__, *,
|
22
|
-
arn: pulumi.Input[str],
|
23
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
24
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
25
|
-
name: Optional[pulumi.Input[str]] = None):
|
23
|
+
arn: pulumi.Input[builtins.str],
|
24
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
25
|
+
metric_collection_mode: Optional[pulumi.Input[builtins.str]] = None,
|
26
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
26
27
|
"""
|
27
28
|
The set of arguments for constructing a AwsGovcloudLinkAccount resource.
|
28
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
29
|
+
:param pulumi.Input[builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
29
30
|
|
30
31
|
> **NOTE:** Altering the `account_id` (or) `metric_collection_mode` of an already applied `cloud.AwsGovcloudLinkAccount` resource shall trigger a recreation of the resource, instead of an update.
|
31
|
-
: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`, if not specified in the configuration.
|
32
|
-
:param pulumi.Input[str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
32
|
+
:param pulumi.Input[builtins.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`, if not specified in the configuration.
|
33
|
+
:param pulumi.Input[builtins.str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
33
34
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
34
|
-
:param pulumi.Input[str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
35
|
+
:param pulumi.Input[builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
35
36
|
"""
|
36
37
|
pulumi.set(__self__, "arn", arn)
|
37
38
|
if account_id is not None:
|
@@ -43,7 +44,7 @@ class AwsGovcloudLinkAccountArgs:
|
|
43
44
|
|
44
45
|
@property
|
45
46
|
@pulumi.getter
|
46
|
-
def arn(self) -> pulumi.Input[str]:
|
47
|
+
def arn(self) -> pulumi.Input[builtins.str]:
|
47
48
|
"""
|
48
49
|
The Amazon Resource Name (ARN) of the IAM role.
|
49
50
|
|
@@ -52,24 +53,24 @@ class AwsGovcloudLinkAccountArgs:
|
|
52
53
|
return pulumi.get(self, "arn")
|
53
54
|
|
54
55
|
@arn.setter
|
55
|
-
def arn(self, value: pulumi.Input[str]):
|
56
|
+
def arn(self, value: pulumi.Input[builtins.str]):
|
56
57
|
pulumi.set(self, "arn", value)
|
57
58
|
|
58
59
|
@property
|
59
60
|
@pulumi.getter(name="accountId")
|
60
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
61
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
61
62
|
"""
|
62
63
|
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`, if not specified in the configuration.
|
63
64
|
"""
|
64
65
|
return pulumi.get(self, "account_id")
|
65
66
|
|
66
67
|
@account_id.setter
|
67
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
68
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
68
69
|
pulumi.set(self, "account_id", value)
|
69
70
|
|
70
71
|
@property
|
71
72
|
@pulumi.getter(name="metricCollectionMode")
|
72
|
-
def metric_collection_mode(self) -> Optional[pulumi.Input[str]]:
|
73
|
+
def metric_collection_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
73
74
|
"""
|
74
75
|
The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
75
76
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
@@ -77,38 +78,38 @@ class AwsGovcloudLinkAccountArgs:
|
|
77
78
|
return pulumi.get(self, "metric_collection_mode")
|
78
79
|
|
79
80
|
@metric_collection_mode.setter
|
80
|
-
def metric_collection_mode(self, value: Optional[pulumi.Input[str]]):
|
81
|
+
def metric_collection_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
81
82
|
pulumi.set(self, "metric_collection_mode", value)
|
82
83
|
|
83
84
|
@property
|
84
85
|
@pulumi.getter
|
85
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
86
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
86
87
|
"""
|
87
88
|
The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
88
89
|
"""
|
89
90
|
return pulumi.get(self, "name")
|
90
91
|
|
91
92
|
@name.setter
|
92
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
93
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
93
94
|
pulumi.set(self, "name", value)
|
94
95
|
|
95
96
|
|
96
97
|
@pulumi.input_type
|
97
98
|
class _AwsGovcloudLinkAccountState:
|
98
99
|
def __init__(__self__, *,
|
99
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
100
|
-
arn: Optional[pulumi.Input[str]] = None,
|
101
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
102
|
-
name: Optional[pulumi.Input[str]] = None):
|
100
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
101
|
+
arn: Optional[pulumi.Input[builtins.str]] = None,
|
102
|
+
metric_collection_mode: Optional[pulumi.Input[builtins.str]] = None,
|
103
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
103
104
|
"""
|
104
105
|
Input properties used for looking up and filtering AwsGovcloudLinkAccount resources.
|
105
|
-
: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`, if not specified in the configuration.
|
106
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
106
|
+
:param pulumi.Input[builtins.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`, if not specified in the configuration.
|
107
|
+
:param pulumi.Input[builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
107
108
|
|
108
109
|
> **NOTE:** Altering the `account_id` (or) `metric_collection_mode` of an already applied `cloud.AwsGovcloudLinkAccount` resource shall trigger a recreation of the resource, instead of an update.
|
109
|
-
:param pulumi.Input[str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
110
|
+
:param pulumi.Input[builtins.str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
110
111
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
111
|
-
:param pulumi.Input[str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
112
|
+
:param pulumi.Input[builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
112
113
|
"""
|
113
114
|
if account_id is not None:
|
114
115
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -121,19 +122,19 @@ class _AwsGovcloudLinkAccountState:
|
|
121
122
|
|
122
123
|
@property
|
123
124
|
@pulumi.getter(name="accountId")
|
124
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
125
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
125
126
|
"""
|
126
127
|
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`, if not specified in the configuration.
|
127
128
|
"""
|
128
129
|
return pulumi.get(self, "account_id")
|
129
130
|
|
130
131
|
@account_id.setter
|
131
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
132
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
132
133
|
pulumi.set(self, "account_id", value)
|
133
134
|
|
134
135
|
@property
|
135
136
|
@pulumi.getter
|
136
|
-
def arn(self) -> Optional[pulumi.Input[str]]:
|
137
|
+
def arn(self) -> Optional[pulumi.Input[builtins.str]]:
|
137
138
|
"""
|
138
139
|
The Amazon Resource Name (ARN) of the IAM role.
|
139
140
|
|
@@ -142,12 +143,12 @@ class _AwsGovcloudLinkAccountState:
|
|
142
143
|
return pulumi.get(self, "arn")
|
143
144
|
|
144
145
|
@arn.setter
|
145
|
-
def arn(self, value: Optional[pulumi.Input[str]]):
|
146
|
+
def arn(self, value: Optional[pulumi.Input[builtins.str]]):
|
146
147
|
pulumi.set(self, "arn", value)
|
147
148
|
|
148
149
|
@property
|
149
150
|
@pulumi.getter(name="metricCollectionMode")
|
150
|
-
def metric_collection_mode(self) -> Optional[pulumi.Input[str]]:
|
151
|
+
def metric_collection_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
151
152
|
"""
|
152
153
|
The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
153
154
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
@@ -155,19 +156,19 @@ class _AwsGovcloudLinkAccountState:
|
|
155
156
|
return pulumi.get(self, "metric_collection_mode")
|
156
157
|
|
157
158
|
@metric_collection_mode.setter
|
158
|
-
def metric_collection_mode(self, value: Optional[pulumi.Input[str]]):
|
159
|
+
def metric_collection_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
159
160
|
pulumi.set(self, "metric_collection_mode", value)
|
160
161
|
|
161
162
|
@property
|
162
163
|
@pulumi.getter
|
163
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
164
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
164
165
|
"""
|
165
166
|
The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
166
167
|
"""
|
167
168
|
return pulumi.get(self, "name")
|
168
169
|
|
169
170
|
@name.setter
|
170
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
171
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
171
172
|
pulumi.set(self, "name", value)
|
172
173
|
|
173
174
|
|
@@ -176,10 +177,10 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
176
177
|
def __init__(__self__,
|
177
178
|
resource_name: str,
|
178
179
|
opts: Optional[pulumi.ResourceOptions] = None,
|
179
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
180
|
-
arn: Optional[pulumi.Input[str]] = None,
|
181
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
182
|
-
name: Optional[pulumi.Input[str]] = None,
|
180
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
181
|
+
arn: Optional[pulumi.Input[builtins.str]] = None,
|
182
|
+
metric_collection_mode: Optional[pulumi.Input[builtins.str]] = None,
|
183
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
183
184
|
__props__=None):
|
184
185
|
"""
|
185
186
|
Use this resource to link an AWS GovCloud account to New Relic.
|
@@ -215,13 +216,13 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
215
216
|
|
216
217
|
:param str resource_name: The name of the resource.
|
217
218
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
218
|
-
: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`, if not specified in the configuration.
|
219
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
219
|
+
:param pulumi.Input[builtins.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`, if not specified in the configuration.
|
220
|
+
:param pulumi.Input[builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
220
221
|
|
221
222
|
> **NOTE:** Altering the `account_id` (or) `metric_collection_mode` of an already applied `cloud.AwsGovcloudLinkAccount` resource shall trigger a recreation of the resource, instead of an update.
|
222
|
-
:param pulumi.Input[str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
223
|
+
:param pulumi.Input[builtins.str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
223
224
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
224
|
-
:param pulumi.Input[str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
225
|
+
:param pulumi.Input[builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
225
226
|
"""
|
226
227
|
...
|
227
228
|
@overload
|
@@ -276,10 +277,10 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
276
277
|
def _internal_init(__self__,
|
277
278
|
resource_name: str,
|
278
279
|
opts: Optional[pulumi.ResourceOptions] = None,
|
279
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
280
|
-
arn: Optional[pulumi.Input[str]] = None,
|
281
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
282
|
-
name: Optional[pulumi.Input[str]] = None,
|
280
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
281
|
+
arn: Optional[pulumi.Input[builtins.str]] = None,
|
282
|
+
metric_collection_mode: Optional[pulumi.Input[builtins.str]] = None,
|
283
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
283
284
|
__props__=None):
|
284
285
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
285
286
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -305,10 +306,10 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
305
306
|
def get(resource_name: str,
|
306
307
|
id: pulumi.Input[str],
|
307
308
|
opts: Optional[pulumi.ResourceOptions] = None,
|
308
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
309
|
-
arn: Optional[pulumi.Input[str]] = None,
|
310
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
311
|
-
name: Optional[pulumi.Input[str]] = None) -> 'AwsGovcloudLinkAccount':
|
309
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
310
|
+
arn: Optional[pulumi.Input[builtins.str]] = None,
|
311
|
+
metric_collection_mode: Optional[pulumi.Input[builtins.str]] = None,
|
312
|
+
name: Optional[pulumi.Input[builtins.str]] = None) -> 'AwsGovcloudLinkAccount':
|
312
313
|
"""
|
313
314
|
Get an existing AwsGovcloudLinkAccount resource's state with the given name, id, and optional extra
|
314
315
|
properties used to qualify the lookup.
|
@@ -316,13 +317,13 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
316
317
|
:param str resource_name: The unique name of the resulting resource.
|
317
318
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
318
319
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
319
|
-
: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`, if not specified in the configuration.
|
320
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
320
|
+
:param pulumi.Input[builtins.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`, if not specified in the configuration.
|
321
|
+
:param pulumi.Input[builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
321
322
|
|
322
323
|
> **NOTE:** Altering the `account_id` (or) `metric_collection_mode` of an already applied `cloud.AwsGovcloudLinkAccount` resource shall trigger a recreation of the resource, instead of an update.
|
323
|
-
:param pulumi.Input[str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
324
|
+
:param pulumi.Input[builtins.str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
324
325
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
325
|
-
:param pulumi.Input[str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
326
|
+
:param pulumi.Input[builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
326
327
|
"""
|
327
328
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
328
329
|
|
@@ -336,7 +337,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
336
337
|
|
337
338
|
@property
|
338
339
|
@pulumi.getter(name="accountId")
|
339
|
-
def account_id(self) -> pulumi.Output[str]:
|
340
|
+
def account_id(self) -> pulumi.Output[builtins.str]:
|
340
341
|
"""
|
341
342
|
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`, if not specified in the configuration.
|
342
343
|
"""
|
@@ -344,7 +345,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
344
345
|
|
345
346
|
@property
|
346
347
|
@pulumi.getter
|
347
|
-
def arn(self) -> pulumi.Output[str]:
|
348
|
+
def arn(self) -> pulumi.Output[builtins.str]:
|
348
349
|
"""
|
349
350
|
The Amazon Resource Name (ARN) of the IAM role.
|
350
351
|
|
@@ -354,7 +355,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
354
355
|
|
355
356
|
@property
|
356
357
|
@pulumi.getter(name="metricCollectionMode")
|
357
|
-
def metric_collection_mode(self) -> pulumi.Output[Optional[str]]:
|
358
|
+
def metric_collection_mode(self) -> pulumi.Output[Optional[builtins.str]]:
|
358
359
|
"""
|
359
360
|
The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
360
361
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
@@ -363,7 +364,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
363
364
|
|
364
365
|
@property
|
365
366
|
@pulumi.getter
|
366
|
-
def name(self) -> pulumi.Output[str]:
|
367
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
367
368
|
"""
|
368
369
|
The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
369
370
|
"""
|