pulumi-gcp 8.17.0a1738274430__py3-none-any.whl → 8.18.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 +115 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
- pulumi_gcp/alloydb/cluster.py +75 -7
- pulumi_gcp/alloydb/user.py +10 -1
- pulumi_gcp/apigee/_inputs.py +91 -0
- pulumi_gcp/apigee/endpoint_attachment.py +0 -64
- pulumi_gcp/apigee/environment.py +54 -0
- pulumi_gcp/apigee/outputs.py +54 -0
- pulumi_gcp/apihub/__init__.py +10 -0
- pulumi_gcp/apihub/_inputs.py +154 -0
- pulumi_gcp/apihub/api_hub_instance.py +784 -0
- pulumi_gcp/apihub/outputs.py +124 -0
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/beyondcorp/__init__.py +4 -0
- pulumi_gcp/beyondcorp/_inputs.py +130 -0
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +180 -0
- pulumi_gcp/beyondcorp/outputs.py +76 -0
- pulumi_gcp/beyondcorp/security_gateway.py +52 -25
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +894 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/dataset.py +7 -7
- pulumi_gcp/bigquery/outputs.py +36 -0
- pulumi_gcp/bigquery/table.py +61 -7
- pulumi_gcp/chronicle/__init__.py +1 -0
- pulumi_gcp/chronicle/_inputs.py +124 -0
- pulumi_gcp/chronicle/outputs.py +112 -0
- pulumi_gcp/chronicle/retrohunt.py +629 -0
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +23 -23
- pulumi_gcp/cloudrunv2/_inputs.py +197 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +256 -0
- pulumi_gcp/cloudrunv2/service.py +159 -0
- pulumi_gcp/colab/__init__.py +5 -0
- pulumi_gcp/colab/_inputs.py +131 -0
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +182 -0
- pulumi_gcp/colab/outputs.py +92 -0
- pulumi_gcp/colab/runtime.py +696 -0
- pulumi_gcp/colab/runtime_template_iam_binding.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_member.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_policy.py +667 -0
- pulumi_gcp/compute/__init__.py +4 -0
- pulumi_gcp/compute/_inputs.py +535 -9
- pulumi_gcp/compute/firewall_policy_rule.py +104 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +114 -42
- pulumi_gcp/compute/get_instance_template_iam_policy.py +159 -0
- pulumi_gcp/compute/get_network.py +3 -3
- pulumi_gcp/compute/instance_template_iam_binding.py +998 -0
- pulumi_gcp/compute/instance_template_iam_member.py +998 -0
- pulumi_gcp/compute/instance_template_iam_policy.py +817 -0
- pulumi_gcp/compute/interconnect_attachment.py +189 -2
- pulumi_gcp/compute/network.py +7 -7
- pulumi_gcp/compute/network_firewall_policy_rule.py +122 -10
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +116 -44
- pulumi_gcp/compute/outputs.py +358 -6
- pulumi_gcp/compute/project_metadata_item.py +12 -0
- pulumi_gcp/compute/public_advertised_prefix.py +87 -0
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +130 -10
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +104 -32
- pulumi_gcp/compute/router_peer.py +227 -3
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +79 -20
- pulumi_gcp/container/outputs.py +75 -12
- pulumi_gcp/dataproc/_inputs.py +34 -0
- pulumi_gcp/dataproc/outputs.py +37 -0
- pulumi_gcp/dataproc/workflow_template.py +47 -0
- pulumi_gcp/filestore/get_instance.py +12 -1
- pulumi_gcp/filestore/instance.py +75 -0
- pulumi_gcp/firestore/field.py +60 -0
- pulumi_gcp/gemini/code_repository_index.py +29 -33
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +28 -2
- pulumi_gcp/gemini/repository_group.py +76 -26
- pulumi_gcp/gemini/repository_group_iam_binding.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +258 -0
- pulumi_gcp/gkehub/_inputs.py +20 -0
- 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/outputs.py +26 -1
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/kms/__init__.py +1 -0
- pulumi_gcp/kms/get_key_handles.py +172 -0
- pulumi_gcp/kms/outputs.py +45 -0
- pulumi_gcp/netapp/storage_pool.py +1 -1
- pulumi_gcp/networkconnectivity/spoke.py +76 -14
- pulumi_gcp/networksecurity/_inputs.py +72 -0
- pulumi_gcp/networksecurity/outputs.py +76 -0
- pulumi_gcp/networksecurity/security_profile.py +233 -7
- pulumi_gcp/networksecurity/security_profile_group.py +218 -0
- pulumi_gcp/organizations/__init__.py +1 -0
- pulumi_gcp/organizations/get_s.py +128 -0
- pulumi_gcp/organizations/outputs.py +63 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/__init__.py +6 -0
- pulumi_gcp/parametermanager/get_parameter.py +211 -0
- pulumi_gcp/parametermanager/get_parameter_version.py +216 -0
- pulumi_gcp/parametermanager/get_parameters.py +140 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +235 -0
- pulumi_gcp/parametermanager/get_regional_parameters.py +157 -0
- pulumi_gcp/parametermanager/outputs.py +366 -0
- pulumi_gcp/parametermanager/parameter_version.py +496 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +10 -38
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +477 -1
- pulumi_gcp/pubsub/outputs.py +631 -2
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pubsub/topic.py +112 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/__init__.py +1 -0
- pulumi_gcp/redis/_inputs.py +342 -6
- pulumi_gcp/redis/cluster.py +223 -102
- pulumi_gcp/redis/cluster_user_created_connections.py +845 -0
- pulumi_gcp/redis/outputs.py +268 -4
- pulumi_gcp/resourcemanager/lien.py +12 -0
- pulumi_gcp/secretmanager/regional_secret.py +4 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +12 -0
- pulumi_gcp/secretmanager/secret.py +4 -0
- pulumi_gcp/secretmanager/secret_version.py +12 -0
- pulumi_gcp/securityposture/posture.py +4 -0
- pulumi_gcp/securityposture/posture_deployment.py +4 -0
- pulumi_gcp/serviceaccount/get_s.py +98 -8
- pulumi_gcp/spanner/_inputs.py +68 -0
- pulumi_gcp/spanner/backup_schedule.py +70 -4
- pulumi_gcp/spanner/outputs.py +60 -0
- pulumi_gcp/storage/get_bucket_object_content.py +4 -4
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/workflows/workflow.py +175 -0
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/RECORD +137 -110
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/redis/outputs.py
CHANGED
@@ -33,8 +33,12 @@ __all__ = [
|
|
33
33
|
'ClusterPersistenceConfigRdbConfig',
|
34
34
|
'ClusterPscConfig',
|
35
35
|
'ClusterPscConnection',
|
36
|
+
'ClusterPscServiceAttachment',
|
36
37
|
'ClusterStateInfo',
|
37
38
|
'ClusterStateInfoUpdateInfo',
|
39
|
+
'ClusterUserCreatedConnectionsClusterEndpoint',
|
40
|
+
'ClusterUserCreatedConnectionsClusterEndpointConnection',
|
41
|
+
'ClusterUserCreatedConnectionsClusterEndpointConnectionPscConnection',
|
38
42
|
'ClusterZoneDistributionConfig',
|
39
43
|
'InstanceMaintenancePolicy',
|
40
44
|
'InstanceMaintenancePolicyWeeklyMaintenanceWindow',
|
@@ -932,8 +936,6 @@ class ClusterPscConfig(dict):
|
|
932
936
|
:param str network: Required. The consumer network where the network address of
|
933
937
|
the discovery endpoint will be reserved, in the form of
|
934
938
|
projects/{network_project_id_or_number}/global/networks/{network_id}.
|
935
|
-
|
936
|
-
- - -
|
937
939
|
"""
|
938
940
|
pulumi.set(__self__, "network", network)
|
939
941
|
|
@@ -944,8 +946,6 @@ class ClusterPscConfig(dict):
|
|
944
946
|
Required. The consumer network where the network address of
|
945
947
|
the discovery endpoint will be reserved, in the form of
|
946
948
|
projects/{network_project_id_or_number}/global/networks/{network_id}.
|
947
|
-
|
948
|
-
- - -
|
949
949
|
"""
|
950
950
|
return pulumi.get(self, "network")
|
951
951
|
|
@@ -1038,6 +1038,60 @@ class ClusterPscConnection(dict):
|
|
1038
1038
|
return pulumi.get(self, "psc_connection_id")
|
1039
1039
|
|
1040
1040
|
|
1041
|
+
@pulumi.output_type
|
1042
|
+
class ClusterPscServiceAttachment(dict):
|
1043
|
+
@staticmethod
|
1044
|
+
def __key_warning(key: str):
|
1045
|
+
suggest = None
|
1046
|
+
if key == "connectionType":
|
1047
|
+
suggest = "connection_type"
|
1048
|
+
elif key == "serviceAttachment":
|
1049
|
+
suggest = "service_attachment"
|
1050
|
+
|
1051
|
+
if suggest:
|
1052
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterPscServiceAttachment. Access the value via the '{suggest}' property getter instead.")
|
1053
|
+
|
1054
|
+
def __getitem__(self, key: str) -> Any:
|
1055
|
+
ClusterPscServiceAttachment.__key_warning(key)
|
1056
|
+
return super().__getitem__(key)
|
1057
|
+
|
1058
|
+
def get(self, key: str, default = None) -> Any:
|
1059
|
+
ClusterPscServiceAttachment.__key_warning(key)
|
1060
|
+
return super().get(key, default)
|
1061
|
+
|
1062
|
+
def __init__(__self__, *,
|
1063
|
+
connection_type: Optional[str] = None,
|
1064
|
+
service_attachment: Optional[str] = None):
|
1065
|
+
"""
|
1066
|
+
:param str connection_type: (Output)
|
1067
|
+
Type of a PSC connection targeting this service attachment.
|
1068
|
+
:param str service_attachment: (Output)
|
1069
|
+
Service attachment URI which your self-created PscConnection should use as
|
1070
|
+
"""
|
1071
|
+
if connection_type is not None:
|
1072
|
+
pulumi.set(__self__, "connection_type", connection_type)
|
1073
|
+
if service_attachment is not None:
|
1074
|
+
pulumi.set(__self__, "service_attachment", service_attachment)
|
1075
|
+
|
1076
|
+
@property
|
1077
|
+
@pulumi.getter(name="connectionType")
|
1078
|
+
def connection_type(self) -> Optional[str]:
|
1079
|
+
"""
|
1080
|
+
(Output)
|
1081
|
+
Type of a PSC connection targeting this service attachment.
|
1082
|
+
"""
|
1083
|
+
return pulumi.get(self, "connection_type")
|
1084
|
+
|
1085
|
+
@property
|
1086
|
+
@pulumi.getter(name="serviceAttachment")
|
1087
|
+
def service_attachment(self) -> Optional[str]:
|
1088
|
+
"""
|
1089
|
+
(Output)
|
1090
|
+
Service attachment URI which your self-created PscConnection should use as
|
1091
|
+
"""
|
1092
|
+
return pulumi.get(self, "service_attachment")
|
1093
|
+
|
1094
|
+
|
1041
1095
|
@pulumi.output_type
|
1042
1096
|
class ClusterStateInfo(dict):
|
1043
1097
|
@staticmethod
|
@@ -1126,6 +1180,216 @@ class ClusterStateInfoUpdateInfo(dict):
|
|
1126
1180
|
return pulumi.get(self, "target_shard_count")
|
1127
1181
|
|
1128
1182
|
|
1183
|
+
@pulumi.output_type
|
1184
|
+
class ClusterUserCreatedConnectionsClusterEndpoint(dict):
|
1185
|
+
def __init__(__self__, *,
|
1186
|
+
connections: Optional[Sequence['outputs.ClusterUserCreatedConnectionsClusterEndpointConnection']] = None):
|
1187
|
+
"""
|
1188
|
+
:param Sequence['ClusterUserCreatedConnectionsClusterEndpointConnectionArgs'] connections: Structure is documented below.
|
1189
|
+
"""
|
1190
|
+
if connections is not None:
|
1191
|
+
pulumi.set(__self__, "connections", connections)
|
1192
|
+
|
1193
|
+
@property
|
1194
|
+
@pulumi.getter
|
1195
|
+
def connections(self) -> Optional[Sequence['outputs.ClusterUserCreatedConnectionsClusterEndpointConnection']]:
|
1196
|
+
"""
|
1197
|
+
Structure is documented below.
|
1198
|
+
"""
|
1199
|
+
return pulumi.get(self, "connections")
|
1200
|
+
|
1201
|
+
|
1202
|
+
@pulumi.output_type
|
1203
|
+
class ClusterUserCreatedConnectionsClusterEndpointConnection(dict):
|
1204
|
+
@staticmethod
|
1205
|
+
def __key_warning(key: str):
|
1206
|
+
suggest = None
|
1207
|
+
if key == "pscConnection":
|
1208
|
+
suggest = "psc_connection"
|
1209
|
+
|
1210
|
+
if suggest:
|
1211
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterUserCreatedConnectionsClusterEndpointConnection. Access the value via the '{suggest}' property getter instead.")
|
1212
|
+
|
1213
|
+
def __getitem__(self, key: str) -> Any:
|
1214
|
+
ClusterUserCreatedConnectionsClusterEndpointConnection.__key_warning(key)
|
1215
|
+
return super().__getitem__(key)
|
1216
|
+
|
1217
|
+
def get(self, key: str, default = None) -> Any:
|
1218
|
+
ClusterUserCreatedConnectionsClusterEndpointConnection.__key_warning(key)
|
1219
|
+
return super().get(key, default)
|
1220
|
+
|
1221
|
+
def __init__(__self__, *,
|
1222
|
+
psc_connection: Optional['outputs.ClusterUserCreatedConnectionsClusterEndpointConnectionPscConnection'] = None):
|
1223
|
+
"""
|
1224
|
+
:param 'ClusterUserCreatedConnectionsClusterEndpointConnectionPscConnectionArgs' psc_connection: Detailed information of a PSC connection that is created by the customer
|
1225
|
+
who owns the cluster.
|
1226
|
+
Structure is documented below.
|
1227
|
+
"""
|
1228
|
+
if psc_connection is not None:
|
1229
|
+
pulumi.set(__self__, "psc_connection", psc_connection)
|
1230
|
+
|
1231
|
+
@property
|
1232
|
+
@pulumi.getter(name="pscConnection")
|
1233
|
+
def psc_connection(self) -> Optional['outputs.ClusterUserCreatedConnectionsClusterEndpointConnectionPscConnection']:
|
1234
|
+
"""
|
1235
|
+
Detailed information of a PSC connection that is created by the customer
|
1236
|
+
who owns the cluster.
|
1237
|
+
Structure is documented below.
|
1238
|
+
"""
|
1239
|
+
return pulumi.get(self, "psc_connection")
|
1240
|
+
|
1241
|
+
|
1242
|
+
@pulumi.output_type
|
1243
|
+
class ClusterUserCreatedConnectionsClusterEndpointConnectionPscConnection(dict):
|
1244
|
+
@staticmethod
|
1245
|
+
def __key_warning(key: str):
|
1246
|
+
suggest = None
|
1247
|
+
if key == "forwardingRule":
|
1248
|
+
suggest = "forwarding_rule"
|
1249
|
+
elif key == "pscConnectionId":
|
1250
|
+
suggest = "psc_connection_id"
|
1251
|
+
elif key == "serviceAttachment":
|
1252
|
+
suggest = "service_attachment"
|
1253
|
+
elif key == "connectionType":
|
1254
|
+
suggest = "connection_type"
|
1255
|
+
elif key == "projectId":
|
1256
|
+
suggest = "project_id"
|
1257
|
+
elif key == "pscConnectionStatus":
|
1258
|
+
suggest = "psc_connection_status"
|
1259
|
+
|
1260
|
+
if suggest:
|
1261
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterUserCreatedConnectionsClusterEndpointConnectionPscConnection. Access the value via the '{suggest}' property getter instead.")
|
1262
|
+
|
1263
|
+
def __getitem__(self, key: str) -> Any:
|
1264
|
+
ClusterUserCreatedConnectionsClusterEndpointConnectionPscConnection.__key_warning(key)
|
1265
|
+
return super().__getitem__(key)
|
1266
|
+
|
1267
|
+
def get(self, key: str, default = None) -> Any:
|
1268
|
+
ClusterUserCreatedConnectionsClusterEndpointConnectionPscConnection.__key_warning(key)
|
1269
|
+
return super().get(key, default)
|
1270
|
+
|
1271
|
+
def __init__(__self__, *,
|
1272
|
+
address: str,
|
1273
|
+
forwarding_rule: str,
|
1274
|
+
network: str,
|
1275
|
+
psc_connection_id: str,
|
1276
|
+
service_attachment: str,
|
1277
|
+
connection_type: Optional[str] = None,
|
1278
|
+
project_id: Optional[str] = None,
|
1279
|
+
psc_connection_status: Optional[str] = None):
|
1280
|
+
"""
|
1281
|
+
:param str address: The IP allocated on the consumer network for the PSC forwarding rule.
|
1282
|
+
:param str forwarding_rule: The URI of the consumer side forwarding rule.
|
1283
|
+
Format:
|
1284
|
+
projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
|
1285
|
+
:param str network: The consumer network where the IP address resides, in the form of
|
1286
|
+
projects/{project_id}/global/networks/{network_id}.
|
1287
|
+
:param str psc_connection_id: The PSC connection id of the forwarding rule connected to the
|
1288
|
+
service attachment.
|
1289
|
+
:param str service_attachment: The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
|
1290
|
+
:param str connection_type: (Output)
|
1291
|
+
Output Only. Type of a PSC Connection.
|
1292
|
+
Possible values:
|
1293
|
+
CONNECTION_TYPE_DISCOVERY
|
1294
|
+
CONNECTION_TYPE_PRIMARY
|
1295
|
+
CONNECTION_TYPE_READER
|
1296
|
+
:param str project_id: The consumer project_id where the forwarding rule is created from.
|
1297
|
+
:param str psc_connection_status: (Output)
|
1298
|
+
Output Only. The status of the PSC connection: whether a connection exists and ACTIVE or it no longer exists.
|
1299
|
+
Possible values:
|
1300
|
+
ACTIVE
|
1301
|
+
NOT_FOUND
|
1302
|
+
"""
|
1303
|
+
pulumi.set(__self__, "address", address)
|
1304
|
+
pulumi.set(__self__, "forwarding_rule", forwarding_rule)
|
1305
|
+
pulumi.set(__self__, "network", network)
|
1306
|
+
pulumi.set(__self__, "psc_connection_id", psc_connection_id)
|
1307
|
+
pulumi.set(__self__, "service_attachment", service_attachment)
|
1308
|
+
if connection_type is not None:
|
1309
|
+
pulumi.set(__self__, "connection_type", connection_type)
|
1310
|
+
if project_id is not None:
|
1311
|
+
pulumi.set(__self__, "project_id", project_id)
|
1312
|
+
if psc_connection_status is not None:
|
1313
|
+
pulumi.set(__self__, "psc_connection_status", psc_connection_status)
|
1314
|
+
|
1315
|
+
@property
|
1316
|
+
@pulumi.getter
|
1317
|
+
def address(self) -> str:
|
1318
|
+
"""
|
1319
|
+
The IP allocated on the consumer network for the PSC forwarding rule.
|
1320
|
+
"""
|
1321
|
+
return pulumi.get(self, "address")
|
1322
|
+
|
1323
|
+
@property
|
1324
|
+
@pulumi.getter(name="forwardingRule")
|
1325
|
+
def forwarding_rule(self) -> str:
|
1326
|
+
"""
|
1327
|
+
The URI of the consumer side forwarding rule.
|
1328
|
+
Format:
|
1329
|
+
projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
|
1330
|
+
"""
|
1331
|
+
return pulumi.get(self, "forwarding_rule")
|
1332
|
+
|
1333
|
+
@property
|
1334
|
+
@pulumi.getter
|
1335
|
+
def network(self) -> str:
|
1336
|
+
"""
|
1337
|
+
The consumer network where the IP address resides, in the form of
|
1338
|
+
projects/{project_id}/global/networks/{network_id}.
|
1339
|
+
"""
|
1340
|
+
return pulumi.get(self, "network")
|
1341
|
+
|
1342
|
+
@property
|
1343
|
+
@pulumi.getter(name="pscConnectionId")
|
1344
|
+
def psc_connection_id(self) -> str:
|
1345
|
+
"""
|
1346
|
+
The PSC connection id of the forwarding rule connected to the
|
1347
|
+
service attachment.
|
1348
|
+
"""
|
1349
|
+
return pulumi.get(self, "psc_connection_id")
|
1350
|
+
|
1351
|
+
@property
|
1352
|
+
@pulumi.getter(name="serviceAttachment")
|
1353
|
+
def service_attachment(self) -> str:
|
1354
|
+
"""
|
1355
|
+
The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
|
1356
|
+
"""
|
1357
|
+
return pulumi.get(self, "service_attachment")
|
1358
|
+
|
1359
|
+
@property
|
1360
|
+
@pulumi.getter(name="connectionType")
|
1361
|
+
def connection_type(self) -> Optional[str]:
|
1362
|
+
"""
|
1363
|
+
(Output)
|
1364
|
+
Output Only. Type of a PSC Connection.
|
1365
|
+
Possible values:
|
1366
|
+
CONNECTION_TYPE_DISCOVERY
|
1367
|
+
CONNECTION_TYPE_PRIMARY
|
1368
|
+
CONNECTION_TYPE_READER
|
1369
|
+
"""
|
1370
|
+
return pulumi.get(self, "connection_type")
|
1371
|
+
|
1372
|
+
@property
|
1373
|
+
@pulumi.getter(name="projectId")
|
1374
|
+
def project_id(self) -> Optional[str]:
|
1375
|
+
"""
|
1376
|
+
The consumer project_id where the forwarding rule is created from.
|
1377
|
+
"""
|
1378
|
+
return pulumi.get(self, "project_id")
|
1379
|
+
|
1380
|
+
@property
|
1381
|
+
@pulumi.getter(name="pscConnectionStatus")
|
1382
|
+
def psc_connection_status(self) -> Optional[str]:
|
1383
|
+
"""
|
1384
|
+
(Output)
|
1385
|
+
Output Only. The status of the PSC connection: whether a connection exists and ACTIVE or it no longer exists.
|
1386
|
+
Possible values:
|
1387
|
+
ACTIVE
|
1388
|
+
NOT_FOUND
|
1389
|
+
"""
|
1390
|
+
return pulumi.get(self, "psc_connection_status")
|
1391
|
+
|
1392
|
+
|
1129
1393
|
@pulumi.output_type
|
1130
1394
|
class ClusterZoneDistributionConfig(dict):
|
1131
1395
|
def __init__(__self__, *,
|
@@ -253,6 +253,12 @@ class Lien(pulumi.CustomResource):
|
|
253
253
|
"""
|
254
254
|
A Lien represents an encumbrance on the actions that can be performed on a resource.
|
255
255
|
|
256
|
+
To get more information about Lien, see:
|
257
|
+
|
258
|
+
* [API documentation](https://cloud.google.com/resource-manager/reference/rest)
|
259
|
+
* How-to Guides
|
260
|
+
* [Create a Lien](https://cloud.google.com/resource-manager/docs/project-liens)
|
261
|
+
|
256
262
|
## Example Usage
|
257
263
|
|
258
264
|
### Resource Manager Lien
|
@@ -313,6 +319,12 @@ class Lien(pulumi.CustomResource):
|
|
313
319
|
"""
|
314
320
|
A Lien represents an encumbrance on the actions that can be performed on a resource.
|
315
321
|
|
322
|
+
To get more information about Lien, see:
|
323
|
+
|
324
|
+
* [API documentation](https://cloud.google.com/resource-manager/reference/rest)
|
325
|
+
* How-to Guides
|
326
|
+
* [Create a Lien](https://cloud.google.com/resource-manager/docs/project-liens)
|
327
|
+
|
316
328
|
## Example Usage
|
317
329
|
|
318
330
|
### Resource Manager Lien
|
@@ -704,6 +704,8 @@ class RegionalSecret(pulumi.CustomResource):
|
|
704
704
|
To get more information about RegionalSecret, see:
|
705
705
|
|
706
706
|
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.locations.secrets)
|
707
|
+
* How-to Guides
|
708
|
+
* [Create and deploy a Regional Secret](https://cloud.google.com/secret-manager/regional-secrets/create-regional-secret)
|
707
709
|
|
708
710
|
## Example Usage
|
709
711
|
|
@@ -923,6 +925,8 @@ class RegionalSecret(pulumi.CustomResource):
|
|
923
925
|
To get more information about RegionalSecret, see:
|
924
926
|
|
925
927
|
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.locations.secrets)
|
928
|
+
* How-to Guides
|
929
|
+
* [Create and deploy a Regional Secret](https://cloud.google.com/secret-manager/regional-secrets/create-regional-secret)
|
926
930
|
|
927
931
|
## Example Usage
|
928
932
|
|
@@ -342,6 +342,12 @@ class RegionalSecretVersion(pulumi.CustomResource):
|
|
342
342
|
"""
|
343
343
|
A regional secret version resource.
|
344
344
|
|
345
|
+
To get more information about RegionalSecretVersion, see:
|
346
|
+
|
347
|
+
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.locations.secrets.versions)
|
348
|
+
* How-to Guides
|
349
|
+
* [Create and deploy a Regional Secret Version](https://cloud.google.com/secret-manager/regional-secrets/add-secret-version-rs)
|
350
|
+
|
345
351
|
## Example Usage
|
346
352
|
|
347
353
|
### Regional Secret Version Basic
|
@@ -453,6 +459,12 @@ class RegionalSecretVersion(pulumi.CustomResource):
|
|
453
459
|
"""
|
454
460
|
A regional secret version resource.
|
455
461
|
|
462
|
+
To get more information about RegionalSecretVersion, see:
|
463
|
+
|
464
|
+
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.locations.secrets.versions)
|
465
|
+
* How-to Guides
|
466
|
+
* [Create and deploy a Regional Secret Version](https://cloud.google.com/secret-manager/regional-secrets/add-secret-version-rs)
|
467
|
+
|
456
468
|
## Example Usage
|
457
469
|
|
458
470
|
### Regional Secret Version Basic
|
@@ -583,6 +583,8 @@ class Secret(pulumi.CustomResource):
|
|
583
583
|
To get more information about Secret, see:
|
584
584
|
|
585
585
|
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets)
|
586
|
+
* How-to Guides
|
587
|
+
* [Create and deploy a Secret](https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets)
|
586
588
|
|
587
589
|
## Example Usage
|
588
590
|
|
@@ -743,6 +745,8 @@ class Secret(pulumi.CustomResource):
|
|
743
745
|
To get more information about Secret, see:
|
744
746
|
|
745
747
|
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets)
|
748
|
+
* How-to Guides
|
749
|
+
* [Create and deploy a Secret](https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets)
|
746
750
|
|
747
751
|
## Example Usage
|
748
752
|
|
@@ -306,6 +306,12 @@ class SecretVersion(pulumi.CustomResource):
|
|
306
306
|
"""
|
307
307
|
A secret version resource.
|
308
308
|
|
309
|
+
To get more information about SecretVersion, see:
|
310
|
+
|
311
|
+
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions)
|
312
|
+
* How-to Guides
|
313
|
+
* [Create and deploy a Secret Version](https://cloud.google.com/secret-manager/docs/add-secret-version)
|
314
|
+
|
309
315
|
## Example Usage
|
310
316
|
|
311
317
|
### Secret Version Basic
|
@@ -426,6 +432,12 @@ class SecretVersion(pulumi.CustomResource):
|
|
426
432
|
"""
|
427
433
|
A secret version resource.
|
428
434
|
|
435
|
+
To get more information about SecretVersion, see:
|
436
|
+
|
437
|
+
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions)
|
438
|
+
* How-to Guides
|
439
|
+
* [Create and deploy a Secret Version](https://cloud.google.com/secret-manager/docs/add-secret-version)
|
440
|
+
|
429
441
|
## Example Usage
|
430
442
|
|
431
443
|
### Secret Version Basic
|
@@ -348,6 +348,8 @@ class Posture(pulumi.CustomResource):
|
|
348
348
|
Every update to a deployed posture creates a new posture revision with an updated revision_id.
|
349
349
|
|
350
350
|
To get more information about Posture, see:
|
351
|
+
|
352
|
+
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/securityposture/rest/v1/Posture)
|
351
353
|
* How-to Guides
|
352
354
|
* [Create and deploy a posture](https://cloud.google.com/security-command-center/docs/how-to-use-security-posture)
|
353
355
|
|
@@ -499,6 +501,8 @@ class Posture(pulumi.CustomResource):
|
|
499
501
|
Every update to a deployed posture creates a new posture revision with an updated revision_id.
|
500
502
|
|
501
503
|
To get more information about Posture, see:
|
504
|
+
|
505
|
+
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/securityposture/rest/v1/Posture)
|
502
506
|
* How-to Guides
|
503
507
|
* [Create and deploy a posture](https://cloud.google.com/security-command-center/docs/how-to-use-security-posture)
|
504
508
|
|
@@ -459,6 +459,8 @@ class PostureDeployment(pulumi.CustomResource):
|
|
459
459
|
on a resource.
|
460
460
|
|
461
461
|
To get more information about PostureDeployment, see:
|
462
|
+
|
463
|
+
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/securityposture/rest/v1/organizations.locations.postureDeployments)
|
462
464
|
* How-to Guides
|
463
465
|
* [Create and deploy a posture](https://cloud.google.com/security-command-center/docs/how-to-use-security-posture)
|
464
466
|
|
@@ -505,6 +507,8 @@ class PostureDeployment(pulumi.CustomResource):
|
|
505
507
|
on a resource.
|
506
508
|
|
507
509
|
To get more information about PostureDeployment, see:
|
510
|
+
|
511
|
+
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/securityposture/rest/v1/organizations.locations.postureDeployments)
|
508
512
|
* How-to Guides
|
509
513
|
* [Create and deploy a posture](https://cloud.google.com/security-command-center/docs/how-to-use-security-posture)
|
510
514
|
|
@@ -27,16 +27,22 @@ class GetSResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getS.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, accounts=None, id=None, project=None):
|
30
|
+
def __init__(__self__, accounts=None, id=None, prefix=None, project=None, regex=None):
|
31
31
|
if accounts and not isinstance(accounts, list):
|
32
32
|
raise TypeError("Expected argument 'accounts' to be a list")
|
33
33
|
pulumi.set(__self__, "accounts", accounts)
|
34
34
|
if id and not isinstance(id, str):
|
35
35
|
raise TypeError("Expected argument 'id' to be a str")
|
36
36
|
pulumi.set(__self__, "id", id)
|
37
|
+
if prefix and not isinstance(prefix, str):
|
38
|
+
raise TypeError("Expected argument 'prefix' to be a str")
|
39
|
+
pulumi.set(__self__, "prefix", prefix)
|
37
40
|
if project and not isinstance(project, str):
|
38
41
|
raise TypeError("Expected argument 'project' to be a str")
|
39
42
|
pulumi.set(__self__, "project", project)
|
43
|
+
if regex and not isinstance(regex, str):
|
44
|
+
raise TypeError("Expected argument 'regex' to be a str")
|
45
|
+
pulumi.set(__self__, "regex", regex)
|
40
46
|
|
41
47
|
@property
|
42
48
|
@pulumi.getter
|
@@ -54,11 +60,21 @@ class GetSResult:
|
|
54
60
|
"""
|
55
61
|
return pulumi.get(self, "id")
|
56
62
|
|
63
|
+
@property
|
64
|
+
@pulumi.getter
|
65
|
+
def prefix(self) -> Optional[str]:
|
66
|
+
return pulumi.get(self, "prefix")
|
67
|
+
|
57
68
|
@property
|
58
69
|
@pulumi.getter
|
59
70
|
def project(self) -> Optional[str]:
|
60
71
|
return pulumi.get(self, "project")
|
61
72
|
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def regex(self) -> Optional[str]:
|
76
|
+
return pulumi.get(self, "regex")
|
77
|
+
|
62
78
|
|
63
79
|
class AwaitableGetSResult(GetSResult):
|
64
80
|
# pylint: disable=using-constant-test
|
@@ -68,10 +84,14 @@ class AwaitableGetSResult(GetSResult):
|
|
68
84
|
return GetSResult(
|
69
85
|
accounts=self.accounts,
|
70
86
|
id=self.id,
|
71
|
-
|
87
|
+
prefix=self.prefix,
|
88
|
+
project=self.project,
|
89
|
+
regex=self.regex)
|
72
90
|
|
73
91
|
|
74
|
-
def get_s(
|
92
|
+
def get_s(prefix: Optional[str] = None,
|
93
|
+
project: Optional[str] = None,
|
94
|
+
regex: Optional[str] = None,
|
75
95
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSResult:
|
76
96
|
"""
|
77
97
|
Gets a list of all service accounts from a project.
|
@@ -80,7 +100,7 @@ def get_s(project: Optional[str] = None,
|
|
80
100
|
|
81
101
|
## Example Usage
|
82
102
|
|
83
|
-
|
103
|
+
Get all service accounts from a project
|
84
104
|
|
85
105
|
```python
|
86
106
|
import pulumi
|
@@ -89,19 +109,55 @@ def get_s(project: Optional[str] = None,
|
|
89
109
|
example = gcp.serviceaccount.get_s(project="example-project")
|
90
110
|
```
|
91
111
|
|
112
|
+
Get all service accounts that are prefixed with `"foo"`
|
113
|
+
|
114
|
+
```python
|
115
|
+
import pulumi
|
116
|
+
import pulumi_gcp as gcp
|
117
|
+
|
118
|
+
foo = gcp.serviceaccount.get_s(prefix="foo")
|
119
|
+
```
|
120
|
+
|
121
|
+
Get all service accounts that contain `"bar"`
|
122
|
+
|
123
|
+
```python
|
124
|
+
import pulumi
|
125
|
+
import pulumi_gcp as gcp
|
126
|
+
|
127
|
+
bar = gcp.serviceaccount.get_s(regex=".*bar.*")
|
128
|
+
```
|
129
|
+
|
130
|
+
Get all service accounts that are prefixed with `"foo"` and contain `"bar"`
|
131
|
+
|
132
|
+
```python
|
133
|
+
import pulumi
|
134
|
+
import pulumi_gcp as gcp
|
135
|
+
|
136
|
+
foo_bar = gcp.serviceaccount.get_s(prefix="foo",
|
137
|
+
regex=".*bar.*")
|
138
|
+
```
|
139
|
+
|
92
140
|
|
141
|
+
:param str prefix: A prefix for filtering. It's applied with the `account_id`.
|
93
142
|
:param str project: The ID of the project. If it is not provided, the provider project is used.
|
143
|
+
:param str regex: A regular expression for filtering. It's applied with the `email`. Further information about the syntax can be found [here](https://github.com/google/re2/wiki/Syntax).
|
94
144
|
"""
|
95
145
|
__args__ = dict()
|
146
|
+
__args__['prefix'] = prefix
|
96
147
|
__args__['project'] = project
|
148
|
+
__args__['regex'] = regex
|
97
149
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
98
150
|
__ret__ = pulumi.runtime.invoke('gcp:serviceaccount/getS:getS', __args__, opts=opts, typ=GetSResult).value
|
99
151
|
|
100
152
|
return AwaitableGetSResult(
|
101
153
|
accounts=pulumi.get(__ret__, 'accounts'),
|
102
154
|
id=pulumi.get(__ret__, 'id'),
|
103
|
-
|
104
|
-
|
155
|
+
prefix=pulumi.get(__ret__, 'prefix'),
|
156
|
+
project=pulumi.get(__ret__, 'project'),
|
157
|
+
regex=pulumi.get(__ret__, 'regex'))
|
158
|
+
def get_s_output(prefix: Optional[pulumi.Input[Optional[str]]] = None,
|
159
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
160
|
+
regex: Optional[pulumi.Input[Optional[str]]] = None,
|
105
161
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSResult]:
|
106
162
|
"""
|
107
163
|
Gets a list of all service accounts from a project.
|
@@ -110,7 +166,7 @@ def get_s_output(project: Optional[pulumi.Input[Optional[str]]] = None,
|
|
110
166
|
|
111
167
|
## Example Usage
|
112
168
|
|
113
|
-
|
169
|
+
Get all service accounts from a project
|
114
170
|
|
115
171
|
```python
|
116
172
|
import pulumi
|
@@ -119,14 +175,48 @@ def get_s_output(project: Optional[pulumi.Input[Optional[str]]] = None,
|
|
119
175
|
example = gcp.serviceaccount.get_s(project="example-project")
|
120
176
|
```
|
121
177
|
|
178
|
+
Get all service accounts that are prefixed with `"foo"`
|
179
|
+
|
180
|
+
```python
|
181
|
+
import pulumi
|
182
|
+
import pulumi_gcp as gcp
|
183
|
+
|
184
|
+
foo = gcp.serviceaccount.get_s(prefix="foo")
|
185
|
+
```
|
186
|
+
|
187
|
+
Get all service accounts that contain `"bar"`
|
188
|
+
|
189
|
+
```python
|
190
|
+
import pulumi
|
191
|
+
import pulumi_gcp as gcp
|
192
|
+
|
193
|
+
bar = gcp.serviceaccount.get_s(regex=".*bar.*")
|
194
|
+
```
|
195
|
+
|
196
|
+
Get all service accounts that are prefixed with `"foo"` and contain `"bar"`
|
197
|
+
|
198
|
+
```python
|
199
|
+
import pulumi
|
200
|
+
import pulumi_gcp as gcp
|
201
|
+
|
202
|
+
foo_bar = gcp.serviceaccount.get_s(prefix="foo",
|
203
|
+
regex=".*bar.*")
|
204
|
+
```
|
205
|
+
|
122
206
|
|
207
|
+
:param str prefix: A prefix for filtering. It's applied with the `account_id`.
|
123
208
|
:param str project: The ID of the project. If it is not provided, the provider project is used.
|
209
|
+
:param str regex: A regular expression for filtering. It's applied with the `email`. Further information about the syntax can be found [here](https://github.com/google/re2/wiki/Syntax).
|
124
210
|
"""
|
125
211
|
__args__ = dict()
|
212
|
+
__args__['prefix'] = prefix
|
126
213
|
__args__['project'] = project
|
214
|
+
__args__['regex'] = regex
|
127
215
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
128
216
|
__ret__ = pulumi.runtime.invoke_output('gcp:serviceaccount/getS:getS', __args__, opts=opts, typ=GetSResult)
|
129
217
|
return __ret__.apply(lambda __response__: GetSResult(
|
130
218
|
accounts=pulumi.get(__response__, 'accounts'),
|
131
219
|
id=pulumi.get(__response__, 'id'),
|
132
|
-
|
220
|
+
prefix=pulumi.get(__response__, 'prefix'),
|
221
|
+
project=pulumi.get(__response__, 'project'),
|
222
|
+
regex=pulumi.get(__response__, 'regex')))
|