pulumi-gcp 8.11.0a1734348982__py3-none-any.whl → 8.12.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 +123 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +6 -0
- pulumi_gcp/apigee/app_group.py +7 -7
- pulumi_gcp/applicationintegration/client.py +8 -6
- pulumi_gcp/artifactregistry/_inputs.py +24 -15
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +12 -4
- pulumi_gcp/artifactregistry/outputs.py +32 -20
- pulumi_gcp/artifactregistry/repository.py +214 -39
- pulumi_gcp/artifactregistry/repository_iam_binding.py +42 -14
- pulumi_gcp/artifactregistry/repository_iam_member.py +42 -14
- pulumi_gcp/artifactregistry/repository_iam_policy.py +42 -14
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/backupdisasterrecovery/__init__.py +2 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +2 -2
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +12 -8
- pulumi_gcp/backupdisasterrecovery/get_backup.py +153 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +415 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +63 -0
- pulumi_gcp/bigquery/app_profile.py +75 -0
- pulumi_gcp/billing/_inputs.py +6 -6
- pulumi_gcp/billing/outputs.py +4 -4
- pulumi_gcp/certificateauthority/_inputs.py +9 -9
- pulumi_gcp/certificateauthority/outputs.py +8 -8
- pulumi_gcp/cloudbuild/_inputs.py +53 -0
- pulumi_gcp/cloudbuild/outputs.py +50 -0
- pulumi_gcp/cloudbuild/worker_pool.py +47 -0
- pulumi_gcp/clouddeploy/_inputs.py +254 -0
- pulumi_gcp/clouddeploy/outputs.py +211 -0
- pulumi_gcp/clouddeploy/target.py +47 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +6 -6
- pulumi_gcp/cloudfunctionsv2/outputs.py +8 -8
- pulumi_gcp/cloudrunv2/job.py +4 -4
- pulumi_gcp/cloudrunv2/service.py +4 -4
- pulumi_gcp/composer/get_user_workloads_config_map.py +4 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +4 -0
- pulumi_gcp/composer/user_workloads_config_map.py +14 -0
- pulumi_gcp/composer/user_workloads_secret.py +6 -0
- pulumi_gcp/compute/_inputs.py +566 -25
- pulumi_gcp/compute/disk.py +21 -7
- pulumi_gcp/compute/firewall_policy_rule.py +12 -0
- pulumi_gcp/compute/get_forwarding_rules.py +2 -2
- pulumi_gcp/compute/get_global_forwarding_rule.py +23 -1
- pulumi_gcp/compute/get_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_network.py +35 -1
- pulumi_gcp/compute/get_region_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_region_network_endpoint_group.py +12 -1
- pulumi_gcp/compute/global_forwarding_rule.py +142 -2
- pulumi_gcp/compute/instance_group_manager.py +28 -0
- pulumi_gcp/compute/network.py +75 -0
- pulumi_gcp/compute/outputs.py +655 -26
- pulumi_gcp/compute/project_cloud_armor_tier.py +7 -7
- pulumi_gcp/compute/region_health_check.py +28 -0
- pulumi_gcp/compute/region_instance_group_manager.py +28 -0
- pulumi_gcp/compute/region_network_endpoint.py +28 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +70 -2
- pulumi_gcp/compute/subnetwork.py +30 -2
- pulumi_gcp/compute/url_map.py +7 -7
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +201 -3
- pulumi_gcp/container/cluster.py +68 -14
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/outputs.py +249 -3
- pulumi_gcp/dataproc/_inputs.py +209 -1
- pulumi_gcp/dataproc/batch.py +76 -0
- pulumi_gcp/dataproc/outputs.py +169 -3
- pulumi_gcp/diagflow/_inputs.py +3 -3
- pulumi_gcp/diagflow/outputs.py +2 -2
- pulumi_gcp/discoveryengine/search_engine.py +7 -7
- pulumi_gcp/firebase/_inputs.py +99 -0
- pulumi_gcp/firebase/database_instance.py +24 -6
- pulumi_gcp/firebase/hosting_version.py +96 -0
- pulumi_gcp/firebase/outputs.py +59 -0
- pulumi_gcp/firebase/project.py +6 -6
- pulumi_gcp/firebaserules/release.py +76 -0
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gemini/__init__.py +15 -0
- pulumi_gcp/gemini/_inputs.py +183 -0
- pulumi_gcp/gemini/code_repository_index.py +659 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +171 -0
- pulumi_gcp/gemini/outputs.py +130 -0
- pulumi_gcp/gemini/repository_group.py +586 -0
- pulumi_gcp/gemini/repository_group_iam_binding.py +604 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +604 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +443 -0
- pulumi_gcp/gkehub/_inputs.py +30 -10
- 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 +21 -7
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iam/__init__.py +1 -0
- pulumi_gcp/iam/_inputs.py +137 -0
- pulumi_gcp/iam/folders_policy_binding.py +16 -0
- pulumi_gcp/iam/organizations_policy_binding.py +16 -0
- pulumi_gcp/iam/outputs.py +99 -0
- pulumi_gcp/iam/principal_access_boundary_policy.py +16 -0
- pulumi_gcp/iam/projects_policy_binding.py +917 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/identityplatform/_inputs.py +6 -6
- pulumi_gcp/identityplatform/config.py +2 -2
- pulumi_gcp/identityplatform/outputs.py +4 -4
- pulumi_gcp/integrationconnectors/_inputs.py +15 -15
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/integrationconnectors/outputs.py +10 -10
- pulumi_gcp/looker/instance.py +35 -14
- pulumi_gcp/monitoring/_inputs.py +13 -6
- pulumi_gcp/monitoring/outputs.py +10 -4
- pulumi_gcp/netapp/_inputs.py +3 -3
- pulumi_gcp/netapp/active_directory.py +7 -7
- pulumi_gcp/netapp/outputs.py +2 -2
- pulumi_gcp/netapp/volume.py +11 -11
- pulumi_gcp/networkconnectivity/_inputs.py +10 -12
- pulumi_gcp/networkconnectivity/outputs.py +6 -8
- pulumi_gcp/networkconnectivity/spoke.py +10 -10
- pulumi_gcp/networksecurity/__init__.py +7 -0
- pulumi_gcp/networksecurity/_inputs.py +2018 -0
- pulumi_gcp/networksecurity/authz_policy.py +1008 -0
- pulumi_gcp/networksecurity/intercept_deployment.py +846 -0
- pulumi_gcp/networksecurity/intercept_deployment_group.py +752 -0
- pulumi_gcp/networksecurity/mirroring_deployment.py +848 -0
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +752 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +737 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +840 -0
- pulumi_gcp/networksecurity/outputs.py +1463 -0
- pulumi_gcp/networkservices/__init__.py +1 -0
- pulumi_gcp/networkservices/authz_extension.py +1080 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +46 -8
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +42 -4
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +50 -8
- pulumi_gcp/oracledatabase/get_autonomous_database.py +12 -1
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +12 -1
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +12 -1
- pulumi_gcp/oracledatabase/outputs.py +21 -0
- pulumi_gcp/orgpolicy/_inputs.py +40 -0
- pulumi_gcp/orgpolicy/outputs.py +24 -0
- pulumi_gcp/orgpolicy/policy.py +66 -10
- pulumi_gcp/parallelstore/instance.py +4 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +435 -3
- pulumi_gcp/redis/cluster.py +287 -16
- pulumi_gcp/redis/outputs.py +304 -2
- pulumi_gcp/serviceaccount/get_account_id_token.py +2 -2
- pulumi_gcp/serviceaccount/get_account_key.py +2 -2
- pulumi_gcp/sql/_inputs.py +3 -3
- pulumi_gcp/sql/database_instance.py +14 -14
- pulumi_gcp/sql/outputs.py +2 -2
- pulumi_gcp/storage/_inputs.py +53 -6
- pulumi_gcp/storage/get_bucket.py +2 -2
- pulumi_gcp/storage/get_bucket_object_content.py +2 -2
- pulumi_gcp/storage/outputs.py +33 -4
- pulumi_gcp/tpu/__init__.py +1 -0
- pulumi_gcp/tpu/_inputs.py +214 -24
- pulumi_gcp/tpu/outputs.py +182 -16
- pulumi_gcp/tpu/v2_queued_resource.py +434 -0
- pulumi_gcp/tpu/v2_vm.py +63 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/ai_index_endpoint.py +2 -2
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/RECORD +168 -147
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/dataproc/outputs.py
CHANGED
@@ -28,6 +28,7 @@ __all__ = [
|
|
28
28
|
'BatchEnvironmentConfigPeripheralsConfigSparkHistoryServerConfig',
|
29
29
|
'BatchPysparkBatch',
|
30
30
|
'BatchRuntimeConfig',
|
31
|
+
'BatchRuntimeConfigAutotuningConfig',
|
31
32
|
'BatchRuntimeInfo',
|
32
33
|
'BatchRuntimeInfoApproximateUsage',
|
33
34
|
'BatchRuntimeInfoCurrentUsage',
|
@@ -47,6 +48,7 @@ __all__ = [
|
|
47
48
|
'ClusterClusterConfigEncryptionConfig',
|
48
49
|
'ClusterClusterConfigEndpointConfig',
|
49
50
|
'ClusterClusterConfigGceClusterConfig',
|
51
|
+
'ClusterClusterConfigGceClusterConfigConfidentialInstanceConfig',
|
50
52
|
'ClusterClusterConfigGceClusterConfigNodeGroupAffinity',
|
51
53
|
'ClusterClusterConfigGceClusterConfigReservationAffinity',
|
52
54
|
'ClusterClusterConfigGceClusterConfigShieldedInstanceConfig',
|
@@ -61,6 +63,7 @@ __all__ = [
|
|
61
63
|
'ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicy',
|
62
64
|
'ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstanceSelectionList',
|
63
65
|
'ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstanceSelectionResult',
|
66
|
+
'ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyProvisioningModelMix',
|
64
67
|
'ClusterClusterConfigSecurityConfig',
|
65
68
|
'ClusterClusterConfigSecurityConfigKerberosConfig',
|
66
69
|
'ClusterClusterConfigSoftwareConfig',
|
@@ -1008,7 +1011,9 @@ class BatchRuntimeConfig(dict):
|
|
1008
1011
|
@staticmethod
|
1009
1012
|
def __key_warning(key: str):
|
1010
1013
|
suggest = None
|
1011
|
-
if key == "
|
1014
|
+
if key == "autotuningConfig":
|
1015
|
+
suggest = "autotuning_config"
|
1016
|
+
elif key == "containerImage":
|
1012
1017
|
suggest = "container_image"
|
1013
1018
|
elif key == "effectiveProperties":
|
1014
1019
|
suggest = "effective_properties"
|
@@ -1025,17 +1030,26 @@ class BatchRuntimeConfig(dict):
|
|
1025
1030
|
return super().get(key, default)
|
1026
1031
|
|
1027
1032
|
def __init__(__self__, *,
|
1033
|
+
autotuning_config: Optional['outputs.BatchRuntimeConfigAutotuningConfig'] = None,
|
1034
|
+
cohort: Optional[str] = None,
|
1028
1035
|
container_image: Optional[str] = None,
|
1029
1036
|
effective_properties: Optional[Mapping[str, str]] = None,
|
1030
1037
|
properties: Optional[Mapping[str, str]] = None,
|
1031
1038
|
version: Optional[str] = None):
|
1032
1039
|
"""
|
1040
|
+
:param 'BatchRuntimeConfigAutotuningConfigArgs' autotuning_config: Optional. Autotuning configuration of the workload.
|
1041
|
+
Structure is documented below.
|
1042
|
+
:param str cohort: Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. daily ETL jobs.
|
1033
1043
|
:param str container_image: Optional custom container image for the job runtime environment. If not specified, a default container image will be used.
|
1034
1044
|
:param Mapping[str, str] effective_properties: (Output)
|
1035
1045
|
A mapping of property names to values, which are used to configure workload execution.
|
1036
1046
|
:param Mapping[str, str] properties: A mapping of property names to values, which are used to configure workload execution.
|
1037
1047
|
:param str version: Version of the batch runtime.
|
1038
1048
|
"""
|
1049
|
+
if autotuning_config is not None:
|
1050
|
+
pulumi.set(__self__, "autotuning_config", autotuning_config)
|
1051
|
+
if cohort is not None:
|
1052
|
+
pulumi.set(__self__, "cohort", cohort)
|
1039
1053
|
if container_image is not None:
|
1040
1054
|
pulumi.set(__self__, "container_image", container_image)
|
1041
1055
|
if effective_properties is not None:
|
@@ -1045,6 +1059,23 @@ class BatchRuntimeConfig(dict):
|
|
1045
1059
|
if version is not None:
|
1046
1060
|
pulumi.set(__self__, "version", version)
|
1047
1061
|
|
1062
|
+
@property
|
1063
|
+
@pulumi.getter(name="autotuningConfig")
|
1064
|
+
def autotuning_config(self) -> Optional['outputs.BatchRuntimeConfigAutotuningConfig']:
|
1065
|
+
"""
|
1066
|
+
Optional. Autotuning configuration of the workload.
|
1067
|
+
Structure is documented below.
|
1068
|
+
"""
|
1069
|
+
return pulumi.get(self, "autotuning_config")
|
1070
|
+
|
1071
|
+
@property
|
1072
|
+
@pulumi.getter
|
1073
|
+
def cohort(self) -> Optional[str]:
|
1074
|
+
"""
|
1075
|
+
Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. daily ETL jobs.
|
1076
|
+
"""
|
1077
|
+
return pulumi.get(self, "cohort")
|
1078
|
+
|
1048
1079
|
@property
|
1049
1080
|
@pulumi.getter(name="containerImage")
|
1050
1081
|
def container_image(self) -> Optional[str]:
|
@@ -1079,6 +1110,27 @@ class BatchRuntimeConfig(dict):
|
|
1079
1110
|
return pulumi.get(self, "version")
|
1080
1111
|
|
1081
1112
|
|
1113
|
+
@pulumi.output_type
|
1114
|
+
class BatchRuntimeConfigAutotuningConfig(dict):
|
1115
|
+
def __init__(__self__, *,
|
1116
|
+
scenarios: Optional[Sequence[str]] = None):
|
1117
|
+
"""
|
1118
|
+
:param Sequence[str] scenarios: Optional. Scenarios for which tunings are applied.
|
1119
|
+
Each value may be one of: `SCALING`, `BROADCAST_HASH_JOIN`, `MEMORY`.
|
1120
|
+
"""
|
1121
|
+
if scenarios is not None:
|
1122
|
+
pulumi.set(__self__, "scenarios", scenarios)
|
1123
|
+
|
1124
|
+
@property
|
1125
|
+
@pulumi.getter
|
1126
|
+
def scenarios(self) -> Optional[Sequence[str]]:
|
1127
|
+
"""
|
1128
|
+
Optional. Scenarios for which tunings are applied.
|
1129
|
+
Each value may be one of: `SCALING`, `BROADCAST_HASH_JOIN`, `MEMORY`.
|
1130
|
+
"""
|
1131
|
+
return pulumi.get(self, "scenarios")
|
1132
|
+
|
1133
|
+
|
1082
1134
|
@pulumi.output_type
|
1083
1135
|
class BatchRuntimeInfo(dict):
|
1084
1136
|
@staticmethod
|
@@ -2634,7 +2686,9 @@ class ClusterClusterConfigGceClusterConfig(dict):
|
|
2634
2686
|
@staticmethod
|
2635
2687
|
def __key_warning(key: str):
|
2636
2688
|
suggest = None
|
2637
|
-
if key == "
|
2689
|
+
if key == "confidentialInstanceConfig":
|
2690
|
+
suggest = "confidential_instance_config"
|
2691
|
+
elif key == "internalIpOnly":
|
2638
2692
|
suggest = "internal_ip_only"
|
2639
2693
|
elif key == "nodeGroupAffinity":
|
2640
2694
|
suggest = "node_group_affinity"
|
@@ -2659,6 +2713,7 @@ class ClusterClusterConfigGceClusterConfig(dict):
|
|
2659
2713
|
return super().get(key, default)
|
2660
2714
|
|
2661
2715
|
def __init__(__self__, *,
|
2716
|
+
confidential_instance_config: Optional['outputs.ClusterClusterConfigGceClusterConfigConfidentialInstanceConfig'] = None,
|
2662
2717
|
internal_ip_only: Optional[bool] = None,
|
2663
2718
|
metadata: Optional[Mapping[str, str]] = None,
|
2664
2719
|
network: Optional[str] = None,
|
@@ -2671,6 +2726,7 @@ class ClusterClusterConfigGceClusterConfig(dict):
|
|
2671
2726
|
tags: Optional[Sequence[str]] = None,
|
2672
2727
|
zone: Optional[str] = None):
|
2673
2728
|
"""
|
2729
|
+
:param 'ClusterClusterConfigGceClusterConfigConfidentialInstanceConfigArgs' confidential_instance_config: Confidential Instance Config for clusters using [Confidential VMs](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/confidential-compute)
|
2674
2730
|
:param bool internal_ip_only: By default, clusters are not restricted to internal IP addresses,
|
2675
2731
|
and will have ephemeral external IP addresses assigned to each instance. If set to true, all
|
2676
2732
|
instances in the cluster will only have internal IP addresses. Note: Private Google Access
|
@@ -2705,6 +2761,8 @@ class ClusterClusterConfigGceClusterConfig(dict):
|
|
2705
2761
|
which computing resources are available for use with other configs such as
|
2706
2762
|
`cluster_config.master_config.machine_type` and `cluster_config.worker_config.machine_type`.
|
2707
2763
|
"""
|
2764
|
+
if confidential_instance_config is not None:
|
2765
|
+
pulumi.set(__self__, "confidential_instance_config", confidential_instance_config)
|
2708
2766
|
if internal_ip_only is not None:
|
2709
2767
|
pulumi.set(__self__, "internal_ip_only", internal_ip_only)
|
2710
2768
|
if metadata is not None:
|
@@ -2728,6 +2786,14 @@ class ClusterClusterConfigGceClusterConfig(dict):
|
|
2728
2786
|
if zone is not None:
|
2729
2787
|
pulumi.set(__self__, "zone", zone)
|
2730
2788
|
|
2789
|
+
@property
|
2790
|
+
@pulumi.getter(name="confidentialInstanceConfig")
|
2791
|
+
def confidential_instance_config(self) -> Optional['outputs.ClusterClusterConfigGceClusterConfigConfidentialInstanceConfig']:
|
2792
|
+
"""
|
2793
|
+
Confidential Instance Config for clusters using [Confidential VMs](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/confidential-compute)
|
2794
|
+
"""
|
2795
|
+
return pulumi.get(self, "confidential_instance_config")
|
2796
|
+
|
2731
2797
|
@property
|
2732
2798
|
@pulumi.getter(name="internalIpOnly")
|
2733
2799
|
def internal_ip_only(self) -> Optional[bool]:
|
@@ -2839,6 +2905,42 @@ class ClusterClusterConfigGceClusterConfig(dict):
|
|
2839
2905
|
return pulumi.get(self, "zone")
|
2840
2906
|
|
2841
2907
|
|
2908
|
+
@pulumi.output_type
|
2909
|
+
class ClusterClusterConfigGceClusterConfigConfidentialInstanceConfig(dict):
|
2910
|
+
@staticmethod
|
2911
|
+
def __key_warning(key: str):
|
2912
|
+
suggest = None
|
2913
|
+
if key == "enableConfidentialCompute":
|
2914
|
+
suggest = "enable_confidential_compute"
|
2915
|
+
|
2916
|
+
if suggest:
|
2917
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterClusterConfigGceClusterConfigConfidentialInstanceConfig. Access the value via the '{suggest}' property getter instead.")
|
2918
|
+
|
2919
|
+
def __getitem__(self, key: str) -> Any:
|
2920
|
+
ClusterClusterConfigGceClusterConfigConfidentialInstanceConfig.__key_warning(key)
|
2921
|
+
return super().__getitem__(key)
|
2922
|
+
|
2923
|
+
def get(self, key: str, default = None) -> Any:
|
2924
|
+
ClusterClusterConfigGceClusterConfigConfidentialInstanceConfig.__key_warning(key)
|
2925
|
+
return super().get(key, default)
|
2926
|
+
|
2927
|
+
def __init__(__self__, *,
|
2928
|
+
enable_confidential_compute: Optional[bool] = None):
|
2929
|
+
"""
|
2930
|
+
:param bool enable_confidential_compute: Defines whether the instance should have confidential compute enabled.
|
2931
|
+
"""
|
2932
|
+
if enable_confidential_compute is not None:
|
2933
|
+
pulumi.set(__self__, "enable_confidential_compute", enable_confidential_compute)
|
2934
|
+
|
2935
|
+
@property
|
2936
|
+
@pulumi.getter(name="enableConfidentialCompute")
|
2937
|
+
def enable_confidential_compute(self) -> Optional[bool]:
|
2938
|
+
"""
|
2939
|
+
Defines whether the instance should have confidential compute enabled.
|
2940
|
+
"""
|
2941
|
+
return pulumi.get(self, "enable_confidential_compute")
|
2942
|
+
|
2943
|
+
|
2842
2944
|
@pulumi.output_type
|
2843
2945
|
class ClusterClusterConfigGceClusterConfigNodeGroupAffinity(dict):
|
2844
2946
|
@staticmethod
|
@@ -3667,6 +3769,8 @@ class ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicy(dict)
|
|
3667
3769
|
suggest = "instance_selection_lists"
|
3668
3770
|
elif key == "instanceSelectionResults":
|
3669
3771
|
suggest = "instance_selection_results"
|
3772
|
+
elif key == "provisioningModelMix":
|
3773
|
+
suggest = "provisioning_model_mix"
|
3670
3774
|
|
3671
3775
|
if suggest:
|
3672
3776
|
pulumi.log.warn(f"Key '{key}' not found in ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicy. Access the value via the '{suggest}' property getter instead.")
|
@@ -3681,15 +3785,19 @@ class ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicy(dict)
|
|
3681
3785
|
|
3682
3786
|
def __init__(__self__, *,
|
3683
3787
|
instance_selection_lists: Optional[Sequence['outputs.ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstanceSelectionList']] = None,
|
3684
|
-
instance_selection_results: Optional[Sequence['outputs.ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstanceSelectionResult']] = None
|
3788
|
+
instance_selection_results: Optional[Sequence['outputs.ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstanceSelectionResult']] = None,
|
3789
|
+
provisioning_model_mix: Optional['outputs.ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyProvisioningModelMix'] = None):
|
3685
3790
|
"""
|
3686
3791
|
:param Sequence['ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstanceSelectionListArgs'] instance_selection_lists: List of instance selection options that the group will use when creating new VMs.
|
3687
3792
|
:param Sequence['ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstanceSelectionResultArgs'] instance_selection_results: A list of instance selection results in the group.
|
3793
|
+
:param 'ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyProvisioningModelMixArgs' provisioning_model_mix: Defines how Dataproc should create VMs with a mixture of provisioning models.
|
3688
3794
|
"""
|
3689
3795
|
if instance_selection_lists is not None:
|
3690
3796
|
pulumi.set(__self__, "instance_selection_lists", instance_selection_lists)
|
3691
3797
|
if instance_selection_results is not None:
|
3692
3798
|
pulumi.set(__self__, "instance_selection_results", instance_selection_results)
|
3799
|
+
if provisioning_model_mix is not None:
|
3800
|
+
pulumi.set(__self__, "provisioning_model_mix", provisioning_model_mix)
|
3693
3801
|
|
3694
3802
|
@property
|
3695
3803
|
@pulumi.getter(name="instanceSelectionLists")
|
@@ -3707,6 +3815,14 @@ class ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicy(dict)
|
|
3707
3815
|
"""
|
3708
3816
|
return pulumi.get(self, "instance_selection_results")
|
3709
3817
|
|
3818
|
+
@property
|
3819
|
+
@pulumi.getter(name="provisioningModelMix")
|
3820
|
+
def provisioning_model_mix(self) -> Optional['outputs.ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyProvisioningModelMix']:
|
3821
|
+
"""
|
3822
|
+
Defines how Dataproc should create VMs with a mixture of provisioning models.
|
3823
|
+
"""
|
3824
|
+
return pulumi.get(self, "provisioning_model_mix")
|
3825
|
+
|
3710
3826
|
|
3711
3827
|
@pulumi.output_type
|
3712
3828
|
class ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstanceSelectionList(dict):
|
@@ -3810,6 +3926,56 @@ class ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstan
|
|
3810
3926
|
return pulumi.get(self, "vm_count")
|
3811
3927
|
|
3812
3928
|
|
3929
|
+
@pulumi.output_type
|
3930
|
+
class ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyProvisioningModelMix(dict):
|
3931
|
+
@staticmethod
|
3932
|
+
def __key_warning(key: str):
|
3933
|
+
suggest = None
|
3934
|
+
if key == "standardCapacityBase":
|
3935
|
+
suggest = "standard_capacity_base"
|
3936
|
+
elif key == "standardCapacityPercentAboveBase":
|
3937
|
+
suggest = "standard_capacity_percent_above_base"
|
3938
|
+
|
3939
|
+
if suggest:
|
3940
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyProvisioningModelMix. Access the value via the '{suggest}' property getter instead.")
|
3941
|
+
|
3942
|
+
def __getitem__(self, key: str) -> Any:
|
3943
|
+
ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyProvisioningModelMix.__key_warning(key)
|
3944
|
+
return super().__getitem__(key)
|
3945
|
+
|
3946
|
+
def get(self, key: str, default = None) -> Any:
|
3947
|
+
ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyProvisioningModelMix.__key_warning(key)
|
3948
|
+
return super().get(key, default)
|
3949
|
+
|
3950
|
+
def __init__(__self__, *,
|
3951
|
+
standard_capacity_base: Optional[int] = None,
|
3952
|
+
standard_capacity_percent_above_base: Optional[int] = None):
|
3953
|
+
"""
|
3954
|
+
:param int standard_capacity_base: The base capacity that will always use Standard VMs to avoid risk of more preemption than the minimum capacity you need.
|
3955
|
+
:param int standard_capacity_percent_above_base: The percentage of target capacity that should use Standard VM. The remaining percentage will use Spot VMs.
|
3956
|
+
"""
|
3957
|
+
if standard_capacity_base is not None:
|
3958
|
+
pulumi.set(__self__, "standard_capacity_base", standard_capacity_base)
|
3959
|
+
if standard_capacity_percent_above_base is not None:
|
3960
|
+
pulumi.set(__self__, "standard_capacity_percent_above_base", standard_capacity_percent_above_base)
|
3961
|
+
|
3962
|
+
@property
|
3963
|
+
@pulumi.getter(name="standardCapacityBase")
|
3964
|
+
def standard_capacity_base(self) -> Optional[int]:
|
3965
|
+
"""
|
3966
|
+
The base capacity that will always use Standard VMs to avoid risk of more preemption than the minimum capacity you need.
|
3967
|
+
"""
|
3968
|
+
return pulumi.get(self, "standard_capacity_base")
|
3969
|
+
|
3970
|
+
@property
|
3971
|
+
@pulumi.getter(name="standardCapacityPercentAboveBase")
|
3972
|
+
def standard_capacity_percent_above_base(self) -> Optional[int]:
|
3973
|
+
"""
|
3974
|
+
The percentage of target capacity that should use Standard VM. The remaining percentage will use Spot VMs.
|
3975
|
+
"""
|
3976
|
+
return pulumi.get(self, "standard_capacity_percent_above_base")
|
3977
|
+
|
3978
|
+
|
3813
3979
|
@pulumi.output_type
|
3814
3980
|
class ClusterClusterConfigSecurityConfig(dict):
|
3815
3981
|
@staticmethod
|
pulumi_gcp/diagflow/_inputs.py
CHANGED
@@ -1400,7 +1400,7 @@ if not MYPY:
|
|
1400
1400
|
"""
|
1401
1401
|
use_timeout_based_endpointing: NotRequired[pulumi.Input[bool]]
|
1402
1402
|
"""
|
1403
|
-
Use timeout based endpointing, interpreting endpointer
|
1403
|
+
Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
|
1404
1404
|
"""
|
1405
1405
|
elif False:
|
1406
1406
|
CxFlowAdvancedSettingsSpeechSettingsArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -1418,7 +1418,7 @@ class CxFlowAdvancedSettingsSpeechSettingsArgs:
|
|
1418
1418
|
An object containing a list of **"key": value** pairs. Example: **{ "name": "wrench", "mass": "1.3kg", "count": "3" }**.
|
1419
1419
|
:param pulumi.Input[str] no_speech_timeout: Timeout before detecting no speech.
|
1420
1420
|
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
1421
|
-
:param pulumi.Input[bool] use_timeout_based_endpointing: Use timeout based endpointing, interpreting endpointer
|
1421
|
+
:param pulumi.Input[bool] use_timeout_based_endpointing: Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
|
1422
1422
|
"""
|
1423
1423
|
if endpointer_sensitivity is not None:
|
1424
1424
|
pulumi.set(__self__, "endpointer_sensitivity", endpointer_sensitivity)
|
@@ -1471,7 +1471,7 @@ class CxFlowAdvancedSettingsSpeechSettingsArgs:
|
|
1471
1471
|
@pulumi.getter(name="useTimeoutBasedEndpointing")
|
1472
1472
|
def use_timeout_based_endpointing(self) -> Optional[pulumi.Input[bool]]:
|
1473
1473
|
"""
|
1474
|
-
Use timeout based endpointing, interpreting endpointer
|
1474
|
+
Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
|
1475
1475
|
"""
|
1476
1476
|
return pulumi.get(self, "use_timeout_based_endpointing")
|
1477
1477
|
|
pulumi_gcp/diagflow/outputs.py
CHANGED
@@ -1069,7 +1069,7 @@ class CxFlowAdvancedSettingsSpeechSettings(dict):
|
|
1069
1069
|
An object containing a list of **"key": value** pairs. Example: **{ "name": "wrench", "mass": "1.3kg", "count": "3" }**.
|
1070
1070
|
:param str no_speech_timeout: Timeout before detecting no speech.
|
1071
1071
|
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
1072
|
-
:param bool use_timeout_based_endpointing: Use timeout based endpointing, interpreting endpointer
|
1072
|
+
:param bool use_timeout_based_endpointing: Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
|
1073
1073
|
"""
|
1074
1074
|
if endpointer_sensitivity is not None:
|
1075
1075
|
pulumi.set(__self__, "endpointer_sensitivity", endpointer_sensitivity)
|
@@ -1110,7 +1110,7 @@ class CxFlowAdvancedSettingsSpeechSettings(dict):
|
|
1110
1110
|
@pulumi.getter(name="useTimeoutBasedEndpointing")
|
1111
1111
|
def use_timeout_based_endpointing(self) -> Optional[bool]:
|
1112
1112
|
"""
|
1113
|
-
Use timeout based endpointing, interpreting endpointer
|
1113
|
+
Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
|
1114
1114
|
"""
|
1115
1115
|
return pulumi.get(self, "use_timeout_based_endpointing")
|
1116
1116
|
|
@@ -42,7 +42,7 @@ class SearchEngineArgs:
|
|
42
42
|
:param pulumi.Input['SearchEngineCommonConfigArgs'] common_config: Common config spec that specifies the metadata of the engine.
|
43
43
|
:param pulumi.Input[str] industry_vertical: The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore:
|
44
44
|
If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine.
|
45
|
-
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
|
45
|
+
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA", "HEALTHCARE_FHIR"]
|
46
46
|
"""
|
47
47
|
pulumi.set(__self__, "collection_id", collection_id)
|
48
48
|
pulumi.set(__self__, "data_store_ids", data_store_ids)
|
@@ -148,7 +148,7 @@ class SearchEngineArgs:
|
|
148
148
|
"""
|
149
149
|
The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore:
|
150
150
|
If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine.
|
151
|
-
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
|
151
|
+
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA", "HEALTHCARE_FHIR"]
|
152
152
|
"""
|
153
153
|
return pulumi.get(self, "industry_vertical")
|
154
154
|
|
@@ -191,7 +191,7 @@ class _SearchEngineState:
|
|
191
191
|
:param pulumi.Input[str] engine_id: Unique ID to use for Search Engine App.
|
192
192
|
:param pulumi.Input[str] industry_vertical: The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore:
|
193
193
|
If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine.
|
194
|
-
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
|
194
|
+
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA", "HEALTHCARE_FHIR"]
|
195
195
|
:param pulumi.Input[str] location: Location.
|
196
196
|
:param pulumi.Input[str] name: The unique full resource name of the search engine. Values are of the format
|
197
197
|
`projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
|
@@ -304,7 +304,7 @@ class _SearchEngineState:
|
|
304
304
|
"""
|
305
305
|
The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore:
|
306
306
|
If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine.
|
307
|
-
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
|
307
|
+
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA", "HEALTHCARE_FHIR"]
|
308
308
|
"""
|
309
309
|
return pulumi.get(self, "industry_vertical")
|
310
310
|
|
@@ -456,7 +456,7 @@ class SearchEngine(pulumi.CustomResource):
|
|
456
456
|
:param pulumi.Input[str] engine_id: Unique ID to use for Search Engine App.
|
457
457
|
:param pulumi.Input[str] industry_vertical: The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore:
|
458
458
|
If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine.
|
459
|
-
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
|
459
|
+
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA", "HEALTHCARE_FHIR"]
|
460
460
|
:param pulumi.Input[str] location: Location.
|
461
461
|
:param pulumi.Input[Union['SearchEngineSearchEngineConfigArgs', 'SearchEngineSearchEngineConfigArgsDict']] search_engine_config: Configurations for a Search Engine.
|
462
462
|
Structure is documented below.
|
@@ -619,7 +619,7 @@ class SearchEngine(pulumi.CustomResource):
|
|
619
619
|
:param pulumi.Input[str] engine_id: Unique ID to use for Search Engine App.
|
620
620
|
:param pulumi.Input[str] industry_vertical: The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore:
|
621
621
|
If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine.
|
622
|
-
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
|
622
|
+
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA", "HEALTHCARE_FHIR"]
|
623
623
|
:param pulumi.Input[str] location: Location.
|
624
624
|
:param pulumi.Input[str] name: The unique full resource name of the search engine. Values are of the format
|
625
625
|
`projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
|
@@ -701,7 +701,7 @@ class SearchEngine(pulumi.CustomResource):
|
|
701
701
|
"""
|
702
702
|
The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore:
|
703
703
|
If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine.
|
704
|
-
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
|
704
|
+
Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA", "HEALTHCARE_FHIR"]
|
705
705
|
"""
|
706
706
|
return pulumi.get(self, "industry_vertical")
|
707
707
|
|
pulumi_gcp/firebase/_inputs.py
CHANGED
@@ -55,6 +55,8 @@ __all__ = [
|
|
55
55
|
'HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgsDict',
|
56
56
|
'HostingVersionConfigArgs',
|
57
57
|
'HostingVersionConfigArgsDict',
|
58
|
+
'HostingVersionConfigHeaderArgs',
|
59
|
+
'HostingVersionConfigHeaderArgsDict',
|
58
60
|
'HostingVersionConfigRedirectArgs',
|
59
61
|
'HostingVersionConfigRedirectArgsDict',
|
60
62
|
'HostingVersionConfigRewriteArgs',
|
@@ -1694,6 +1696,12 @@ class HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgs:
|
|
1694
1696
|
|
1695
1697
|
if not MYPY:
|
1696
1698
|
class HostingVersionConfigArgsDict(TypedDict):
|
1699
|
+
headers: NotRequired[pulumi.Input[Sequence[pulumi.Input['HostingVersionConfigHeaderArgsDict']]]]
|
1700
|
+
"""
|
1701
|
+
An array of objects, where each object specifies a URL pattern that, if matched to the request URL path,
|
1702
|
+
triggers Hosting to apply the specified custom response headers.
|
1703
|
+
Structure is documented below.
|
1704
|
+
"""
|
1697
1705
|
redirects: NotRequired[pulumi.Input[Sequence[pulumi.Input['HostingVersionConfigRedirectArgsDict']]]]
|
1698
1706
|
"""
|
1699
1707
|
An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path,
|
@@ -1712,9 +1720,13 @@ elif False:
|
|
1712
1720
|
@pulumi.input_type
|
1713
1721
|
class HostingVersionConfigArgs:
|
1714
1722
|
def __init__(__self__, *,
|
1723
|
+
headers: Optional[pulumi.Input[Sequence[pulumi.Input['HostingVersionConfigHeaderArgs']]]] = None,
|
1715
1724
|
redirects: Optional[pulumi.Input[Sequence[pulumi.Input['HostingVersionConfigRedirectArgs']]]] = None,
|
1716
1725
|
rewrites: Optional[pulumi.Input[Sequence[pulumi.Input['HostingVersionConfigRewriteArgs']]]] = None):
|
1717
1726
|
"""
|
1727
|
+
:param pulumi.Input[Sequence[pulumi.Input['HostingVersionConfigHeaderArgs']]] headers: An array of objects, where each object specifies a URL pattern that, if matched to the request URL path,
|
1728
|
+
triggers Hosting to apply the specified custom response headers.
|
1729
|
+
Structure is documented below.
|
1718
1730
|
:param pulumi.Input[Sequence[pulumi.Input['HostingVersionConfigRedirectArgs']]] redirects: An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path,
|
1719
1731
|
triggers Hosting to respond with a redirect to the specified destination path.
|
1720
1732
|
Structure is documented below.
|
@@ -1722,11 +1734,27 @@ class HostingVersionConfigArgs:
|
|
1722
1734
|
request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
|
1723
1735
|
Structure is documented below.
|
1724
1736
|
"""
|
1737
|
+
if headers is not None:
|
1738
|
+
pulumi.set(__self__, "headers", headers)
|
1725
1739
|
if redirects is not None:
|
1726
1740
|
pulumi.set(__self__, "redirects", redirects)
|
1727
1741
|
if rewrites is not None:
|
1728
1742
|
pulumi.set(__self__, "rewrites", rewrites)
|
1729
1743
|
|
1744
|
+
@property
|
1745
|
+
@pulumi.getter
|
1746
|
+
def headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HostingVersionConfigHeaderArgs']]]]:
|
1747
|
+
"""
|
1748
|
+
An array of objects, where each object specifies a URL pattern that, if matched to the request URL path,
|
1749
|
+
triggers Hosting to apply the specified custom response headers.
|
1750
|
+
Structure is documented below.
|
1751
|
+
"""
|
1752
|
+
return pulumi.get(self, "headers")
|
1753
|
+
|
1754
|
+
@headers.setter
|
1755
|
+
def headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HostingVersionConfigHeaderArgs']]]]):
|
1756
|
+
pulumi.set(self, "headers", value)
|
1757
|
+
|
1730
1758
|
@property
|
1731
1759
|
@pulumi.getter
|
1732
1760
|
def redirects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HostingVersionConfigRedirectArgs']]]]:
|
@@ -1756,6 +1784,77 @@ class HostingVersionConfigArgs:
|
|
1756
1784
|
pulumi.set(self, "rewrites", value)
|
1757
1785
|
|
1758
1786
|
|
1787
|
+
if not MYPY:
|
1788
|
+
class HostingVersionConfigHeaderArgsDict(TypedDict):
|
1789
|
+
headers: pulumi.Input[Mapping[str, pulumi.Input[str]]]
|
1790
|
+
"""
|
1791
|
+
The additional headers to add to the response. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
|
1792
|
+
"""
|
1793
|
+
glob: NotRequired[pulumi.Input[str]]
|
1794
|
+
"""
|
1795
|
+
The user-supplied glob to match against the request URL path.
|
1796
|
+
"""
|
1797
|
+
regex: NotRequired[pulumi.Input[str]]
|
1798
|
+
"""
|
1799
|
+
The user-supplied RE2 regular expression to match against the request URL path.
|
1800
|
+
"""
|
1801
|
+
elif False:
|
1802
|
+
HostingVersionConfigHeaderArgsDict: TypeAlias = Mapping[str, Any]
|
1803
|
+
|
1804
|
+
@pulumi.input_type
|
1805
|
+
class HostingVersionConfigHeaderArgs:
|
1806
|
+
def __init__(__self__, *,
|
1807
|
+
headers: pulumi.Input[Mapping[str, pulumi.Input[str]]],
|
1808
|
+
glob: Optional[pulumi.Input[str]] = None,
|
1809
|
+
regex: Optional[pulumi.Input[str]] = None):
|
1810
|
+
"""
|
1811
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] headers: The additional headers to add to the response. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
|
1812
|
+
:param pulumi.Input[str] glob: The user-supplied glob to match against the request URL path.
|
1813
|
+
:param pulumi.Input[str] regex: The user-supplied RE2 regular expression to match against the request URL path.
|
1814
|
+
"""
|
1815
|
+
pulumi.set(__self__, "headers", headers)
|
1816
|
+
if glob is not None:
|
1817
|
+
pulumi.set(__self__, "glob", glob)
|
1818
|
+
if regex is not None:
|
1819
|
+
pulumi.set(__self__, "regex", regex)
|
1820
|
+
|
1821
|
+
@property
|
1822
|
+
@pulumi.getter
|
1823
|
+
def headers(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
|
1824
|
+
"""
|
1825
|
+
The additional headers to add to the response. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
|
1826
|
+
"""
|
1827
|
+
return pulumi.get(self, "headers")
|
1828
|
+
|
1829
|
+
@headers.setter
|
1830
|
+
def headers(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
|
1831
|
+
pulumi.set(self, "headers", value)
|
1832
|
+
|
1833
|
+
@property
|
1834
|
+
@pulumi.getter
|
1835
|
+
def glob(self) -> Optional[pulumi.Input[str]]:
|
1836
|
+
"""
|
1837
|
+
The user-supplied glob to match against the request URL path.
|
1838
|
+
"""
|
1839
|
+
return pulumi.get(self, "glob")
|
1840
|
+
|
1841
|
+
@glob.setter
|
1842
|
+
def glob(self, value: Optional[pulumi.Input[str]]):
|
1843
|
+
pulumi.set(self, "glob", value)
|
1844
|
+
|
1845
|
+
@property
|
1846
|
+
@pulumi.getter
|
1847
|
+
def regex(self) -> Optional[pulumi.Input[str]]:
|
1848
|
+
"""
|
1849
|
+
The user-supplied RE2 regular expression to match against the request URL path.
|
1850
|
+
"""
|
1851
|
+
return pulumi.get(self, "regex")
|
1852
|
+
|
1853
|
+
@regex.setter
|
1854
|
+
def regex(self, value: Optional[pulumi.Input[str]]):
|
1855
|
+
pulumi.set(self, "regex", value)
|
1856
|
+
|
1857
|
+
|
1759
1858
|
if not MYPY:
|
1760
1859
|
class HostingVersionConfigRedirectArgsDict(TypedDict):
|
1761
1860
|
location: pulumi.Input[str]
|
@@ -333,6 +333,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
333
333
|
```python
|
334
334
|
import pulumi
|
335
335
|
import pulumi_gcp as gcp
|
336
|
+
import pulumi_time as time
|
336
337
|
|
337
338
|
default = gcp.organizations.Project("default",
|
338
339
|
project_id="rtdb-project",
|
@@ -342,16 +343,24 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
342
343
|
labels={
|
343
344
|
"firebase": "enabled",
|
344
345
|
})
|
345
|
-
|
346
|
+
firebase = gcp.projects.Service("firebase",
|
347
|
+
project=default.project_id,
|
348
|
+
service="firebase.googleapis.com",
|
349
|
+
disable_on_destroy=False)
|
350
|
+
default_project = gcp.firebase.Project("default", project=default.project_id,
|
351
|
+
opts = pulumi.ResourceOptions(depends_on=[firebase]))
|
346
352
|
firebase_database = gcp.projects.Service("firebase_database",
|
347
353
|
project=default_project.project,
|
348
|
-
service="firebasedatabase.googleapis.com"
|
354
|
+
service="firebasedatabase.googleapis.com",
|
355
|
+
disable_on_destroy=False)
|
356
|
+
wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
|
357
|
+
opts = pulumi.ResourceOptions(depends_on=[firebase_database]))
|
349
358
|
default_database_instance = gcp.firebase.DatabaseInstance("default",
|
350
359
|
project=default_project.project,
|
351
360
|
region="us-central1",
|
352
361
|
instance_id="rtdb-project-default-rtdb",
|
353
362
|
type="DEFAULT_DATABASE",
|
354
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
363
|
+
opts = pulumi.ResourceOptions(depends_on=[wait60_seconds]))
|
355
364
|
```
|
356
365
|
|
357
366
|
## Import
|
@@ -441,6 +450,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
441
450
|
```python
|
442
451
|
import pulumi
|
443
452
|
import pulumi_gcp as gcp
|
453
|
+
import pulumi_time as time
|
444
454
|
|
445
455
|
default = gcp.organizations.Project("default",
|
446
456
|
project_id="rtdb-project",
|
@@ -450,16 +460,24 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
450
460
|
labels={
|
451
461
|
"firebase": "enabled",
|
452
462
|
})
|
453
|
-
|
463
|
+
firebase = gcp.projects.Service("firebase",
|
464
|
+
project=default.project_id,
|
465
|
+
service="firebase.googleapis.com",
|
466
|
+
disable_on_destroy=False)
|
467
|
+
default_project = gcp.firebase.Project("default", project=default.project_id,
|
468
|
+
opts = pulumi.ResourceOptions(depends_on=[firebase]))
|
454
469
|
firebase_database = gcp.projects.Service("firebase_database",
|
455
470
|
project=default_project.project,
|
456
|
-
service="firebasedatabase.googleapis.com"
|
471
|
+
service="firebasedatabase.googleapis.com",
|
472
|
+
disable_on_destroy=False)
|
473
|
+
wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
|
474
|
+
opts = pulumi.ResourceOptions(depends_on=[firebase_database]))
|
457
475
|
default_database_instance = gcp.firebase.DatabaseInstance("default",
|
458
476
|
project=default_project.project,
|
459
477
|
region="us-central1",
|
460
478
|
instance_id="rtdb-project-default-rtdb",
|
461
479
|
type="DEFAULT_DATABASE",
|
462
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
480
|
+
opts = pulumi.ResourceOptions(depends_on=[wait60_seconds]))
|
463
481
|
```
|
464
482
|
|
465
483
|
## Import
|