pulumi-gcp 7.16.0a1711520590__py3-none-any.whl → 7.17.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_gcp/__init__.py +35 -0
- pulumi_gcp/accesscontextmanager/__init__.py +1 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +345 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +80 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +86 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +4 -2
- pulumi_gcp/apphub/__init__.py +1 -0
- pulumi_gcp/apphub/get_application.py +220 -0
- pulumi_gcp/apphub/outputs.py +214 -0
- pulumi_gcp/applicationintegration/__init__.py +10 -0
- pulumi_gcp/applicationintegration/_inputs.py +119 -0
- pulumi_gcp/applicationintegration/client.py +566 -0
- pulumi_gcp/applicationintegration/outputs.py +122 -0
- pulumi_gcp/bigquery/_inputs.py +16 -0
- pulumi_gcp/bigquery/outputs.py +14 -0
- pulumi_gcp/bigquery/routine.py +98 -0
- pulumi_gcp/bigtable/_inputs.py +4 -4
- pulumi_gcp/bigtable/gc_policy.py +8 -0
- pulumi_gcp/bigtable/outputs.py +4 -4
- pulumi_gcp/billing/_inputs.py +4 -4
- pulumi_gcp/billing/outputs.py +4 -4
- pulumi_gcp/billing/project_info.py +4 -4
- pulumi_gcp/cloudfunctionsv2/_inputs.py +2 -2
- pulumi_gcp/cloudfunctionsv2/outputs.py +4 -4
- pulumi_gcp/cloudquota/__init__.py +3 -0
- pulumi_gcp/cloudquota/_inputs.py +131 -0
- pulumi_gcp/cloudquota/get_s_quota_infos.py +136 -0
- pulumi_gcp/cloudquota/outputs.py +388 -0
- pulumi_gcp/cloudquota/s_quota_preference.py +777 -0
- pulumi_gcp/cloudrunv2/_inputs.py +59 -2
- pulumi_gcp/cloudrunv2/outputs.py +107 -4
- pulumi_gcp/cloudrunv2/service.py +13 -13
- pulumi_gcp/composer/_inputs.py +30 -4
- pulumi_gcp/composer/outputs.py +45 -10
- pulumi_gcp/compute/_inputs.py +145 -51
- pulumi_gcp/compute/autoscaler.py +14 -14
- pulumi_gcp/compute/interconnect_attachment.py +64 -0
- pulumi_gcp/compute/network_endpoint.py +8 -0
- pulumi_gcp/compute/network_endpoint_list.py +8 -0
- pulumi_gcp/compute/outputs.py +202 -69
- pulumi_gcp/compute/region_autoscaler.py +14 -14
- pulumi_gcp/compute/region_backend_service.py +28 -0
- pulumi_gcp/compute/region_url_map.py +152 -0
- pulumi_gcp/compute/target_instance.py +4 -4
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +148 -16
- pulumi_gcp/container/outputs.py +148 -16
- pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
- pulumi_gcp/dataflow/flex_template_job.py +84 -112
- pulumi_gcp/dataform/repository.py +4 -74
- pulumi_gcp/dataloss/_inputs.py +6 -6
- pulumi_gcp/dataloss/outputs.py +6 -6
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataproc/_inputs.py +85 -10
- pulumi_gcp/dataproc/get_metastore_service.py +11 -1
- pulumi_gcp/dataproc/metastore_service.py +120 -0
- pulumi_gcp/dataproc/outputs.py +142 -10
- pulumi_gcp/firebase/android_app.py +41 -40
- pulumi_gcp/firebase/app_check_service_config.py +2 -2
- pulumi_gcp/firestore/backup_schedule.py +14 -14
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/firestore/index.py +34 -48
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iam/_inputs.py +76 -0
- pulumi_gcp/iam/outputs.py +76 -0
- pulumi_gcp/iam/workforce_pool_provider.py +35 -0
- pulumi_gcp/iam/workload_identity_pool_provider.py +140 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/kms/_inputs.py +46 -0
- pulumi_gcp/kms/crypto_key.py +54 -0
- pulumi_gcp/kms/crypto_key_version.py +54 -0
- pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
- pulumi_gcp/kms/outputs.py +54 -0
- pulumi_gcp/logging/_inputs.py +8 -8
- pulumi_gcp/logging/metric.py +7 -7
- pulumi_gcp/logging/outputs.py +8 -8
- pulumi_gcp/monitoring/_inputs.py +4 -2
- pulumi_gcp/monitoring/outputs.py +4 -2
- pulumi_gcp/monitoring/slo.py +4 -4
- pulumi_gcp/networksecurity/firewall_endpoint.py +48 -0
- pulumi_gcp/networkservices/_inputs.py +6 -6
- pulumi_gcp/networkservices/outputs.py +6 -6
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +108 -0
- pulumi_gcp/pubsub/get_topic.py +11 -1
- pulumi_gcp/pubsub/outputs.py +213 -0
- pulumi_gcp/pubsub/subscription.py +4 -4
- pulumi_gcp/pubsub/topic.py +92 -0
- pulumi_gcp/serviceusage/consumer_quota_override.py +7 -7
- pulumi_gcp/sql/_inputs.py +20 -2
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/outputs.py +20 -2
- pulumi_gcp/storage/_inputs.py +42 -2
- pulumi_gcp/storage/bucket.py +54 -0
- pulumi_gcp/storage/get_bucket.py +11 -1
- pulumi_gcp/storage/outputs.py +83 -2
- pulumi_gcp/vertex/__init__.py +1 -0
- pulumi_gcp/vertex/_inputs.py +175 -8
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +477 -0
- pulumi_gcp/vertex/outputs.py +202 -10
- pulumi_gcp/vpcaccess/connector.py +77 -28
- pulumi_gcp/workstations/_inputs.py +113 -0
- pulumi_gcp/workstations/outputs.py +109 -1
- pulumi_gcp/workstations/workstation_config.py +106 -0
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/RECORD +113 -103
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/pubsub/outputs.py
CHANGED
@@ -31,6 +31,8 @@ __all__ = [
|
|
31
31
|
'SubscriptionRetryPolicy',
|
32
32
|
'TopicIAMBindingCondition',
|
33
33
|
'TopicIAMMemberCondition',
|
34
|
+
'TopicIngestionDataSourceSettings',
|
35
|
+
'TopicIngestionDataSourceSettingsAwsKinesis',
|
34
36
|
'TopicMessageStoragePolicy',
|
35
37
|
'TopicSchemaSettings',
|
36
38
|
'GetSubscriptionBigqueryConfigResult',
|
@@ -42,6 +44,8 @@ __all__ = [
|
|
42
44
|
'GetSubscriptionPushConfigNoWrapperResult',
|
43
45
|
'GetSubscriptionPushConfigOidcTokenResult',
|
44
46
|
'GetSubscriptionRetryPolicyResult',
|
47
|
+
'GetTopicIngestionDataSourceSettingResult',
|
48
|
+
'GetTopicIngestionDataSourceSettingAwsKineseResult',
|
45
49
|
'GetTopicMessageStoragePolicyResult',
|
46
50
|
'GetTopicSchemaSettingResult',
|
47
51
|
]
|
@@ -1061,6 +1065,132 @@ class TopicIAMMemberCondition(dict):
|
|
1061
1065
|
return pulumi.get(self, "description")
|
1062
1066
|
|
1063
1067
|
|
1068
|
+
@pulumi.output_type
|
1069
|
+
class TopicIngestionDataSourceSettings(dict):
|
1070
|
+
@staticmethod
|
1071
|
+
def __key_warning(key: str):
|
1072
|
+
suggest = None
|
1073
|
+
if key == "awsKinesis":
|
1074
|
+
suggest = "aws_kinesis"
|
1075
|
+
|
1076
|
+
if suggest:
|
1077
|
+
pulumi.log.warn(f"Key '{key}' not found in TopicIngestionDataSourceSettings. Access the value via the '{suggest}' property getter instead.")
|
1078
|
+
|
1079
|
+
def __getitem__(self, key: str) -> Any:
|
1080
|
+
TopicIngestionDataSourceSettings.__key_warning(key)
|
1081
|
+
return super().__getitem__(key)
|
1082
|
+
|
1083
|
+
def get(self, key: str, default = None) -> Any:
|
1084
|
+
TopicIngestionDataSourceSettings.__key_warning(key)
|
1085
|
+
return super().get(key, default)
|
1086
|
+
|
1087
|
+
def __init__(__self__, *,
|
1088
|
+
aws_kinesis: Optional['outputs.TopicIngestionDataSourceSettingsAwsKinesis'] = None):
|
1089
|
+
"""
|
1090
|
+
:param 'TopicIngestionDataSourceSettingsAwsKinesisArgs' aws_kinesis: Settings for ingestion from Amazon Kinesis Data Streams.
|
1091
|
+
Structure is documented below.
|
1092
|
+
"""
|
1093
|
+
if aws_kinesis is not None:
|
1094
|
+
pulumi.set(__self__, "aws_kinesis", aws_kinesis)
|
1095
|
+
|
1096
|
+
@property
|
1097
|
+
@pulumi.getter(name="awsKinesis")
|
1098
|
+
def aws_kinesis(self) -> Optional['outputs.TopicIngestionDataSourceSettingsAwsKinesis']:
|
1099
|
+
"""
|
1100
|
+
Settings for ingestion from Amazon Kinesis Data Streams.
|
1101
|
+
Structure is documented below.
|
1102
|
+
"""
|
1103
|
+
return pulumi.get(self, "aws_kinesis")
|
1104
|
+
|
1105
|
+
|
1106
|
+
@pulumi.output_type
|
1107
|
+
class TopicIngestionDataSourceSettingsAwsKinesis(dict):
|
1108
|
+
@staticmethod
|
1109
|
+
def __key_warning(key: str):
|
1110
|
+
suggest = None
|
1111
|
+
if key == "awsRoleArn":
|
1112
|
+
suggest = "aws_role_arn"
|
1113
|
+
elif key == "consumerArn":
|
1114
|
+
suggest = "consumer_arn"
|
1115
|
+
elif key == "gcpServiceAccount":
|
1116
|
+
suggest = "gcp_service_account"
|
1117
|
+
elif key == "streamArn":
|
1118
|
+
suggest = "stream_arn"
|
1119
|
+
|
1120
|
+
if suggest:
|
1121
|
+
pulumi.log.warn(f"Key '{key}' not found in TopicIngestionDataSourceSettingsAwsKinesis. Access the value via the '{suggest}' property getter instead.")
|
1122
|
+
|
1123
|
+
def __getitem__(self, key: str) -> Any:
|
1124
|
+
TopicIngestionDataSourceSettingsAwsKinesis.__key_warning(key)
|
1125
|
+
return super().__getitem__(key)
|
1126
|
+
|
1127
|
+
def get(self, key: str, default = None) -> Any:
|
1128
|
+
TopicIngestionDataSourceSettingsAwsKinesis.__key_warning(key)
|
1129
|
+
return super().get(key, default)
|
1130
|
+
|
1131
|
+
def __init__(__self__, *,
|
1132
|
+
aws_role_arn: str,
|
1133
|
+
consumer_arn: str,
|
1134
|
+
gcp_service_account: str,
|
1135
|
+
stream_arn: str):
|
1136
|
+
"""
|
1137
|
+
:param str aws_role_arn: AWS role ARN to be used for Federated Identity authentication with
|
1138
|
+
Kinesis. Check the Pub/Sub docs for how to set up this role and the
|
1139
|
+
required permissions that need to be attached to it.
|
1140
|
+
:param str consumer_arn: The Kinesis consumer ARN to used for ingestion in
|
1141
|
+
Enhanced Fan-Out mode. The consumer must be already
|
1142
|
+
created and ready to be used.
|
1143
|
+
:param str gcp_service_account: The GCP service account to be used for Federated Identity authentication
|
1144
|
+
with Kinesis (via a `AssumeRoleWithWebIdentity` call for the provided
|
1145
|
+
role). The `awsRoleArn` must be set up with `accounts.google.com:sub`
|
1146
|
+
equals to this service account number.
|
1147
|
+
:param str stream_arn: The Kinesis stream ARN to ingest data from.
|
1148
|
+
"""
|
1149
|
+
pulumi.set(__self__, "aws_role_arn", aws_role_arn)
|
1150
|
+
pulumi.set(__self__, "consumer_arn", consumer_arn)
|
1151
|
+
pulumi.set(__self__, "gcp_service_account", gcp_service_account)
|
1152
|
+
pulumi.set(__self__, "stream_arn", stream_arn)
|
1153
|
+
|
1154
|
+
@property
|
1155
|
+
@pulumi.getter(name="awsRoleArn")
|
1156
|
+
def aws_role_arn(self) -> str:
|
1157
|
+
"""
|
1158
|
+
AWS role ARN to be used for Federated Identity authentication with
|
1159
|
+
Kinesis. Check the Pub/Sub docs for how to set up this role and the
|
1160
|
+
required permissions that need to be attached to it.
|
1161
|
+
"""
|
1162
|
+
return pulumi.get(self, "aws_role_arn")
|
1163
|
+
|
1164
|
+
@property
|
1165
|
+
@pulumi.getter(name="consumerArn")
|
1166
|
+
def consumer_arn(self) -> str:
|
1167
|
+
"""
|
1168
|
+
The Kinesis consumer ARN to used for ingestion in
|
1169
|
+
Enhanced Fan-Out mode. The consumer must be already
|
1170
|
+
created and ready to be used.
|
1171
|
+
"""
|
1172
|
+
return pulumi.get(self, "consumer_arn")
|
1173
|
+
|
1174
|
+
@property
|
1175
|
+
@pulumi.getter(name="gcpServiceAccount")
|
1176
|
+
def gcp_service_account(self) -> str:
|
1177
|
+
"""
|
1178
|
+
The GCP service account to be used for Federated Identity authentication
|
1179
|
+
with Kinesis (via a `AssumeRoleWithWebIdentity` call for the provided
|
1180
|
+
role). The `awsRoleArn` must be set up with `accounts.google.com:sub`
|
1181
|
+
equals to this service account number.
|
1182
|
+
"""
|
1183
|
+
return pulumi.get(self, "gcp_service_account")
|
1184
|
+
|
1185
|
+
@property
|
1186
|
+
@pulumi.getter(name="streamArn")
|
1187
|
+
def stream_arn(self) -> str:
|
1188
|
+
"""
|
1189
|
+
The Kinesis stream ARN to ingest data from.
|
1190
|
+
"""
|
1191
|
+
return pulumi.get(self, "stream_arn")
|
1192
|
+
|
1193
|
+
|
1064
1194
|
@pulumi.output_type
|
1065
1195
|
class TopicMessageStoragePolicy(dict):
|
1066
1196
|
@staticmethod
|
@@ -1626,6 +1756,89 @@ class GetSubscriptionRetryPolicyResult(dict):
|
|
1626
1756
|
return pulumi.get(self, "minimum_backoff")
|
1627
1757
|
|
1628
1758
|
|
1759
|
+
@pulumi.output_type
|
1760
|
+
class GetTopicIngestionDataSourceSettingResult(dict):
|
1761
|
+
def __init__(__self__, *,
|
1762
|
+
aws_kineses: Sequence['outputs.GetTopicIngestionDataSourceSettingAwsKineseResult']):
|
1763
|
+
"""
|
1764
|
+
:param Sequence['GetTopicIngestionDataSourceSettingAwsKineseArgs'] aws_kineses: Settings for ingestion from Amazon Kinesis Data Streams.
|
1765
|
+
"""
|
1766
|
+
pulumi.set(__self__, "aws_kineses", aws_kineses)
|
1767
|
+
|
1768
|
+
@property
|
1769
|
+
@pulumi.getter(name="awsKineses")
|
1770
|
+
def aws_kineses(self) -> Sequence['outputs.GetTopicIngestionDataSourceSettingAwsKineseResult']:
|
1771
|
+
"""
|
1772
|
+
Settings for ingestion from Amazon Kinesis Data Streams.
|
1773
|
+
"""
|
1774
|
+
return pulumi.get(self, "aws_kineses")
|
1775
|
+
|
1776
|
+
|
1777
|
+
@pulumi.output_type
|
1778
|
+
class GetTopicIngestionDataSourceSettingAwsKineseResult(dict):
|
1779
|
+
def __init__(__self__, *,
|
1780
|
+
aws_role_arn: str,
|
1781
|
+
consumer_arn: str,
|
1782
|
+
gcp_service_account: str,
|
1783
|
+
stream_arn: str):
|
1784
|
+
"""
|
1785
|
+
:param str aws_role_arn: AWS role ARN to be used for Federated Identity authentication with
|
1786
|
+
Kinesis. Check the Pub/Sub docs for how to set up this role and the
|
1787
|
+
required permissions that need to be attached to it.
|
1788
|
+
:param str consumer_arn: The Kinesis consumer ARN to used for ingestion in
|
1789
|
+
Enhanced Fan-Out mode. The consumer must be already
|
1790
|
+
created and ready to be used.
|
1791
|
+
:param str gcp_service_account: The GCP service account to be used for Federated Identity authentication
|
1792
|
+
with Kinesis (via a 'AssumeRoleWithWebIdentity' call for the provided
|
1793
|
+
role). The 'awsRoleArn' must be set up with 'accounts.google.com:sub'
|
1794
|
+
equals to this service account number.
|
1795
|
+
:param str stream_arn: The Kinesis stream ARN to ingest data from.
|
1796
|
+
"""
|
1797
|
+
pulumi.set(__self__, "aws_role_arn", aws_role_arn)
|
1798
|
+
pulumi.set(__self__, "consumer_arn", consumer_arn)
|
1799
|
+
pulumi.set(__self__, "gcp_service_account", gcp_service_account)
|
1800
|
+
pulumi.set(__self__, "stream_arn", stream_arn)
|
1801
|
+
|
1802
|
+
@property
|
1803
|
+
@pulumi.getter(name="awsRoleArn")
|
1804
|
+
def aws_role_arn(self) -> str:
|
1805
|
+
"""
|
1806
|
+
AWS role ARN to be used for Federated Identity authentication with
|
1807
|
+
Kinesis. Check the Pub/Sub docs for how to set up this role and the
|
1808
|
+
required permissions that need to be attached to it.
|
1809
|
+
"""
|
1810
|
+
return pulumi.get(self, "aws_role_arn")
|
1811
|
+
|
1812
|
+
@property
|
1813
|
+
@pulumi.getter(name="consumerArn")
|
1814
|
+
def consumer_arn(self) -> str:
|
1815
|
+
"""
|
1816
|
+
The Kinesis consumer ARN to used for ingestion in
|
1817
|
+
Enhanced Fan-Out mode. The consumer must be already
|
1818
|
+
created and ready to be used.
|
1819
|
+
"""
|
1820
|
+
return pulumi.get(self, "consumer_arn")
|
1821
|
+
|
1822
|
+
@property
|
1823
|
+
@pulumi.getter(name="gcpServiceAccount")
|
1824
|
+
def gcp_service_account(self) -> str:
|
1825
|
+
"""
|
1826
|
+
The GCP service account to be used for Federated Identity authentication
|
1827
|
+
with Kinesis (via a 'AssumeRoleWithWebIdentity' call for the provided
|
1828
|
+
role). The 'awsRoleArn' must be set up with 'accounts.google.com:sub'
|
1829
|
+
equals to this service account number.
|
1830
|
+
"""
|
1831
|
+
return pulumi.get(self, "gcp_service_account")
|
1832
|
+
|
1833
|
+
@property
|
1834
|
+
@pulumi.getter(name="streamArn")
|
1835
|
+
def stream_arn(self) -> str:
|
1836
|
+
"""
|
1837
|
+
The Kinesis stream ARN to ingest data from.
|
1838
|
+
"""
|
1839
|
+
return pulumi.get(self, "stream_arn")
|
1840
|
+
|
1841
|
+
|
1629
1842
|
@pulumi.output_type
|
1630
1843
|
class GetTopicMessageStoragePolicyResult(dict):
|
1631
1844
|
def __init__(__self__, *,
|
@@ -1051,7 +1051,7 @@ class Subscription(pulumi.CustomResource):
|
|
1051
1051
|
cloud_storage_config=gcp.pubsub.SubscriptionCloudStorageConfigArgs(
|
1052
1052
|
bucket=example.name,
|
1053
1053
|
filename_prefix="pre-",
|
1054
|
-
filename_suffix="-
|
1054
|
+
filename_suffix="-_2605",
|
1055
1055
|
max_bytes=1000,
|
1056
1056
|
max_duration="300s",
|
1057
1057
|
))
|
@@ -1080,7 +1080,7 @@ class Subscription(pulumi.CustomResource):
|
|
1080
1080
|
cloud_storage_config=gcp.pubsub.SubscriptionCloudStorageConfigArgs(
|
1081
1081
|
bucket=example.name,
|
1082
1082
|
filename_prefix="pre-",
|
1083
|
-
filename_suffix="-
|
1083
|
+
filename_suffix="-_34535",
|
1084
1084
|
max_bytes=1000,
|
1085
1085
|
max_duration="300s",
|
1086
1086
|
avro_config=gcp.pubsub.SubscriptionCloudStorageConfigAvroConfigArgs(
|
@@ -1392,7 +1392,7 @@ class Subscription(pulumi.CustomResource):
|
|
1392
1392
|
cloud_storage_config=gcp.pubsub.SubscriptionCloudStorageConfigArgs(
|
1393
1393
|
bucket=example.name,
|
1394
1394
|
filename_prefix="pre-",
|
1395
|
-
filename_suffix="-
|
1395
|
+
filename_suffix="-_2605",
|
1396
1396
|
max_bytes=1000,
|
1397
1397
|
max_duration="300s",
|
1398
1398
|
))
|
@@ -1421,7 +1421,7 @@ class Subscription(pulumi.CustomResource):
|
|
1421
1421
|
cloud_storage_config=gcp.pubsub.SubscriptionCloudStorageConfigArgs(
|
1422
1422
|
bucket=example.name,
|
1423
1423
|
filename_prefix="pre-",
|
1424
|
-
filename_suffix="-
|
1424
|
+
filename_suffix="-_34535",
|
1425
1425
|
max_bytes=1000,
|
1426
1426
|
max_duration="300s",
|
1427
1427
|
avro_config=gcp.pubsub.SubscriptionCloudStorageConfigAvroConfigArgs(
|
pulumi_gcp/pubsub/topic.py
CHANGED
@@ -16,6 +16,7 @@ __all__ = ['TopicArgs', 'Topic']
|
|
16
16
|
@pulumi.input_type
|
17
17
|
class TopicArgs:
|
18
18
|
def __init__(__self__, *,
|
19
|
+
ingestion_data_source_settings: Optional[pulumi.Input['TopicIngestionDataSourceSettingsArgs']] = None,
|
19
20
|
kms_key_name: Optional[pulumi.Input[str]] = None,
|
20
21
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
21
22
|
message_retention_duration: Optional[pulumi.Input[str]] = None,
|
@@ -25,6 +26,8 @@ class TopicArgs:
|
|
25
26
|
schema_settings: Optional[pulumi.Input['TopicSchemaSettingsArgs']] = None):
|
26
27
|
"""
|
27
28
|
The set of arguments for constructing a Topic resource.
|
29
|
+
:param pulumi.Input['TopicIngestionDataSourceSettingsArgs'] ingestion_data_source_settings: Settings for ingestion from a data source into this topic.
|
30
|
+
Structure is documented below.
|
28
31
|
:param pulumi.Input[str] kms_key_name: The resource name of the Cloud KMS CryptoKey to be used to protect access
|
29
32
|
to messages published on this topic. Your project's PubSub service account
|
30
33
|
(`service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com`) must have
|
@@ -55,6 +58,8 @@ class TopicArgs:
|
|
55
58
|
:param pulumi.Input['TopicSchemaSettingsArgs'] schema_settings: Settings for validating messages published against a schema.
|
56
59
|
Structure is documented below.
|
57
60
|
"""
|
61
|
+
if ingestion_data_source_settings is not None:
|
62
|
+
pulumi.set(__self__, "ingestion_data_source_settings", ingestion_data_source_settings)
|
58
63
|
if kms_key_name is not None:
|
59
64
|
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
60
65
|
if labels is not None:
|
@@ -70,6 +75,19 @@ class TopicArgs:
|
|
70
75
|
if schema_settings is not None:
|
71
76
|
pulumi.set(__self__, "schema_settings", schema_settings)
|
72
77
|
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="ingestionDataSourceSettings")
|
80
|
+
def ingestion_data_source_settings(self) -> Optional[pulumi.Input['TopicIngestionDataSourceSettingsArgs']]:
|
81
|
+
"""
|
82
|
+
Settings for ingestion from a data source into this topic.
|
83
|
+
Structure is documented below.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "ingestion_data_source_settings")
|
86
|
+
|
87
|
+
@ingestion_data_source_settings.setter
|
88
|
+
def ingestion_data_source_settings(self, value: Optional[pulumi.Input['TopicIngestionDataSourceSettingsArgs']]):
|
89
|
+
pulumi.set(self, "ingestion_data_source_settings", value)
|
90
|
+
|
73
91
|
@property
|
74
92
|
@pulumi.getter(name="kmsKeyName")
|
75
93
|
def kms_key_name(self) -> Optional[pulumi.Input[str]]:
|
@@ -181,6 +199,7 @@ class TopicArgs:
|
|
181
199
|
class _TopicState:
|
182
200
|
def __init__(__self__, *,
|
183
201
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
202
|
+
ingestion_data_source_settings: Optional[pulumi.Input['TopicIngestionDataSourceSettingsArgs']] = None,
|
184
203
|
kms_key_name: Optional[pulumi.Input[str]] = None,
|
185
204
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
186
205
|
message_retention_duration: Optional[pulumi.Input[str]] = None,
|
@@ -192,6 +211,8 @@ class _TopicState:
|
|
192
211
|
"""
|
193
212
|
Input properties used for looking up and filtering Topic resources.
|
194
213
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
214
|
+
:param pulumi.Input['TopicIngestionDataSourceSettingsArgs'] ingestion_data_source_settings: Settings for ingestion from a data source into this topic.
|
215
|
+
Structure is documented below.
|
195
216
|
:param pulumi.Input[str] kms_key_name: The resource name of the Cloud KMS CryptoKey to be used to protect access
|
196
217
|
to messages published on this topic. Your project's PubSub service account
|
197
218
|
(`service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com`) must have
|
@@ -226,6 +247,8 @@ class _TopicState:
|
|
226
247
|
"""
|
227
248
|
if effective_labels is not None:
|
228
249
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
250
|
+
if ingestion_data_source_settings is not None:
|
251
|
+
pulumi.set(__self__, "ingestion_data_source_settings", ingestion_data_source_settings)
|
229
252
|
if kms_key_name is not None:
|
230
253
|
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
231
254
|
if labels is not None:
|
@@ -255,6 +278,19 @@ class _TopicState:
|
|
255
278
|
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
256
279
|
pulumi.set(self, "effective_labels", value)
|
257
280
|
|
281
|
+
@property
|
282
|
+
@pulumi.getter(name="ingestionDataSourceSettings")
|
283
|
+
def ingestion_data_source_settings(self) -> Optional[pulumi.Input['TopicIngestionDataSourceSettingsArgs']]:
|
284
|
+
"""
|
285
|
+
Settings for ingestion from a data source into this topic.
|
286
|
+
Structure is documented below.
|
287
|
+
"""
|
288
|
+
return pulumi.get(self, "ingestion_data_source_settings")
|
289
|
+
|
290
|
+
@ingestion_data_source_settings.setter
|
291
|
+
def ingestion_data_source_settings(self, value: Optional[pulumi.Input['TopicIngestionDataSourceSettingsArgs']]):
|
292
|
+
pulumi.set(self, "ingestion_data_source_settings", value)
|
293
|
+
|
258
294
|
@property
|
259
295
|
@pulumi.getter(name="kmsKeyName")
|
260
296
|
def kms_key_name(self) -> Optional[pulumi.Input[str]]:
|
@@ -380,6 +416,7 @@ class Topic(pulumi.CustomResource):
|
|
380
416
|
def __init__(__self__,
|
381
417
|
resource_name: str,
|
382
418
|
opts: Optional[pulumi.ResourceOptions] = None,
|
419
|
+
ingestion_data_source_settings: Optional[pulumi.Input[pulumi.InputType['TopicIngestionDataSourceSettingsArgs']]] = None,
|
383
420
|
kms_key_name: Optional[pulumi.Input[str]] = None,
|
384
421
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
385
422
|
message_retention_duration: Optional[pulumi.Input[str]] = None,
|
@@ -482,6 +519,25 @@ class Topic(pulumi.CustomResource):
|
|
482
519
|
))
|
483
520
|
```
|
484
521
|
<!--End PulumiCodeChooser -->
|
522
|
+
### Pubsub Topic Ingestion Kinesis
|
523
|
+
|
524
|
+
<!--Start PulumiCodeChooser -->
|
525
|
+
```python
|
526
|
+
import pulumi
|
527
|
+
import pulumi_gcp as gcp
|
528
|
+
|
529
|
+
example = gcp.pubsub.Topic("example",
|
530
|
+
name="example-topic",
|
531
|
+
ingestion_data_source_settings=gcp.pubsub.TopicIngestionDataSourceSettingsArgs(
|
532
|
+
aws_kinesis=gcp.pubsub.TopicIngestionDataSourceSettingsAwsKinesisArgs(
|
533
|
+
stream_arn="arn:aws:kinesis:us-west-2:111111111111:stream/fake-stream-name",
|
534
|
+
consumer_arn="arn:aws:kinesis:us-west-2:111111111111:stream/fake-stream-name/consumer/consumer-1:1111111111",
|
535
|
+
aws_role_arn="arn:aws:iam::111111111111:role/fake-role-name",
|
536
|
+
gcp_service_account="fake-service-account@fake-gcp-project.iam.gserviceaccount.com",
|
537
|
+
),
|
538
|
+
))
|
539
|
+
```
|
540
|
+
<!--End PulumiCodeChooser -->
|
485
541
|
|
486
542
|
## Import
|
487
543
|
|
@@ -509,6 +565,8 @@ class Topic(pulumi.CustomResource):
|
|
509
565
|
|
510
566
|
:param str resource_name: The name of the resource.
|
511
567
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
568
|
+
:param pulumi.Input[pulumi.InputType['TopicIngestionDataSourceSettingsArgs']] ingestion_data_source_settings: Settings for ingestion from a data source into this topic.
|
569
|
+
Structure is documented below.
|
512
570
|
:param pulumi.Input[str] kms_key_name: The resource name of the Cloud KMS CryptoKey to be used to protect access
|
513
571
|
to messages published on this topic. Your project's PubSub service account
|
514
572
|
(`service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com`) must have
|
@@ -639,6 +697,25 @@ class Topic(pulumi.CustomResource):
|
|
639
697
|
))
|
640
698
|
```
|
641
699
|
<!--End PulumiCodeChooser -->
|
700
|
+
### Pubsub Topic Ingestion Kinesis
|
701
|
+
|
702
|
+
<!--Start PulumiCodeChooser -->
|
703
|
+
```python
|
704
|
+
import pulumi
|
705
|
+
import pulumi_gcp as gcp
|
706
|
+
|
707
|
+
example = gcp.pubsub.Topic("example",
|
708
|
+
name="example-topic",
|
709
|
+
ingestion_data_source_settings=gcp.pubsub.TopicIngestionDataSourceSettingsArgs(
|
710
|
+
aws_kinesis=gcp.pubsub.TopicIngestionDataSourceSettingsAwsKinesisArgs(
|
711
|
+
stream_arn="arn:aws:kinesis:us-west-2:111111111111:stream/fake-stream-name",
|
712
|
+
consumer_arn="arn:aws:kinesis:us-west-2:111111111111:stream/fake-stream-name/consumer/consumer-1:1111111111",
|
713
|
+
aws_role_arn="arn:aws:iam::111111111111:role/fake-role-name",
|
714
|
+
gcp_service_account="fake-service-account@fake-gcp-project.iam.gserviceaccount.com",
|
715
|
+
),
|
716
|
+
))
|
717
|
+
```
|
718
|
+
<!--End PulumiCodeChooser -->
|
642
719
|
|
643
720
|
## Import
|
644
721
|
|
@@ -679,6 +756,7 @@ class Topic(pulumi.CustomResource):
|
|
679
756
|
def _internal_init(__self__,
|
680
757
|
resource_name: str,
|
681
758
|
opts: Optional[pulumi.ResourceOptions] = None,
|
759
|
+
ingestion_data_source_settings: Optional[pulumi.Input[pulumi.InputType['TopicIngestionDataSourceSettingsArgs']]] = None,
|
682
760
|
kms_key_name: Optional[pulumi.Input[str]] = None,
|
683
761
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
684
762
|
message_retention_duration: Optional[pulumi.Input[str]] = None,
|
@@ -695,6 +773,7 @@ class Topic(pulumi.CustomResource):
|
|
695
773
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
696
774
|
__props__ = TopicArgs.__new__(TopicArgs)
|
697
775
|
|
776
|
+
__props__.__dict__["ingestion_data_source_settings"] = ingestion_data_source_settings
|
698
777
|
__props__.__dict__["kms_key_name"] = kms_key_name
|
699
778
|
__props__.__dict__["labels"] = labels
|
700
779
|
__props__.__dict__["message_retention_duration"] = message_retention_duration
|
@@ -717,6 +796,7 @@ class Topic(pulumi.CustomResource):
|
|
717
796
|
id: pulumi.Input[str],
|
718
797
|
opts: Optional[pulumi.ResourceOptions] = None,
|
719
798
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
799
|
+
ingestion_data_source_settings: Optional[pulumi.Input[pulumi.InputType['TopicIngestionDataSourceSettingsArgs']]] = None,
|
720
800
|
kms_key_name: Optional[pulumi.Input[str]] = None,
|
721
801
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
722
802
|
message_retention_duration: Optional[pulumi.Input[str]] = None,
|
@@ -733,6 +813,8 @@ class Topic(pulumi.CustomResource):
|
|
733
813
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
734
814
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
735
815
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
816
|
+
:param pulumi.Input[pulumi.InputType['TopicIngestionDataSourceSettingsArgs']] ingestion_data_source_settings: Settings for ingestion from a data source into this topic.
|
817
|
+
Structure is documented below.
|
736
818
|
:param pulumi.Input[str] kms_key_name: The resource name of the Cloud KMS CryptoKey to be used to protect access
|
737
819
|
to messages published on this topic. Your project's PubSub service account
|
738
820
|
(`service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com`) must have
|
@@ -770,6 +852,7 @@ class Topic(pulumi.CustomResource):
|
|
770
852
|
__props__ = _TopicState.__new__(_TopicState)
|
771
853
|
|
772
854
|
__props__.__dict__["effective_labels"] = effective_labels
|
855
|
+
__props__.__dict__["ingestion_data_source_settings"] = ingestion_data_source_settings
|
773
856
|
__props__.__dict__["kms_key_name"] = kms_key_name
|
774
857
|
__props__.__dict__["labels"] = labels
|
775
858
|
__props__.__dict__["message_retention_duration"] = message_retention_duration
|
@@ -788,6 +871,15 @@ class Topic(pulumi.CustomResource):
|
|
788
871
|
"""
|
789
872
|
return pulumi.get(self, "effective_labels")
|
790
873
|
|
874
|
+
@property
|
875
|
+
@pulumi.getter(name="ingestionDataSourceSettings")
|
876
|
+
def ingestion_data_source_settings(self) -> pulumi.Output[Optional['outputs.TopicIngestionDataSourceSettings']]:
|
877
|
+
"""
|
878
|
+
Settings for ingestion from a data source into this topic.
|
879
|
+
Structure is documented below.
|
880
|
+
"""
|
881
|
+
return pulumi.get(self, "ingestion_data_source_settings")
|
882
|
+
|
791
883
|
@property
|
792
884
|
@pulumi.getter(name="kmsKeyName")
|
793
885
|
def kms_key_name(self) -> pulumi.Output[Optional[str]]:
|
@@ -33,7 +33,7 @@ class ConsumerQuotaOverrideArgs:
|
|
33
33
|
:param pulumi.Input[str] override_value: The overriding quota limit value. Can be any nonnegative integer, or -1 (unlimited quota).
|
34
34
|
:param pulumi.Input[str] service: The service that the metrics belong to, e.g. `compute.googleapis.com`.
|
35
35
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] dimensions: If this map is nonempty, then this override applies only to specific values for dimensions defined in the limit unit.
|
36
|
-
:param pulumi.Input[bool] force: If the new quota would decrease the existing quota by more than 10
|
36
|
+
:param pulumi.Input[bool] force: If the new quota would decrease the existing quota by more than 10%, the request is rejected.
|
37
37
|
If `force` is `true`, that safety check is ignored.
|
38
38
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
39
39
|
If it is not provided, the provider project is used.
|
@@ -118,7 +118,7 @@ class ConsumerQuotaOverrideArgs:
|
|
118
118
|
@pulumi.getter
|
119
119
|
def force(self) -> Optional[pulumi.Input[bool]]:
|
120
120
|
"""
|
121
|
-
If the new quota would decrease the existing quota by more than 10
|
121
|
+
If the new quota would decrease the existing quota by more than 10%, the request is rejected.
|
122
122
|
If `force` is `true`, that safety check is ignored.
|
123
123
|
"""
|
124
124
|
return pulumi.get(self, "force")
|
@@ -155,7 +155,7 @@ class _ConsumerQuotaOverrideState:
|
|
155
155
|
"""
|
156
156
|
Input properties used for looking up and filtering ConsumerQuotaOverride resources.
|
157
157
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] dimensions: If this map is nonempty, then this override applies only to specific values for dimensions defined in the limit unit.
|
158
|
-
:param pulumi.Input[bool] force: If the new quota would decrease the existing quota by more than 10
|
158
|
+
:param pulumi.Input[bool] force: If the new quota would decrease the existing quota by more than 10%, the request is rejected.
|
159
159
|
If `force` is `true`, that safety check is ignored.
|
160
160
|
:param pulumi.Input[str] limit: The limit on the metric, e.g. `/project/region`.
|
161
161
|
> Make sure that `limit` is in a format that doesn't start with `1/` or contain curly braces.
|
@@ -203,7 +203,7 @@ class _ConsumerQuotaOverrideState:
|
|
203
203
|
@pulumi.getter
|
204
204
|
def force(self) -> Optional[pulumi.Input[bool]]:
|
205
205
|
"""
|
206
|
-
If the new quota would decrease the existing quota by more than 10
|
206
|
+
If the new quota would decrease the existing quota by more than 10%, the request is rejected.
|
207
207
|
If `force` is `true`, that safety check is ignored.
|
208
208
|
"""
|
209
209
|
return pulumi.get(self, "force")
|
@@ -414,7 +414,7 @@ class ConsumerQuotaOverride(pulumi.CustomResource):
|
|
414
414
|
:param str resource_name: The name of the resource.
|
415
415
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
416
416
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] dimensions: If this map is nonempty, then this override applies only to specific values for dimensions defined in the limit unit.
|
417
|
-
:param pulumi.Input[bool] force: If the new quota would decrease the existing quota by more than 10
|
417
|
+
:param pulumi.Input[bool] force: If the new quota would decrease the existing quota by more than 10%, the request is rejected.
|
418
418
|
If `force` is `true`, that safety check is ignored.
|
419
419
|
:param pulumi.Input[str] limit: The limit on the metric, e.g. `/project/region`.
|
420
420
|
> Make sure that `limit` is in a format that doesn't start with `1/` or contain curly braces.
|
@@ -614,7 +614,7 @@ class ConsumerQuotaOverride(pulumi.CustomResource):
|
|
614
614
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
615
615
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
616
616
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] dimensions: If this map is nonempty, then this override applies only to specific values for dimensions defined in the limit unit.
|
617
|
-
:param pulumi.Input[bool] force: If the new quota would decrease the existing quota by more than 10
|
617
|
+
:param pulumi.Input[bool] force: If the new quota would decrease the existing quota by more than 10%, the request is rejected.
|
618
618
|
If `force` is `true`, that safety check is ignored.
|
619
619
|
:param pulumi.Input[str] limit: The limit on the metric, e.g. `/project/region`.
|
620
620
|
> Make sure that `limit` is in a format that doesn't start with `1/` or contain curly braces.
|
@@ -655,7 +655,7 @@ class ConsumerQuotaOverride(pulumi.CustomResource):
|
|
655
655
|
@pulumi.getter
|
656
656
|
def force(self) -> pulumi.Output[Optional[bool]]:
|
657
657
|
"""
|
658
|
-
If the new quota would decrease the existing quota by more than 10
|
658
|
+
If the new quota would decrease the existing quota by more than 10%, the request is rejected.
|
659
659
|
If `force` is `true`, that safety check is ignored.
|
660
660
|
"""
|
661
661
|
return pulumi.get(self, "force")
|
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -132,6 +132,12 @@ class DatabaseInstanceIpAddressArgs:
|
|
132
132
|
ip_address: Optional[pulumi.Input[str]] = None,
|
133
133
|
time_to_retire: Optional[pulumi.Input[str]] = None,
|
134
134
|
type: Optional[pulumi.Input[str]] = None):
|
135
|
+
"""
|
136
|
+
:param pulumi.Input[str] ip_address: The IPv4 address assigned.
|
137
|
+
:param pulumi.Input[str] time_to_retire: The time this IP address will be retired, in RFC
|
138
|
+
3339 format.
|
139
|
+
:param pulumi.Input[str] type: The type of this IP address.
|
140
|
+
"""
|
135
141
|
if ip_address is not None:
|
136
142
|
pulumi.set(__self__, "ip_address", ip_address)
|
137
143
|
if time_to_retire is not None:
|
@@ -142,6 +148,9 @@ class DatabaseInstanceIpAddressArgs:
|
|
142
148
|
@property
|
143
149
|
@pulumi.getter(name="ipAddress")
|
144
150
|
def ip_address(self) -> Optional[pulumi.Input[str]]:
|
151
|
+
"""
|
152
|
+
The IPv4 address assigned.
|
153
|
+
"""
|
145
154
|
return pulumi.get(self, "ip_address")
|
146
155
|
|
147
156
|
@ip_address.setter
|
@@ -151,6 +160,10 @@ class DatabaseInstanceIpAddressArgs:
|
|
151
160
|
@property
|
152
161
|
@pulumi.getter(name="timeToRetire")
|
153
162
|
def time_to_retire(self) -> Optional[pulumi.Input[str]]:
|
163
|
+
"""
|
164
|
+
The time this IP address will be retired, in RFC
|
165
|
+
3339 format.
|
166
|
+
"""
|
154
167
|
return pulumi.get(self, "time_to_retire")
|
155
168
|
|
156
169
|
@time_to_retire.setter
|
@@ -160,6 +173,9 @@ class DatabaseInstanceIpAddressArgs:
|
|
160
173
|
@property
|
161
174
|
@pulumi.getter
|
162
175
|
def type(self) -> Optional[pulumi.Input[str]]:
|
176
|
+
"""
|
177
|
+
The type of this IP address.
|
178
|
+
"""
|
163
179
|
return pulumi.get(self, "type")
|
164
180
|
|
165
181
|
@type.setter
|
@@ -573,7 +589,8 @@ class DatabaseInstanceSettingsArgs:
|
|
573
589
|
:param pulumi.Input[str] pricing_plan: Pricing plan for this instance, can only be `PER_USE`.
|
574
590
|
:param pulumi.Input[str] time_zone: The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
|
575
591
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_labels: A set of key/value user label pairs to assign to the instance.
|
576
|
-
:param pulumi.Input[int] version: Used to make sure changes to the settings block are
|
592
|
+
:param pulumi.Input[int] version: Used to make sure changes to the `settings` block are
|
593
|
+
atomic.
|
577
594
|
"""
|
578
595
|
pulumi.set(__self__, "tier", tier)
|
579
596
|
if activation_policy is not None:
|
@@ -926,7 +943,8 @@ class DatabaseInstanceSettingsArgs:
|
|
926
943
|
@pulumi.getter
|
927
944
|
def version(self) -> Optional[pulumi.Input[int]]:
|
928
945
|
"""
|
929
|
-
Used to make sure changes to the settings block are
|
946
|
+
Used to make sure changes to the `settings` block are
|
947
|
+
atomic.
|
930
948
|
"""
|
931
949
|
return pulumi.get(self, "version")
|
932
950
|
|
@@ -801,7 +801,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
801
801
|
or the [JSON API](https://cloud.google.com/sql/docs/admin-api/v1beta4/instances).
|
802
802
|
|
803
803
|
> **NOTE on `sql.DatabaseInstance`:** - Second-generation instances include a
|
804
|
-
default 'root'@'
|
804
|
+
default 'root'@'%' user with no password. This user will be deleted by the provider on
|
805
805
|
instance creation. You should use `sql.User` to define a custom user with
|
806
806
|
a restricted host and strong password.
|
807
807
|
|
@@ -1002,7 +1002,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1002
1002
|
or the [JSON API](https://cloud.google.com/sql/docs/admin-api/v1beta4/instances).
|
1003
1003
|
|
1004
1004
|
> **NOTE on `sql.DatabaseInstance`:** - Second-generation instances include a
|
1005
|
-
default 'root'@'
|
1005
|
+
default 'root'@'%' user with no password. This user will be deleted by the provider on
|
1006
1006
|
instance creation. You should use `sql.User` to define a custom user with
|
1007
1007
|
a restricted host and strong password.
|
1008
1008
|
|