pulumi-gcp 8.42.0a1756968228__py3-none-any.whl → 9.0.0a1__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 +35 -48
- 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/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 +1 -0
- pulumi_gcp/artifactregistry/_inputs.py +0 -12
- pulumi_gcp/artifactregistry/get_npm_package.py +251 -0
- pulumi_gcp/artifactregistry/outputs.py +8 -16
- 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 +52 -19
- pulumi_gcp/bigquery/dataset_access.py +8 -4
- pulumi_gcp/bigquery/outputs.py +75 -5
- pulumi_gcp/bigquery/table.py +21 -7
- pulumi_gcp/bigtable/app_profile.py +50 -15
- pulumi_gcp/bigtable/get_table_iam_policy.py +16 -18
- pulumi_gcp/bigtable/table.py +42 -42
- 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/get_dns_authorization.py +229 -0
- pulumi_gcp/certificatemanager/outputs.py +41 -0
- pulumi_gcp/cloudbuild/_inputs.py +289 -45
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +2 -6
- pulumi_gcp/cloudbuild/get_trigger.py +12 -1
- pulumi_gcp/cloudbuild/outputs.py +366 -30
- pulumi_gcp/cloudbuild/trigger.py +156 -0
- pulumi_gcp/cloudbuild/worker_pool.py +23 -34
- pulumi_gcp/cloudfunctions/function.py +8 -4
- pulumi_gcp/cloudfunctionsv2/_inputs.py +23 -21
- pulumi_gcp/cloudfunctionsv2/outputs.py +17 -16
- pulumi_gcp/cloudrunv2/_inputs.py +23 -26
- pulumi_gcp/cloudrunv2/outputs.py +28 -30
- pulumi_gcp/cloudrunv2/service.py +18 -12
- pulumi_gcp/cloudtasks/queue.py +98 -2
- pulumi_gcp/colab/_inputs.py +1 -114
- pulumi_gcp/colab/outputs.py +1 -106
- pulumi_gcp/composer/environment.py +49 -28
- pulumi_gcp/compute/_inputs.py +80 -0
- pulumi_gcp/compute/backend_bucket.py +54 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/get_backend_bucket.py +12 -1
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/instance_from_machine_image.py +110 -75
- pulumi_gcp/compute/instance_from_template.py +110 -75
- pulumi_gcp/compute/instance_group_manager.py +14 -7
- pulumi_gcp/compute/instance_template.py +14 -7
- pulumi_gcp/compute/interconnect.py +8 -4
- pulumi_gcp/compute/network_peering_routes_config.py +0 -100
- pulumi_gcp/compute/organization_security_policy.py +83 -51
- pulumi_gcp/compute/outputs.py +128 -0
- pulumi_gcp/compute/packet_mirroring.py +6 -0
- pulumi_gcp/compute/region_instance_group_manager.py +14 -7
- pulumi_gcp/compute/subnetwork.py +0 -98
- pulumi_gcp/config/__init__.pyi +2 -2
- pulumi_gcp/config/vars.py +4 -4
- pulumi_gcp/container/_inputs.py +20 -0
- pulumi_gcp/container/aws_cluster.py +42 -28
- pulumi_gcp/container/aws_node_pool.py +42 -28
- pulumi_gcp/container/azure_cluster.py +70 -35
- pulumi_gcp/container/azure_node_pool.py +42 -28
- pulumi_gcp/container/outputs.py +25 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +4 -2
- pulumi_gcp/databasemigrationservice/migration_job.py +4 -2
- pulumi_gcp/dataplex/asset.py +21 -28
- pulumi_gcp/dataplex/zone.py +21 -28
- pulumi_gcp/dataproc/cluster.py +14 -21
- pulumi_gcp/dataproc/workflow_template.py +105 -42
- pulumi_gcp/diagflow/_inputs.py +152 -0
- pulumi_gcp/diagflow/cx_agent.py +425 -0
- pulumi_gcp/diagflow/outputs.py +143 -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/data_connect_service.py +4 -8
- pulumi_gcp/firebase/database_instance.py +4 -8
- 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/outputs.py +0 -36
- pulumi_gcp/iap/__init__.py +4 -0
- pulumi_gcp/iap/_inputs.py +130 -0
- pulumi_gcp/iap/get_web_region_forwarding_rule_service_iam_policy.py +182 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/{beyondcorp/application_iam_binding.py → iap/web_region_forwarding_rule_service_iam_binding.py} +321 -314
- pulumi_gcp/{beyondcorp/application_iam_member.py → iap/web_region_forwarding_rule_service_iam_member.py} +321 -314
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_policy.py +910 -0
- pulumi_gcp/kms/autokey_config.py +0 -2
- pulumi_gcp/kms/key_handle.py +0 -2
- pulumi_gcp/logging/billing_account_bucket_config.py +21 -7
- pulumi_gcp/logging/folder_bucket_config.py +21 -7
- pulumi_gcp/logging/organization_bucket_config.py +21 -7
- pulumi_gcp/memorystore/get_instance.py +1 -12
- pulumi_gcp/memorystore/instance.py +0 -70
- pulumi_gcp/monitoring/dashboard.py +14 -7
- pulumi_gcp/networkservices/lb_traffic_extension.py +24 -23
- pulumi_gcp/notebooks/__init__.py +0 -1
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +3 -3
- pulumi_gcp/organizations/project.py +21 -7
- pulumi_gcp/projects/service.py +2 -4
- 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/saasruntime/__init__.py +11 -0
- pulumi_gcp/saasruntime/_inputs.py +55 -0
- pulumi_gcp/saasruntime/outputs.py +39 -0
- pulumi_gcp/saasruntime/saa_s.py +815 -0
- pulumi_gcp/securesourcemanager/_inputs.py +20 -19
- pulumi_gcp/securesourcemanager/outputs.py +15 -14
- pulumi_gcp/serviceaccount/get_account_key.py +1 -21
- pulumi_gcp/sql/database_instance.py +61 -7
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +11 -0
- pulumi_gcp/sql/user.py +61 -0
- pulumi_gcp/storage/_inputs.py +7 -7
- pulumi_gcp/storage/bucket.py +14 -7
- pulumi_gcp/storage/outputs.py +7 -7
- pulumi_gcp/tpu/__init__.py +0 -2
- pulumi_gcp/tpu/_inputs.py +0 -93
- pulumi_gcp/tpu/outputs.py +0 -72
- pulumi_gcp/vertex/_inputs.py +8 -9
- pulumi_gcp/vertex/ai_endpoint.py +2 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -2
- pulumi_gcp/vertex/ai_index.py +24 -23
- pulumi_gcp/vertex/outputs.py +7 -8
- {pulumi_gcp-8.42.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.42.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/RECORD +143 -141
- pulumi_gcp/beyondcorp/application.py +0 -746
- pulumi_gcp/beyondcorp/application_iam_policy.py +0 -903
- 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.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.42.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudrunv2/_inputs.py
CHANGED
@@ -3458,6 +3458,10 @@ if not MYPY:
|
|
3458
3458
|
"""
|
3459
3459
|
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
3460
|
"""
|
3461
|
+
max_instance_count: NotRequired[pulumi.Input[_builtins.int]]
|
3462
|
+
"""
|
3463
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
3464
|
+
"""
|
3461
3465
|
min_instance_count: NotRequired[pulumi.Input[_builtins.int]]
|
3462
3466
|
"""
|
3463
3467
|
Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
@@ -3474,16 +3478,20 @@ elif False:
|
|
3474
3478
|
class ServiceScalingArgs:
|
3475
3479
|
def __init__(__self__, *,
|
3476
3480
|
manual_instance_count: Optional[pulumi.Input[_builtins.int]] = None,
|
3481
|
+
max_instance_count: Optional[pulumi.Input[_builtins.int]] = None,
|
3477
3482
|
min_instance_count: Optional[pulumi.Input[_builtins.int]] = None,
|
3478
3483
|
scaling_mode: Optional[pulumi.Input[_builtins.str]] = None):
|
3479
3484
|
"""
|
3480
3485
|
: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.
|
3486
|
+
:param pulumi.Input[_builtins.int] max_instance_count: Combined maximum number of instances for all revisions receiving traffic.
|
3481
3487
|
:param pulumi.Input[_builtins.int] min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
3482
3488
|
: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
3489
|
Possible values are: `AUTOMATIC`, `MANUAL`.
|
3484
3490
|
"""
|
3485
3491
|
if manual_instance_count is not None:
|
3486
3492
|
pulumi.set(__self__, "manual_instance_count", manual_instance_count)
|
3493
|
+
if max_instance_count is not None:
|
3494
|
+
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
3487
3495
|
if min_instance_count is not None:
|
3488
3496
|
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
3489
3497
|
if scaling_mode is not None:
|
@@ -3501,6 +3509,18 @@ class ServiceScalingArgs:
|
|
3501
3509
|
def manual_instance_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
3502
3510
|
pulumi.set(self, "manual_instance_count", value)
|
3503
3511
|
|
3512
|
+
@_builtins.property
|
3513
|
+
@pulumi.getter(name="maxInstanceCount")
|
3514
|
+
def max_instance_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
3515
|
+
"""
|
3516
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
3517
|
+
"""
|
3518
|
+
return pulumi.get(self, "max_instance_count")
|
3519
|
+
|
3520
|
+
@max_instance_count.setter
|
3521
|
+
def max_instance_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
3522
|
+
pulumi.set(self, "max_instance_count", value)
|
3523
|
+
|
3504
3524
|
@_builtins.property
|
3505
3525
|
@pulumi.getter(name="minInstanceCount")
|
3506
3526
|
def min_instance_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
@@ -5429,8 +5449,7 @@ if not MYPY:
|
|
5429
5449
|
class ServiceTemplateScalingArgsDict(TypedDict):
|
5430
5450
|
max_instance_count: NotRequired[pulumi.Input[_builtins.int]]
|
5431
5451
|
"""
|
5432
|
-
|
5433
|
-
a default value based on the project's available container instances quota in the region and specified instance size.
|
5452
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
5434
5453
|
"""
|
5435
5454
|
min_instance_count: NotRequired[pulumi.Input[_builtins.int]]
|
5436
5455
|
"""
|
@@ -5445,8 +5464,7 @@ class ServiceTemplateScalingArgs:
|
|
5445
5464
|
max_instance_count: Optional[pulumi.Input[_builtins.int]] = None,
|
5446
5465
|
min_instance_count: Optional[pulumi.Input[_builtins.int]] = None):
|
5447
5466
|
"""
|
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.
|
5467
|
+
:param pulumi.Input[_builtins.int] max_instance_count: Combined maximum number of instances for all revisions receiving traffic.
|
5450
5468
|
:param pulumi.Input[_builtins.int] min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
5451
5469
|
"""
|
5452
5470
|
if max_instance_count is not None:
|
@@ -5458,8 +5476,7 @@ class ServiceTemplateScalingArgs:
|
|
5458
5476
|
@pulumi.getter(name="maxInstanceCount")
|
5459
5477
|
def max_instance_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
5460
5478
|
"""
|
5461
|
-
|
5462
|
-
a default value based on the project's available container instances quota in the region and specified instance size.
|
5479
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
5463
5480
|
"""
|
5464
5481
|
return pulumi.get(self, "max_instance_count")
|
5465
5482
|
|
@@ -7538,10 +7555,6 @@ if not MYPY:
|
|
7538
7555
|
"""
|
7539
7556
|
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
7557
|
"""
|
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
7558
|
envs: NotRequired[pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerEnvArgsDict']]]]
|
7546
7559
|
"""
|
7547
7560
|
List of environment variables to set in the container.
|
@@ -7574,7 +7587,6 @@ class WorkerPoolTemplateContainerArgs:
|
|
7574
7587
|
image: pulumi.Input[_builtins.str],
|
7575
7588
|
args: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
7576
7589
|
commands: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
7577
|
-
depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
7578
7590
|
envs: Optional[pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerEnvArgs']]]] = None,
|
7579
7591
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
7580
7592
|
resources: Optional[pulumi.Input['WorkerPoolTemplateContainerResourcesArgs']] = None,
|
@@ -7584,7 +7596,6 @@ class WorkerPoolTemplateContainerArgs:
|
|
7584
7596
|
: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
7597
|
: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
7598
|
: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
7599
|
:param pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerEnvArgs']]] envs: List of environment variables to set in the container.
|
7589
7600
|
Structure is documented below.
|
7590
7601
|
:param pulumi.Input[_builtins.str] name: Name of the container specified as a DNS_LABEL.
|
@@ -7599,8 +7610,6 @@ class WorkerPoolTemplateContainerArgs:
|
|
7599
7610
|
pulumi.set(__self__, "args", args)
|
7600
7611
|
if commands is not None:
|
7601
7612
|
pulumi.set(__self__, "commands", commands)
|
7602
|
-
if depends_ons is not None:
|
7603
|
-
pulumi.set(__self__, "depends_ons", depends_ons)
|
7604
7613
|
if envs is not None:
|
7605
7614
|
pulumi.set(__self__, "envs", envs)
|
7606
7615
|
if name is not None:
|
@@ -7648,18 +7657,6 @@ class WorkerPoolTemplateContainerArgs:
|
|
7648
7657
|
def commands(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
7649
7658
|
pulumi.set(self, "commands", value)
|
7650
7659
|
|
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
7660
|
@_builtins.property
|
7664
7661
|
@pulumi.getter
|
7665
7662
|
def envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkerPoolTemplateContainerEnvArgs']]]]:
|
pulumi_gcp/cloudrunv2/outputs.py
CHANGED
@@ -2593,6 +2593,8 @@ class ServiceScaling(dict):
|
|
2593
2593
|
suggest = None
|
2594
2594
|
if key == "manualInstanceCount":
|
2595
2595
|
suggest = "manual_instance_count"
|
2596
|
+
elif key == "maxInstanceCount":
|
2597
|
+
suggest = "max_instance_count"
|
2596
2598
|
elif key == "minInstanceCount":
|
2597
2599
|
suggest = "min_instance_count"
|
2598
2600
|
elif key == "scalingMode":
|
@@ -2611,16 +2613,20 @@ class ServiceScaling(dict):
|
|
2611
2613
|
|
2612
2614
|
def __init__(__self__, *,
|
2613
2615
|
manual_instance_count: Optional[_builtins.int] = None,
|
2616
|
+
max_instance_count: Optional[_builtins.int] = None,
|
2614
2617
|
min_instance_count: Optional[_builtins.int] = None,
|
2615
2618
|
scaling_mode: Optional[_builtins.str] = None):
|
2616
2619
|
"""
|
2617
2620
|
: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.
|
2621
|
+
:param _builtins.int max_instance_count: Combined maximum number of instances for all revisions receiving traffic.
|
2618
2622
|
:param _builtins.int min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
2619
2623
|
: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
2624
|
Possible values are: `AUTOMATIC`, `MANUAL`.
|
2621
2625
|
"""
|
2622
2626
|
if manual_instance_count is not None:
|
2623
2627
|
pulumi.set(__self__, "manual_instance_count", manual_instance_count)
|
2628
|
+
if max_instance_count is not None:
|
2629
|
+
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
2624
2630
|
if min_instance_count is not None:
|
2625
2631
|
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
2626
2632
|
if scaling_mode is not None:
|
@@ -2634,6 +2640,14 @@ class ServiceScaling(dict):
|
|
2634
2640
|
"""
|
2635
2641
|
return pulumi.get(self, "manual_instance_count")
|
2636
2642
|
|
2643
|
+
@_builtins.property
|
2644
|
+
@pulumi.getter(name="maxInstanceCount")
|
2645
|
+
def max_instance_count(self) -> Optional[_builtins.int]:
|
2646
|
+
"""
|
2647
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
2648
|
+
"""
|
2649
|
+
return pulumi.get(self, "max_instance_count")
|
2650
|
+
|
2637
2651
|
@_builtins.property
|
2638
2652
|
@pulumi.getter(name="minInstanceCount")
|
2639
2653
|
def min_instance_count(self) -> Optional[_builtins.int]:
|
@@ -4074,8 +4088,7 @@ class ServiceTemplateScaling(dict):
|
|
4074
4088
|
max_instance_count: Optional[_builtins.int] = None,
|
4075
4089
|
min_instance_count: Optional[_builtins.int] = None):
|
4076
4090
|
"""
|
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.
|
4091
|
+
:param _builtins.int max_instance_count: Combined maximum number of instances for all revisions receiving traffic.
|
4079
4092
|
:param _builtins.int min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
4080
4093
|
"""
|
4081
4094
|
if max_instance_count is not None:
|
@@ -4087,8 +4100,7 @@ class ServiceTemplateScaling(dict):
|
|
4087
4100
|
@pulumi.getter(name="maxInstanceCount")
|
4088
4101
|
def max_instance_count(self) -> Optional[_builtins.int]:
|
4089
4102
|
"""
|
4090
|
-
|
4091
|
-
a default value based on the project's available container instances quota in the region and specified instance size.
|
4103
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
4092
4104
|
"""
|
4093
4105
|
return pulumi.get(self, "max_instance_count")
|
4094
4106
|
|
@@ -5554,9 +5566,7 @@ class WorkerPoolTemplateContainer(dict):
|
|
5554
5566
|
@staticmethod
|
5555
5567
|
def __key_warning(key: str):
|
5556
5568
|
suggest = None
|
5557
|
-
if key == "
|
5558
|
-
suggest = "depends_ons"
|
5559
|
-
elif key == "volumeMounts":
|
5569
|
+
if key == "volumeMounts":
|
5560
5570
|
suggest = "volume_mounts"
|
5561
5571
|
elif key == "workingDir":
|
5562
5572
|
suggest = "working_dir"
|
@@ -5576,7 +5586,6 @@ class WorkerPoolTemplateContainer(dict):
|
|
5576
5586
|
image: _builtins.str,
|
5577
5587
|
args: Optional[Sequence[_builtins.str]] = None,
|
5578
5588
|
commands: Optional[Sequence[_builtins.str]] = None,
|
5579
|
-
depends_ons: Optional[Sequence[_builtins.str]] = None,
|
5580
5589
|
envs: Optional[Sequence['outputs.WorkerPoolTemplateContainerEnv']] = None,
|
5581
5590
|
name: Optional[_builtins.str] = None,
|
5582
5591
|
resources: Optional['outputs.WorkerPoolTemplateContainerResources'] = None,
|
@@ -5586,7 +5595,6 @@ class WorkerPoolTemplateContainer(dict):
|
|
5586
5595
|
: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
5596
|
: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
5597
|
: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
5598
|
:param Sequence['WorkerPoolTemplateContainerEnvArgs'] envs: List of environment variables to set in the container.
|
5591
5599
|
Structure is documented below.
|
5592
5600
|
:param _builtins.str name: Name of the container specified as a DNS_LABEL.
|
@@ -5601,8 +5609,6 @@ class WorkerPoolTemplateContainer(dict):
|
|
5601
5609
|
pulumi.set(__self__, "args", args)
|
5602
5610
|
if commands is not None:
|
5603
5611
|
pulumi.set(__self__, "commands", commands)
|
5604
|
-
if depends_ons is not None:
|
5605
|
-
pulumi.set(__self__, "depends_ons", depends_ons)
|
5606
5612
|
if envs is not None:
|
5607
5613
|
pulumi.set(__self__, "envs", envs)
|
5608
5614
|
if name is not None:
|
@@ -5638,14 +5644,6 @@ class WorkerPoolTemplateContainer(dict):
|
|
5638
5644
|
"""
|
5639
5645
|
return pulumi.get(self, "commands")
|
5640
5646
|
|
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
5647
|
@_builtins.property
|
5650
5648
|
@pulumi.getter
|
5651
5649
|
def envs(self) -> Optional[Sequence['outputs.WorkerPoolTemplateContainerEnv']]:
|
@@ -8196,14 +8194,17 @@ class GetServiceConditionResult(dict):
|
|
8196
8194
|
class GetServiceScalingResult(dict):
|
8197
8195
|
def __init__(__self__, *,
|
8198
8196
|
manual_instance_count: _builtins.int,
|
8197
|
+
max_instance_count: _builtins.int,
|
8199
8198
|
min_instance_count: _builtins.int,
|
8200
8199
|
scaling_mode: _builtins.str):
|
8201
8200
|
"""
|
8202
8201
|
: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.
|
8202
|
+
:param _builtins.int max_instance_count: Combined maximum number of instances for all revisions receiving traffic.
|
8203
8203
|
:param _builtins.int min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
8204
8204
|
: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
8205
|
"""
|
8206
8206
|
pulumi.set(__self__, "manual_instance_count", manual_instance_count)
|
8207
|
+
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
8207
8208
|
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
8208
8209
|
pulumi.set(__self__, "scaling_mode", scaling_mode)
|
8209
8210
|
|
@@ -8215,6 +8216,14 @@ class GetServiceScalingResult(dict):
|
|
8215
8216
|
"""
|
8216
8217
|
return pulumi.get(self, "manual_instance_count")
|
8217
8218
|
|
8219
|
+
@_builtins.property
|
8220
|
+
@pulumi.getter(name="maxInstanceCount")
|
8221
|
+
def max_instance_count(self) -> _builtins.int:
|
8222
|
+
"""
|
8223
|
+
Combined maximum number of instances for all revisions receiving traffic.
|
8224
|
+
"""
|
8225
|
+
return pulumi.get(self, "max_instance_count")
|
8226
|
+
|
8218
8227
|
@_builtins.property
|
8219
8228
|
@pulumi.getter(name="minInstanceCount")
|
8220
8229
|
def min_instance_count(self) -> _builtins.int:
|
@@ -10323,7 +10332,6 @@ class GetWorkerPoolTemplateContainerResult(dict):
|
|
10323
10332
|
def __init__(__self__, *,
|
10324
10333
|
args: Sequence[_builtins.str],
|
10325
10334
|
commands: Sequence[_builtins.str],
|
10326
|
-
depends_ons: Sequence[_builtins.str],
|
10327
10335
|
envs: Sequence['outputs.GetWorkerPoolTemplateContainerEnvResult'],
|
10328
10336
|
image: _builtins.str,
|
10329
10337
|
name: _builtins.str,
|
@@ -10333,7 +10341,6 @@ class GetWorkerPoolTemplateContainerResult(dict):
|
|
10333
10341
|
"""
|
10334
10342
|
: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
10343
|
: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
10344
|
:param Sequence['GetWorkerPoolTemplateContainerEnvArgs'] envs: List of environment variables to set in the container.
|
10338
10345
|
: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
10346
|
:param _builtins.str name: The name of the Cloud Run v2 Worker Pool.
|
@@ -10343,7 +10350,6 @@ class GetWorkerPoolTemplateContainerResult(dict):
|
|
10343
10350
|
"""
|
10344
10351
|
pulumi.set(__self__, "args", args)
|
10345
10352
|
pulumi.set(__self__, "commands", commands)
|
10346
|
-
pulumi.set(__self__, "depends_ons", depends_ons)
|
10347
10353
|
pulumi.set(__self__, "envs", envs)
|
10348
10354
|
pulumi.set(__self__, "image", image)
|
10349
10355
|
pulumi.set(__self__, "name", name)
|
@@ -10367,14 +10373,6 @@ class GetWorkerPoolTemplateContainerResult(dict):
|
|
10367
10373
|
"""
|
10368
10374
|
return pulumi.get(self, "commands")
|
10369
10375
|
|
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
10376
|
@_builtins.property
|
10379
10377
|
@pulumi.getter
|
10380
10378
|
def envs(self) -> Sequence['outputs.GetWorkerPoolTemplateContainerEnvResult']:
|
pulumi_gcp/cloudrunv2/service.py
CHANGED
@@ -1145,6 +1145,9 @@ class Service(pulumi.CustomResource):
|
|
1145
1145
|
location="us-central1",
|
1146
1146
|
deletion_protection=False,
|
1147
1147
|
ingress="INGRESS_TRAFFIC_ALL",
|
1148
|
+
scaling={
|
1149
|
+
"max_instance_count": 100,
|
1150
|
+
},
|
1148
1151
|
template={
|
1149
1152
|
"containers": [{
|
1150
1153
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
@@ -1201,10 +1204,10 @@ class Service(pulumi.CustomResource):
|
|
1201
1204
|
location="us-central1",
|
1202
1205
|
deletion_protection=False,
|
1203
1206
|
ingress="INGRESS_TRAFFIC_ALL",
|
1207
|
+
scaling={
|
1208
|
+
"max_instance_count": 2,
|
1209
|
+
},
|
1204
1210
|
template={
|
1205
|
-
"scaling": {
|
1206
|
-
"max_instance_count": 2,
|
1207
|
-
},
|
1208
1211
|
"volumes": [{
|
1209
1212
|
"name": "cloudsql",
|
1210
1213
|
"cloud_sql_instance": {
|
@@ -1322,6 +1325,9 @@ class Service(pulumi.CustomResource):
|
|
1322
1325
|
location="us-central1",
|
1323
1326
|
deletion_protection=False,
|
1324
1327
|
ingress="INGRESS_TRAFFIC_ALL",
|
1328
|
+
scaling={
|
1329
|
+
"max_instance_count": 1,
|
1330
|
+
},
|
1325
1331
|
template={
|
1326
1332
|
"containers": [{
|
1327
1333
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
@@ -1338,9 +1344,6 @@ class Service(pulumi.CustomResource):
|
|
1338
1344
|
"accelerator": "nvidia-l4",
|
1339
1345
|
},
|
1340
1346
|
"gpu_zonal_redundancy_disabled": True,
|
1341
|
-
"scaling": {
|
1342
|
-
"max_instance_count": 1,
|
1343
|
-
},
|
1344
1347
|
})
|
1345
1348
|
```
|
1346
1349
|
### Cloudrunv2 Service Probes
|
@@ -1762,6 +1765,9 @@ class Service(pulumi.CustomResource):
|
|
1762
1765
|
location="us-central1",
|
1763
1766
|
deletion_protection=False,
|
1764
1767
|
ingress="INGRESS_TRAFFIC_ALL",
|
1768
|
+
scaling={
|
1769
|
+
"max_instance_count": 100,
|
1770
|
+
},
|
1765
1771
|
template={
|
1766
1772
|
"containers": [{
|
1767
1773
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
@@ -1818,10 +1824,10 @@ class Service(pulumi.CustomResource):
|
|
1818
1824
|
location="us-central1",
|
1819
1825
|
deletion_protection=False,
|
1820
1826
|
ingress="INGRESS_TRAFFIC_ALL",
|
1827
|
+
scaling={
|
1828
|
+
"max_instance_count": 2,
|
1829
|
+
},
|
1821
1830
|
template={
|
1822
|
-
"scaling": {
|
1823
|
-
"max_instance_count": 2,
|
1824
|
-
},
|
1825
1831
|
"volumes": [{
|
1826
1832
|
"name": "cloudsql",
|
1827
1833
|
"cloud_sql_instance": {
|
@@ -1939,6 +1945,9 @@ class Service(pulumi.CustomResource):
|
|
1939
1945
|
location="us-central1",
|
1940
1946
|
deletion_protection=False,
|
1941
1947
|
ingress="INGRESS_TRAFFIC_ALL",
|
1948
|
+
scaling={
|
1949
|
+
"max_instance_count": 1,
|
1950
|
+
},
|
1942
1951
|
template={
|
1943
1952
|
"containers": [{
|
1944
1953
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
@@ -1955,9 +1964,6 @@ class Service(pulumi.CustomResource):
|
|
1955
1964
|
"accelerator": "nvidia-l4",
|
1956
1965
|
},
|
1957
1966
|
"gpu_zonal_redundancy_disabled": True,
|
1958
|
-
"scaling": {
|
1959
|
-
"max_instance_count": 1,
|
1960
|
-
},
|
1961
1967
|
})
|
1962
1968
|
```
|
1963
1969
|
### Cloudrunv2 Service Probes
|