pulumi-gcp 8.1.0__py3-none-any.whl → 8.1.0a1726293903__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 +0 -24
- pulumi_gcp/alloydb/_inputs.py +0 -94
- pulumi_gcp/alloydb/cluster.py +1 -94
- pulumi_gcp/alloydb/outputs.py +0 -79
- pulumi_gcp/assuredworkloads/workload.py +16 -135
- pulumi_gcp/backupdisasterrecovery/__init__.py +0 -1
- pulumi_gcp/bigquery/_inputs.py +0 -33
- pulumi_gcp/bigquery/data_transfer_config.py +6 -134
- pulumi_gcp/bigquery/outputs.py +0 -36
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +7 -169
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +3 -96
- pulumi_gcp/bigqueryanalyticshub/listing.py +0 -114
- pulumi_gcp/bigqueryanalyticshub/outputs.py +5 -138
- pulumi_gcp/bigtable/_inputs.py +1 -21
- pulumi_gcp/bigtable/outputs.py +1 -13
- pulumi_gcp/bigtable/table.py +0 -34
- pulumi_gcp/certificateauthority/authority.py +7 -14
- pulumi_gcp/certificatemanager/__init__.py +0 -1
- pulumi_gcp/certificatemanager/certificate.py +0 -28
- pulumi_gcp/certificatemanager/outputs.py +0 -322
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +12 -6
- pulumi_gcp/cloudrun/outputs.py +16 -8
- pulumi_gcp/cloudrunv2/_inputs.py +15 -72
- pulumi_gcp/cloudrunv2/outputs.py +16 -82
- pulumi_gcp/cloudrunv2/service.py +4 -50
- pulumi_gcp/cloudtasks/_inputs.py +0 -630
- pulumi_gcp/cloudtasks/outputs.py +0 -479
- pulumi_gcp/cloudtasks/queue.py +0 -238
- pulumi_gcp/compute/_inputs.py +9 -129
- pulumi_gcp/compute/get_instance.py +1 -1
- pulumi_gcp/compute/health_check.py +0 -114
- pulumi_gcp/compute/instance.py +4 -86
- pulumi_gcp/compute/instance_template.py +0 -66
- pulumi_gcp/compute/interconnect.py +21 -28
- pulumi_gcp/compute/node_template.py +0 -93
- pulumi_gcp/compute/outputs.py +6 -108
- pulumi_gcp/compute/target_https_proxy.py +0 -28
- pulumi_gcp/container/_inputs.py +3 -140
- pulumi_gcp/container/attached_cluster.py +7 -7
- pulumi_gcp/container/outputs.py +2 -174
- pulumi_gcp/databasemigrationservice/_inputs.py +148 -176
- pulumi_gcp/databasemigrationservice/connection_profile.py +0 -206
- pulumi_gcp/databasemigrationservice/outputs.py +87 -109
- pulumi_gcp/dataloss/_inputs.py +1 -353
- pulumi_gcp/dataloss/outputs.py +3 -274
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +1 -69
- pulumi_gcp/datastream/outputs.py +2 -44
- pulumi_gcp/datastream/stream.py +7 -194
- pulumi_gcp/discoveryengine/_inputs.py +0 -188
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +1 -153
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +1 -25
- pulumi_gcp/gkehub/feature_membership.py +6 -12
- pulumi_gcp/gkehub/outputs.py +1 -17
- pulumi_gcp/iam/_inputs.py +0 -196
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +3 -13
- pulumi_gcp/iam/outputs.py +0 -295
- pulumi_gcp/iam/workload_identity_pool_provider.py +3 -164
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/kms/autokey_config.py +2 -10
- pulumi_gcp/kms/outputs.py +0 -164
- 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 +0 -7
- pulumi_gcp/networkconnectivity/_inputs.py +1 -21
- pulumi_gcp/networkconnectivity/outputs.py +1 -15
- pulumi_gcp/networkconnectivity/spoke.py +0 -8
- pulumi_gcp/networksecurity/client_tls_policy.py +22 -24
- pulumi_gcp/networksecurity/server_tls_policy.py +32 -20
- pulumi_gcp/organizations/get_project.py +3 -13
- pulumi_gcp/organizations/project.py +3 -88
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +0 -26
- pulumi_gcp/projects/usage_export_bucket.py +0 -38
- pulumi_gcp/pubsub/_inputs.py +0 -40
- pulumi_gcp/pubsub/outputs.py +1 -51
- pulumi_gcp/pubsub/subscription.py +0 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +0 -419
- pulumi_gcp/redis/cluster.py +0 -123
- pulumi_gcp/redis/outputs.py +0 -315
- pulumi_gcp/securitycenter/__init__.py +0 -2
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/RECORD +95 -101
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/WHEEL +1 -1
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +0 -1203
- pulumi_gcp/certificatemanager/get_certificates.py +0 -150
- pulumi_gcp/kms/get_crypto_key_latest_version.py +0 -222
- pulumi_gcp/kms/get_crypto_key_versions.py +0 -175
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +0 -857
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +0 -796
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudrun/outputs.py
CHANGED
@@ -2813,7 +2813,8 @@ class ServiceTemplateSpecVolume(dict):
|
|
2813
2813
|
:param 'ServiceTemplateSpecVolumeEmptyDirArgs' empty_dir: Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
|
2814
2814
|
Structure is documented below.
|
2815
2815
|
:param 'ServiceTemplateSpecVolumeNfsArgs' nfs: A filesystem backed by a Network File System share. This filesystem requires the
|
2816
|
-
run.googleapis.com/execution-environment annotation to be
|
2816
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
2817
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
2817
2818
|
Structure is documented below.
|
2818
2819
|
:param 'ServiceTemplateSpecVolumeSecretArgs' secret: The secret's value will be presented as the content of a file whose
|
2819
2820
|
name is defined in the item path. If no items are defined, the name of
|
@@ -2861,7 +2862,8 @@ class ServiceTemplateSpecVolume(dict):
|
|
2861
2862
|
def nfs(self) -> Optional['outputs.ServiceTemplateSpecVolumeNfs']:
|
2862
2863
|
"""
|
2863
2864
|
A filesystem backed by a Network File System share. This filesystem requires the
|
2864
|
-
run.googleapis.com/execution-environment annotation to be
|
2865
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
2866
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
2865
2867
|
Structure is documented below.
|
2866
2868
|
"""
|
2867
2869
|
return pulumi.get(self, "nfs")
|
@@ -2906,7 +2908,8 @@ class ServiceTemplateSpecVolumeCsi(dict):
|
|
2906
2908
|
"""
|
2907
2909
|
:param str driver: Unique name representing the type of file system to be created. Cloud Run supports the following values:
|
2908
2910
|
* gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the
|
2909
|
-
run.googleapis.com/execution-environment annotation to be
|
2911
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
2912
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
2910
2913
|
:param bool read_only: If true, all mounts created from this volume will be read-only.
|
2911
2914
|
:param Mapping[str, str] volume_attributes: Driver-specific attributes. The following options are supported for available drivers:
|
2912
2915
|
* gcsfuse.run.googleapis.com
|
@@ -2924,7 +2927,8 @@ class ServiceTemplateSpecVolumeCsi(dict):
|
|
2924
2927
|
"""
|
2925
2928
|
Unique name representing the type of file system to be created. Cloud Run supports the following values:
|
2926
2929
|
* gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the
|
2927
|
-
run.googleapis.com/execution-environment annotation to be
|
2930
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
2931
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
2928
2932
|
"""
|
2929
2933
|
return pulumi.get(self, "driver")
|
2930
2934
|
|
@@ -4808,7 +4812,8 @@ class GetServiceTemplateSpecVolumeResult(dict):
|
|
4808
4812
|
:param Sequence['GetServiceTemplateSpecVolumeEmptyDirArgs'] empty_dirs: Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
|
4809
4813
|
:param str name: The name of the Cloud Run Service.
|
4810
4814
|
:param Sequence['GetServiceTemplateSpecVolumeNfArgs'] nfs: A filesystem backed by a Network File System share. This filesystem requires the
|
4811
|
-
run.googleapis.com/execution-environment annotation to be
|
4815
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
4816
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
4812
4817
|
:param Sequence['GetServiceTemplateSpecVolumeSecretArgs'] secrets: The secret's value will be presented as the content of a file whose
|
4813
4818
|
name is defined in the item path. If no items are defined, the name of
|
4814
4819
|
the file is the secret_name.
|
@@ -4848,7 +4853,8 @@ class GetServiceTemplateSpecVolumeResult(dict):
|
|
4848
4853
|
def nfs(self) -> Sequence['outputs.GetServiceTemplateSpecVolumeNfResult']:
|
4849
4854
|
"""
|
4850
4855
|
A filesystem backed by a Network File System share. This filesystem requires the
|
4851
|
-
run.googleapis.com/execution-environment annotation to be
|
4856
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
4857
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
4852
4858
|
"""
|
4853
4859
|
return pulumi.get(self, "nfs")
|
4854
4860
|
|
@@ -4872,7 +4878,8 @@ class GetServiceTemplateSpecVolumeCsiResult(dict):
|
|
4872
4878
|
"""
|
4873
4879
|
:param str driver: Unique name representing the type of file system to be created. Cloud Run supports the following values:
|
4874
4880
|
* gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the
|
4875
|
-
run.googleapis.com/execution-environment annotation to be
|
4881
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
4882
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
4876
4883
|
:param bool read_only: If true, all mounts created from this volume will be read-only.
|
4877
4884
|
:param Mapping[str, str] volume_attributes: Driver-specific attributes. The following options are supported for available drivers:
|
4878
4885
|
* gcsfuse.run.googleapis.com
|
@@ -4888,7 +4895,8 @@ class GetServiceTemplateSpecVolumeCsiResult(dict):
|
|
4888
4895
|
"""
|
4889
4896
|
Unique name representing the type of file system to be created. Cloud Run supports the following values:
|
4890
4897
|
* gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver requires the
|
4891
|
-
run.googleapis.com/execution-environment annotation to be
|
4898
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
4899
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
4892
4900
|
"""
|
4893
4901
|
return pulumi.get(self, "driver")
|
4894
4902
|
|
pulumi_gcp/cloudrunv2/_inputs.py
CHANGED
@@ -111,8 +111,6 @@ __all__ = [
|
|
111
111
|
'ServiceTemplateContainerVolumeMountArgsDict',
|
112
112
|
'ServiceTemplateScalingArgs',
|
113
113
|
'ServiceTemplateScalingArgsDict',
|
114
|
-
'ServiceTemplateServiceMeshArgs',
|
115
|
-
'ServiceTemplateServiceMeshArgsDict',
|
116
114
|
'ServiceTemplateVolumeArgs',
|
117
115
|
'ServiceTemplateVolumeArgsDict',
|
118
116
|
'ServiceTemplateVolumeCloudSqlInstanceArgs',
|
@@ -1429,12 +1427,12 @@ if not MYPY:
|
|
1429
1427
|
"""
|
1430
1428
|
gcs: NotRequired[pulumi.Input['JobTemplateTemplateVolumeGcsArgsDict']]
|
1431
1429
|
"""
|
1432
|
-
Cloud Storage bucket mounted as a volume using GCSFuse.
|
1430
|
+
Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
|
1433
1431
|
Structure is documented below.
|
1434
1432
|
"""
|
1435
1433
|
nfs: NotRequired[pulumi.Input['JobTemplateTemplateVolumeNfsArgsDict']]
|
1436
1434
|
"""
|
1437
|
-
NFS share mounted as a volume.
|
1435
|
+
NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
|
1438
1436
|
Structure is documented below.
|
1439
1437
|
"""
|
1440
1438
|
secret: NotRequired[pulumi.Input['JobTemplateTemplateVolumeSecretArgsDict']]
|
@@ -1460,9 +1458,9 @@ class JobTemplateTemplateVolumeArgs:
|
|
1460
1458
|
Structure is documented below.
|
1461
1459
|
:param pulumi.Input['JobTemplateTemplateVolumeEmptyDirArgs'] empty_dir: Ephemeral storage used as a shared volume.
|
1462
1460
|
Structure is documented below.
|
1463
|
-
:param pulumi.Input['JobTemplateTemplateVolumeGcsArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse.
|
1461
|
+
:param pulumi.Input['JobTemplateTemplateVolumeGcsArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
|
1464
1462
|
Structure is documented below.
|
1465
|
-
:param pulumi.Input['JobTemplateTemplateVolumeNfsArgs'] nfs: NFS share mounted as a volume.
|
1463
|
+
:param pulumi.Input['JobTemplateTemplateVolumeNfsArgs'] nfs: NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
|
1466
1464
|
Structure is documented below.
|
1467
1465
|
:param pulumi.Input['JobTemplateTemplateVolumeSecretArgs'] secret: Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
1468
1466
|
Structure is documented below.
|
@@ -1521,7 +1519,7 @@ class JobTemplateTemplateVolumeArgs:
|
|
1521
1519
|
@pulumi.getter
|
1522
1520
|
def gcs(self) -> Optional[pulumi.Input['JobTemplateTemplateVolumeGcsArgs']]:
|
1523
1521
|
"""
|
1524
|
-
Cloud Storage bucket mounted as a volume using GCSFuse.
|
1522
|
+
Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
|
1525
1523
|
Structure is documented below.
|
1526
1524
|
"""
|
1527
1525
|
return pulumi.get(self, "gcs")
|
@@ -1534,7 +1532,7 @@ class JobTemplateTemplateVolumeArgs:
|
|
1534
1532
|
@pulumi.getter
|
1535
1533
|
def nfs(self) -> Optional[pulumi.Input['JobTemplateTemplateVolumeNfsArgs']]:
|
1536
1534
|
"""
|
1537
|
-
NFS share mounted as a volume.
|
1535
|
+
NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
|
1538
1536
|
Structure is documented below.
|
1539
1537
|
"""
|
1540
1538
|
return pulumi.get(self, "nfs")
|
@@ -2725,11 +2723,6 @@ if not MYPY:
|
|
2725
2723
|
"""
|
2726
2724
|
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.
|
2727
2725
|
"""
|
2728
|
-
service_mesh: NotRequired[pulumi.Input['ServiceTemplateServiceMeshArgsDict']]
|
2729
|
-
"""
|
2730
|
-
Enables Cloud Service Mesh for this Revision.
|
2731
|
-
Structure is documented below.
|
2732
|
-
"""
|
2733
2726
|
session_affinity: NotRequired[pulumi.Input[bool]]
|
2734
2727
|
"""
|
2735
2728
|
Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
|
@@ -2764,7 +2757,6 @@ class ServiceTemplateArgs:
|
|
2764
2757
|
revision: Optional[pulumi.Input[str]] = None,
|
2765
2758
|
scaling: Optional[pulumi.Input['ServiceTemplateScalingArgs']] = None,
|
2766
2759
|
service_account: Optional[pulumi.Input[str]] = None,
|
2767
|
-
service_mesh: Optional[pulumi.Input['ServiceTemplateServiceMeshArgs']] = None,
|
2768
2760
|
session_affinity: Optional[pulumi.Input[bool]] = None,
|
2769
2761
|
timeout: Optional[pulumi.Input[str]] = None,
|
2770
2762
|
volumes: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceTemplateVolumeArgs']]]] = None,
|
@@ -2789,8 +2781,6 @@ class ServiceTemplateArgs:
|
|
2789
2781
|
:param pulumi.Input['ServiceTemplateScalingArgs'] scaling: Scaling settings for this Revision.
|
2790
2782
|
Structure is documented below.
|
2791
2783
|
:param pulumi.Input[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.
|
2792
|
-
:param pulumi.Input['ServiceTemplateServiceMeshArgs'] service_mesh: Enables Cloud Service Mesh for this Revision.
|
2793
|
-
Structure is documented below.
|
2794
2784
|
:param pulumi.Input[bool] session_affinity: Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
|
2795
2785
|
:param pulumi.Input[str] timeout: Max allowed time for an instance to respond to a request.
|
2796
2786
|
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
@@ -2817,8 +2807,6 @@ class ServiceTemplateArgs:
|
|
2817
2807
|
pulumi.set(__self__, "scaling", scaling)
|
2818
2808
|
if service_account is not None:
|
2819
2809
|
pulumi.set(__self__, "service_account", service_account)
|
2820
|
-
if service_mesh is not None:
|
2821
|
-
pulumi.set(__self__, "service_mesh", service_mesh)
|
2822
2810
|
if session_affinity is not None:
|
2823
2811
|
pulumi.set(__self__, "session_affinity", session_affinity)
|
2824
2812
|
if timeout is not None:
|
@@ -2946,19 +2934,6 @@ class ServiceTemplateArgs:
|
|
2946
2934
|
def service_account(self, value: Optional[pulumi.Input[str]]):
|
2947
2935
|
pulumi.set(self, "service_account", value)
|
2948
2936
|
|
2949
|
-
@property
|
2950
|
-
@pulumi.getter(name="serviceMesh")
|
2951
|
-
def service_mesh(self) -> Optional[pulumi.Input['ServiceTemplateServiceMeshArgs']]:
|
2952
|
-
"""
|
2953
|
-
Enables Cloud Service Mesh for this Revision.
|
2954
|
-
Structure is documented below.
|
2955
|
-
"""
|
2956
|
-
return pulumi.get(self, "service_mesh")
|
2957
|
-
|
2958
|
-
@service_mesh.setter
|
2959
|
-
def service_mesh(self, value: Optional[pulumi.Input['ServiceTemplateServiceMeshArgs']]):
|
2960
|
-
pulumi.set(self, "service_mesh", value)
|
2961
|
-
|
2962
2937
|
@property
|
2963
2938
|
@pulumi.getter(name="sessionAffinity")
|
2964
2939
|
def session_affinity(self) -> Optional[pulumi.Input[bool]]:
|
@@ -4443,44 +4418,6 @@ class ServiceTemplateScalingArgs:
|
|
4443
4418
|
pulumi.set(self, "min_instance_count", value)
|
4444
4419
|
|
4445
4420
|
|
4446
|
-
if not MYPY:
|
4447
|
-
class ServiceTemplateServiceMeshArgsDict(TypedDict):
|
4448
|
-
mesh: NotRequired[pulumi.Input[str]]
|
4449
|
-
"""
|
4450
|
-
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.
|
4451
|
-
|
4452
|
-
- - -
|
4453
|
-
"""
|
4454
|
-
elif False:
|
4455
|
-
ServiceTemplateServiceMeshArgsDict: TypeAlias = Mapping[str, Any]
|
4456
|
-
|
4457
|
-
@pulumi.input_type
|
4458
|
-
class ServiceTemplateServiceMeshArgs:
|
4459
|
-
def __init__(__self__, *,
|
4460
|
-
mesh: Optional[pulumi.Input[str]] = None):
|
4461
|
-
"""
|
4462
|
-
:param pulumi.Input[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.
|
4463
|
-
|
4464
|
-
- - -
|
4465
|
-
"""
|
4466
|
-
if mesh is not None:
|
4467
|
-
pulumi.set(__self__, "mesh", mesh)
|
4468
|
-
|
4469
|
-
@property
|
4470
|
-
@pulumi.getter
|
4471
|
-
def mesh(self) -> Optional[pulumi.Input[str]]:
|
4472
|
-
"""
|
4473
|
-
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.
|
4474
|
-
|
4475
|
-
- - -
|
4476
|
-
"""
|
4477
|
-
return pulumi.get(self, "mesh")
|
4478
|
-
|
4479
|
-
@mesh.setter
|
4480
|
-
def mesh(self, value: Optional[pulumi.Input[str]]):
|
4481
|
-
pulumi.set(self, "mesh", value)
|
4482
|
-
|
4483
|
-
|
4484
4421
|
if not MYPY:
|
4485
4422
|
class ServiceTemplateVolumeArgsDict(TypedDict):
|
4486
4423
|
name: pulumi.Input[str]
|
@@ -4499,7 +4436,7 @@ if not MYPY:
|
|
4499
4436
|
"""
|
4500
4437
|
gcs: NotRequired[pulumi.Input['ServiceTemplateVolumeGcsArgsDict']]
|
4501
4438
|
"""
|
4502
|
-
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
|
4439
|
+
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment and requires launch-stage to be set to ALPHA or BETA.
|
4503
4440
|
Structure is documented below.
|
4504
4441
|
"""
|
4505
4442
|
nfs: NotRequired[pulumi.Input['ServiceTemplateVolumeNfsArgsDict']]
|
@@ -4530,7 +4467,7 @@ class ServiceTemplateVolumeArgs:
|
|
4530
4467
|
Structure is documented below.
|
4531
4468
|
:param pulumi.Input['ServiceTemplateVolumeEmptyDirArgs'] empty_dir: Ephemeral storage used as a shared volume.
|
4532
4469
|
Structure is documented below.
|
4533
|
-
:param pulumi.Input['ServiceTemplateVolumeGcsArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
|
4470
|
+
:param pulumi.Input['ServiceTemplateVolumeGcsArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment and requires launch-stage to be set to ALPHA or BETA.
|
4534
4471
|
Structure is documented below.
|
4535
4472
|
:param pulumi.Input['ServiceTemplateVolumeNfsArgs'] nfs: Represents an NFS mount.
|
4536
4473
|
Structure is documented below.
|
@@ -4591,7 +4528,7 @@ class ServiceTemplateVolumeArgs:
|
|
4591
4528
|
@pulumi.getter
|
4592
4529
|
def gcs(self) -> Optional[pulumi.Input['ServiceTemplateVolumeGcsArgs']]:
|
4593
4530
|
"""
|
4594
|
-
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
|
4531
|
+
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment and requires launch-stage to be set to ALPHA or BETA.
|
4595
4532
|
Structure is documented below.
|
4596
4533
|
"""
|
4597
4534
|
return pulumi.get(self, "gcs")
|
@@ -4781,6 +4718,8 @@ if not MYPY:
|
|
4781
4718
|
read_only: NotRequired[pulumi.Input[bool]]
|
4782
4719
|
"""
|
4783
4720
|
If true, mount the NFS volume as read only
|
4721
|
+
|
4722
|
+
- - -
|
4784
4723
|
"""
|
4785
4724
|
elif False:
|
4786
4725
|
ServiceTemplateVolumeNfsArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -4795,6 +4734,8 @@ class ServiceTemplateVolumeNfsArgs:
|
|
4795
4734
|
:param pulumi.Input[str] path: Path that is exported by the NFS server.
|
4796
4735
|
:param pulumi.Input[str] server: Hostname or IP address of the NFS server
|
4797
4736
|
:param pulumi.Input[bool] read_only: If true, mount the NFS volume as read only
|
4737
|
+
|
4738
|
+
- - -
|
4798
4739
|
"""
|
4799
4740
|
pulumi.set(__self__, "path", path)
|
4800
4741
|
pulumi.set(__self__, "server", server)
|
@@ -4830,6 +4771,8 @@ class ServiceTemplateVolumeNfsArgs:
|
|
4830
4771
|
def read_only(self) -> Optional[pulumi.Input[bool]]:
|
4831
4772
|
"""
|
4832
4773
|
If true, mount the NFS volume as read only
|
4774
|
+
|
4775
|
+
- - -
|
4833
4776
|
"""
|
4834
4777
|
return pulumi.get(self, "read_only")
|
4835
4778
|
|
pulumi_gcp/cloudrunv2/outputs.py
CHANGED
@@ -64,7 +64,6 @@ __all__ = [
|
|
64
64
|
'ServiceTemplateContainerStartupProbeTcpSocket',
|
65
65
|
'ServiceTemplateContainerVolumeMount',
|
66
66
|
'ServiceTemplateScaling',
|
67
|
-
'ServiceTemplateServiceMesh',
|
68
67
|
'ServiceTemplateVolume',
|
69
68
|
'ServiceTemplateVolumeCloudSqlInstance',
|
70
69
|
'ServiceTemplateVolumeEmptyDir',
|
@@ -121,7 +120,6 @@ __all__ = [
|
|
121
120
|
'GetServiceTemplateContainerStartupProbeTcpSocketResult',
|
122
121
|
'GetServiceTemplateContainerVolumeMountResult',
|
123
122
|
'GetServiceTemplateScalingResult',
|
124
|
-
'GetServiceTemplateServiceMeshResult',
|
125
123
|
'GetServiceTemplateVolumeResult',
|
126
124
|
'GetServiceTemplateVolumeCloudSqlInstanceResult',
|
127
125
|
'GetServiceTemplateVolumeEmptyDirResult',
|
@@ -1119,9 +1117,9 @@ class JobTemplateTemplateVolume(dict):
|
|
1119
1117
|
Structure is documented below.
|
1120
1118
|
:param 'JobTemplateTemplateVolumeEmptyDirArgs' empty_dir: Ephemeral storage used as a shared volume.
|
1121
1119
|
Structure is documented below.
|
1122
|
-
:param 'JobTemplateTemplateVolumeGcsArgs' gcs: Cloud Storage bucket mounted as a volume using GCSFuse.
|
1120
|
+
:param 'JobTemplateTemplateVolumeGcsArgs' gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
|
1123
1121
|
Structure is documented below.
|
1124
|
-
:param 'JobTemplateTemplateVolumeNfsArgs' nfs: NFS share mounted as a volume.
|
1122
|
+
:param 'JobTemplateTemplateVolumeNfsArgs' nfs: NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
|
1125
1123
|
Structure is documented below.
|
1126
1124
|
:param 'JobTemplateTemplateVolumeSecretArgs' secret: Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
1127
1125
|
Structure is documented below.
|
@@ -1168,7 +1166,7 @@ class JobTemplateTemplateVolume(dict):
|
|
1168
1166
|
@pulumi.getter
|
1169
1167
|
def gcs(self) -> Optional['outputs.JobTemplateTemplateVolumeGcs']:
|
1170
1168
|
"""
|
1171
|
-
Cloud Storage bucket mounted as a volume using GCSFuse.
|
1169
|
+
Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
|
1172
1170
|
Structure is documented below.
|
1173
1171
|
"""
|
1174
1172
|
return pulumi.get(self, "gcs")
|
@@ -1177,7 +1175,7 @@ class JobTemplateTemplateVolume(dict):
|
|
1177
1175
|
@pulumi.getter
|
1178
1176
|
def nfs(self) -> Optional['outputs.JobTemplateTemplateVolumeNfs']:
|
1179
1177
|
"""
|
1180
|
-
NFS share mounted as a volume.
|
1178
|
+
NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
|
1181
1179
|
Structure is documented below.
|
1182
1180
|
"""
|
1183
1181
|
return pulumi.get(self, "nfs")
|
@@ -2039,8 +2037,6 @@ class ServiceTemplate(dict):
|
|
2039
2037
|
suggest = "max_instance_request_concurrency"
|
2040
2038
|
elif key == "serviceAccount":
|
2041
2039
|
suggest = "service_account"
|
2042
|
-
elif key == "serviceMesh":
|
2043
|
-
suggest = "service_mesh"
|
2044
2040
|
elif key == "sessionAffinity":
|
2045
2041
|
suggest = "session_affinity"
|
2046
2042
|
elif key == "vpcAccess":
|
@@ -2067,7 +2063,6 @@ class ServiceTemplate(dict):
|
|
2067
2063
|
revision: Optional[str] = None,
|
2068
2064
|
scaling: Optional['outputs.ServiceTemplateScaling'] = None,
|
2069
2065
|
service_account: Optional[str] = None,
|
2070
|
-
service_mesh: Optional['outputs.ServiceTemplateServiceMesh'] = None,
|
2071
2066
|
session_affinity: Optional[bool] = None,
|
2072
2067
|
timeout: Optional[str] = None,
|
2073
2068
|
volumes: Optional[Sequence['outputs.ServiceTemplateVolume']] = None,
|
@@ -2092,8 +2087,6 @@ class ServiceTemplate(dict):
|
|
2092
2087
|
:param 'ServiceTemplateScalingArgs' scaling: Scaling settings for this Revision.
|
2093
2088
|
Structure is documented below.
|
2094
2089
|
: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.
|
2097
2090
|
:param bool session_affinity: Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
|
2098
2091
|
:param str timeout: Max allowed time for an instance to respond to a request.
|
2099
2092
|
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
@@ -2120,8 +2113,6 @@ class ServiceTemplate(dict):
|
|
2120
2113
|
pulumi.set(__self__, "scaling", scaling)
|
2121
2114
|
if service_account is not None:
|
2122
2115
|
pulumi.set(__self__, "service_account", service_account)
|
2123
|
-
if service_mesh is not None:
|
2124
|
-
pulumi.set(__self__, "service_mesh", service_mesh)
|
2125
2116
|
if session_affinity is not None:
|
2126
2117
|
pulumi.set(__self__, "session_affinity", session_affinity)
|
2127
2118
|
if timeout is not None:
|
@@ -2213,15 +2204,6 @@ class ServiceTemplate(dict):
|
|
2213
2204
|
"""
|
2214
2205
|
return pulumi.get(self, "service_account")
|
2215
2206
|
|
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
|
-
|
2225
2207
|
@property
|
2226
2208
|
@pulumi.getter(name="sessionAffinity")
|
2227
2209
|
def session_affinity(self) -> Optional[bool]:
|
@@ -3335,29 +3317,6 @@ class ServiceTemplateScaling(dict):
|
|
3335
3317
|
return pulumi.get(self, "min_instance_count")
|
3336
3318
|
|
3337
3319
|
|
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
|
-
|
3361
3320
|
@pulumi.output_type
|
3362
3321
|
class ServiceTemplateVolume(dict):
|
3363
3322
|
@staticmethod
|
@@ -3392,7 +3351,7 @@ class ServiceTemplateVolume(dict):
|
|
3392
3351
|
Structure is documented below.
|
3393
3352
|
:param 'ServiceTemplateVolumeEmptyDirArgs' empty_dir: Ephemeral storage used as a shared volume.
|
3394
3353
|
Structure is documented below.
|
3395
|
-
:param 'ServiceTemplateVolumeGcsArgs' gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
|
3354
|
+
:param 'ServiceTemplateVolumeGcsArgs' gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment and requires launch-stage to be set to ALPHA or BETA.
|
3396
3355
|
Structure is documented below.
|
3397
3356
|
:param 'ServiceTemplateVolumeNfsArgs' nfs: Represents an NFS mount.
|
3398
3357
|
Structure is documented below.
|
@@ -3441,7 +3400,7 @@ class ServiceTemplateVolume(dict):
|
|
3441
3400
|
@pulumi.getter
|
3442
3401
|
def gcs(self) -> Optional['outputs.ServiceTemplateVolumeGcs']:
|
3443
3402
|
"""
|
3444
|
-
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
|
3403
|
+
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment and requires launch-stage to be set to ALPHA or BETA.
|
3445
3404
|
Structure is documented below.
|
3446
3405
|
"""
|
3447
3406
|
return pulumi.get(self, "gcs")
|
@@ -3610,6 +3569,8 @@ class ServiceTemplateVolumeNfs(dict):
|
|
3610
3569
|
:param str path: Path that is exported by the NFS server.
|
3611
3570
|
:param str server: Hostname or IP address of the NFS server
|
3612
3571
|
:param bool read_only: If true, mount the NFS volume as read only
|
3572
|
+
|
3573
|
+
- - -
|
3613
3574
|
"""
|
3614
3575
|
pulumi.set(__self__, "path", path)
|
3615
3576
|
pulumi.set(__self__, "server", server)
|
@@ -3637,6 +3598,8 @@ class ServiceTemplateVolumeNfs(dict):
|
|
3637
3598
|
def read_only(self) -> Optional[bool]:
|
3638
3599
|
"""
|
3639
3600
|
If true, mount the NFS volume as read only
|
3601
|
+
|
3602
|
+
- - -
|
3640
3603
|
"""
|
3641
3604
|
return pulumi.get(self, "read_only")
|
3642
3605
|
|
@@ -4788,9 +4751,9 @@ class GetJobTemplateTemplateVolumeResult(dict):
|
|
4788
4751
|
"""
|
4789
4752
|
: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.
|
4790
4753
|
:param Sequence['GetJobTemplateTemplateVolumeEmptyDirArgs'] empty_dirs: Ephemeral storage used as a shared volume.
|
4791
|
-
:param Sequence['GetJobTemplateTemplateVolumeGcArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse.
|
4754
|
+
:param Sequence['GetJobTemplateTemplateVolumeGcArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
|
4792
4755
|
:param str name: The name of the Cloud Run v2 Job.
|
4793
|
-
:param Sequence['GetJobTemplateTemplateVolumeNfArgs'] nfs: NFS share mounted as a volume.
|
4756
|
+
:param Sequence['GetJobTemplateTemplateVolumeNfArgs'] nfs: NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
|
4794
4757
|
:param Sequence['GetJobTemplateTemplateVolumeSecretArgs'] secrets: Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
4795
4758
|
"""
|
4796
4759
|
pulumi.set(__self__, "cloud_sql_instances", cloud_sql_instances)
|
@@ -4820,7 +4783,7 @@ class GetJobTemplateTemplateVolumeResult(dict):
|
|
4820
4783
|
@pulumi.getter
|
4821
4784
|
def gcs(self) -> Sequence['outputs.GetJobTemplateTemplateVolumeGcResult']:
|
4822
4785
|
"""
|
4823
|
-
Cloud Storage bucket mounted as a volume using GCSFuse.
|
4786
|
+
Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
|
4824
4787
|
"""
|
4825
4788
|
return pulumi.get(self, "gcs")
|
4826
4789
|
|
@@ -4836,7 +4799,7 @@ class GetJobTemplateTemplateVolumeResult(dict):
|
|
4836
4799
|
@pulumi.getter
|
4837
4800
|
def nfs(self) -> Sequence['outputs.GetJobTemplateTemplateVolumeNfResult']:
|
4838
4801
|
"""
|
4839
|
-
NFS share mounted as a volume.
|
4802
|
+
NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
|
4840
4803
|
"""
|
4841
4804
|
return pulumi.get(self, "nfs")
|
4842
4805
|
|
@@ -5401,7 +5364,6 @@ class GetServiceTemplateResult(dict):
|
|
5401
5364
|
revision: str,
|
5402
5365
|
scalings: Sequence['outputs.GetServiceTemplateScalingResult'],
|
5403
5366
|
service_account: str,
|
5404
|
-
service_meshes: Sequence['outputs.GetServiceTemplateServiceMeshResult'],
|
5405
5367
|
session_affinity: bool,
|
5406
5368
|
timeout: str,
|
5407
5369
|
volumes: Sequence['outputs.GetServiceTemplateVolumeResult'],
|
@@ -5426,7 +5388,6 @@ class GetServiceTemplateResult(dict):
|
|
5426
5388
|
:param str revision: The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
|
5427
5389
|
:param Sequence['GetServiceTemplateScalingArgs'] scalings: Scaling settings for this Revision.
|
5428
5390
|
: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.
|
5430
5391
|
:param bool session_affinity: Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
|
5431
5392
|
:param str timeout: Max allowed time for an instance to respond to a request.
|
5432
5393
|
|
@@ -5443,7 +5404,6 @@ class GetServiceTemplateResult(dict):
|
|
5443
5404
|
pulumi.set(__self__, "revision", revision)
|
5444
5405
|
pulumi.set(__self__, "scalings", scalings)
|
5445
5406
|
pulumi.set(__self__, "service_account", service_account)
|
5446
|
-
pulumi.set(__self__, "service_meshes", service_meshes)
|
5447
5407
|
pulumi.set(__self__, "session_affinity", session_affinity)
|
5448
5408
|
pulumi.set(__self__, "timeout", timeout)
|
5449
5409
|
pulumi.set(__self__, "volumes", volumes)
|
@@ -5531,14 +5491,6 @@ class GetServiceTemplateResult(dict):
|
|
5531
5491
|
"""
|
5532
5492
|
return pulumi.get(self, "service_account")
|
5533
5493
|
|
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
|
-
|
5542
5494
|
@property
|
5543
5495
|
@pulumi.getter(name="sessionAffinity")
|
5544
5496
|
def session_affinity(self) -> bool:
|
@@ -6355,24 +6307,6 @@ class GetServiceTemplateScalingResult(dict):
|
|
6355
6307
|
return pulumi.get(self, "min_instance_count")
|
6356
6308
|
|
6357
6309
|
|
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
|
-
|
6376
6310
|
@pulumi.output_type
|
6377
6311
|
class GetServiceTemplateVolumeResult(dict):
|
6378
6312
|
def __init__(__self__, *,
|
@@ -6385,7 +6319,7 @@ class GetServiceTemplateVolumeResult(dict):
|
|
6385
6319
|
"""
|
6386
6320
|
: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.
|
6387
6321
|
:param Sequence['GetServiceTemplateVolumeEmptyDirArgs'] empty_dirs: Ephemeral storage used as a shared volume.
|
6388
|
-
:param Sequence['GetServiceTemplateVolumeGcArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
|
6322
|
+
:param Sequence['GetServiceTemplateVolumeGcArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment and requires launch-stage to be set to ALPHA or BETA.
|
6389
6323
|
:param str name: The name of the Cloud Run v2 Service.
|
6390
6324
|
:param Sequence['GetServiceTemplateVolumeNfArgs'] nfs: Represents an NFS mount.
|
6391
6325
|
:param Sequence['GetServiceTemplateVolumeSecretArgs'] secrets: Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
@@ -6417,7 +6351,7 @@ class GetServiceTemplateVolumeResult(dict):
|
|
6417
6351
|
@pulumi.getter
|
6418
6352
|
def gcs(self) -> Sequence['outputs.GetServiceTemplateVolumeGcResult']:
|
6419
6353
|
"""
|
6420
|
-
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
|
6354
|
+
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment and requires launch-stage to be set to ALPHA or BETA.
|
6421
6355
|
"""
|
6422
6356
|
return pulumi.get(self, "gcs")
|
6423
6357
|
|
pulumi_gcp/cloudrunv2/service.py
CHANGED
@@ -1338,6 +1338,7 @@ class Service(pulumi.CustomResource):
|
|
1338
1338
|
name="cloudrun-service",
|
1339
1339
|
location="us-central1",
|
1340
1340
|
deletion_protection=False,
|
1341
|
+
launch_stage="BETA",
|
1341
1342
|
template={
|
1342
1343
|
"execution_environment": "EXECUTION_ENVIRONMENT_GEN2",
|
1343
1344
|
"containers": [{
|
@@ -1379,6 +1380,7 @@ class Service(pulumi.CustomResource):
|
|
1379
1380
|
location="us-central1",
|
1380
1381
|
deletion_protection=False,
|
1381
1382
|
ingress="INGRESS_TRAFFIC_ALL",
|
1383
|
+
launch_stage="BETA",
|
1382
1384
|
template={
|
1383
1385
|
"execution_environment": "EXECUTION_ENVIRONMENT_GEN2",
|
1384
1386
|
"containers": [{
|
@@ -1404,31 +1406,6 @@ class Service(pulumi.CustomResource):
|
|
1404
1406
|
}],
|
1405
1407
|
})
|
1406
1408
|
```
|
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
|
-
```
|
1432
1409
|
|
1433
1410
|
## Import
|
1434
1411
|
|
@@ -1829,6 +1806,7 @@ class Service(pulumi.CustomResource):
|
|
1829
1806
|
name="cloudrun-service",
|
1830
1807
|
location="us-central1",
|
1831
1808
|
deletion_protection=False,
|
1809
|
+
launch_stage="BETA",
|
1832
1810
|
template={
|
1833
1811
|
"execution_environment": "EXECUTION_ENVIRONMENT_GEN2",
|
1834
1812
|
"containers": [{
|
@@ -1870,6 +1848,7 @@ class Service(pulumi.CustomResource):
|
|
1870
1848
|
location="us-central1",
|
1871
1849
|
deletion_protection=False,
|
1872
1850
|
ingress="INGRESS_TRAFFIC_ALL",
|
1851
|
+
launch_stage="BETA",
|
1873
1852
|
template={
|
1874
1853
|
"execution_environment": "EXECUTION_ENVIRONMENT_GEN2",
|
1875
1854
|
"containers": [{
|
@@ -1895,31 +1874,6 @@ class Service(pulumi.CustomResource):
|
|
1895
1874
|
}],
|
1896
1875
|
})
|
1897
1876
|
```
|
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
|
-
```
|
1923
1877
|
|
1924
1878
|
## Import
|
1925
1879
|
|