pulumi-gcp 8.1.0a1726293903__py3-none-any.whl → 8.1.0a1726492828__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.
Files changed (101) hide show
  1. pulumi_gcp/__init__.py +24 -0
  2. pulumi_gcp/alloydb/_inputs.py +94 -0
  3. pulumi_gcp/alloydb/cluster.py +94 -1
  4. pulumi_gcp/alloydb/outputs.py +79 -0
  5. pulumi_gcp/assuredworkloads/workload.py +135 -16
  6. pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
  7. pulumi_gcp/backupdisasterrecovery/backup_vault.py +1203 -0
  8. pulumi_gcp/bigquery/_inputs.py +33 -0
  9. pulumi_gcp/bigquery/data_transfer_config.py +134 -6
  10. pulumi_gcp/bigquery/outputs.py +36 -0
  11. pulumi_gcp/bigqueryanalyticshub/_inputs.py +169 -7
  12. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +96 -3
  13. pulumi_gcp/bigqueryanalyticshub/listing.py +114 -0
  14. pulumi_gcp/bigqueryanalyticshub/outputs.py +138 -5
  15. pulumi_gcp/bigtable/_inputs.py +21 -1
  16. pulumi_gcp/bigtable/outputs.py +13 -1
  17. pulumi_gcp/bigtable/table.py +34 -0
  18. pulumi_gcp/certificateauthority/authority.py +14 -7
  19. pulumi_gcp/certificatemanager/__init__.py +1 -0
  20. pulumi_gcp/certificatemanager/certificate.py +28 -0
  21. pulumi_gcp/certificatemanager/get_certificates.py +150 -0
  22. pulumi_gcp/certificatemanager/outputs.py +322 -0
  23. pulumi_gcp/cloudbuild/_inputs.py +6 -6
  24. pulumi_gcp/cloudbuild/outputs.py +4 -4
  25. pulumi_gcp/cloudrun/_inputs.py +6 -12
  26. pulumi_gcp/cloudrun/outputs.py +8 -16
  27. pulumi_gcp/cloudrunv2/_inputs.py +72 -15
  28. pulumi_gcp/cloudrunv2/outputs.py +82 -16
  29. pulumi_gcp/cloudrunv2/service.py +50 -4
  30. pulumi_gcp/cloudtasks/_inputs.py +630 -0
  31. pulumi_gcp/cloudtasks/outputs.py +479 -0
  32. pulumi_gcp/cloudtasks/queue.py +238 -0
  33. pulumi_gcp/compute/_inputs.py +129 -9
  34. pulumi_gcp/compute/get_instance.py +1 -1
  35. pulumi_gcp/compute/health_check.py +114 -0
  36. pulumi_gcp/compute/instance.py +86 -4
  37. pulumi_gcp/compute/instance_template.py +66 -0
  38. pulumi_gcp/compute/interconnect.py +28 -21
  39. pulumi_gcp/compute/node_template.py +93 -0
  40. pulumi_gcp/compute/outputs.py +108 -6
  41. pulumi_gcp/compute/target_https_proxy.py +28 -0
  42. pulumi_gcp/container/_inputs.py +140 -3
  43. pulumi_gcp/container/attached_cluster.py +7 -7
  44. pulumi_gcp/container/outputs.py +174 -2
  45. pulumi_gcp/databasemigrationservice/_inputs.py +176 -148
  46. pulumi_gcp/databasemigrationservice/connection_profile.py +206 -0
  47. pulumi_gcp/databasemigrationservice/outputs.py +109 -87
  48. pulumi_gcp/dataloss/_inputs.py +353 -1
  49. pulumi_gcp/dataloss/outputs.py +274 -3
  50. pulumi_gcp/dataproc/_inputs.py +27 -27
  51. pulumi_gcp/dataproc/outputs.py +18 -18
  52. pulumi_gcp/datastream/_inputs.py +69 -1
  53. pulumi_gcp/datastream/outputs.py +44 -2
  54. pulumi_gcp/datastream/stream.py +194 -7
  55. pulumi_gcp/discoveryengine/_inputs.py +188 -0
  56. pulumi_gcp/discoveryengine/data_store.py +14 -14
  57. pulumi_gcp/discoveryengine/outputs.py +153 -1
  58. pulumi_gcp/firebase/database_instance.py +7 -7
  59. pulumi_gcp/gkehub/_inputs.py +25 -1
  60. pulumi_gcp/gkehub/feature_membership.py +12 -6
  61. pulumi_gcp/gkehub/outputs.py +17 -1
  62. pulumi_gcp/iam/_inputs.py +196 -0
  63. pulumi_gcp/iam/get_workload_identity_pool_provider.py +13 -3
  64. pulumi_gcp/iam/outputs.py +295 -0
  65. pulumi_gcp/iam/workload_identity_pool_provider.py +164 -3
  66. pulumi_gcp/kms/__init__.py +2 -0
  67. pulumi_gcp/kms/autokey_config.py +10 -2
  68. pulumi_gcp/kms/get_crypto_key_latest_version.py +222 -0
  69. pulumi_gcp/kms/get_crypto_key_versions.py +175 -0
  70. pulumi_gcp/kms/outputs.py +164 -0
  71. pulumi_gcp/netapp/active_directory.py +6 -6
  72. pulumi_gcp/netapp/backup.py +6 -6
  73. pulumi_gcp/netapp/backup_policy.py +6 -6
  74. pulumi_gcp/netapp/backup_vault.py +6 -6
  75. pulumi_gcp/netapp/storage_pool.py +4 -4
  76. pulumi_gcp/netapp/volume.py +7 -0
  77. pulumi_gcp/networkconnectivity/_inputs.py +21 -1
  78. pulumi_gcp/networkconnectivity/outputs.py +15 -1
  79. pulumi_gcp/networkconnectivity/spoke.py +8 -0
  80. pulumi_gcp/networksecurity/client_tls_policy.py +24 -22
  81. pulumi_gcp/networksecurity/server_tls_policy.py +20 -32
  82. pulumi_gcp/organizations/get_project.py +13 -3
  83. pulumi_gcp/organizations/project.py +88 -3
  84. pulumi_gcp/parallelstore/instance.py +121 -121
  85. pulumi_gcp/projects/iam_member_remove.py +26 -0
  86. pulumi_gcp/projects/usage_export_bucket.py +38 -0
  87. pulumi_gcp/pubsub/_inputs.py +40 -0
  88. pulumi_gcp/pubsub/outputs.py +51 -1
  89. pulumi_gcp/pubsub/subscription.py +6 -0
  90. pulumi_gcp/pulumi-plugin.json +1 -1
  91. pulumi_gcp/redis/_inputs.py +419 -0
  92. pulumi_gcp/redis/cluster.py +123 -0
  93. pulumi_gcp/redis/outputs.py +315 -0
  94. pulumi_gcp/securitycenter/__init__.py +2 -0
  95. pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +857 -0
  96. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
  97. pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +796 -0
  98. {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.1.0a1726492828.dist-info}/METADATA +1 -1
  99. {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.1.0a1726492828.dist-info}/RECORD +101 -95
  100. {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.1.0a1726492828.dist-info}/WHEEL +1 -1
  101. {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.1.0a1726492828.dist-info}/top_level.txt +0 -0
@@ -1191,137 +1191,117 @@ class ConnectionProfileErrorArgs:
1191
1191
 
1192
1192
  if not MYPY:
1193
1193
  class ConnectionProfileMysqlArgsDict(TypedDict):
1194
- host: pulumi.Input[str]
1195
- """
1196
- Required. The IP or hostname of the source MySQL database.
1197
- """
1198
- password: pulumi.Input[str]
1199
- """
1200
- Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
1201
- This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
1202
- **Note**: This property is sensitive and will not be displayed in the plan.
1194
+ cloud_sql_id: NotRequired[pulumi.Input[str]]
1203
1195
  """
1204
- port: pulumi.Input[int]
1196
+ If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
1205
1197
  """
1206
- Required. The network port of the source MySQL database.
1198
+ host: NotRequired[pulumi.Input[str]]
1207
1199
  """
1208
- username: pulumi.Input[str]
1200
+ The IP or hostname of the source MySQL database.
1209
1201
  """
1210
- Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
1211
- """
1212
- cloud_sql_id: NotRequired[pulumi.Input[str]]
1202
+ password: NotRequired[pulumi.Input[str]]
1213
1203
  """
1214
- If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
1204
+ Input only. The password for the user that Database Migration Service will be using to connect to the database.
1205
+ This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
1206
+ **Note**: This property is sensitive and will not be displayed in the plan.
1215
1207
  """
1216
1208
  password_set: NotRequired[pulumi.Input[bool]]
1217
1209
  """
1218
1210
  (Output)
1219
1211
  Output only. Indicates If this connection profile password is stored.
1220
1212
  """
1213
+ port: NotRequired[pulumi.Input[int]]
1214
+ """
1215
+ The network port of the source MySQL database.
1216
+ """
1221
1217
  ssl: NotRequired[pulumi.Input['ConnectionProfileMysqlSslArgsDict']]
1222
1218
  """
1223
1219
  SSL configuration for the destination to connect to the source database.
1224
1220
  Structure is documented below.
1225
1221
  """
1222
+ username: NotRequired[pulumi.Input[str]]
1223
+ """
1224
+ The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
1225
+ """
1226
1226
  elif False:
1227
1227
  ConnectionProfileMysqlArgsDict: TypeAlias = Mapping[str, Any]
1228
1228
 
1229
1229
  @pulumi.input_type
1230
1230
  class ConnectionProfileMysqlArgs:
1231
1231
  def __init__(__self__, *,
1232
- host: pulumi.Input[str],
1233
- password: pulumi.Input[str],
1234
- port: pulumi.Input[int],
1235
- username: pulumi.Input[str],
1236
1232
  cloud_sql_id: Optional[pulumi.Input[str]] = None,
1233
+ host: Optional[pulumi.Input[str]] = None,
1234
+ password: Optional[pulumi.Input[str]] = None,
1237
1235
  password_set: Optional[pulumi.Input[bool]] = None,
1238
- ssl: Optional[pulumi.Input['ConnectionProfileMysqlSslArgs']] = None):
1236
+ port: Optional[pulumi.Input[int]] = None,
1237
+ ssl: Optional[pulumi.Input['ConnectionProfileMysqlSslArgs']] = None,
1238
+ username: Optional[pulumi.Input[str]] = None):
1239
1239
  """
1240
- :param pulumi.Input[str] host: Required. The IP or hostname of the source MySQL database.
1241
- :param pulumi.Input[str] password: Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
1240
+ :param pulumi.Input[str] cloud_sql_id: If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
1241
+ :param pulumi.Input[str] host: The IP or hostname of the source MySQL database.
1242
+ :param pulumi.Input[str] password: Input only. The password for the user that Database Migration Service will be using to connect to the database.
1242
1243
  This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
1243
1244
  **Note**: This property is sensitive and will not be displayed in the plan.
1244
- :param pulumi.Input[int] port: Required. The network port of the source MySQL database.
1245
- :param pulumi.Input[str] username: Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
1246
- :param pulumi.Input[str] cloud_sql_id: If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
1247
1245
  :param pulumi.Input[bool] password_set: (Output)
1248
1246
  Output only. Indicates If this connection profile password is stored.
1247
+ :param pulumi.Input[int] port: The network port of the source MySQL database.
1249
1248
  :param pulumi.Input['ConnectionProfileMysqlSslArgs'] ssl: SSL configuration for the destination to connect to the source database.
1250
1249
  Structure is documented below.
1250
+ :param pulumi.Input[str] username: The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
1251
1251
  """
1252
- pulumi.set(__self__, "host", host)
1253
- pulumi.set(__self__, "password", password)
1254
- pulumi.set(__self__, "port", port)
1255
- pulumi.set(__self__, "username", username)
1256
1252
  if cloud_sql_id is not None:
1257
1253
  pulumi.set(__self__, "cloud_sql_id", cloud_sql_id)
1254
+ if host is not None:
1255
+ pulumi.set(__self__, "host", host)
1256
+ if password is not None:
1257
+ pulumi.set(__self__, "password", password)
1258
1258
  if password_set is not None:
1259
1259
  pulumi.set(__self__, "password_set", password_set)
1260
+ if port is not None:
1261
+ pulumi.set(__self__, "port", port)
1260
1262
  if ssl is not None:
1261
1263
  pulumi.set(__self__, "ssl", ssl)
1264
+ if username is not None:
1265
+ pulumi.set(__self__, "username", username)
1266
+
1267
+ @property
1268
+ @pulumi.getter(name="cloudSqlId")
1269
+ def cloud_sql_id(self) -> Optional[pulumi.Input[str]]:
1270
+ """
1271
+ If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
1272
+ """
1273
+ return pulumi.get(self, "cloud_sql_id")
1274
+
1275
+ @cloud_sql_id.setter
1276
+ def cloud_sql_id(self, value: Optional[pulumi.Input[str]]):
1277
+ pulumi.set(self, "cloud_sql_id", value)
1262
1278
 
1263
1279
  @property
1264
1280
  @pulumi.getter
1265
- def host(self) -> pulumi.Input[str]:
1281
+ def host(self) -> Optional[pulumi.Input[str]]:
1266
1282
  """
1267
- Required. The IP or hostname of the source MySQL database.
1283
+ The IP or hostname of the source MySQL database.
1268
1284
  """
1269
1285
  return pulumi.get(self, "host")
1270
1286
 
1271
1287
  @host.setter
1272
- def host(self, value: pulumi.Input[str]):
1288
+ def host(self, value: Optional[pulumi.Input[str]]):
1273
1289
  pulumi.set(self, "host", value)
1274
1290
 
1275
1291
  @property
1276
1292
  @pulumi.getter
1277
- def password(self) -> pulumi.Input[str]:
1293
+ def password(self) -> Optional[pulumi.Input[str]]:
1278
1294
  """
1279
- Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
1295
+ Input only. The password for the user that Database Migration Service will be using to connect to the database.
1280
1296
  This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
1281
1297
  **Note**: This property is sensitive and will not be displayed in the plan.
1282
1298
  """
1283
1299
  return pulumi.get(self, "password")
1284
1300
 
1285
1301
  @password.setter
1286
- def password(self, value: pulumi.Input[str]):
1302
+ def password(self, value: Optional[pulumi.Input[str]]):
1287
1303
  pulumi.set(self, "password", value)
1288
1304
 
1289
- @property
1290
- @pulumi.getter
1291
- def port(self) -> pulumi.Input[int]:
1292
- """
1293
- Required. The network port of the source MySQL database.
1294
- """
1295
- return pulumi.get(self, "port")
1296
-
1297
- @port.setter
1298
- def port(self, value: pulumi.Input[int]):
1299
- pulumi.set(self, "port", value)
1300
-
1301
- @property
1302
- @pulumi.getter
1303
- def username(self) -> pulumi.Input[str]:
1304
- """
1305
- Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
1306
- """
1307
- return pulumi.get(self, "username")
1308
-
1309
- @username.setter
1310
- def username(self, value: pulumi.Input[str]):
1311
- pulumi.set(self, "username", value)
1312
-
1313
- @property
1314
- @pulumi.getter(name="cloudSqlId")
1315
- def cloud_sql_id(self) -> Optional[pulumi.Input[str]]:
1316
- """
1317
- If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
1318
- """
1319
- return pulumi.get(self, "cloud_sql_id")
1320
-
1321
- @cloud_sql_id.setter
1322
- def cloud_sql_id(self, value: Optional[pulumi.Input[str]]):
1323
- pulumi.set(self, "cloud_sql_id", value)
1324
-
1325
1305
  @property
1326
1306
  @pulumi.getter(name="passwordSet")
1327
1307
  def password_set(self) -> Optional[pulumi.Input[bool]]:
@@ -1335,6 +1315,18 @@ class ConnectionProfileMysqlArgs:
1335
1315
  def password_set(self, value: Optional[pulumi.Input[bool]]):
1336
1316
  pulumi.set(self, "password_set", value)
1337
1317
 
1318
+ @property
1319
+ @pulumi.getter
1320
+ def port(self) -> Optional[pulumi.Input[int]]:
1321
+ """
1322
+ The network port of the source MySQL database.
1323
+ """
1324
+ return pulumi.get(self, "port")
1325
+
1326
+ @port.setter
1327
+ def port(self, value: Optional[pulumi.Input[int]]):
1328
+ pulumi.set(self, "port", value)
1329
+
1338
1330
  @property
1339
1331
  @pulumi.getter
1340
1332
  def ssl(self) -> Optional[pulumi.Input['ConnectionProfileMysqlSslArgs']]:
@@ -1348,6 +1340,18 @@ class ConnectionProfileMysqlArgs:
1348
1340
  def ssl(self, value: Optional[pulumi.Input['ConnectionProfileMysqlSslArgs']]):
1349
1341
  pulumi.set(self, "ssl", value)
1350
1342
 
1343
+ @property
1344
+ @pulumi.getter
1345
+ def username(self) -> Optional[pulumi.Input[str]]:
1346
+ """
1347
+ The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
1348
+ """
1349
+ return pulumi.get(self, "username")
1350
+
1351
+ @username.setter
1352
+ def username(self, value: Optional[pulumi.Input[str]]):
1353
+ pulumi.set(self, "username", value)
1354
+
1351
1355
 
1352
1356
  if not MYPY:
1353
1357
  class ConnectionProfileMysqlSslArgsDict(TypedDict):
@@ -1961,134 +1965,108 @@ class ConnectionProfileOracleStaticServiceIpConnectivityArgs:
1961
1965
 
1962
1966
  if not MYPY:
1963
1967
  class ConnectionProfilePostgresqlArgsDict(TypedDict):
1964
- host: pulumi.Input[str]
1968
+ alloydb_cluster_id: NotRequired[pulumi.Input[str]]
1965
1969
  """
1966
- Required. The IP or hostname of the source MySQL database.
1967
- """
1968
- password: pulumi.Input[str]
1969
- """
1970
- Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
1971
- This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
1972
- **Note**: This property is sensitive and will not be displayed in the plan.
1973
- """
1974
- port: pulumi.Input[int]
1975
- """
1976
- Required. The network port of the source MySQL database.
1977
- """
1978
- username: pulumi.Input[str]
1979
- """
1980
- Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
1970
+ If the connected database is an AlloyDB instance, use this field to provide the AlloyDB cluster ID.
1981
1971
  """
1982
1972
  cloud_sql_id: NotRequired[pulumi.Input[str]]
1983
1973
  """
1984
1974
  If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
1985
1975
  """
1976
+ host: NotRequired[pulumi.Input[str]]
1977
+ """
1978
+ The IP or hostname of the source MySQL database.
1979
+ """
1986
1980
  network_architecture: NotRequired[pulumi.Input[str]]
1987
1981
  """
1988
1982
  (Output)
1989
1983
  Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
1990
1984
  """
1985
+ password: NotRequired[pulumi.Input[str]]
1986
+ """
1987
+ Input only. The password for the user that Database Migration Service will be using to connect to the database.
1988
+ This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
1989
+ **Note**: This property is sensitive and will not be displayed in the plan.
1990
+ """
1991
1991
  password_set: NotRequired[pulumi.Input[bool]]
1992
1992
  """
1993
1993
  (Output)
1994
1994
  Output only. Indicates If this connection profile password is stored.
1995
1995
  """
1996
+ port: NotRequired[pulumi.Input[int]]
1997
+ """
1998
+ The network port of the source MySQL database.
1999
+ """
1996
2000
  ssl: NotRequired[pulumi.Input['ConnectionProfilePostgresqlSslArgsDict']]
1997
2001
  """
1998
2002
  SSL configuration for the destination to connect to the source database.
1999
2003
  Structure is documented below.
2000
2004
  """
2005
+ username: NotRequired[pulumi.Input[str]]
2006
+ """
2007
+ The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
2008
+ """
2001
2009
  elif False:
2002
2010
  ConnectionProfilePostgresqlArgsDict: TypeAlias = Mapping[str, Any]
2003
2011
 
2004
2012
  @pulumi.input_type
2005
2013
  class ConnectionProfilePostgresqlArgs:
2006
2014
  def __init__(__self__, *,
2007
- host: pulumi.Input[str],
2008
- password: pulumi.Input[str],
2009
- port: pulumi.Input[int],
2010
- username: pulumi.Input[str],
2015
+ alloydb_cluster_id: Optional[pulumi.Input[str]] = None,
2011
2016
  cloud_sql_id: Optional[pulumi.Input[str]] = None,
2017
+ host: Optional[pulumi.Input[str]] = None,
2012
2018
  network_architecture: Optional[pulumi.Input[str]] = None,
2019
+ password: Optional[pulumi.Input[str]] = None,
2013
2020
  password_set: Optional[pulumi.Input[bool]] = None,
2014
- ssl: Optional[pulumi.Input['ConnectionProfilePostgresqlSslArgs']] = None):
2021
+ port: Optional[pulumi.Input[int]] = None,
2022
+ ssl: Optional[pulumi.Input['ConnectionProfilePostgresqlSslArgs']] = None,
2023
+ username: Optional[pulumi.Input[str]] = None):
2015
2024
  """
2016
- :param pulumi.Input[str] host: Required. The IP or hostname of the source MySQL database.
2017
- :param pulumi.Input[str] password: Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
2018
- This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
2019
- **Note**: This property is sensitive and will not be displayed in the plan.
2020
- :param pulumi.Input[int] port: Required. The network port of the source MySQL database.
2021
- :param pulumi.Input[str] username: Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
2025
+ :param pulumi.Input[str] alloydb_cluster_id: If the connected database is an AlloyDB instance, use this field to provide the AlloyDB cluster ID.
2022
2026
  :param pulumi.Input[str] cloud_sql_id: If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
2027
+ :param pulumi.Input[str] host: The IP or hostname of the source MySQL database.
2023
2028
  :param pulumi.Input[str] network_architecture: (Output)
2024
2029
  Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
2030
+ :param pulumi.Input[str] password: Input only. The password for the user that Database Migration Service will be using to connect to the database.
2031
+ This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
2032
+ **Note**: This property is sensitive and will not be displayed in the plan.
2025
2033
  :param pulumi.Input[bool] password_set: (Output)
2026
2034
  Output only. Indicates If this connection profile password is stored.
2035
+ :param pulumi.Input[int] port: The network port of the source MySQL database.
2027
2036
  :param pulumi.Input['ConnectionProfilePostgresqlSslArgs'] ssl: SSL configuration for the destination to connect to the source database.
2028
2037
  Structure is documented below.
2038
+ :param pulumi.Input[str] username: The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
2029
2039
  """
2030
- pulumi.set(__self__, "host", host)
2031
- pulumi.set(__self__, "password", password)
2032
- pulumi.set(__self__, "port", port)
2033
- pulumi.set(__self__, "username", username)
2040
+ if alloydb_cluster_id is not None:
2041
+ pulumi.set(__self__, "alloydb_cluster_id", alloydb_cluster_id)
2034
2042
  if cloud_sql_id is not None:
2035
2043
  pulumi.set(__self__, "cloud_sql_id", cloud_sql_id)
2044
+ if host is not None:
2045
+ pulumi.set(__self__, "host", host)
2036
2046
  if network_architecture is not None:
2037
2047
  pulumi.set(__self__, "network_architecture", network_architecture)
2048
+ if password is not None:
2049
+ pulumi.set(__self__, "password", password)
2038
2050
  if password_set is not None:
2039
2051
  pulumi.set(__self__, "password_set", password_set)
2052
+ if port is not None:
2053
+ pulumi.set(__self__, "port", port)
2040
2054
  if ssl is not None:
2041
2055
  pulumi.set(__self__, "ssl", ssl)
2056
+ if username is not None:
2057
+ pulumi.set(__self__, "username", username)
2042
2058
 
2043
2059
  @property
2044
- @pulumi.getter
2045
- def host(self) -> pulumi.Input[str]:
2060
+ @pulumi.getter(name="alloydbClusterId")
2061
+ def alloydb_cluster_id(self) -> Optional[pulumi.Input[str]]:
2046
2062
  """
2047
- Required. The IP or hostname of the source MySQL database.
2063
+ If the connected database is an AlloyDB instance, use this field to provide the AlloyDB cluster ID.
2048
2064
  """
2049
- return pulumi.get(self, "host")
2065
+ return pulumi.get(self, "alloydb_cluster_id")
2050
2066
 
2051
- @host.setter
2052
- def host(self, value: pulumi.Input[str]):
2053
- pulumi.set(self, "host", value)
2054
-
2055
- @property
2056
- @pulumi.getter
2057
- def password(self) -> pulumi.Input[str]:
2058
- """
2059
- Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
2060
- This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
2061
- **Note**: This property is sensitive and will not be displayed in the plan.
2062
- """
2063
- return pulumi.get(self, "password")
2064
-
2065
- @password.setter
2066
- def password(self, value: pulumi.Input[str]):
2067
- pulumi.set(self, "password", value)
2068
-
2069
- @property
2070
- @pulumi.getter
2071
- def port(self) -> pulumi.Input[int]:
2072
- """
2073
- Required. The network port of the source MySQL database.
2074
- """
2075
- return pulumi.get(self, "port")
2076
-
2077
- @port.setter
2078
- def port(self, value: pulumi.Input[int]):
2079
- pulumi.set(self, "port", value)
2080
-
2081
- @property
2082
- @pulumi.getter
2083
- def username(self) -> pulumi.Input[str]:
2084
- """
2085
- Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
2086
- """
2087
- return pulumi.get(self, "username")
2088
-
2089
- @username.setter
2090
- def username(self, value: pulumi.Input[str]):
2091
- pulumi.set(self, "username", value)
2067
+ @alloydb_cluster_id.setter
2068
+ def alloydb_cluster_id(self, value: Optional[pulumi.Input[str]]):
2069
+ pulumi.set(self, "alloydb_cluster_id", value)
2092
2070
 
2093
2071
  @property
2094
2072
  @pulumi.getter(name="cloudSqlId")
@@ -2102,6 +2080,18 @@ class ConnectionProfilePostgresqlArgs:
2102
2080
  def cloud_sql_id(self, value: Optional[pulumi.Input[str]]):
2103
2081
  pulumi.set(self, "cloud_sql_id", value)
2104
2082
 
2083
+ @property
2084
+ @pulumi.getter
2085
+ def host(self) -> Optional[pulumi.Input[str]]:
2086
+ """
2087
+ The IP or hostname of the source MySQL database.
2088
+ """
2089
+ return pulumi.get(self, "host")
2090
+
2091
+ @host.setter
2092
+ def host(self, value: Optional[pulumi.Input[str]]):
2093
+ pulumi.set(self, "host", value)
2094
+
2105
2095
  @property
2106
2096
  @pulumi.getter(name="networkArchitecture")
2107
2097
  def network_architecture(self) -> Optional[pulumi.Input[str]]:
@@ -2115,6 +2105,20 @@ class ConnectionProfilePostgresqlArgs:
2115
2105
  def network_architecture(self, value: Optional[pulumi.Input[str]]):
2116
2106
  pulumi.set(self, "network_architecture", value)
2117
2107
 
2108
+ @property
2109
+ @pulumi.getter
2110
+ def password(self) -> Optional[pulumi.Input[str]]:
2111
+ """
2112
+ Input only. The password for the user that Database Migration Service will be using to connect to the database.
2113
+ This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
2114
+ **Note**: This property is sensitive and will not be displayed in the plan.
2115
+ """
2116
+ return pulumi.get(self, "password")
2117
+
2118
+ @password.setter
2119
+ def password(self, value: Optional[pulumi.Input[str]]):
2120
+ pulumi.set(self, "password", value)
2121
+
2118
2122
  @property
2119
2123
  @pulumi.getter(name="passwordSet")
2120
2124
  def password_set(self) -> Optional[pulumi.Input[bool]]:
@@ -2128,6 +2132,18 @@ class ConnectionProfilePostgresqlArgs:
2128
2132
  def password_set(self, value: Optional[pulumi.Input[bool]]):
2129
2133
  pulumi.set(self, "password_set", value)
2130
2134
 
2135
+ @property
2136
+ @pulumi.getter
2137
+ def port(self) -> Optional[pulumi.Input[int]]:
2138
+ """
2139
+ The network port of the source MySQL database.
2140
+ """
2141
+ return pulumi.get(self, "port")
2142
+
2143
+ @port.setter
2144
+ def port(self, value: Optional[pulumi.Input[int]]):
2145
+ pulumi.set(self, "port", value)
2146
+
2131
2147
  @property
2132
2148
  @pulumi.getter
2133
2149
  def ssl(self) -> Optional[pulumi.Input['ConnectionProfilePostgresqlSslArgs']]:
@@ -2141,6 +2157,18 @@ class ConnectionProfilePostgresqlArgs:
2141
2157
  def ssl(self, value: Optional[pulumi.Input['ConnectionProfilePostgresqlSslArgs']]):
2142
2158
  pulumi.set(self, "ssl", value)
2143
2159
 
2160
+ @property
2161
+ @pulumi.getter
2162
+ def username(self) -> Optional[pulumi.Input[str]]:
2163
+ """
2164
+ The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
2165
+ """
2166
+ return pulumi.get(self, "username")
2167
+
2168
+ @username.setter
2169
+ def username(self, value: Optional[pulumi.Input[str]]):
2170
+ pulumi.set(self, "username", value)
2171
+
2144
2172
 
2145
2173
  if not MYPY:
2146
2174
  class ConnectionProfilePostgresqlSslArgsDict(TypedDict):