pulumi-gcp 8.42.0a1758178363__py3-none-any.whl → 9.0.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 +83 -48
- pulumi_gcp/activedirectory/peering.py +16 -0
- pulumi_gcp/alloydb/backup.py +8 -4
- pulumi_gcp/alloydb/cluster.py +56 -10
- pulumi_gcp/alloydb/get_cluster.py +12 -1
- pulumi_gcp/alloydb/instance.py +10 -4
- pulumi_gcp/alloydb/user.py +8 -4
- pulumi_gcp/apigateway/api_config_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_policy.py +4 -4
- pulumi_gcp/apigateway/api_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_iam_policy.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_binding.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_member.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_policy.py +4 -4
- pulumi_gcp/apigee/_inputs.py +151 -108
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +52 -40
- pulumi_gcp/apigee/outputs.py +92 -88
- pulumi_gcp/artifactregistry/__init__.py +2 -0
- pulumi_gcp/artifactregistry/_inputs.py +0 -12
- pulumi_gcp/artifactregistry/get_npm_package.py +251 -0
- pulumi_gcp/artifactregistry/get_python_package.py +237 -0
- pulumi_gcp/artifactregistry/get_repository.py +12 -1
- pulumi_gcp/artifactregistry/outputs.py +8 -16
- pulumi_gcp/artifactregistry/repository.py +28 -0
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +4 -4
- pulumi_gcp/backupdisasterrecovery/get_backup.py +12 -1
- pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +4 -0
- pulumi_gcp/backupdisasterrecovery/get_data_source_references.py +135 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +4 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +103 -0
- pulumi_gcp/beyondcorp/__init__.py +0 -5
- pulumi_gcp/beyondcorp/_inputs.py +0 -312
- pulumi_gcp/beyondcorp/outputs.py +0 -200
- pulumi_gcp/bigquery/_inputs.py +114 -4
- pulumi_gcp/bigquery/app_profile.py +3 -5
- pulumi_gcp/bigquery/outputs.py +75 -5
- pulumi_gcp/bigqueryanalyticshub/data_exchange_subscription.py +20 -0
- pulumi_gcp/bigtable/app_profile.py +1 -1
- pulumi_gcp/bigtable/get_table_iam_policy.py +16 -18
- pulumi_gcp/bigtable/table_iam_binding.py +43 -43
- pulumi_gcp/bigtable/table_iam_member.py +43 -43
- pulumi_gcp/bigtable/table_iam_policy.py +43 -43
- pulumi_gcp/billing/_inputs.py +0 -6
- pulumi_gcp/billing/outputs.py +0 -4
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/certificate_map_entry.py +7 -7
- pulumi_gcp/certificatemanager/get_dns_authorization.py +229 -0
- pulumi_gcp/certificatemanager/outputs.py +41 -0
- pulumi_gcp/chronicle/_inputs.py +6 -5
- pulumi_gcp/chronicle/outputs.py +4 -3
- pulumi_gcp/chronicle/reference_list.py +53 -5
- pulumi_gcp/cloudasset/get_resources_search_all.py +8 -0
- pulumi_gcp/cloudbuild/_inputs.py +309 -45
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +2 -6
- pulumi_gcp/cloudbuild/get_trigger.py +12 -1
- pulumi_gcp/cloudbuild/outputs.py +380 -30
- pulumi_gcp/cloudbuild/trigger.py +160 -2
- pulumi_gcp/cloudbuild/worker_pool.py +2 -6
- pulumi_gcp/cloudfunctionsv2/_inputs.py +23 -21
- pulumi_gcp/cloudfunctionsv2/outputs.py +17 -16
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +16 -0
- pulumi_gcp/cloudrunv2/_inputs.py +80 -26
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +109 -30
- pulumi_gcp/cloudrunv2/service.py +72 -12
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -2
- pulumi_gcp/cloudtasks/queue.py +98 -2
- pulumi_gcp/colab/_inputs.py +1 -114
- pulumi_gcp/colab/outputs.py +1 -106
- pulumi_gcp/compute/_inputs.py +884 -24
- pulumi_gcp/compute/backend_bucket.py +68 -0
- pulumi_gcp/compute/backend_bucket_iam_binding.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_member.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_policy.py +236 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/backend_service_iam_binding.py +464 -0
- pulumi_gcp/compute/backend_service_iam_member.py +464 -0
- pulumi_gcp/compute/backend_service_iam_policy.py +464 -0
- pulumi_gcp/compute/cross_site_network.py +16 -0
- pulumi_gcp/compute/future_reservation.py +32 -0
- pulumi_gcp/compute/get_backend_bucket.py +12 -1
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_region_backend_service.py +12 -1
- pulumi_gcp/compute/get_resource_policy.py +2 -20
- pulumi_gcp/compute/machine_image_iam_binding.py +8 -4
- pulumi_gcp/compute/machine_image_iam_member.py +8 -4
- pulumi_gcp/compute/machine_image_iam_policy.py +8 -4
- pulumi_gcp/compute/network_edge_security_service.py +16 -0
- pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +12 -0
- pulumi_gcp/compute/network_peering_routes_config.py +0 -100
- pulumi_gcp/compute/organization_security_policy.py +83 -51
- pulumi_gcp/compute/outputs.py +799 -16
- pulumi_gcp/compute/packet_mirroring.py +6 -0
- pulumi_gcp/compute/preview_feature.py +16 -0
- pulumi_gcp/compute/public_delegated_prefix.py +42 -0
- pulumi_gcp/compute/region_backend_service.py +54 -0
- pulumi_gcp/compute/region_backend_service_iam_binding.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_member.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_policy.py +488 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -3
- pulumi_gcp/compute/region_resize_request.py +24 -0
- pulumi_gcp/compute/region_url_map.py +75 -0
- pulumi_gcp/compute/subnetwork.py +0 -98
- pulumi_gcp/compute/wire_group.py +16 -0
- pulumi_gcp/config/__init__.pyi +2 -2
- pulumi_gcp/config/vars.py +4 -4
- pulumi_gcp/container/_inputs.py +466 -18
- pulumi_gcp/container/cluster.py +16 -7
- pulumi_gcp/container/outputs.py +448 -15
- pulumi_gcp/databasemigrationservice/connection_profile.py +4 -2
- pulumi_gcp/databasemigrationservice/migration_job.py +4 -2
- pulumi_gcp/dataflow/flex_template_job.py +10 -0
- pulumi_gcp/dataform/repository.py +16 -0
- pulumi_gcp/dataform/repository_release_config.py +16 -0
- pulumi_gcp/dataform/repository_workflow_config.py +16 -0
- pulumi_gcp/diagflow/_inputs.py +152 -0
- pulumi_gcp/diagflow/cx_agent.py +425 -0
- pulumi_gcp/diagflow/outputs.py +143 -0
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +94 -0
- pulumi_gcp/discoveryengine/acl_config.py +393 -0
- pulumi_gcp/discoveryengine/outputs.py +92 -0
- pulumi_gcp/firebase/android_app.py +16 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +4 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +2 -4
- pulumi_gcp/firebase/app_check_service_config.py +6 -12
- pulumi_gcp/firebase/app_hosting_backend.py +4 -8
- pulumi_gcp/firebase/app_hosting_build.py +4 -8
- pulumi_gcp/firebase/app_hosting_traffic.py +6 -12
- pulumi_gcp/firebase/apple_app.py +16 -0
- pulumi_gcp/firebase/data_connect_service.py +4 -8
- pulumi_gcp/firebase/database_instance.py +20 -8
- pulumi_gcp/firebase/extensions_instance.py +12 -0
- pulumi_gcp/firebase/get_android_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app_config.py +16 -2
- pulumi_gcp/firebase/get_hosting_channel.py +4 -2
- pulumi_gcp/firebase/hosting_channel.py +20 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +20 -0
- pulumi_gcp/firebase/hosting_release.py +16 -0
- pulumi_gcp/firebase/hosting_site.py +16 -0
- pulumi_gcp/firebase/hosting_version.py +16 -0
- pulumi_gcp/firebase/storage_bucket.py +18 -0
- pulumi_gcp/firestore/index.py +118 -3
- pulumi_gcp/folder/service_identity.py +26 -0
- pulumi_gcp/gkehub/_inputs.py +0 -60
- pulumi_gcp/gkehub/get_membership.py +1 -12
- pulumi_gcp/gkehub/membership.py +0 -70
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +16 -0
- pulumi_gcp/gkehub/outputs.py +0 -36
- pulumi_gcp/healthcare/_inputs.py +205 -0
- pulumi_gcp/healthcare/fhir_store.py +128 -0
- pulumi_gcp/healthcare/outputs.py +163 -0
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_policy.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_managed_identity.py +18 -0
- pulumi_gcp/iam/workload_identity_pool_namespace.py +20 -0
- pulumi_gcp/iap/__init__.py +8 -0
- pulumi_gcp/iap/_inputs.py +260 -0
- pulumi_gcp/iap/get_web_forwarding_rule_service_iam_policy.py +159 -0
- pulumi_gcp/iap/get_web_region_forwarding_rule_service_iam_policy.py +182 -0
- pulumi_gcp/iap/outputs.py +152 -0
- pulumi_gcp/{beyondcorp/application_iam_binding.py → iap/web_forwarding_rule_service_iam_binding.py} +233 -315
- pulumi_gcp/{beyondcorp/application_iam_member.py → iap/web_forwarding_rule_service_iam_member.py} +233 -315
- pulumi_gcp/{beyondcorp/application_iam_policy.py → iap/web_forwarding_rule_service_iam_policy.py} +212 -294
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_binding.py +1091 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_member.py +1091 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_policy.py +910 -0
- pulumi_gcp/kms/autokey_config.py +0 -2
- pulumi_gcp/kms/get_kms_secret_asymmetric.py +22 -0
- pulumi_gcp/kms/key_handle.py +0 -2
- pulumi_gcp/logging/organization_sink.py +7 -7
- pulumi_gcp/managedkafka/connect_cluster.py +4 -0
- pulumi_gcp/managedkafka/connector.py +4 -0
- pulumi_gcp/memorystore/get_instance.py +1 -12
- pulumi_gcp/memorystore/instance.py +14 -84
- pulumi_gcp/netapp/storage_pool.py +91 -2
- pulumi_gcp/netapp/volume.py +47 -0
- pulumi_gcp/networkmanagement/__init__.py +1 -0
- pulumi_gcp/networkmanagement/organization_vpc_flow_logs_config.py +1028 -0
- pulumi_gcp/networksecurity/authorization_policy.py +12 -0
- pulumi_gcp/networkservices/gateway.py +7 -7
- pulumi_gcp/networkservices/lb_traffic_extension.py +24 -23
- pulumi_gcp/networkservices/service_lb_policies.py +12 -0
- pulumi_gcp/notebooks/__init__.py +0 -1
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +3 -3
- pulumi_gcp/projects/service.py +2 -11
- pulumi_gcp/provider.py +20 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +0 -70
- pulumi_gcp/redis/get_cluster.py +1 -12
- pulumi_gcp/resourcemanager/capability.py +16 -0
- pulumi_gcp/runtimeconfig/config.py +16 -0
- pulumi_gcp/runtimeconfig/config_iam_binding.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_member.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_policy.py +236 -0
- pulumi_gcp/runtimeconfig/variable.py +10 -0
- pulumi_gcp/saasruntime/__init__.py +12 -0
- pulumi_gcp/saasruntime/_inputs.py +513 -0
- pulumi_gcp/saasruntime/outputs.py +431 -0
- pulumi_gcp/saasruntime/saa_s.py +819 -0
- pulumi_gcp/saasruntime/unit_kind.py +1024 -0
- pulumi_gcp/securesourcemanager/_inputs.py +20 -19
- pulumi_gcp/securesourcemanager/instance.py +7 -7
- pulumi_gcp/securesourcemanager/outputs.py +15 -14
- pulumi_gcp/securesourcemanager/repository.py +7 -7
- pulumi_gcp/serviceaccount/get_account_key.py +1 -21
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_policy.py +4 -4
- pulumi_gcp/sql/_inputs.py +135 -1
- pulumi_gcp/sql/database_instance.py +94 -0
- pulumi_gcp/sql/get_database_instance.py +23 -1
- pulumi_gcp/sql/outputs.py +276 -3
- pulumi_gcp/sql/user.py +61 -0
- pulumi_gcp/storage/_inputs.py +253 -7
- pulumi_gcp/storage/bucket_object.py +0 -9
- pulumi_gcp/storage/outputs.py +198 -8
- pulumi_gcp/storage/transfer_job.py +47 -0
- pulumi_gcp/tpu/__init__.py +0 -2
- pulumi_gcp/tpu/_inputs.py +0 -93
- pulumi_gcp/tpu/outputs.py +0 -72
- pulumi_gcp/tpu/v2_queued_resource.py +16 -0
- pulumi_gcp/tpu/v2_vm.py +16 -0
- pulumi_gcp/vertex/_inputs.py +8 -9
- pulumi_gcp/vertex/ai_endpoint.py +2 -4
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_index.py +24 -23
- pulumi_gcp/vertex/ai_metadata_store.py +16 -0
- pulumi_gcp/vertex/outputs.py +7 -8
- pulumi_gcp/workstations/workstation.py +16 -0
- pulumi_gcp/workstations/workstation_cluster.py +16 -0
- pulumi_gcp/workstations/workstation_config.py +16 -0
- pulumi_gcp/workstations/workstation_config_iam_binding.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_member.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_policy.py +260 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +272 -0
- pulumi_gcp/workstations/workstation_iam_member.py +272 -0
- pulumi_gcp/workstations/workstation_iam_policy.py +272 -0
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/RECORD +266 -255
- pulumi_gcp/beyondcorp/application.py +0 -746
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +0 -182
- pulumi_gcp/notebooks/location.py +0 -285
- pulumi_gcp/tpu/get_tensorflow_versions.py +0 -184
- pulumi_gcp/tpu/node.py +0 -1062
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudrunv2/_inputs.py
CHANGED
@@ -85,6 +85,8 @@ __all__ = [
|
|
85
85
|
'ServiceIamBindingConditionArgsDict',
|
86
86
|
'ServiceIamMemberConditionArgs',
|
87
87
|
'ServiceIamMemberConditionArgsDict',
|
88
|
+
'ServiceMultiRegionSettingsArgs',
|
89
|
+
'ServiceMultiRegionSettingsArgsDict',
|
88
90
|
'ServiceScalingArgs',
|
89
91
|
'ServiceScalingArgsDict',
|
90
92
|
'ServiceTemplateArgs',
|
@@ -3452,12 +3454,71 @@ class ServiceIamMemberConditionArgs:
|
|
3452
3454
|
pulumi.set(self, "description", value)
|
3453
3455
|
|
3454
3456
|
|
3457
|
+
if not MYPY:
|
3458
|
+
class ServiceMultiRegionSettingsArgsDict(TypedDict):
|
3459
|
+
multi_region_id: NotRequired[pulumi.Input[_builtins.str]]
|
3460
|
+
"""
|
3461
|
+
(Output)
|
3462
|
+
System-generated unique id for the multi-region Service.
|
3463
|
+
"""
|
3464
|
+
regions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
3465
|
+
"""
|
3466
|
+
The list of regions to deploy the multi-region Service.
|
3467
|
+
"""
|
3468
|
+
elif False:
|
3469
|
+
ServiceMultiRegionSettingsArgsDict: TypeAlias = Mapping[str, Any]
|
3470
|
+
|
3471
|
+
@pulumi.input_type
|
3472
|
+
class ServiceMultiRegionSettingsArgs:
|
3473
|
+
def __init__(__self__, *,
|
3474
|
+
multi_region_id: Optional[pulumi.Input[_builtins.str]] = None,
|
3475
|
+
regions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
3476
|
+
"""
|
3477
|
+
:param pulumi.Input[_builtins.str] multi_region_id: (Output)
|
3478
|
+
System-generated unique id for the multi-region Service.
|
3479
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regions: The list of regions to deploy the multi-region Service.
|
3480
|
+
"""
|
3481
|
+
if multi_region_id is not None:
|
3482
|
+
pulumi.set(__self__, "multi_region_id", multi_region_id)
|
3483
|
+
if regions is not None:
|
3484
|
+
pulumi.set(__self__, "regions", regions)
|
3485
|
+
|
3486
|
+
@_builtins.property
|
3487
|
+
@pulumi.getter(name="multiRegionId")
|
3488
|
+
def multi_region_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
3489
|
+
"""
|
3490
|
+
(Output)
|
3491
|
+
System-generated unique id for the multi-region Service.
|
3492
|
+
"""
|
3493
|
+
return pulumi.get(self, "multi_region_id")
|
3494
|
+
|
3495
|
+
@multi_region_id.setter
|
3496
|
+
def multi_region_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
3497
|
+
pulumi.set(self, "multi_region_id", value)
|
3498
|
+
|
3499
|
+
@_builtins.property
|
3500
|
+
@pulumi.getter
|
3501
|
+
def regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
3502
|
+
"""
|
3503
|
+
The list of regions to deploy the multi-region Service.
|
3504
|
+
"""
|
3505
|
+
return pulumi.get(self, "regions")
|
3506
|
+
|
3507
|
+
@regions.setter
|
3508
|
+
def regions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
3509
|
+
pulumi.set(self, "regions", value)
|
3510
|
+
|
3511
|
+
|
3455
3512
|
if not MYPY:
|
3456
3513
|
class ServiceScalingArgsDict(TypedDict):
|
3457
3514
|
manual_instance_count: NotRequired[pulumi.Input[_builtins.int]]
|
3458
3515
|
"""
|
3459
3516
|
Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
|
3460
3517
|
"""
|
3518
|
+
max_instance_count: NotRequired[pulumi.Input[_builtins.int]]
|
3519
|
+
"""
|
3520
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
3521
|
+
"""
|
3461
3522
|
min_instance_count: NotRequired[pulumi.Input[_builtins.int]]
|
3462
3523
|
"""
|
3463
3524
|
Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
@@ -3474,16 +3535,20 @@ elif False:
|
|
3474
3535
|
class ServiceScalingArgs:
|
3475
3536
|
def __init__(__self__, *,
|
3476
3537
|
manual_instance_count: Optional[pulumi.Input[_builtins.int]] = None,
|
3538
|
+
max_instance_count: Optional[pulumi.Input[_builtins.int]] = None,
|
3477
3539
|
min_instance_count: Optional[pulumi.Input[_builtins.int]] = None,
|
3478
3540
|
scaling_mode: Optional[pulumi.Input[_builtins.str]] = None):
|
3479
3541
|
"""
|
3480
3542
|
:param pulumi.Input[_builtins.int] manual_instance_count: Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
|
3543
|
+
:param pulumi.Input[_builtins.int] max_instance_count: Combined maximum number of instances for all revisions receiving traffic.
|
3481
3544
|
:param pulumi.Input[_builtins.int] min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
3482
3545
|
:param pulumi.Input[_builtins.str] scaling_mode: The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service.
|
3483
3546
|
Possible values are: `AUTOMATIC`, `MANUAL`.
|
3484
3547
|
"""
|
3485
3548
|
if manual_instance_count is not None:
|
3486
3549
|
pulumi.set(__self__, "manual_instance_count", manual_instance_count)
|
3550
|
+
if max_instance_count is not None:
|
3551
|
+
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
3487
3552
|
if min_instance_count is not None:
|
3488
3553
|
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
3489
3554
|
if scaling_mode is not None:
|
@@ -3501,6 +3566,18 @@ class ServiceScalingArgs:
|
|
3501
3566
|
def manual_instance_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
3502
3567
|
pulumi.set(self, "manual_instance_count", value)
|
3503
3568
|
|
3569
|
+
@_builtins.property
|
3570
|
+
@pulumi.getter(name="maxInstanceCount")
|
3571
|
+
def max_instance_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
3572
|
+
"""
|
3573
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
3574
|
+
"""
|
3575
|
+
return pulumi.get(self, "max_instance_count")
|
3576
|
+
|
3577
|
+
@max_instance_count.setter
|
3578
|
+
def max_instance_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
3579
|
+
pulumi.set(self, "max_instance_count", value)
|
3580
|
+
|
3504
3581
|
@_builtins.property
|
3505
3582
|
@pulumi.getter(name="minInstanceCount")
|
3506
3583
|
def min_instance_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
@@ -5429,8 +5506,7 @@ if not MYPY:
|
|
5429
5506
|
class ServiceTemplateScalingArgsDict(TypedDict):
|
5430
5507
|
max_instance_count: NotRequired[pulumi.Input[_builtins.int]]
|
5431
5508
|
"""
|
5432
|
-
|
5433
|
-
a default value based on the project's available container instances quota in the region and specified instance size.
|
5509
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
5434
5510
|
"""
|
5435
5511
|
min_instance_count: NotRequired[pulumi.Input[_builtins.int]]
|
5436
5512
|
"""
|
@@ -5445,8 +5521,7 @@ class ServiceTemplateScalingArgs:
|
|
5445
5521
|
max_instance_count: Optional[pulumi.Input[_builtins.int]] = None,
|
5446
5522
|
min_instance_count: Optional[pulumi.Input[_builtins.int]] = None):
|
5447
5523
|
"""
|
5448
|
-
:param pulumi.Input[_builtins.int] max_instance_count:
|
5449
|
-
a default value based on the project's available container instances quota in the region and specified instance size.
|
5524
|
+
:param pulumi.Input[_builtins.int] max_instance_count: Combined maximum number of instances for all revisions receiving traffic.
|
5450
5525
|
:param pulumi.Input[_builtins.int] min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
5451
5526
|
"""
|
5452
5527
|
if max_instance_count is not None:
|
@@ -5458,8 +5533,7 @@ class ServiceTemplateScalingArgs:
|
|
5458
5533
|
@pulumi.getter(name="maxInstanceCount")
|
5459
5534
|
def max_instance_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
5460
5535
|
"""
|
5461
|
-
|
5462
|
-
a default value based on the project's available container instances quota in the region and specified instance size.
|
5536
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
5463
5537
|
"""
|
5464
5538
|
return pulumi.get(self, "max_instance_count")
|
5465
5539
|
|
@@ -7538,10 +7612,6 @@ if not MYPY:
|
|
7538
7612
|
"""
|
7539
7613
|
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
7540
7614
|
"""
|
7541
|
-
depends_ons: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
7542
|
-
"""
|
7543
|
-
Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
|
7544
|
-
"""
|
7545
7615
|
envs: NotRequired[pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerEnvArgsDict']]]]
|
7546
7616
|
"""
|
7547
7617
|
List of environment variables to set in the container.
|
@@ -7574,7 +7644,6 @@ class WorkerPoolTemplateContainerArgs:
|
|
7574
7644
|
image: pulumi.Input[_builtins.str],
|
7575
7645
|
args: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
7576
7646
|
commands: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
7577
|
-
depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
7578
7647
|
envs: Optional[pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerEnvArgs']]]] = None,
|
7579
7648
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
7580
7649
|
resources: Optional[pulumi.Input['WorkerPoolTemplateContainerResourcesArgs']] = None,
|
@@ -7584,7 +7653,6 @@ class WorkerPoolTemplateContainerArgs:
|
|
7584
7653
|
:param pulumi.Input[_builtins.str] image: URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
|
7585
7654
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] args: Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
7586
7655
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] commands: Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
7587
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] depends_ons: Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
|
7588
7656
|
:param pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerEnvArgs']]] envs: List of environment variables to set in the container.
|
7589
7657
|
Structure is documented below.
|
7590
7658
|
:param pulumi.Input[_builtins.str] name: Name of the container specified as a DNS_LABEL.
|
@@ -7599,8 +7667,6 @@ class WorkerPoolTemplateContainerArgs:
|
|
7599
7667
|
pulumi.set(__self__, "args", args)
|
7600
7668
|
if commands is not None:
|
7601
7669
|
pulumi.set(__self__, "commands", commands)
|
7602
|
-
if depends_ons is not None:
|
7603
|
-
pulumi.set(__self__, "depends_ons", depends_ons)
|
7604
7670
|
if envs is not None:
|
7605
7671
|
pulumi.set(__self__, "envs", envs)
|
7606
7672
|
if name is not None:
|
@@ -7648,18 +7714,6 @@ class WorkerPoolTemplateContainerArgs:
|
|
7648
7714
|
def commands(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
7649
7715
|
pulumi.set(self, "commands", value)
|
7650
7716
|
|
7651
|
-
@_builtins.property
|
7652
|
-
@pulumi.getter(name="dependsOns")
|
7653
|
-
def depends_ons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
7654
|
-
"""
|
7655
|
-
Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
|
7656
|
-
"""
|
7657
|
-
return pulumi.get(self, "depends_ons")
|
7658
|
-
|
7659
|
-
@depends_ons.setter
|
7660
|
-
def depends_ons(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
7661
|
-
pulumi.set(self, "depends_ons", value)
|
7662
|
-
|
7663
7717
|
@_builtins.property
|
7664
7718
|
@pulumi.getter
|
7665
7719
|
def envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerEnvArgs']]]]:
|
@@ -27,7 +27,7 @@ class GetServiceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getService.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, annotations=None, binary_authorizations=None, build_configs=None, client=None, client_version=None, conditions=None, create_time=None, creator=None, custom_audiences=None, default_uri_disabled=None, delete_time=None, deletion_protection=None, description=None, effective_annotations=None, effective_labels=None, etag=None, expire_time=None, generation=None, iap_enabled=None, id=None, ingress=None, invoker_iam_disabled=None, labels=None, last_modifier=None, latest_created_revision=None, latest_ready_revision=None, launch_stage=None, location=None, name=None, observed_generation=None, project=None, pulumi_labels=None, reconciling=None, scalings=None, templates=None, terminal_conditions=None, traffic_statuses=None, traffics=None, uid=None, update_time=None, uri=None, urls=None):
|
30
|
+
def __init__(__self__, annotations=None, binary_authorizations=None, build_configs=None, client=None, client_version=None, conditions=None, create_time=None, creator=None, custom_audiences=None, default_uri_disabled=None, delete_time=None, deletion_protection=None, description=None, effective_annotations=None, effective_labels=None, etag=None, expire_time=None, generation=None, iap_enabled=None, id=None, ingress=None, invoker_iam_disabled=None, labels=None, last_modifier=None, latest_created_revision=None, latest_ready_revision=None, launch_stage=None, location=None, multi_region_settings=None, name=None, observed_generation=None, project=None, pulumi_labels=None, reconciling=None, scalings=None, templates=None, terminal_conditions=None, traffic_statuses=None, traffics=None, uid=None, update_time=None, uri=None, urls=None):
|
31
31
|
if annotations and not isinstance(annotations, dict):
|
32
32
|
raise TypeError("Expected argument 'annotations' to be a dict")
|
33
33
|
pulumi.set(__self__, "annotations", annotations)
|
@@ -112,6 +112,9 @@ class GetServiceResult:
|
|
112
112
|
if location and not isinstance(location, str):
|
113
113
|
raise TypeError("Expected argument 'location' to be a str")
|
114
114
|
pulumi.set(__self__, "location", location)
|
115
|
+
if multi_region_settings and not isinstance(multi_region_settings, list):
|
116
|
+
raise TypeError("Expected argument 'multi_region_settings' to be a list")
|
117
|
+
pulumi.set(__self__, "multi_region_settings", multi_region_settings)
|
115
118
|
if name and not isinstance(name, str):
|
116
119
|
raise TypeError("Expected argument 'name' to be a str")
|
117
120
|
pulumi.set(__self__, "name", name)
|
@@ -298,6 +301,11 @@ class GetServiceResult:
|
|
298
301
|
def location(self) -> Optional[_builtins.str]:
|
299
302
|
return pulumi.get(self, "location")
|
300
303
|
|
304
|
+
@_builtins.property
|
305
|
+
@pulumi.getter(name="multiRegionSettings")
|
306
|
+
def multi_region_settings(self) -> Sequence['outputs.GetServiceMultiRegionSettingResult']:
|
307
|
+
return pulumi.get(self, "multi_region_settings")
|
308
|
+
|
301
309
|
@_builtins.property
|
302
310
|
@pulumi.getter
|
303
311
|
def name(self) -> _builtins.str:
|
@@ -403,6 +411,7 @@ class AwaitableGetServiceResult(GetServiceResult):
|
|
403
411
|
latest_ready_revision=self.latest_ready_revision,
|
404
412
|
launch_stage=self.launch_stage,
|
405
413
|
location=self.location,
|
414
|
+
multi_region_settings=self.multi_region_settings,
|
406
415
|
name=self.name,
|
407
416
|
observed_generation=self.observed_generation,
|
408
417
|
project=self.project,
|
@@ -482,6 +491,7 @@ def get_service(location: Optional[_builtins.str] = None,
|
|
482
491
|
latest_ready_revision=pulumi.get(__ret__, 'latest_ready_revision'),
|
483
492
|
launch_stage=pulumi.get(__ret__, 'launch_stage'),
|
484
493
|
location=pulumi.get(__ret__, 'location'),
|
494
|
+
multi_region_settings=pulumi.get(__ret__, 'multi_region_settings'),
|
485
495
|
name=pulumi.get(__ret__, 'name'),
|
486
496
|
observed_generation=pulumi.get(__ret__, 'observed_generation'),
|
487
497
|
project=pulumi.get(__ret__, 'project'),
|
@@ -558,6 +568,7 @@ def get_service_output(location: Optional[pulumi.Input[Optional[_builtins.str]]]
|
|
558
568
|
latest_ready_revision=pulumi.get(__response__, 'latest_ready_revision'),
|
559
569
|
launch_stage=pulumi.get(__response__, 'launch_stage'),
|
560
570
|
location=pulumi.get(__response__, 'location'),
|
571
|
+
multi_region_settings=pulumi.get(__response__, 'multi_region_settings'),
|
561
572
|
name=pulumi.get(__response__, 'name'),
|
562
573
|
observed_generation=pulumi.get(__response__, 'observed_generation'),
|
563
574
|
project=pulumi.get(__response__, 'project'),
|
pulumi_gcp/cloudrunv2/outputs.py
CHANGED
@@ -51,6 +51,7 @@ __all__ = [
|
|
51
51
|
'ServiceCondition',
|
52
52
|
'ServiceIamBindingCondition',
|
53
53
|
'ServiceIamMemberCondition',
|
54
|
+
'ServiceMultiRegionSettings',
|
54
55
|
'ServiceScaling',
|
55
56
|
'ServiceTemplate',
|
56
57
|
'ServiceTemplateContainer',
|
@@ -142,6 +143,7 @@ __all__ = [
|
|
142
143
|
'GetServiceBinaryAuthorizationResult',
|
143
144
|
'GetServiceBuildConfigResult',
|
144
145
|
'GetServiceConditionResult',
|
146
|
+
'GetServiceMultiRegionSettingResult',
|
145
147
|
'GetServiceScalingResult',
|
146
148
|
'GetServiceTemplateResult',
|
147
149
|
'GetServiceTemplateContainerResult',
|
@@ -2586,6 +2588,56 @@ class ServiceIamMemberCondition(dict):
|
|
2586
2588
|
return pulumi.get(self, "description")
|
2587
2589
|
|
2588
2590
|
|
2591
|
+
@pulumi.output_type
|
2592
|
+
class ServiceMultiRegionSettings(dict):
|
2593
|
+
@staticmethod
|
2594
|
+
def __key_warning(key: str):
|
2595
|
+
suggest = None
|
2596
|
+
if key == "multiRegionId":
|
2597
|
+
suggest = "multi_region_id"
|
2598
|
+
|
2599
|
+
if suggest:
|
2600
|
+
pulumi.log.warn(f"Key '{key}' not found in ServiceMultiRegionSettings. Access the value via the '{suggest}' property getter instead.")
|
2601
|
+
|
2602
|
+
def __getitem__(self, key: str) -> Any:
|
2603
|
+
ServiceMultiRegionSettings.__key_warning(key)
|
2604
|
+
return super().__getitem__(key)
|
2605
|
+
|
2606
|
+
def get(self, key: str, default = None) -> Any:
|
2607
|
+
ServiceMultiRegionSettings.__key_warning(key)
|
2608
|
+
return super().get(key, default)
|
2609
|
+
|
2610
|
+
def __init__(__self__, *,
|
2611
|
+
multi_region_id: Optional[_builtins.str] = None,
|
2612
|
+
regions: Optional[Sequence[_builtins.str]] = None):
|
2613
|
+
"""
|
2614
|
+
:param _builtins.str multi_region_id: (Output)
|
2615
|
+
System-generated unique id for the multi-region Service.
|
2616
|
+
:param Sequence[_builtins.str] regions: The list of regions to deploy the multi-region Service.
|
2617
|
+
"""
|
2618
|
+
if multi_region_id is not None:
|
2619
|
+
pulumi.set(__self__, "multi_region_id", multi_region_id)
|
2620
|
+
if regions is not None:
|
2621
|
+
pulumi.set(__self__, "regions", regions)
|
2622
|
+
|
2623
|
+
@_builtins.property
|
2624
|
+
@pulumi.getter(name="multiRegionId")
|
2625
|
+
def multi_region_id(self) -> Optional[_builtins.str]:
|
2626
|
+
"""
|
2627
|
+
(Output)
|
2628
|
+
System-generated unique id for the multi-region Service.
|
2629
|
+
"""
|
2630
|
+
return pulumi.get(self, "multi_region_id")
|
2631
|
+
|
2632
|
+
@_builtins.property
|
2633
|
+
@pulumi.getter
|
2634
|
+
def regions(self) -> Optional[Sequence[_builtins.str]]:
|
2635
|
+
"""
|
2636
|
+
The list of regions to deploy the multi-region Service.
|
2637
|
+
"""
|
2638
|
+
return pulumi.get(self, "regions")
|
2639
|
+
|
2640
|
+
|
2589
2641
|
@pulumi.output_type
|
2590
2642
|
class ServiceScaling(dict):
|
2591
2643
|
@staticmethod
|
@@ -2593,6 +2645,8 @@ class ServiceScaling(dict):
|
|
2593
2645
|
suggest = None
|
2594
2646
|
if key == "manualInstanceCount":
|
2595
2647
|
suggest = "manual_instance_count"
|
2648
|
+
elif key == "maxInstanceCount":
|
2649
|
+
suggest = "max_instance_count"
|
2596
2650
|
elif key == "minInstanceCount":
|
2597
2651
|
suggest = "min_instance_count"
|
2598
2652
|
elif key == "scalingMode":
|
@@ -2611,16 +2665,20 @@ class ServiceScaling(dict):
|
|
2611
2665
|
|
2612
2666
|
def __init__(__self__, *,
|
2613
2667
|
manual_instance_count: Optional[_builtins.int] = None,
|
2668
|
+
max_instance_count: Optional[_builtins.int] = None,
|
2614
2669
|
min_instance_count: Optional[_builtins.int] = None,
|
2615
2670
|
scaling_mode: Optional[_builtins.str] = None):
|
2616
2671
|
"""
|
2617
2672
|
:param _builtins.int manual_instance_count: Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
|
2673
|
+
:param _builtins.int max_instance_count: Combined maximum number of instances for all revisions receiving traffic.
|
2618
2674
|
:param _builtins.int min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
2619
2675
|
:param _builtins.str scaling_mode: The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service.
|
2620
2676
|
Possible values are: `AUTOMATIC`, `MANUAL`.
|
2621
2677
|
"""
|
2622
2678
|
if manual_instance_count is not None:
|
2623
2679
|
pulumi.set(__self__, "manual_instance_count", manual_instance_count)
|
2680
|
+
if max_instance_count is not None:
|
2681
|
+
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
2624
2682
|
if min_instance_count is not None:
|
2625
2683
|
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
2626
2684
|
if scaling_mode is not None:
|
@@ -2634,6 +2692,14 @@ class ServiceScaling(dict):
|
|
2634
2692
|
"""
|
2635
2693
|
return pulumi.get(self, "manual_instance_count")
|
2636
2694
|
|
2695
|
+
@_builtins.property
|
2696
|
+
@pulumi.getter(name="maxInstanceCount")
|
2697
|
+
def max_instance_count(self) -> Optional[_builtins.int]:
|
2698
|
+
"""
|
2699
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
2700
|
+
"""
|
2701
|
+
return pulumi.get(self, "max_instance_count")
|
2702
|
+
|
2637
2703
|
@_builtins.property
|
2638
2704
|
@pulumi.getter(name="minInstanceCount")
|
2639
2705
|
def min_instance_count(self) -> Optional[_builtins.int]:
|
@@ -4074,8 +4140,7 @@ class ServiceTemplateScaling(dict):
|
|
4074
4140
|
max_instance_count: Optional[_builtins.int] = None,
|
4075
4141
|
min_instance_count: Optional[_builtins.int] = None):
|
4076
4142
|
"""
|
4077
|
-
:param _builtins.int max_instance_count:
|
4078
|
-
a default value based on the project's available container instances quota in the region and specified instance size.
|
4143
|
+
:param _builtins.int max_instance_count: Combined maximum number of instances for all revisions receiving traffic.
|
4079
4144
|
:param _builtins.int min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
4080
4145
|
"""
|
4081
4146
|
if max_instance_count is not None:
|
@@ -4087,8 +4152,7 @@ class ServiceTemplateScaling(dict):
|
|
4087
4152
|
@pulumi.getter(name="maxInstanceCount")
|
4088
4153
|
def max_instance_count(self) -> Optional[_builtins.int]:
|
4089
4154
|
"""
|
4090
|
-
|
4091
|
-
a default value based on the project's available container instances quota in the region and specified instance size.
|
4155
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
4092
4156
|
"""
|
4093
4157
|
return pulumi.get(self, "max_instance_count")
|
4094
4158
|
|
@@ -5554,9 +5618,7 @@ class WorkerPoolTemplateContainer(dict):
|
|
5554
5618
|
@staticmethod
|
5555
5619
|
def __key_warning(key: str):
|
5556
5620
|
suggest = None
|
5557
|
-
if key == "
|
5558
|
-
suggest = "depends_ons"
|
5559
|
-
elif key == "volumeMounts":
|
5621
|
+
if key == "volumeMounts":
|
5560
5622
|
suggest = "volume_mounts"
|
5561
5623
|
elif key == "workingDir":
|
5562
5624
|
suggest = "working_dir"
|
@@ -5576,7 +5638,6 @@ class WorkerPoolTemplateContainer(dict):
|
|
5576
5638
|
image: _builtins.str,
|
5577
5639
|
args: Optional[Sequence[_builtins.str]] = None,
|
5578
5640
|
commands: Optional[Sequence[_builtins.str]] = None,
|
5579
|
-
depends_ons: Optional[Sequence[_builtins.str]] = None,
|
5580
5641
|
envs: Optional[Sequence['outputs.WorkerPoolTemplateContainerEnv']] = None,
|
5581
5642
|
name: Optional[_builtins.str] = None,
|
5582
5643
|
resources: Optional['outputs.WorkerPoolTemplateContainerResources'] = None,
|
@@ -5586,7 +5647,6 @@ class WorkerPoolTemplateContainer(dict):
|
|
5586
5647
|
:param _builtins.str image: URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
|
5587
5648
|
:param Sequence[_builtins.str] args: Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
5588
5649
|
:param Sequence[_builtins.str] commands: Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
5589
|
-
:param Sequence[_builtins.str] depends_ons: Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
|
5590
5650
|
:param Sequence['WorkerPoolTemplateContainerEnvArgs'] envs: List of environment variables to set in the container.
|
5591
5651
|
Structure is documented below.
|
5592
5652
|
:param _builtins.str name: Name of the container specified as a DNS_LABEL.
|
@@ -5601,8 +5661,6 @@ class WorkerPoolTemplateContainer(dict):
|
|
5601
5661
|
pulumi.set(__self__, "args", args)
|
5602
5662
|
if commands is not None:
|
5603
5663
|
pulumi.set(__self__, "commands", commands)
|
5604
|
-
if depends_ons is not None:
|
5605
|
-
pulumi.set(__self__, "depends_ons", depends_ons)
|
5606
5664
|
if envs is not None:
|
5607
5665
|
pulumi.set(__self__, "envs", envs)
|
5608
5666
|
if name is not None:
|
@@ -5638,14 +5696,6 @@ class WorkerPoolTemplateContainer(dict):
|
|
5638
5696
|
"""
|
5639
5697
|
return pulumi.get(self, "commands")
|
5640
5698
|
|
5641
|
-
@_builtins.property
|
5642
|
-
@pulumi.getter(name="dependsOns")
|
5643
|
-
def depends_ons(self) -> Optional[Sequence[_builtins.str]]:
|
5644
|
-
"""
|
5645
|
-
Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
|
5646
|
-
"""
|
5647
|
-
return pulumi.get(self, "depends_ons")
|
5648
|
-
|
5649
5699
|
@_builtins.property
|
5650
5700
|
@pulumi.getter
|
5651
5701
|
def envs(self) -> Optional[Sequence['outputs.WorkerPoolTemplateContainerEnv']]:
|
@@ -8192,18 +8242,50 @@ class GetServiceConditionResult(dict):
|
|
8192
8242
|
return pulumi.get(self, "type")
|
8193
8243
|
|
8194
8244
|
|
8245
|
+
@pulumi.output_type
|
8246
|
+
class GetServiceMultiRegionSettingResult(dict):
|
8247
|
+
def __init__(__self__, *,
|
8248
|
+
multi_region_id: _builtins.str,
|
8249
|
+
regions: Sequence[_builtins.str]):
|
8250
|
+
"""
|
8251
|
+
:param _builtins.str multi_region_id: System-generated unique id for the multi-region Service.
|
8252
|
+
:param Sequence[_builtins.str] regions: The list of regions to deploy the multi-region Service.
|
8253
|
+
"""
|
8254
|
+
pulumi.set(__self__, "multi_region_id", multi_region_id)
|
8255
|
+
pulumi.set(__self__, "regions", regions)
|
8256
|
+
|
8257
|
+
@_builtins.property
|
8258
|
+
@pulumi.getter(name="multiRegionId")
|
8259
|
+
def multi_region_id(self) -> _builtins.str:
|
8260
|
+
"""
|
8261
|
+
System-generated unique id for the multi-region Service.
|
8262
|
+
"""
|
8263
|
+
return pulumi.get(self, "multi_region_id")
|
8264
|
+
|
8265
|
+
@_builtins.property
|
8266
|
+
@pulumi.getter
|
8267
|
+
def regions(self) -> Sequence[_builtins.str]:
|
8268
|
+
"""
|
8269
|
+
The list of regions to deploy the multi-region Service.
|
8270
|
+
"""
|
8271
|
+
return pulumi.get(self, "regions")
|
8272
|
+
|
8273
|
+
|
8195
8274
|
@pulumi.output_type
|
8196
8275
|
class GetServiceScalingResult(dict):
|
8197
8276
|
def __init__(__self__, *,
|
8198
8277
|
manual_instance_count: _builtins.int,
|
8278
|
+
max_instance_count: _builtins.int,
|
8199
8279
|
min_instance_count: _builtins.int,
|
8200
8280
|
scaling_mode: _builtins.str):
|
8201
8281
|
"""
|
8202
8282
|
:param _builtins.int manual_instance_count: Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
|
8283
|
+
:param _builtins.int max_instance_count: Combined maximum number of instances for all revisions receiving traffic.
|
8203
8284
|
:param _builtins.int min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
8204
8285
|
:param _builtins.str scaling_mode: The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service. Possible values: ["AUTOMATIC", "MANUAL"]
|
8205
8286
|
"""
|
8206
8287
|
pulumi.set(__self__, "manual_instance_count", manual_instance_count)
|
8288
|
+
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
8207
8289
|
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
8208
8290
|
pulumi.set(__self__, "scaling_mode", scaling_mode)
|
8209
8291
|
|
@@ -8215,6 +8297,14 @@ class GetServiceScalingResult(dict):
|
|
8215
8297
|
"""
|
8216
8298
|
return pulumi.get(self, "manual_instance_count")
|
8217
8299
|
|
8300
|
+
@_builtins.property
|
8301
|
+
@pulumi.getter(name="maxInstanceCount")
|
8302
|
+
def max_instance_count(self) -> _builtins.int:
|
8303
|
+
"""
|
8304
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
8305
|
+
"""
|
8306
|
+
return pulumi.get(self, "max_instance_count")
|
8307
|
+
|
8218
8308
|
@_builtins.property
|
8219
8309
|
@pulumi.getter(name="minInstanceCount")
|
8220
8310
|
def min_instance_count(self) -> _builtins.int:
|
@@ -10323,7 +10413,6 @@ class GetWorkerPoolTemplateContainerResult(dict):
|
|
10323
10413
|
def __init__(__self__, *,
|
10324
10414
|
args: Sequence[_builtins.str],
|
10325
10415
|
commands: Sequence[_builtins.str],
|
10326
|
-
depends_ons: Sequence[_builtins.str],
|
10327
10416
|
envs: Sequence['outputs.GetWorkerPoolTemplateContainerEnvResult'],
|
10328
10417
|
image: _builtins.str,
|
10329
10418
|
name: _builtins.str,
|
@@ -10333,7 +10422,6 @@ class GetWorkerPoolTemplateContainerResult(dict):
|
|
10333
10422
|
"""
|
10334
10423
|
:param Sequence[_builtins.str] args: Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
10335
10424
|
:param Sequence[_builtins.str] commands: Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
10336
|
-
:param Sequence[_builtins.str] depends_ons: Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
|
10337
10425
|
:param Sequence['GetWorkerPoolTemplateContainerEnvArgs'] envs: List of environment variables to set in the container.
|
10338
10426
|
:param _builtins.str image: URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
|
10339
10427
|
:param _builtins.str name: The name of the Cloud Run v2 Worker Pool.
|
@@ -10343,7 +10431,6 @@ class GetWorkerPoolTemplateContainerResult(dict):
|
|
10343
10431
|
"""
|
10344
10432
|
pulumi.set(__self__, "args", args)
|
10345
10433
|
pulumi.set(__self__, "commands", commands)
|
10346
|
-
pulumi.set(__self__, "depends_ons", depends_ons)
|
10347
10434
|
pulumi.set(__self__, "envs", envs)
|
10348
10435
|
pulumi.set(__self__, "image", image)
|
10349
10436
|
pulumi.set(__self__, "name", name)
|
@@ -10367,14 +10454,6 @@ class GetWorkerPoolTemplateContainerResult(dict):
|
|
10367
10454
|
"""
|
10368
10455
|
return pulumi.get(self, "commands")
|
10369
10456
|
|
10370
|
-
@_builtins.property
|
10371
|
-
@pulumi.getter(name="dependsOns")
|
10372
|
-
def depends_ons(self) -> Sequence[_builtins.str]:
|
10373
|
-
"""
|
10374
|
-
Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
|
10375
|
-
"""
|
10376
|
-
return pulumi.get(self, "depends_ons")
|
10377
|
-
|
10378
10457
|
@_builtins.property
|
10379
10458
|
@pulumi.getter
|
10380
10459
|
def envs(self) -> Sequence['outputs.GetWorkerPoolTemplateContainerEnvResult']:
|