pulumi-gcp 8.21.0a1741156431__py3-none-any.whl → 8.21.0a1741183435__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 (56) hide show
  1. pulumi_gcp/__init__.py +64 -0
  2. pulumi_gcp/alloydb/cluster.py +148 -0
  3. pulumi_gcp/alloydb/instance.py +28 -28
  4. pulumi_gcp/apihub/__init__.py +1 -0
  5. pulumi_gcp/apihub/host_project_registration.py +535 -0
  6. pulumi_gcp/bigquery/table.py +1 -1
  7. pulumi_gcp/compute/__init__.py +5 -0
  8. pulumi_gcp/compute/_inputs.py +770 -0
  9. pulumi_gcp/compute/backend_service.py +14 -7
  10. pulumi_gcp/compute/ca_external_account_key.py +48 -3
  11. pulumi_gcp/compute/disk.py +295 -0
  12. pulumi_gcp/compute/get_disk.py +56 -1
  13. pulumi_gcp/compute/get_instant_snapshot_iam_policy.py +182 -0
  14. pulumi_gcp/compute/instant_snapshot.py +796 -0
  15. pulumi_gcp/compute/instant_snapshot_iam_binding.py +1087 -0
  16. pulumi_gcp/compute/instant_snapshot_iam_member.py +1087 -0
  17. pulumi_gcp/compute/instant_snapshot_iam_policy.py +906 -0
  18. pulumi_gcp/compute/outputs.py +1329 -6
  19. pulumi_gcp/compute/region_backend_service.py +14 -7
  20. pulumi_gcp/compute/route.py +228 -2
  21. pulumi_gcp/compute/url_map.py +8 -0
  22. pulumi_gcp/container/_inputs.py +3 -3
  23. pulumi_gcp/container/outputs.py +4 -4
  24. pulumi_gcp/datacatalog/entry.py +4 -0
  25. pulumi_gcp/datacatalog/tag.py +4 -0
  26. pulumi_gcp/dataproc/_inputs.py +12 -15
  27. pulumi_gcp/dataproc/outputs.py +8 -10
  28. pulumi_gcp/discoveryengine/target_site.py +4 -4
  29. pulumi_gcp/eventarc/__init__.py +1 -0
  30. pulumi_gcp/eventarc/_inputs.py +40 -0
  31. pulumi_gcp/eventarc/message_bus.py +927 -0
  32. pulumi_gcp/eventarc/outputs.py +41 -0
  33. pulumi_gcp/gemini/__init__.py +1 -0
  34. pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +20 -8
  35. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +6 -0
  36. pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +734 -0
  37. pulumi_gcp/gemini/logging_setting_binding.py +7 -7
  38. pulumi_gcp/iam/_inputs.py +33 -9
  39. pulumi_gcp/iam/outputs.py +22 -6
  40. pulumi_gcp/iam/workforce_pool_provider.py +2 -2
  41. pulumi_gcp/memorystore/__init__.py +1 -0
  42. pulumi_gcp/memorystore/get_instance.py +425 -0
  43. pulumi_gcp/memorystore/outputs.py +582 -0
  44. pulumi_gcp/networkconnectivity/hub.py +84 -0
  45. pulumi_gcp/networkservices/grpc_route.py +116 -12
  46. pulumi_gcp/notebooks/location.py +4 -0
  47. pulumi_gcp/pulumi-plugin.json +1 -1
  48. pulumi_gcp/storage/__init__.py +1 -0
  49. pulumi_gcp/storage/_inputs.py +74 -0
  50. pulumi_gcp/storage/anywhere_cache.py +552 -0
  51. pulumi_gcp/storage/outputs.py +65 -0
  52. pulumi_gcp/storage/transfer_job.py +67 -0
  53. {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.21.0a1741183435.dist-info}/METADATA +1 -1
  54. {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.21.0a1741183435.dist-info}/RECORD +56 -46
  55. {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.21.0a1741183435.dist-info}/WHEEL +0 -0
  56. {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.21.0a1741183435.dist-info}/top_level.txt +0 -0
@@ -29,6 +29,19 @@ __all__ = [
29
29
  'InstanceStateInfo',
30
30
  'InstanceStateInfoUpdateInfo',
31
31
  'InstanceZoneDistributionConfig',
32
+ 'GetInstanceDesiredPscAutoConnectionResult',
33
+ 'GetInstanceDiscoveryEndpointResult',
34
+ 'GetInstanceEndpointResult',
35
+ 'GetInstanceEndpointConnectionResult',
36
+ 'GetInstanceEndpointConnectionPscAutoConnectionResult',
37
+ 'GetInstanceNodeConfigResult',
38
+ 'GetInstancePersistenceConfigResult',
39
+ 'GetInstancePersistenceConfigAofConfigResult',
40
+ 'GetInstancePersistenceConfigRdbConfigResult',
41
+ 'GetInstancePscAutoConnectionResult',
42
+ 'GetInstanceStateInfoResult',
43
+ 'GetInstanceStateInfoUpdateInfoResult',
44
+ 'GetInstanceZoneDistributionConfigResult',
32
45
  ]
33
46
 
34
47
  @pulumi.output_type
@@ -896,3 +909,572 @@ class InstanceZoneDistributionConfig(dict):
896
909
  return pulumi.get(self, "zone")
897
910
 
898
911
 
912
+ @pulumi.output_type
913
+ class GetInstanceDesiredPscAutoConnectionResult(dict):
914
+ def __init__(__self__, *,
915
+ network: str,
916
+ project_id: str):
917
+ """
918
+ :param str network: Required. The consumer network where the IP address resides, in the form of
919
+ projects/{project_id}/global/networks/{network_id}.
920
+ :param str project_id: Required. The consumer project_id where the forwarding rule is created from.
921
+ """
922
+ pulumi.set(__self__, "network", network)
923
+ pulumi.set(__self__, "project_id", project_id)
924
+
925
+ @property
926
+ @pulumi.getter
927
+ def network(self) -> str:
928
+ """
929
+ Required. The consumer network where the IP address resides, in the form of
930
+ projects/{project_id}/global/networks/{network_id}.
931
+ """
932
+ return pulumi.get(self, "network")
933
+
934
+ @property
935
+ @pulumi.getter(name="projectId")
936
+ def project_id(self) -> str:
937
+ """
938
+ Required. The consumer project_id where the forwarding rule is created from.
939
+ """
940
+ return pulumi.get(self, "project_id")
941
+
942
+
943
+ @pulumi.output_type
944
+ class GetInstanceDiscoveryEndpointResult(dict):
945
+ def __init__(__self__, *,
946
+ address: str,
947
+ network: str,
948
+ port: int):
949
+ """
950
+ :param str address: Output only. IP address of the exposed endpoint clients connect to.
951
+ :param str network: Output only. The network where the IP address of the discovery endpoint will be
952
+ reserved, in the form of
953
+ projects/{network_project}/global/networks/{network_id}.
954
+ :param int port: Output only. The port number of the exposed endpoint.
955
+ """
956
+ pulumi.set(__self__, "address", address)
957
+ pulumi.set(__self__, "network", network)
958
+ pulumi.set(__self__, "port", port)
959
+
960
+ @property
961
+ @pulumi.getter
962
+ def address(self) -> str:
963
+ """
964
+ Output only. IP address of the exposed endpoint clients connect to.
965
+ """
966
+ return pulumi.get(self, "address")
967
+
968
+ @property
969
+ @pulumi.getter
970
+ def network(self) -> str:
971
+ """
972
+ Output only. The network where the IP address of the discovery endpoint will be
973
+ reserved, in the form of
974
+ projects/{network_project}/global/networks/{network_id}.
975
+ """
976
+ return pulumi.get(self, "network")
977
+
978
+ @property
979
+ @pulumi.getter
980
+ def port(self) -> int:
981
+ """
982
+ Output only. The port number of the exposed endpoint.
983
+ """
984
+ return pulumi.get(self, "port")
985
+
986
+
987
+ @pulumi.output_type
988
+ class GetInstanceEndpointResult(dict):
989
+ def __init__(__self__, *,
990
+ connections: Sequence['outputs.GetInstanceEndpointConnectionResult']):
991
+ """
992
+ :param Sequence['GetInstanceEndpointConnectionArgs'] connections: A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster.
993
+ """
994
+ pulumi.set(__self__, "connections", connections)
995
+
996
+ @property
997
+ @pulumi.getter
998
+ def connections(self) -> Sequence['outputs.GetInstanceEndpointConnectionResult']:
999
+ """
1000
+ A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster.
1001
+ """
1002
+ return pulumi.get(self, "connections")
1003
+
1004
+
1005
+ @pulumi.output_type
1006
+ class GetInstanceEndpointConnectionResult(dict):
1007
+ def __init__(__self__, *,
1008
+ psc_auto_connections: Sequence['outputs.GetInstanceEndpointConnectionPscAutoConnectionResult']):
1009
+ """
1010
+ :param Sequence['GetInstanceEndpointConnectionPscAutoConnectionArgs'] psc_auto_connections: Detailed information of a PSC connection that is created through service connectivity automation.
1011
+ """
1012
+ pulumi.set(__self__, "psc_auto_connections", psc_auto_connections)
1013
+
1014
+ @property
1015
+ @pulumi.getter(name="pscAutoConnections")
1016
+ def psc_auto_connections(self) -> Sequence['outputs.GetInstanceEndpointConnectionPscAutoConnectionResult']:
1017
+ """
1018
+ Detailed information of a PSC connection that is created through service connectivity automation.
1019
+ """
1020
+ return pulumi.get(self, "psc_auto_connections")
1021
+
1022
+
1023
+ @pulumi.output_type
1024
+ class GetInstanceEndpointConnectionPscAutoConnectionResult(dict):
1025
+ def __init__(__self__, *,
1026
+ connection_type: str,
1027
+ forwarding_rule: str,
1028
+ ip_address: str,
1029
+ network: str,
1030
+ port: int,
1031
+ project_id: str,
1032
+ psc_connection_id: str,
1033
+ service_attachment: str):
1034
+ """
1035
+ :param str connection_type: Output Only. Type of a PSC Connection.
1036
+ Possible values:
1037
+ CONNECTION_TYPE_DISCOVERY
1038
+ CONNECTION_TYPE_PRIMARY
1039
+ CONNECTION_TYPE_READER
1040
+ :param str forwarding_rule: Output only. The URI of the consumer side forwarding rule.
1041
+ Format:
1042
+ projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
1043
+ :param str ip_address: Output only. The IP allocated on the consumer network for the PSC forwarding rule.
1044
+ :param str network: Output only. The consumer network where the IP address resides, in the form of
1045
+ projects/{project_id}/global/networks/{network_id}.
1046
+ :param int port: Output only. Ports of the exposed endpoint.
1047
+ :param str project_id: Output only. The consumer project_id where the forwarding rule is created from.
1048
+ :param str psc_connection_id: Output only. The PSC connection id of the forwarding rule connected to the
1049
+ service attachment.
1050
+ :param str service_attachment: Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
1051
+ """
1052
+ pulumi.set(__self__, "connection_type", connection_type)
1053
+ pulumi.set(__self__, "forwarding_rule", forwarding_rule)
1054
+ pulumi.set(__self__, "ip_address", ip_address)
1055
+ pulumi.set(__self__, "network", network)
1056
+ pulumi.set(__self__, "port", port)
1057
+ pulumi.set(__self__, "project_id", project_id)
1058
+ pulumi.set(__self__, "psc_connection_id", psc_connection_id)
1059
+ pulumi.set(__self__, "service_attachment", service_attachment)
1060
+
1061
+ @property
1062
+ @pulumi.getter(name="connectionType")
1063
+ def connection_type(self) -> str:
1064
+ """
1065
+ Output Only. Type of a PSC Connection.
1066
+ Possible values:
1067
+ CONNECTION_TYPE_DISCOVERY
1068
+ CONNECTION_TYPE_PRIMARY
1069
+ CONNECTION_TYPE_READER
1070
+ """
1071
+ return pulumi.get(self, "connection_type")
1072
+
1073
+ @property
1074
+ @pulumi.getter(name="forwardingRule")
1075
+ def forwarding_rule(self) -> str:
1076
+ """
1077
+ Output only. The URI of the consumer side forwarding rule.
1078
+ Format:
1079
+ projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
1080
+ """
1081
+ return pulumi.get(self, "forwarding_rule")
1082
+
1083
+ @property
1084
+ @pulumi.getter(name="ipAddress")
1085
+ def ip_address(self) -> str:
1086
+ """
1087
+ Output only. The IP allocated on the consumer network for the PSC forwarding rule.
1088
+ """
1089
+ return pulumi.get(self, "ip_address")
1090
+
1091
+ @property
1092
+ @pulumi.getter
1093
+ def network(self) -> str:
1094
+ """
1095
+ Output only. The consumer network where the IP address resides, in the form of
1096
+ projects/{project_id}/global/networks/{network_id}.
1097
+ """
1098
+ return pulumi.get(self, "network")
1099
+
1100
+ @property
1101
+ @pulumi.getter
1102
+ def port(self) -> int:
1103
+ """
1104
+ Output only. Ports of the exposed endpoint.
1105
+ """
1106
+ return pulumi.get(self, "port")
1107
+
1108
+ @property
1109
+ @pulumi.getter(name="projectId")
1110
+ def project_id(self) -> str:
1111
+ """
1112
+ Output only. The consumer project_id where the forwarding rule is created from.
1113
+ """
1114
+ return pulumi.get(self, "project_id")
1115
+
1116
+ @property
1117
+ @pulumi.getter(name="pscConnectionId")
1118
+ def psc_connection_id(self) -> str:
1119
+ """
1120
+ Output only. The PSC connection id of the forwarding rule connected to the
1121
+ service attachment.
1122
+ """
1123
+ return pulumi.get(self, "psc_connection_id")
1124
+
1125
+ @property
1126
+ @pulumi.getter(name="serviceAttachment")
1127
+ def service_attachment(self) -> str:
1128
+ """
1129
+ Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
1130
+ """
1131
+ return pulumi.get(self, "service_attachment")
1132
+
1133
+
1134
+ @pulumi.output_type
1135
+ class GetInstanceNodeConfigResult(dict):
1136
+ def __init__(__self__, *,
1137
+ size_gb: float):
1138
+ """
1139
+ :param float size_gb: Output only. Memory size in GB of the node.
1140
+ """
1141
+ pulumi.set(__self__, "size_gb", size_gb)
1142
+
1143
+ @property
1144
+ @pulumi.getter(name="sizeGb")
1145
+ def size_gb(self) -> float:
1146
+ """
1147
+ Output only. Memory size in GB of the node.
1148
+ """
1149
+ return pulumi.get(self, "size_gb")
1150
+
1151
+
1152
+ @pulumi.output_type
1153
+ class GetInstancePersistenceConfigResult(dict):
1154
+ def __init__(__self__, *,
1155
+ aof_configs: Sequence['outputs.GetInstancePersistenceConfigAofConfigResult'],
1156
+ mode: str,
1157
+ rdb_configs: Sequence['outputs.GetInstancePersistenceConfigRdbConfigResult']):
1158
+ """
1159
+ :param Sequence['GetInstancePersistenceConfigAofConfigArgs'] aof_configs: Configuration for AOF based persistence.
1160
+ :param str mode: Optional. Current persistence mode.
1161
+ Possible values:
1162
+ DISABLED
1163
+ RDB
1164
+ AOF Possible values: ["DISABLED", "RDB", "AOF"]
1165
+ :param Sequence['GetInstancePersistenceConfigRdbConfigArgs'] rdb_configs: Configuration for RDB based persistence.
1166
+ """
1167
+ pulumi.set(__self__, "aof_configs", aof_configs)
1168
+ pulumi.set(__self__, "mode", mode)
1169
+ pulumi.set(__self__, "rdb_configs", rdb_configs)
1170
+
1171
+ @property
1172
+ @pulumi.getter(name="aofConfigs")
1173
+ def aof_configs(self) -> Sequence['outputs.GetInstancePersistenceConfigAofConfigResult']:
1174
+ """
1175
+ Configuration for AOF based persistence.
1176
+ """
1177
+ return pulumi.get(self, "aof_configs")
1178
+
1179
+ @property
1180
+ @pulumi.getter
1181
+ def mode(self) -> str:
1182
+ """
1183
+ Optional. Current persistence mode.
1184
+ Possible values:
1185
+ DISABLED
1186
+ RDB
1187
+ AOF Possible values: ["DISABLED", "RDB", "AOF"]
1188
+ """
1189
+ return pulumi.get(self, "mode")
1190
+
1191
+ @property
1192
+ @pulumi.getter(name="rdbConfigs")
1193
+ def rdb_configs(self) -> Sequence['outputs.GetInstancePersistenceConfigRdbConfigResult']:
1194
+ """
1195
+ Configuration for RDB based persistence.
1196
+ """
1197
+ return pulumi.get(self, "rdb_configs")
1198
+
1199
+
1200
+ @pulumi.output_type
1201
+ class GetInstancePersistenceConfigAofConfigResult(dict):
1202
+ def __init__(__self__, *,
1203
+ append_fsync: str):
1204
+ """
1205
+ :param str append_fsync: Optional. The fsync mode.
1206
+ Possible values:
1207
+ NEVER
1208
+ EVERY_SEC
1209
+ ALWAYS
1210
+ """
1211
+ pulumi.set(__self__, "append_fsync", append_fsync)
1212
+
1213
+ @property
1214
+ @pulumi.getter(name="appendFsync")
1215
+ def append_fsync(self) -> str:
1216
+ """
1217
+ Optional. The fsync mode.
1218
+ Possible values:
1219
+ NEVER
1220
+ EVERY_SEC
1221
+ ALWAYS
1222
+ """
1223
+ return pulumi.get(self, "append_fsync")
1224
+
1225
+
1226
+ @pulumi.output_type
1227
+ class GetInstancePersistenceConfigRdbConfigResult(dict):
1228
+ def __init__(__self__, *,
1229
+ rdb_snapshot_period: str,
1230
+ rdb_snapshot_start_time: str):
1231
+ """
1232
+ :param str rdb_snapshot_period: Optional. Period between RDB snapshots.
1233
+ Possible values:
1234
+ ONE_HOUR
1235
+ SIX_HOURS
1236
+ TWELVE_HOURS
1237
+ TWENTY_FOUR_HOURS
1238
+ :param str rdb_snapshot_start_time: Optional. Time that the first snapshot was/will be attempted, and to which future
1239
+ snapshots will be aligned. If not provided, the current time will be
1240
+ used.
1241
+ """
1242
+ pulumi.set(__self__, "rdb_snapshot_period", rdb_snapshot_period)
1243
+ pulumi.set(__self__, "rdb_snapshot_start_time", rdb_snapshot_start_time)
1244
+
1245
+ @property
1246
+ @pulumi.getter(name="rdbSnapshotPeriod")
1247
+ def rdb_snapshot_period(self) -> str:
1248
+ """
1249
+ Optional. Period between RDB snapshots.
1250
+ Possible values:
1251
+ ONE_HOUR
1252
+ SIX_HOURS
1253
+ TWELVE_HOURS
1254
+ TWENTY_FOUR_HOURS
1255
+ """
1256
+ return pulumi.get(self, "rdb_snapshot_period")
1257
+
1258
+ @property
1259
+ @pulumi.getter(name="rdbSnapshotStartTime")
1260
+ def rdb_snapshot_start_time(self) -> str:
1261
+ """
1262
+ Optional. Time that the first snapshot was/will be attempted, and to which future
1263
+ snapshots will be aligned. If not provided, the current time will be
1264
+ used.
1265
+ """
1266
+ return pulumi.get(self, "rdb_snapshot_start_time")
1267
+
1268
+
1269
+ @pulumi.output_type
1270
+ class GetInstancePscAutoConnectionResult(dict):
1271
+ def __init__(__self__, *,
1272
+ connection_type: str,
1273
+ forwarding_rule: str,
1274
+ ip_address: str,
1275
+ network: str,
1276
+ port: int,
1277
+ project_id: str,
1278
+ psc_connection_id: str,
1279
+ psc_connection_status: str,
1280
+ service_attachment: str):
1281
+ """
1282
+ :param str connection_type: Output Only. Type of a PSC Connection.
1283
+ Possible values:
1284
+ CONNECTION_TYPE_DISCOVERY
1285
+ CONNECTION_TYPE_PRIMARY
1286
+ CONNECTION_TYPE_READER
1287
+ :param str forwarding_rule: Output only. The URI of the consumer side forwarding rule.
1288
+ Format:
1289
+ projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
1290
+ :param str ip_address: Output only. The IP allocated on the consumer network for the PSC forwarding rule.
1291
+ :param str network: Output only. The consumer network where the IP address resides, in the form of
1292
+ projects/{project_id}/global/networks/{network_id}.
1293
+ :param int port: Output only. Ports of the exposed endpoint.
1294
+ :param str project_id: Output only. The consumer project_id where the forwarding rule is created from.
1295
+ :param str psc_connection_id: Output only. The PSC connection id of the forwarding rule connected to the
1296
+ service attachment.
1297
+ :param str psc_connection_status: Output Only. The status of the PSC connection: whether a connection exists and ACTIVE or it no longer exists.
1298
+ Possible values:
1299
+ ACTIVE
1300
+ NOT_FOUND
1301
+ :param str service_attachment: Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
1302
+ """
1303
+ pulumi.set(__self__, "connection_type", connection_type)
1304
+ pulumi.set(__self__, "forwarding_rule", forwarding_rule)
1305
+ pulumi.set(__self__, "ip_address", ip_address)
1306
+ pulumi.set(__self__, "network", network)
1307
+ pulumi.set(__self__, "port", port)
1308
+ pulumi.set(__self__, "project_id", project_id)
1309
+ pulumi.set(__self__, "psc_connection_id", psc_connection_id)
1310
+ pulumi.set(__self__, "psc_connection_status", psc_connection_status)
1311
+ pulumi.set(__self__, "service_attachment", service_attachment)
1312
+
1313
+ @property
1314
+ @pulumi.getter(name="connectionType")
1315
+ def connection_type(self) -> str:
1316
+ """
1317
+ Output Only. Type of a PSC Connection.
1318
+ Possible values:
1319
+ CONNECTION_TYPE_DISCOVERY
1320
+ CONNECTION_TYPE_PRIMARY
1321
+ CONNECTION_TYPE_READER
1322
+ """
1323
+ return pulumi.get(self, "connection_type")
1324
+
1325
+ @property
1326
+ @pulumi.getter(name="forwardingRule")
1327
+ def forwarding_rule(self) -> str:
1328
+ """
1329
+ Output only. The URI of the consumer side forwarding rule.
1330
+ Format:
1331
+ projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
1332
+ """
1333
+ return pulumi.get(self, "forwarding_rule")
1334
+
1335
+ @property
1336
+ @pulumi.getter(name="ipAddress")
1337
+ def ip_address(self) -> str:
1338
+ """
1339
+ Output only. The IP allocated on the consumer network for the PSC forwarding rule.
1340
+ """
1341
+ return pulumi.get(self, "ip_address")
1342
+
1343
+ @property
1344
+ @pulumi.getter
1345
+ def network(self) -> str:
1346
+ """
1347
+ Output only. The consumer network where the IP address resides, in the form of
1348
+ projects/{project_id}/global/networks/{network_id}.
1349
+ """
1350
+ return pulumi.get(self, "network")
1351
+
1352
+ @property
1353
+ @pulumi.getter
1354
+ def port(self) -> int:
1355
+ """
1356
+ Output only. Ports of the exposed endpoint.
1357
+ """
1358
+ return pulumi.get(self, "port")
1359
+
1360
+ @property
1361
+ @pulumi.getter(name="projectId")
1362
+ def project_id(self) -> str:
1363
+ """
1364
+ Output only. The consumer project_id where the forwarding rule is created from.
1365
+ """
1366
+ return pulumi.get(self, "project_id")
1367
+
1368
+ @property
1369
+ @pulumi.getter(name="pscConnectionId")
1370
+ def psc_connection_id(self) -> str:
1371
+ """
1372
+ Output only. The PSC connection id of the forwarding rule connected to the
1373
+ service attachment.
1374
+ """
1375
+ return pulumi.get(self, "psc_connection_id")
1376
+
1377
+ @property
1378
+ @pulumi.getter(name="pscConnectionStatus")
1379
+ def psc_connection_status(self) -> str:
1380
+ """
1381
+ Output Only. The status of the PSC connection: whether a connection exists and ACTIVE or it no longer exists.
1382
+ Possible values:
1383
+ ACTIVE
1384
+ NOT_FOUND
1385
+ """
1386
+ return pulumi.get(self, "psc_connection_status")
1387
+
1388
+ @property
1389
+ @pulumi.getter(name="serviceAttachment")
1390
+ def service_attachment(self) -> str:
1391
+ """
1392
+ Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
1393
+ """
1394
+ return pulumi.get(self, "service_attachment")
1395
+
1396
+
1397
+ @pulumi.output_type
1398
+ class GetInstanceStateInfoResult(dict):
1399
+ def __init__(__self__, *,
1400
+ update_infos: Sequence['outputs.GetInstanceStateInfoUpdateInfoResult']):
1401
+ """
1402
+ :param Sequence['GetInstanceStateInfoUpdateInfoArgs'] update_infos: Represents information about instance with state UPDATING.
1403
+ """
1404
+ pulumi.set(__self__, "update_infos", update_infos)
1405
+
1406
+ @property
1407
+ @pulumi.getter(name="updateInfos")
1408
+ def update_infos(self) -> Sequence['outputs.GetInstanceStateInfoUpdateInfoResult']:
1409
+ """
1410
+ Represents information about instance with state UPDATING.
1411
+ """
1412
+ return pulumi.get(self, "update_infos")
1413
+
1414
+
1415
+ @pulumi.output_type
1416
+ class GetInstanceStateInfoUpdateInfoResult(dict):
1417
+ def __init__(__self__, *,
1418
+ target_replica_count: int,
1419
+ target_shard_count: int):
1420
+ """
1421
+ :param int target_replica_count: Output only. Target number of replica nodes per shard for the instance.
1422
+ :param int target_shard_count: Output only. Target number of shards for the instance.
1423
+ """
1424
+ pulumi.set(__self__, "target_replica_count", target_replica_count)
1425
+ pulumi.set(__self__, "target_shard_count", target_shard_count)
1426
+
1427
+ @property
1428
+ @pulumi.getter(name="targetReplicaCount")
1429
+ def target_replica_count(self) -> int:
1430
+ """
1431
+ Output only. Target number of replica nodes per shard for the instance.
1432
+ """
1433
+ return pulumi.get(self, "target_replica_count")
1434
+
1435
+ @property
1436
+ @pulumi.getter(name="targetShardCount")
1437
+ def target_shard_count(self) -> int:
1438
+ """
1439
+ Output only. Target number of shards for the instance.
1440
+ """
1441
+ return pulumi.get(self, "target_shard_count")
1442
+
1443
+
1444
+ @pulumi.output_type
1445
+ class GetInstanceZoneDistributionConfigResult(dict):
1446
+ def __init__(__self__, *,
1447
+ mode: str,
1448
+ zone: str):
1449
+ """
1450
+ :param str mode: Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
1451
+ Possible values:
1452
+ MULTI_ZONE
1453
+ SINGLE_ZONE Possible values: ["MULTI_ZONE", "SINGLE_ZONE"]
1454
+ :param str zone: Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode.
1455
+ Ignored for MULTI_ZONE mode.
1456
+ """
1457
+ pulumi.set(__self__, "mode", mode)
1458
+ pulumi.set(__self__, "zone", zone)
1459
+
1460
+ @property
1461
+ @pulumi.getter
1462
+ def mode(self) -> str:
1463
+ """
1464
+ Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
1465
+ Possible values:
1466
+ MULTI_ZONE
1467
+ SINGLE_ZONE Possible values: ["MULTI_ZONE", "SINGLE_ZONE"]
1468
+ """
1469
+ return pulumi.get(self, "mode")
1470
+
1471
+ @property
1472
+ @pulumi.getter
1473
+ def zone(self) -> str:
1474
+ """
1475
+ Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode.
1476
+ Ignored for MULTI_ZONE mode.
1477
+ """
1478
+ return pulumi.get(self, "zone")
1479
+
1480
+