pulumi-gcp 8.0.0a1726253601__py3-none-any.whl → 8.1.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 +24 -0
- pulumi_gcp/alloydb/_inputs.py +94 -0
- pulumi_gcp/alloydb/cluster.py +94 -1
- pulumi_gcp/alloydb/outputs.py +79 -0
- pulumi_gcp/assuredworkloads/workload.py +135 -16
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +1203 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/data_transfer_config.py +134 -6
- pulumi_gcp/bigquery/outputs.py +36 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +169 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +96 -3
- pulumi_gcp/bigqueryanalyticshub/listing.py +114 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +138 -5
- pulumi_gcp/bigtable/_inputs.py +21 -1
- pulumi_gcp/bigtable/outputs.py +13 -1
- pulumi_gcp/bigtable/table.py +34 -0
- pulumi_gcp/certificateauthority/authority.py +14 -7
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/certificate.py +28 -0
- pulumi_gcp/certificatemanager/get_certificates.py +150 -0
- pulumi_gcp/certificatemanager/outputs.py +322 -0
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +6 -12
- pulumi_gcp/cloudrun/outputs.py +8 -16
- pulumi_gcp/cloudrunv2/_inputs.py +72 -15
- pulumi_gcp/cloudrunv2/outputs.py +82 -16
- pulumi_gcp/cloudrunv2/service.py +50 -4
- pulumi_gcp/cloudtasks/_inputs.py +630 -0
- pulumi_gcp/cloudtasks/outputs.py +479 -0
- pulumi_gcp/cloudtasks/queue.py +238 -0
- pulumi_gcp/compute/_inputs.py +129 -9
- pulumi_gcp/compute/get_instance.py +1 -1
- pulumi_gcp/compute/health_check.py +114 -0
- pulumi_gcp/compute/instance.py +86 -4
- pulumi_gcp/compute/instance_template.py +66 -0
- pulumi_gcp/compute/interconnect.py +28 -21
- pulumi_gcp/compute/node_template.py +93 -0
- pulumi_gcp/compute/outputs.py +108 -6
- pulumi_gcp/compute/target_https_proxy.py +28 -0
- pulumi_gcp/container/_inputs.py +140 -3
- pulumi_gcp/container/attached_cluster.py +7 -7
- pulumi_gcp/container/outputs.py +174 -2
- pulumi_gcp/databasemigrationservice/_inputs.py +176 -148
- pulumi_gcp/databasemigrationservice/connection_profile.py +206 -0
- pulumi_gcp/databasemigrationservice/outputs.py +109 -87
- pulumi_gcp/dataloss/_inputs.py +353 -1
- pulumi_gcp/dataloss/outputs.py +274 -3
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +69 -1
- pulumi_gcp/datastream/outputs.py +44 -2
- pulumi_gcp/datastream/stream.py +194 -7
- pulumi_gcp/discoveryengine/_inputs.py +188 -0
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +153 -1
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +25 -1
- pulumi_gcp/gkehub/feature_membership.py +12 -6
- pulumi_gcp/gkehub/outputs.py +17 -1
- pulumi_gcp/iam/_inputs.py +196 -0
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +13 -3
- pulumi_gcp/iam/outputs.py +295 -0
- pulumi_gcp/iam/workload_identity_pool_provider.py +164 -3
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/autokey_config.py +10 -2
- pulumi_gcp/kms/get_crypto_key_latest_version.py +222 -0
- pulumi_gcp/kms/get_crypto_key_versions.py +175 -0
- pulumi_gcp/kms/outputs.py +164 -0
- pulumi_gcp/netapp/active_directory.py +6 -6
- pulumi_gcp/netapp/backup.py +6 -6
- pulumi_gcp/netapp/backup_policy.py +6 -6
- pulumi_gcp/netapp/backup_vault.py +6 -6
- pulumi_gcp/netapp/storage_pool.py +4 -4
- pulumi_gcp/netapp/volume.py +7 -0
- pulumi_gcp/networkconnectivity/_inputs.py +21 -1
- pulumi_gcp/networkconnectivity/outputs.py +15 -1
- pulumi_gcp/networkconnectivity/spoke.py +8 -0
- pulumi_gcp/networksecurity/client_tls_policy.py +24 -22
- pulumi_gcp/networksecurity/server_tls_policy.py +20 -32
- pulumi_gcp/organizations/get_project.py +13 -3
- pulumi_gcp/organizations/project.py +88 -3
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +26 -0
- pulumi_gcp/projects/usage_export_bucket.py +38 -0
- pulumi_gcp/pubsub/_inputs.py +40 -0
- pulumi_gcp/pubsub/outputs.py +51 -1
- pulumi_gcp/pubsub/subscription.py +6 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +419 -0
- pulumi_gcp/redis/cluster.py +123 -0
- pulumi_gcp/redis/outputs.py +315 -0
- pulumi_gcp/securitycenter/__init__.py +2 -0
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +857 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +796 -0
- {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/RECORD +101 -95
- {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudrunv2/outputs.py
CHANGED
@@ -64,6 +64,7 @@ __all__ = [
|
|
64
64
|
'ServiceTemplateContainerStartupProbeTcpSocket',
|
65
65
|
'ServiceTemplateContainerVolumeMount',
|
66
66
|
'ServiceTemplateScaling',
|
67
|
+
'ServiceTemplateServiceMesh',
|
67
68
|
'ServiceTemplateVolume',
|
68
69
|
'ServiceTemplateVolumeCloudSqlInstance',
|
69
70
|
'ServiceTemplateVolumeEmptyDir',
|
@@ -120,6 +121,7 @@ __all__ = [
|
|
120
121
|
'GetServiceTemplateContainerStartupProbeTcpSocketResult',
|
121
122
|
'GetServiceTemplateContainerVolumeMountResult',
|
122
123
|
'GetServiceTemplateScalingResult',
|
124
|
+
'GetServiceTemplateServiceMeshResult',
|
123
125
|
'GetServiceTemplateVolumeResult',
|
124
126
|
'GetServiceTemplateVolumeCloudSqlInstanceResult',
|
125
127
|
'GetServiceTemplateVolumeEmptyDirResult',
|
@@ -1117,9 +1119,9 @@ class JobTemplateTemplateVolume(dict):
|
|
1117
1119
|
Structure is documented below.
|
1118
1120
|
:param 'JobTemplateTemplateVolumeEmptyDirArgs' empty_dir: Ephemeral storage used as a shared volume.
|
1119
1121
|
Structure is documented below.
|
1120
|
-
:param 'JobTemplateTemplateVolumeGcsArgs' gcs: Cloud Storage bucket mounted as a volume using GCSFuse.
|
1122
|
+
:param 'JobTemplateTemplateVolumeGcsArgs' gcs: Cloud Storage bucket mounted as a volume using GCSFuse.
|
1121
1123
|
Structure is documented below.
|
1122
|
-
:param 'JobTemplateTemplateVolumeNfsArgs' nfs: NFS share mounted as a volume.
|
1124
|
+
:param 'JobTemplateTemplateVolumeNfsArgs' nfs: NFS share mounted as a volume.
|
1123
1125
|
Structure is documented below.
|
1124
1126
|
:param 'JobTemplateTemplateVolumeSecretArgs' secret: Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
1125
1127
|
Structure is documented below.
|
@@ -1166,7 +1168,7 @@ class JobTemplateTemplateVolume(dict):
|
|
1166
1168
|
@pulumi.getter
|
1167
1169
|
def gcs(self) -> Optional['outputs.JobTemplateTemplateVolumeGcs']:
|
1168
1170
|
"""
|
1169
|
-
Cloud Storage bucket mounted as a volume using GCSFuse.
|
1171
|
+
Cloud Storage bucket mounted as a volume using GCSFuse.
|
1170
1172
|
Structure is documented below.
|
1171
1173
|
"""
|
1172
1174
|
return pulumi.get(self, "gcs")
|
@@ -1175,7 +1177,7 @@ class JobTemplateTemplateVolume(dict):
|
|
1175
1177
|
@pulumi.getter
|
1176
1178
|
def nfs(self) -> Optional['outputs.JobTemplateTemplateVolumeNfs']:
|
1177
1179
|
"""
|
1178
|
-
NFS share mounted as a volume.
|
1180
|
+
NFS share mounted as a volume.
|
1179
1181
|
Structure is documented below.
|
1180
1182
|
"""
|
1181
1183
|
return pulumi.get(self, "nfs")
|
@@ -2037,6 +2039,8 @@ class ServiceTemplate(dict):
|
|
2037
2039
|
suggest = "max_instance_request_concurrency"
|
2038
2040
|
elif key == "serviceAccount":
|
2039
2041
|
suggest = "service_account"
|
2042
|
+
elif key == "serviceMesh":
|
2043
|
+
suggest = "service_mesh"
|
2040
2044
|
elif key == "sessionAffinity":
|
2041
2045
|
suggest = "session_affinity"
|
2042
2046
|
elif key == "vpcAccess":
|
@@ -2063,6 +2067,7 @@ class ServiceTemplate(dict):
|
|
2063
2067
|
revision: Optional[str] = None,
|
2064
2068
|
scaling: Optional['outputs.ServiceTemplateScaling'] = None,
|
2065
2069
|
service_account: Optional[str] = None,
|
2070
|
+
service_mesh: Optional['outputs.ServiceTemplateServiceMesh'] = None,
|
2066
2071
|
session_affinity: Optional[bool] = None,
|
2067
2072
|
timeout: Optional[str] = None,
|
2068
2073
|
volumes: Optional[Sequence['outputs.ServiceTemplateVolume']] = None,
|
@@ -2087,6 +2092,8 @@ class ServiceTemplate(dict):
|
|
2087
2092
|
:param 'ServiceTemplateScalingArgs' scaling: Scaling settings for this Revision.
|
2088
2093
|
Structure is documented below.
|
2089
2094
|
:param str service_account: Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
|
2095
|
+
:param 'ServiceTemplateServiceMeshArgs' service_mesh: Enables Cloud Service Mesh for this Revision.
|
2096
|
+
Structure is documented below.
|
2090
2097
|
:param bool session_affinity: Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
|
2091
2098
|
:param str timeout: Max allowed time for an instance to respond to a request.
|
2092
2099
|
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
@@ -2113,6 +2120,8 @@ class ServiceTemplate(dict):
|
|
2113
2120
|
pulumi.set(__self__, "scaling", scaling)
|
2114
2121
|
if service_account is not None:
|
2115
2122
|
pulumi.set(__self__, "service_account", service_account)
|
2123
|
+
if service_mesh is not None:
|
2124
|
+
pulumi.set(__self__, "service_mesh", service_mesh)
|
2116
2125
|
if session_affinity is not None:
|
2117
2126
|
pulumi.set(__self__, "session_affinity", session_affinity)
|
2118
2127
|
if timeout is not None:
|
@@ -2204,6 +2213,15 @@ class ServiceTemplate(dict):
|
|
2204
2213
|
"""
|
2205
2214
|
return pulumi.get(self, "service_account")
|
2206
2215
|
|
2216
|
+
@property
|
2217
|
+
@pulumi.getter(name="serviceMesh")
|
2218
|
+
def service_mesh(self) -> Optional['outputs.ServiceTemplateServiceMesh']:
|
2219
|
+
"""
|
2220
|
+
Enables Cloud Service Mesh for this Revision.
|
2221
|
+
Structure is documented below.
|
2222
|
+
"""
|
2223
|
+
return pulumi.get(self, "service_mesh")
|
2224
|
+
|
2207
2225
|
@property
|
2208
2226
|
@pulumi.getter(name="sessionAffinity")
|
2209
2227
|
def session_affinity(self) -> Optional[bool]:
|
@@ -3317,6 +3335,29 @@ class ServiceTemplateScaling(dict):
|
|
3317
3335
|
return pulumi.get(self, "min_instance_count")
|
3318
3336
|
|
3319
3337
|
|
3338
|
+
@pulumi.output_type
|
3339
|
+
class ServiceTemplateServiceMesh(dict):
|
3340
|
+
def __init__(__self__, *,
|
3341
|
+
mesh: Optional[str] = None):
|
3342
|
+
"""
|
3343
|
+
:param str mesh: The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
|
3344
|
+
|
3345
|
+
- - -
|
3346
|
+
"""
|
3347
|
+
if mesh is not None:
|
3348
|
+
pulumi.set(__self__, "mesh", mesh)
|
3349
|
+
|
3350
|
+
@property
|
3351
|
+
@pulumi.getter
|
3352
|
+
def mesh(self) -> Optional[str]:
|
3353
|
+
"""
|
3354
|
+
The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
|
3355
|
+
|
3356
|
+
- - -
|
3357
|
+
"""
|
3358
|
+
return pulumi.get(self, "mesh")
|
3359
|
+
|
3360
|
+
|
3320
3361
|
@pulumi.output_type
|
3321
3362
|
class ServiceTemplateVolume(dict):
|
3322
3363
|
@staticmethod
|
@@ -3351,7 +3392,7 @@ class ServiceTemplateVolume(dict):
|
|
3351
3392
|
Structure is documented below.
|
3352
3393
|
:param 'ServiceTemplateVolumeEmptyDirArgs' empty_dir: Ephemeral storage used as a shared volume.
|
3353
3394
|
Structure is documented below.
|
3354
|
-
:param 'ServiceTemplateVolumeGcsArgs' gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment
|
3395
|
+
:param 'ServiceTemplateVolumeGcsArgs' gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
|
3355
3396
|
Structure is documented below.
|
3356
3397
|
:param 'ServiceTemplateVolumeNfsArgs' nfs: Represents an NFS mount.
|
3357
3398
|
Structure is documented below.
|
@@ -3400,7 +3441,7 @@ class ServiceTemplateVolume(dict):
|
|
3400
3441
|
@pulumi.getter
|
3401
3442
|
def gcs(self) -> Optional['outputs.ServiceTemplateVolumeGcs']:
|
3402
3443
|
"""
|
3403
|
-
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment
|
3444
|
+
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
|
3404
3445
|
Structure is documented below.
|
3405
3446
|
"""
|
3406
3447
|
return pulumi.get(self, "gcs")
|
@@ -3569,8 +3610,6 @@ class ServiceTemplateVolumeNfs(dict):
|
|
3569
3610
|
:param str path: Path that is exported by the NFS server.
|
3570
3611
|
:param str server: Hostname or IP address of the NFS server
|
3571
3612
|
:param bool read_only: If true, mount the NFS volume as read only
|
3572
|
-
|
3573
|
-
- - -
|
3574
3613
|
"""
|
3575
3614
|
pulumi.set(__self__, "path", path)
|
3576
3615
|
pulumi.set(__self__, "server", server)
|
@@ -3598,8 +3637,6 @@ class ServiceTemplateVolumeNfs(dict):
|
|
3598
3637
|
def read_only(self) -> Optional[bool]:
|
3599
3638
|
"""
|
3600
3639
|
If true, mount the NFS volume as read only
|
3601
|
-
|
3602
|
-
- - -
|
3603
3640
|
"""
|
3604
3641
|
return pulumi.get(self, "read_only")
|
3605
3642
|
|
@@ -4751,9 +4788,9 @@ class GetJobTemplateTemplateVolumeResult(dict):
|
|
4751
4788
|
"""
|
4752
4789
|
:param Sequence['GetJobTemplateTemplateVolumeCloudSqlInstanceArgs'] cloud_sql_instances: For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
|
4753
4790
|
:param Sequence['GetJobTemplateTemplateVolumeEmptyDirArgs'] empty_dirs: Ephemeral storage used as a shared volume.
|
4754
|
-
:param Sequence['GetJobTemplateTemplateVolumeGcArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse.
|
4791
|
+
:param Sequence['GetJobTemplateTemplateVolumeGcArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse.
|
4755
4792
|
:param str name: The name of the Cloud Run v2 Job.
|
4756
|
-
:param Sequence['GetJobTemplateTemplateVolumeNfArgs'] nfs: NFS share mounted as a volume.
|
4793
|
+
:param Sequence['GetJobTemplateTemplateVolumeNfArgs'] nfs: NFS share mounted as a volume.
|
4757
4794
|
:param Sequence['GetJobTemplateTemplateVolumeSecretArgs'] secrets: Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
4758
4795
|
"""
|
4759
4796
|
pulumi.set(__self__, "cloud_sql_instances", cloud_sql_instances)
|
@@ -4783,7 +4820,7 @@ class GetJobTemplateTemplateVolumeResult(dict):
|
|
4783
4820
|
@pulumi.getter
|
4784
4821
|
def gcs(self) -> Sequence['outputs.GetJobTemplateTemplateVolumeGcResult']:
|
4785
4822
|
"""
|
4786
|
-
Cloud Storage bucket mounted as a volume using GCSFuse.
|
4823
|
+
Cloud Storage bucket mounted as a volume using GCSFuse.
|
4787
4824
|
"""
|
4788
4825
|
return pulumi.get(self, "gcs")
|
4789
4826
|
|
@@ -4799,7 +4836,7 @@ class GetJobTemplateTemplateVolumeResult(dict):
|
|
4799
4836
|
@pulumi.getter
|
4800
4837
|
def nfs(self) -> Sequence['outputs.GetJobTemplateTemplateVolumeNfResult']:
|
4801
4838
|
"""
|
4802
|
-
NFS share mounted as a volume.
|
4839
|
+
NFS share mounted as a volume.
|
4803
4840
|
"""
|
4804
4841
|
return pulumi.get(self, "nfs")
|
4805
4842
|
|
@@ -5364,6 +5401,7 @@ class GetServiceTemplateResult(dict):
|
|
5364
5401
|
revision: str,
|
5365
5402
|
scalings: Sequence['outputs.GetServiceTemplateScalingResult'],
|
5366
5403
|
service_account: str,
|
5404
|
+
service_meshes: Sequence['outputs.GetServiceTemplateServiceMeshResult'],
|
5367
5405
|
session_affinity: bool,
|
5368
5406
|
timeout: str,
|
5369
5407
|
volumes: Sequence['outputs.GetServiceTemplateVolumeResult'],
|
@@ -5388,6 +5426,7 @@ class GetServiceTemplateResult(dict):
|
|
5388
5426
|
:param str revision: The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
|
5389
5427
|
:param Sequence['GetServiceTemplateScalingArgs'] scalings: Scaling settings for this Revision.
|
5390
5428
|
:param str service_account: Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
|
5429
|
+
:param Sequence['GetServiceTemplateServiceMeshArgs'] service_meshes: Enables Cloud Service Mesh for this Revision.
|
5391
5430
|
:param bool session_affinity: Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
|
5392
5431
|
:param str timeout: Max allowed time for an instance to respond to a request.
|
5393
5432
|
|
@@ -5404,6 +5443,7 @@ class GetServiceTemplateResult(dict):
|
|
5404
5443
|
pulumi.set(__self__, "revision", revision)
|
5405
5444
|
pulumi.set(__self__, "scalings", scalings)
|
5406
5445
|
pulumi.set(__self__, "service_account", service_account)
|
5446
|
+
pulumi.set(__self__, "service_meshes", service_meshes)
|
5407
5447
|
pulumi.set(__self__, "session_affinity", session_affinity)
|
5408
5448
|
pulumi.set(__self__, "timeout", timeout)
|
5409
5449
|
pulumi.set(__self__, "volumes", volumes)
|
@@ -5491,6 +5531,14 @@ class GetServiceTemplateResult(dict):
|
|
5491
5531
|
"""
|
5492
5532
|
return pulumi.get(self, "service_account")
|
5493
5533
|
|
5534
|
+
@property
|
5535
|
+
@pulumi.getter(name="serviceMeshes")
|
5536
|
+
def service_meshes(self) -> Sequence['outputs.GetServiceTemplateServiceMeshResult']:
|
5537
|
+
"""
|
5538
|
+
Enables Cloud Service Mesh for this Revision.
|
5539
|
+
"""
|
5540
|
+
return pulumi.get(self, "service_meshes")
|
5541
|
+
|
5494
5542
|
@property
|
5495
5543
|
@pulumi.getter(name="sessionAffinity")
|
5496
5544
|
def session_affinity(self) -> bool:
|
@@ -6307,6 +6355,24 @@ class GetServiceTemplateScalingResult(dict):
|
|
6307
6355
|
return pulumi.get(self, "min_instance_count")
|
6308
6356
|
|
6309
6357
|
|
6358
|
+
@pulumi.output_type
|
6359
|
+
class GetServiceTemplateServiceMeshResult(dict):
|
6360
|
+
def __init__(__self__, *,
|
6361
|
+
mesh: str):
|
6362
|
+
"""
|
6363
|
+
:param str mesh: The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
|
6364
|
+
"""
|
6365
|
+
pulumi.set(__self__, "mesh", mesh)
|
6366
|
+
|
6367
|
+
@property
|
6368
|
+
@pulumi.getter
|
6369
|
+
def mesh(self) -> str:
|
6370
|
+
"""
|
6371
|
+
The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
|
6372
|
+
"""
|
6373
|
+
return pulumi.get(self, "mesh")
|
6374
|
+
|
6375
|
+
|
6310
6376
|
@pulumi.output_type
|
6311
6377
|
class GetServiceTemplateVolumeResult(dict):
|
6312
6378
|
def __init__(__self__, *,
|
@@ -6319,7 +6385,7 @@ class GetServiceTemplateVolumeResult(dict):
|
|
6319
6385
|
"""
|
6320
6386
|
:param Sequence['GetServiceTemplateVolumeCloudSqlInstanceArgs'] cloud_sql_instances: For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
|
6321
6387
|
:param Sequence['GetServiceTemplateVolumeEmptyDirArgs'] empty_dirs: Ephemeral storage used as a shared volume.
|
6322
|
-
:param Sequence['GetServiceTemplateVolumeGcArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment
|
6388
|
+
:param Sequence['GetServiceTemplateVolumeGcArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
|
6323
6389
|
:param str name: The name of the Cloud Run v2 Service.
|
6324
6390
|
:param Sequence['GetServiceTemplateVolumeNfArgs'] nfs: Represents an NFS mount.
|
6325
6391
|
:param Sequence['GetServiceTemplateVolumeSecretArgs'] secrets: Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
@@ -6351,7 +6417,7 @@ class GetServiceTemplateVolumeResult(dict):
|
|
6351
6417
|
@pulumi.getter
|
6352
6418
|
def gcs(self) -> Sequence['outputs.GetServiceTemplateVolumeGcResult']:
|
6353
6419
|
"""
|
6354
|
-
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment
|
6420
|
+
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
|
6355
6421
|
"""
|
6356
6422
|
return pulumi.get(self, "gcs")
|
6357
6423
|
|
pulumi_gcp/cloudrunv2/service.py
CHANGED
@@ -1338,7 +1338,6 @@ class Service(pulumi.CustomResource):
|
|
1338
1338
|
name="cloudrun-service",
|
1339
1339
|
location="us-central1",
|
1340
1340
|
deletion_protection=False,
|
1341
|
-
launch_stage="BETA",
|
1342
1341
|
template={
|
1343
1342
|
"execution_environment": "EXECUTION_ENVIRONMENT_GEN2",
|
1344
1343
|
"containers": [{
|
@@ -1380,7 +1379,6 @@ class Service(pulumi.CustomResource):
|
|
1380
1379
|
location="us-central1",
|
1381
1380
|
deletion_protection=False,
|
1382
1381
|
ingress="INGRESS_TRAFFIC_ALL",
|
1383
|
-
launch_stage="BETA",
|
1384
1382
|
template={
|
1385
1383
|
"execution_environment": "EXECUTION_ENVIRONMENT_GEN2",
|
1386
1384
|
"containers": [{
|
@@ -1406,6 +1404,31 @@ class Service(pulumi.CustomResource):
|
|
1406
1404
|
}],
|
1407
1405
|
})
|
1408
1406
|
```
|
1407
|
+
### Cloudrunv2 Service Mesh
|
1408
|
+
|
1409
|
+
```python
|
1410
|
+
import pulumi
|
1411
|
+
import pulumi_gcp as gcp
|
1412
|
+
import pulumi_time as time
|
1413
|
+
|
1414
|
+
mesh = gcp.networkservices.Mesh("mesh", name="network-services-mesh")
|
1415
|
+
wait_for_mesh = time.index.Sleep("wait_for_mesh", create_duration=1m,
|
1416
|
+
opts = pulumi.ResourceOptions(depends_on=[mesh]))
|
1417
|
+
default = gcp.cloudrunv2.Service("default",
|
1418
|
+
name="cloudrun-service",
|
1419
|
+
deletion_protection=False,
|
1420
|
+
location="us-central1",
|
1421
|
+
launch_stage="BETA",
|
1422
|
+
template={
|
1423
|
+
"containers": [{
|
1424
|
+
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
1425
|
+
}],
|
1426
|
+
"service_mesh": {
|
1427
|
+
"mesh": mesh.id,
|
1428
|
+
},
|
1429
|
+
},
|
1430
|
+
opts = pulumi.ResourceOptions(depends_on=[wait_for_mesh]))
|
1431
|
+
```
|
1409
1432
|
|
1410
1433
|
## Import
|
1411
1434
|
|
@@ -1806,7 +1829,6 @@ class Service(pulumi.CustomResource):
|
|
1806
1829
|
name="cloudrun-service",
|
1807
1830
|
location="us-central1",
|
1808
1831
|
deletion_protection=False,
|
1809
|
-
launch_stage="BETA",
|
1810
1832
|
template={
|
1811
1833
|
"execution_environment": "EXECUTION_ENVIRONMENT_GEN2",
|
1812
1834
|
"containers": [{
|
@@ -1848,7 +1870,6 @@ class Service(pulumi.CustomResource):
|
|
1848
1870
|
location="us-central1",
|
1849
1871
|
deletion_protection=False,
|
1850
1872
|
ingress="INGRESS_TRAFFIC_ALL",
|
1851
|
-
launch_stage="BETA",
|
1852
1873
|
template={
|
1853
1874
|
"execution_environment": "EXECUTION_ENVIRONMENT_GEN2",
|
1854
1875
|
"containers": [{
|
@@ -1874,6 +1895,31 @@ class Service(pulumi.CustomResource):
|
|
1874
1895
|
}],
|
1875
1896
|
})
|
1876
1897
|
```
|
1898
|
+
### Cloudrunv2 Service Mesh
|
1899
|
+
|
1900
|
+
```python
|
1901
|
+
import pulumi
|
1902
|
+
import pulumi_gcp as gcp
|
1903
|
+
import pulumi_time as time
|
1904
|
+
|
1905
|
+
mesh = gcp.networkservices.Mesh("mesh", name="network-services-mesh")
|
1906
|
+
wait_for_mesh = time.index.Sleep("wait_for_mesh", create_duration=1m,
|
1907
|
+
opts = pulumi.ResourceOptions(depends_on=[mesh]))
|
1908
|
+
default = gcp.cloudrunv2.Service("default",
|
1909
|
+
name="cloudrun-service",
|
1910
|
+
deletion_protection=False,
|
1911
|
+
location="us-central1",
|
1912
|
+
launch_stage="BETA",
|
1913
|
+
template={
|
1914
|
+
"containers": [{
|
1915
|
+
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
1916
|
+
}],
|
1917
|
+
"service_mesh": {
|
1918
|
+
"mesh": mesh.id,
|
1919
|
+
},
|
1920
|
+
},
|
1921
|
+
opts = pulumi.ResourceOptions(depends_on=[wait_for_mesh]))
|
1922
|
+
```
|
1877
1923
|
|
1878
1924
|
## Import
|
1879
1925
|
|