pulumi-gcp 8.42.0a1758133038__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.0a1758133038.dist-info → pulumi_gcp-9.0.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.42.0a1758133038.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.0a1758133038.dist-info → pulumi_gcp-9.0.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.42.0a1758133038.dist-info → pulumi_gcp-9.0.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudrunv2/service.py
CHANGED
@@ -37,6 +37,7 @@ class ServiceArgs:
|
|
37
37
|
invoker_iam_disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
38
38
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
39
39
|
launch_stage: Optional[pulumi.Input[_builtins.str]] = None,
|
40
|
+
multi_region_settings: Optional[pulumi.Input['ServiceMultiRegionSettingsArgs']] = None,
|
40
41
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
41
42
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
42
43
|
scaling: Optional[pulumi.Input['ServiceScalingArgs']] = None,
|
@@ -76,6 +77,8 @@ class ServiceArgs:
|
|
76
77
|
If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features.
|
77
78
|
For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
|
78
79
|
Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
|
80
|
+
:param pulumi.Input['ServiceMultiRegionSettingsArgs'] multi_region_settings: Settings for creating a Multi-Region Service. Make sure to use region = 'global' when using them. For more information, visit https://cloud.google.com/run/docs/multiple-regions#deploy
|
81
|
+
Structure is documented below.
|
79
82
|
:param pulumi.Input[_builtins.str] name: Name of the Service.
|
80
83
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
81
84
|
If it is not provided, the provider project is used.
|
@@ -114,6 +117,8 @@ class ServiceArgs:
|
|
114
117
|
pulumi.set(__self__, "labels", labels)
|
115
118
|
if launch_stage is not None:
|
116
119
|
pulumi.set(__self__, "launch_stage", launch_stage)
|
120
|
+
if multi_region_settings is not None:
|
121
|
+
pulumi.set(__self__, "multi_region_settings", multi_region_settings)
|
117
122
|
if name is not None:
|
118
123
|
pulumi.set(__self__, "name", name)
|
119
124
|
if project is not None:
|
@@ -330,6 +335,19 @@ class ServiceArgs:
|
|
330
335
|
def launch_stage(self, value: Optional[pulumi.Input[_builtins.str]]):
|
331
336
|
pulumi.set(self, "launch_stage", value)
|
332
337
|
|
338
|
+
@_builtins.property
|
339
|
+
@pulumi.getter(name="multiRegionSettings")
|
340
|
+
def multi_region_settings(self) -> Optional[pulumi.Input['ServiceMultiRegionSettingsArgs']]:
|
341
|
+
"""
|
342
|
+
Settings for creating a Multi-Region Service. Make sure to use region = 'global' when using them. For more information, visit https://cloud.google.com/run/docs/multiple-regions#deploy
|
343
|
+
Structure is documented below.
|
344
|
+
"""
|
345
|
+
return pulumi.get(self, "multi_region_settings")
|
346
|
+
|
347
|
+
@multi_region_settings.setter
|
348
|
+
def multi_region_settings(self, value: Optional[pulumi.Input['ServiceMultiRegionSettingsArgs']]):
|
349
|
+
pulumi.set(self, "multi_region_settings", value)
|
350
|
+
|
333
351
|
@_builtins.property
|
334
352
|
@pulumi.getter
|
335
353
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -412,6 +430,7 @@ class _ServiceState:
|
|
412
430
|
latest_ready_revision: Optional[pulumi.Input[_builtins.str]] = None,
|
413
431
|
launch_stage: Optional[pulumi.Input[_builtins.str]] = None,
|
414
432
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
433
|
+
multi_region_settings: Optional[pulumi.Input['ServiceMultiRegionSettingsArgs']] = None,
|
415
434
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
416
435
|
observed_generation: Optional[pulumi.Input[_builtins.str]] = None,
|
417
436
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -471,6 +490,8 @@ class _ServiceState:
|
|
471
490
|
For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
|
472
491
|
Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
|
473
492
|
:param pulumi.Input[_builtins.str] location: The location of the cloud run service
|
493
|
+
:param pulumi.Input['ServiceMultiRegionSettingsArgs'] multi_region_settings: Settings for creating a Multi-Region Service. Make sure to use region = 'global' when using them. For more information, visit https://cloud.google.com/run/docs/multiple-regions#deploy
|
494
|
+
Structure is documented below.
|
474
495
|
:param pulumi.Input[_builtins.str] name: Name of the Service.
|
475
496
|
:param pulumi.Input[_builtins.str] observed_generation: The generation of this Service currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
|
476
497
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
@@ -551,6 +572,8 @@ class _ServiceState:
|
|
551
572
|
pulumi.set(__self__, "launch_stage", launch_stage)
|
552
573
|
if location is not None:
|
553
574
|
pulumi.set(__self__, "location", location)
|
575
|
+
if multi_region_settings is not None:
|
576
|
+
pulumi.set(__self__, "multi_region_settings", multi_region_settings)
|
554
577
|
if name is not None:
|
555
578
|
pulumi.set(__self__, "name", name)
|
556
579
|
if observed_generation is not None:
|
@@ -916,6 +939,19 @@ class _ServiceState:
|
|
916
939
|
def location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
917
940
|
pulumi.set(self, "location", value)
|
918
941
|
|
942
|
+
@_builtins.property
|
943
|
+
@pulumi.getter(name="multiRegionSettings")
|
944
|
+
def multi_region_settings(self) -> Optional[pulumi.Input['ServiceMultiRegionSettingsArgs']]:
|
945
|
+
"""
|
946
|
+
Settings for creating a Multi-Region Service. Make sure to use region = 'global' when using them. For more information, visit https://cloud.google.com/run/docs/multiple-regions#deploy
|
947
|
+
Structure is documented below.
|
948
|
+
"""
|
949
|
+
return pulumi.get(self, "multi_region_settings")
|
950
|
+
|
951
|
+
@multi_region_settings.setter
|
952
|
+
def multi_region_settings(self, value: Optional[pulumi.Input['ServiceMultiRegionSettingsArgs']]):
|
953
|
+
pulumi.set(self, "multi_region_settings", value)
|
954
|
+
|
919
955
|
@_builtins.property
|
920
956
|
@pulumi.getter
|
921
957
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -1117,6 +1153,7 @@ class Service(pulumi.CustomResource):
|
|
1117
1153
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
1118
1154
|
launch_stage: Optional[pulumi.Input[_builtins.str]] = None,
|
1119
1155
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
1156
|
+
multi_region_settings: Optional[pulumi.Input[Union['ServiceMultiRegionSettingsArgs', 'ServiceMultiRegionSettingsArgsDict']]] = None,
|
1120
1157
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
1121
1158
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
1122
1159
|
scaling: Optional[pulumi.Input[Union['ServiceScalingArgs', 'ServiceScalingArgsDict']]] = None,
|
@@ -1145,6 +1182,9 @@ class Service(pulumi.CustomResource):
|
|
1145
1182
|
location="us-central1",
|
1146
1183
|
deletion_protection=False,
|
1147
1184
|
ingress="INGRESS_TRAFFIC_ALL",
|
1185
|
+
scaling={
|
1186
|
+
"max_instance_count": 100,
|
1187
|
+
},
|
1148
1188
|
template={
|
1149
1189
|
"containers": [{
|
1150
1190
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
@@ -1201,10 +1241,10 @@ class Service(pulumi.CustomResource):
|
|
1201
1241
|
location="us-central1",
|
1202
1242
|
deletion_protection=False,
|
1203
1243
|
ingress="INGRESS_TRAFFIC_ALL",
|
1244
|
+
scaling={
|
1245
|
+
"max_instance_count": 2,
|
1246
|
+
},
|
1204
1247
|
template={
|
1205
|
-
"scaling": {
|
1206
|
-
"max_instance_count": 2,
|
1207
|
-
},
|
1208
1248
|
"volumes": [{
|
1209
1249
|
"name": "cloudsql",
|
1210
1250
|
"cloud_sql_instance": {
|
@@ -1322,6 +1362,9 @@ class Service(pulumi.CustomResource):
|
|
1322
1362
|
location="us-central1",
|
1323
1363
|
deletion_protection=False,
|
1324
1364
|
ingress="INGRESS_TRAFFIC_ALL",
|
1365
|
+
scaling={
|
1366
|
+
"max_instance_count": 1,
|
1367
|
+
},
|
1325
1368
|
template={
|
1326
1369
|
"containers": [{
|
1327
1370
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
@@ -1338,9 +1381,6 @@ class Service(pulumi.CustomResource):
|
|
1338
1381
|
"accelerator": "nvidia-l4",
|
1339
1382
|
},
|
1340
1383
|
"gpu_zonal_redundancy_disabled": True,
|
1341
|
-
"scaling": {
|
1342
|
-
"max_instance_count": 1,
|
1343
|
-
},
|
1344
1384
|
})
|
1345
1385
|
```
|
1346
1386
|
### Cloudrunv2 Service Probes
|
@@ -1724,6 +1764,8 @@ class Service(pulumi.CustomResource):
|
|
1724
1764
|
For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
|
1725
1765
|
Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
|
1726
1766
|
:param pulumi.Input[_builtins.str] location: The location of the cloud run service
|
1767
|
+
:param pulumi.Input[Union['ServiceMultiRegionSettingsArgs', 'ServiceMultiRegionSettingsArgsDict']] multi_region_settings: Settings for creating a Multi-Region Service. Make sure to use region = 'global' when using them. For more information, visit https://cloud.google.com/run/docs/multiple-regions#deploy
|
1768
|
+
Structure is documented below.
|
1727
1769
|
:param pulumi.Input[_builtins.str] name: Name of the Service.
|
1728
1770
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
1729
1771
|
If it is not provided, the provider project is used.
|
@@ -1762,6 +1804,9 @@ class Service(pulumi.CustomResource):
|
|
1762
1804
|
location="us-central1",
|
1763
1805
|
deletion_protection=False,
|
1764
1806
|
ingress="INGRESS_TRAFFIC_ALL",
|
1807
|
+
scaling={
|
1808
|
+
"max_instance_count": 100,
|
1809
|
+
},
|
1765
1810
|
template={
|
1766
1811
|
"containers": [{
|
1767
1812
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
@@ -1818,10 +1863,10 @@ class Service(pulumi.CustomResource):
|
|
1818
1863
|
location="us-central1",
|
1819
1864
|
deletion_protection=False,
|
1820
1865
|
ingress="INGRESS_TRAFFIC_ALL",
|
1866
|
+
scaling={
|
1867
|
+
"max_instance_count": 2,
|
1868
|
+
},
|
1821
1869
|
template={
|
1822
|
-
"scaling": {
|
1823
|
-
"max_instance_count": 2,
|
1824
|
-
},
|
1825
1870
|
"volumes": [{
|
1826
1871
|
"name": "cloudsql",
|
1827
1872
|
"cloud_sql_instance": {
|
@@ -1939,6 +1984,9 @@ class Service(pulumi.CustomResource):
|
|
1939
1984
|
location="us-central1",
|
1940
1985
|
deletion_protection=False,
|
1941
1986
|
ingress="INGRESS_TRAFFIC_ALL",
|
1987
|
+
scaling={
|
1988
|
+
"max_instance_count": 1,
|
1989
|
+
},
|
1942
1990
|
template={
|
1943
1991
|
"containers": [{
|
1944
1992
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
@@ -1955,9 +2003,6 @@ class Service(pulumi.CustomResource):
|
|
1955
2003
|
"accelerator": "nvidia-l4",
|
1956
2004
|
},
|
1957
2005
|
"gpu_zonal_redundancy_disabled": True,
|
1958
|
-
"scaling": {
|
1959
|
-
"max_instance_count": 1,
|
1960
|
-
},
|
1961
2006
|
})
|
1962
2007
|
```
|
1963
2008
|
### Cloudrunv2 Service Probes
|
@@ -2338,6 +2383,7 @@ class Service(pulumi.CustomResource):
|
|
2338
2383
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
2339
2384
|
launch_stage: Optional[pulumi.Input[_builtins.str]] = None,
|
2340
2385
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
2386
|
+
multi_region_settings: Optional[pulumi.Input[Union['ServiceMultiRegionSettingsArgs', 'ServiceMultiRegionSettingsArgsDict']]] = None,
|
2341
2387
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
2342
2388
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
2343
2389
|
scaling: Optional[pulumi.Input[Union['ServiceScalingArgs', 'ServiceScalingArgsDict']]] = None,
|
@@ -2369,6 +2415,7 @@ class Service(pulumi.CustomResource):
|
|
2369
2415
|
if location is None and not opts.urn:
|
2370
2416
|
raise TypeError("Missing required property 'location'")
|
2371
2417
|
__props__.__dict__["location"] = location
|
2418
|
+
__props__.__dict__["multi_region_settings"] = multi_region_settings
|
2372
2419
|
__props__.__dict__["name"] = name
|
2373
2420
|
__props__.__dict__["project"] = project
|
2374
2421
|
__props__.__dict__["scaling"] = scaling
|
@@ -2436,6 +2483,7 @@ class Service(pulumi.CustomResource):
|
|
2436
2483
|
latest_ready_revision: Optional[pulumi.Input[_builtins.str]] = None,
|
2437
2484
|
launch_stage: Optional[pulumi.Input[_builtins.str]] = None,
|
2438
2485
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
2486
|
+
multi_region_settings: Optional[pulumi.Input[Union['ServiceMultiRegionSettingsArgs', 'ServiceMultiRegionSettingsArgsDict']]] = None,
|
2439
2487
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
2440
2488
|
observed_generation: Optional[pulumi.Input[_builtins.str]] = None,
|
2441
2489
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -2500,6 +2548,8 @@ class Service(pulumi.CustomResource):
|
|
2500
2548
|
For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
|
2501
2549
|
Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
|
2502
2550
|
:param pulumi.Input[_builtins.str] location: The location of the cloud run service
|
2551
|
+
:param pulumi.Input[Union['ServiceMultiRegionSettingsArgs', 'ServiceMultiRegionSettingsArgsDict']] multi_region_settings: Settings for creating a Multi-Region Service. Make sure to use region = 'global' when using them. For more information, visit https://cloud.google.com/run/docs/multiple-regions#deploy
|
2552
|
+
Structure is documented below.
|
2503
2553
|
:param pulumi.Input[_builtins.str] name: Name of the Service.
|
2504
2554
|
:param pulumi.Input[_builtins.str] observed_generation: The generation of this Service currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
|
2505
2555
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
@@ -2557,6 +2607,7 @@ class Service(pulumi.CustomResource):
|
|
2557
2607
|
__props__.__dict__["latest_ready_revision"] = latest_ready_revision
|
2558
2608
|
__props__.__dict__["launch_stage"] = launch_stage
|
2559
2609
|
__props__.__dict__["location"] = location
|
2610
|
+
__props__.__dict__["multi_region_settings"] = multi_region_settings
|
2560
2611
|
__props__.__dict__["name"] = name
|
2561
2612
|
__props__.__dict__["observed_generation"] = observed_generation
|
2562
2613
|
__props__.__dict__["project"] = project
|
@@ -2801,6 +2852,15 @@ class Service(pulumi.CustomResource):
|
|
2801
2852
|
"""
|
2802
2853
|
return pulumi.get(self, "location")
|
2803
2854
|
|
2855
|
+
@_builtins.property
|
2856
|
+
@pulumi.getter(name="multiRegionSettings")
|
2857
|
+
def multi_region_settings(self) -> pulumi.Output[Optional['outputs.ServiceMultiRegionSettings']]:
|
2858
|
+
"""
|
2859
|
+
Settings for creating a Multi-Region Service. Make sure to use region = 'global' when using them. For more information, visit https://cloud.google.com/run/docs/multiple-regions#deploy
|
2860
|
+
Structure is documented below.
|
2861
|
+
"""
|
2862
|
+
return pulumi.get(self, "multi_region_settings")
|
2863
|
+
|
2804
2864
|
@_builtins.property
|
2805
2865
|
@pulumi.getter
|
2806
2866
|
def name(self) -> pulumi.Output[_builtins.str]:
|
@@ -1074,7 +1074,7 @@ class WorkerPool(pulumi.CustomResource):
|
|
1074
1074
|
name="cloudrun-worker-pool",
|
1075
1075
|
location="us-central1",
|
1076
1076
|
deletion_protection=False,
|
1077
|
-
launch_stage="
|
1077
|
+
launch_stage="BETA",
|
1078
1078
|
template={
|
1079
1079
|
"containers": [{
|
1080
1080
|
"image": "us-docker.pkg.dev/cloudrun/container/worker-pool",
|
@@ -1497,7 +1497,7 @@ class WorkerPool(pulumi.CustomResource):
|
|
1497
1497
|
name="cloudrun-worker-pool",
|
1498
1498
|
location="us-central1",
|
1499
1499
|
deletion_protection=False,
|
1500
|
-
launch_stage="
|
1500
|
+
launch_stage="BETA",
|
1501
1501
|
template={
|
1502
1502
|
"containers": [{
|
1503
1503
|
"image": "us-docker.pkg.dev/cloudrun/container/worker-pool",
|
pulumi_gcp/cloudtasks/queue.py
CHANGED
@@ -23,6 +23,7 @@ class QueueArgs:
|
|
23
23
|
def __init__(__self__, *,
|
24
24
|
location: pulumi.Input[_builtins.str],
|
25
25
|
app_engine_routing_override: Optional[pulumi.Input['QueueAppEngineRoutingOverrideArgs']] = None,
|
26
|
+
desired_state: Optional[pulumi.Input[_builtins.str]] = None,
|
26
27
|
http_target: Optional[pulumi.Input['QueueHttpTargetArgs']] = None,
|
27
28
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
28
29
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -35,6 +36,10 @@ class QueueArgs:
|
|
35
36
|
:param pulumi.Input['QueueAppEngineRoutingOverrideArgs'] app_engine_routing_override: Overrides for task-level appEngineRouting. These settings apply only
|
36
37
|
to App Engine tasks in this queue
|
37
38
|
Structure is documented below.
|
39
|
+
:param pulumi.Input[_builtins.str] desired_state: The desired state of the queue. Use this to pause and resume the queue.
|
40
|
+
|
41
|
+
* RUNNING: The queue is running. Tasks can be dispatched.
|
42
|
+
* PAUSED: The queue is paused. Tasks are not dispatched but can be added to the queue.
|
38
43
|
:param pulumi.Input['QueueHttpTargetArgs'] http_target: Modifies HTTP target for HTTP tasks.
|
39
44
|
Structure is documented below.
|
40
45
|
:param pulumi.Input[_builtins.str] name: The queue name.
|
@@ -56,6 +61,8 @@ class QueueArgs:
|
|
56
61
|
pulumi.set(__self__, "location", location)
|
57
62
|
if app_engine_routing_override is not None:
|
58
63
|
pulumi.set(__self__, "app_engine_routing_override", app_engine_routing_override)
|
64
|
+
if desired_state is not None:
|
65
|
+
pulumi.set(__self__, "desired_state", desired_state)
|
59
66
|
if http_target is not None:
|
60
67
|
pulumi.set(__self__, "http_target", http_target)
|
61
68
|
if name is not None:
|
@@ -95,6 +102,21 @@ class QueueArgs:
|
|
95
102
|
def app_engine_routing_override(self, value: Optional[pulumi.Input['QueueAppEngineRoutingOverrideArgs']]):
|
96
103
|
pulumi.set(self, "app_engine_routing_override", value)
|
97
104
|
|
105
|
+
@_builtins.property
|
106
|
+
@pulumi.getter(name="desiredState")
|
107
|
+
def desired_state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
108
|
+
"""
|
109
|
+
The desired state of the queue. Use this to pause and resume the queue.
|
110
|
+
|
111
|
+
* RUNNING: The queue is running. Tasks can be dispatched.
|
112
|
+
* PAUSED: The queue is paused. Tasks are not dispatched but can be added to the queue.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "desired_state")
|
115
|
+
|
116
|
+
@desired_state.setter
|
117
|
+
def desired_state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
118
|
+
pulumi.set(self, "desired_state", value)
|
119
|
+
|
98
120
|
@_builtins.property
|
99
121
|
@pulumi.getter(name="httpTarget")
|
100
122
|
def http_target(self) -> Optional[pulumi.Input['QueueHttpTargetArgs']]:
|
@@ -183,18 +205,24 @@ class QueueArgs:
|
|
183
205
|
class _QueueState:
|
184
206
|
def __init__(__self__, *,
|
185
207
|
app_engine_routing_override: Optional[pulumi.Input['QueueAppEngineRoutingOverrideArgs']] = None,
|
208
|
+
desired_state: Optional[pulumi.Input[_builtins.str]] = None,
|
186
209
|
http_target: Optional[pulumi.Input['QueueHttpTargetArgs']] = None,
|
187
210
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
188
211
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
189
212
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
190
213
|
rate_limits: Optional[pulumi.Input['QueueRateLimitsArgs']] = None,
|
191
214
|
retry_config: Optional[pulumi.Input['QueueRetryConfigArgs']] = None,
|
192
|
-
stackdriver_logging_config: Optional[pulumi.Input['QueueStackdriverLoggingConfigArgs']] = None
|
215
|
+
stackdriver_logging_config: Optional[pulumi.Input['QueueStackdriverLoggingConfigArgs']] = None,
|
216
|
+
state: Optional[pulumi.Input[_builtins.str]] = None):
|
193
217
|
"""
|
194
218
|
Input properties used for looking up and filtering Queue resources.
|
195
219
|
:param pulumi.Input['QueueAppEngineRoutingOverrideArgs'] app_engine_routing_override: Overrides for task-level appEngineRouting. These settings apply only
|
196
220
|
to App Engine tasks in this queue
|
197
221
|
Structure is documented below.
|
222
|
+
:param pulumi.Input[_builtins.str] desired_state: The desired state of the queue. Use this to pause and resume the queue.
|
223
|
+
|
224
|
+
* RUNNING: The queue is running. Tasks can be dispatched.
|
225
|
+
* PAUSED: The queue is paused. Tasks are not dispatched but can be added to the queue.
|
198
226
|
:param pulumi.Input['QueueHttpTargetArgs'] http_target: Modifies HTTP target for HTTP tasks.
|
199
227
|
Structure is documented below.
|
200
228
|
:param pulumi.Input[_builtins.str] location: The location of the queue
|
@@ -213,9 +241,12 @@ class _QueueState:
|
|
213
241
|
Structure is documented below.
|
214
242
|
:param pulumi.Input['QueueStackdriverLoggingConfigArgs'] stackdriver_logging_config: Configuration options for writing logs to Stackdriver Logging.
|
215
243
|
Structure is documented below.
|
244
|
+
:param pulumi.Input[_builtins.str] state: The current state of the queue.
|
216
245
|
"""
|
217
246
|
if app_engine_routing_override is not None:
|
218
247
|
pulumi.set(__self__, "app_engine_routing_override", app_engine_routing_override)
|
248
|
+
if desired_state is not None:
|
249
|
+
pulumi.set(__self__, "desired_state", desired_state)
|
219
250
|
if http_target is not None:
|
220
251
|
pulumi.set(__self__, "http_target", http_target)
|
221
252
|
if location is not None:
|
@@ -230,6 +261,8 @@ class _QueueState:
|
|
230
261
|
pulumi.set(__self__, "retry_config", retry_config)
|
231
262
|
if stackdriver_logging_config is not None:
|
232
263
|
pulumi.set(__self__, "stackdriver_logging_config", stackdriver_logging_config)
|
264
|
+
if state is not None:
|
265
|
+
pulumi.set(__self__, "state", state)
|
233
266
|
|
234
267
|
@_builtins.property
|
235
268
|
@pulumi.getter(name="appEngineRoutingOverride")
|
@@ -245,6 +278,21 @@ class _QueueState:
|
|
245
278
|
def app_engine_routing_override(self, value: Optional[pulumi.Input['QueueAppEngineRoutingOverrideArgs']]):
|
246
279
|
pulumi.set(self, "app_engine_routing_override", value)
|
247
280
|
|
281
|
+
@_builtins.property
|
282
|
+
@pulumi.getter(name="desiredState")
|
283
|
+
def desired_state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
284
|
+
"""
|
285
|
+
The desired state of the queue. Use this to pause and resume the queue.
|
286
|
+
|
287
|
+
* RUNNING: The queue is running. Tasks can be dispatched.
|
288
|
+
* PAUSED: The queue is paused. Tasks are not dispatched but can be added to the queue.
|
289
|
+
"""
|
290
|
+
return pulumi.get(self, "desired_state")
|
291
|
+
|
292
|
+
@desired_state.setter
|
293
|
+
def desired_state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
294
|
+
pulumi.set(self, "desired_state", value)
|
295
|
+
|
248
296
|
@_builtins.property
|
249
297
|
@pulumi.getter(name="httpTarget")
|
250
298
|
def http_target(self) -> Optional[pulumi.Input['QueueHttpTargetArgs']]:
|
@@ -340,6 +388,18 @@ class _QueueState:
|
|
340
388
|
def stackdriver_logging_config(self, value: Optional[pulumi.Input['QueueStackdriverLoggingConfigArgs']]):
|
341
389
|
pulumi.set(self, "stackdriver_logging_config", value)
|
342
390
|
|
391
|
+
@_builtins.property
|
392
|
+
@pulumi.getter
|
393
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
394
|
+
"""
|
395
|
+
The current state of the queue.
|
396
|
+
"""
|
397
|
+
return pulumi.get(self, "state")
|
398
|
+
|
399
|
+
@state.setter
|
400
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
401
|
+
pulumi.set(self, "state", value)
|
402
|
+
|
343
403
|
|
344
404
|
@pulumi.type_token("gcp:cloudtasks/queue:Queue")
|
345
405
|
class Queue(pulumi.CustomResource):
|
@@ -348,6 +408,7 @@ class Queue(pulumi.CustomResource):
|
|
348
408
|
resource_name: str,
|
349
409
|
opts: Optional[pulumi.ResourceOptions] = None,
|
350
410
|
app_engine_routing_override: Optional[pulumi.Input[Union['QueueAppEngineRoutingOverrideArgs', 'QueueAppEngineRoutingOverrideArgsDict']]] = None,
|
411
|
+
desired_state: Optional[pulumi.Input[_builtins.str]] = None,
|
351
412
|
http_target: Optional[pulumi.Input[Union['QueueHttpTargetArgs', 'QueueHttpTargetArgsDict']]] = None,
|
352
413
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
353
414
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -522,6 +583,10 @@ class Queue(pulumi.CustomResource):
|
|
522
583
|
:param pulumi.Input[Union['QueueAppEngineRoutingOverrideArgs', 'QueueAppEngineRoutingOverrideArgsDict']] app_engine_routing_override: Overrides for task-level appEngineRouting. These settings apply only
|
523
584
|
to App Engine tasks in this queue
|
524
585
|
Structure is documented below.
|
586
|
+
:param pulumi.Input[_builtins.str] desired_state: The desired state of the queue. Use this to pause and resume the queue.
|
587
|
+
|
588
|
+
* RUNNING: The queue is running. Tasks can be dispatched.
|
589
|
+
* PAUSED: The queue is paused. Tasks are not dispatched but can be added to the queue.
|
525
590
|
:param pulumi.Input[Union['QueueHttpTargetArgs', 'QueueHttpTargetArgsDict']] http_target: Modifies HTTP target for HTTP tasks.
|
526
591
|
Structure is documented below.
|
527
592
|
:param pulumi.Input[_builtins.str] location: The location of the queue
|
@@ -724,6 +789,7 @@ class Queue(pulumi.CustomResource):
|
|
724
789
|
resource_name: str,
|
725
790
|
opts: Optional[pulumi.ResourceOptions] = None,
|
726
791
|
app_engine_routing_override: Optional[pulumi.Input[Union['QueueAppEngineRoutingOverrideArgs', 'QueueAppEngineRoutingOverrideArgsDict']]] = None,
|
792
|
+
desired_state: Optional[pulumi.Input[_builtins.str]] = None,
|
727
793
|
http_target: Optional[pulumi.Input[Union['QueueHttpTargetArgs', 'QueueHttpTargetArgsDict']]] = None,
|
728
794
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
729
795
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -741,6 +807,7 @@ class Queue(pulumi.CustomResource):
|
|
741
807
|
__props__ = QueueArgs.__new__(QueueArgs)
|
742
808
|
|
743
809
|
__props__.__dict__["app_engine_routing_override"] = app_engine_routing_override
|
810
|
+
__props__.__dict__["desired_state"] = desired_state
|
744
811
|
__props__.__dict__["http_target"] = http_target
|
745
812
|
if location is None and not opts.urn:
|
746
813
|
raise TypeError("Missing required property 'location'")
|
@@ -750,6 +817,7 @@ class Queue(pulumi.CustomResource):
|
|
750
817
|
__props__.__dict__["rate_limits"] = rate_limits
|
751
818
|
__props__.__dict__["retry_config"] = retry_config
|
752
819
|
__props__.__dict__["stackdriver_logging_config"] = stackdriver_logging_config
|
820
|
+
__props__.__dict__["state"] = None
|
753
821
|
super(Queue, __self__).__init__(
|
754
822
|
'gcp:cloudtasks/queue:Queue',
|
755
823
|
resource_name,
|
@@ -761,13 +829,15 @@ class Queue(pulumi.CustomResource):
|
|
761
829
|
id: pulumi.Input[str],
|
762
830
|
opts: Optional[pulumi.ResourceOptions] = None,
|
763
831
|
app_engine_routing_override: Optional[pulumi.Input[Union['QueueAppEngineRoutingOverrideArgs', 'QueueAppEngineRoutingOverrideArgsDict']]] = None,
|
832
|
+
desired_state: Optional[pulumi.Input[_builtins.str]] = None,
|
764
833
|
http_target: Optional[pulumi.Input[Union['QueueHttpTargetArgs', 'QueueHttpTargetArgsDict']]] = None,
|
765
834
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
766
835
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
767
836
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
768
837
|
rate_limits: Optional[pulumi.Input[Union['QueueRateLimitsArgs', 'QueueRateLimitsArgsDict']]] = None,
|
769
838
|
retry_config: Optional[pulumi.Input[Union['QueueRetryConfigArgs', 'QueueRetryConfigArgsDict']]] = None,
|
770
|
-
stackdriver_logging_config: Optional[pulumi.Input[Union['QueueStackdriverLoggingConfigArgs', 'QueueStackdriverLoggingConfigArgsDict']]] = None
|
839
|
+
stackdriver_logging_config: Optional[pulumi.Input[Union['QueueStackdriverLoggingConfigArgs', 'QueueStackdriverLoggingConfigArgsDict']]] = None,
|
840
|
+
state: Optional[pulumi.Input[_builtins.str]] = None) -> 'Queue':
|
771
841
|
"""
|
772
842
|
Get an existing Queue resource's state with the given name, id, and optional extra
|
773
843
|
properties used to qualify the lookup.
|
@@ -778,6 +848,10 @@ class Queue(pulumi.CustomResource):
|
|
778
848
|
:param pulumi.Input[Union['QueueAppEngineRoutingOverrideArgs', 'QueueAppEngineRoutingOverrideArgsDict']] app_engine_routing_override: Overrides for task-level appEngineRouting. These settings apply only
|
779
849
|
to App Engine tasks in this queue
|
780
850
|
Structure is documented below.
|
851
|
+
:param pulumi.Input[_builtins.str] desired_state: The desired state of the queue. Use this to pause and resume the queue.
|
852
|
+
|
853
|
+
* RUNNING: The queue is running. Tasks can be dispatched.
|
854
|
+
* PAUSED: The queue is paused. Tasks are not dispatched but can be added to the queue.
|
781
855
|
:param pulumi.Input[Union['QueueHttpTargetArgs', 'QueueHttpTargetArgsDict']] http_target: Modifies HTTP target for HTTP tasks.
|
782
856
|
Structure is documented below.
|
783
857
|
:param pulumi.Input[_builtins.str] location: The location of the queue
|
@@ -796,12 +870,14 @@ class Queue(pulumi.CustomResource):
|
|
796
870
|
Structure is documented below.
|
797
871
|
:param pulumi.Input[Union['QueueStackdriverLoggingConfigArgs', 'QueueStackdriverLoggingConfigArgsDict']] stackdriver_logging_config: Configuration options for writing logs to Stackdriver Logging.
|
798
872
|
Structure is documented below.
|
873
|
+
:param pulumi.Input[_builtins.str] state: The current state of the queue.
|
799
874
|
"""
|
800
875
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
801
876
|
|
802
877
|
__props__ = _QueueState.__new__(_QueueState)
|
803
878
|
|
804
879
|
__props__.__dict__["app_engine_routing_override"] = app_engine_routing_override
|
880
|
+
__props__.__dict__["desired_state"] = desired_state
|
805
881
|
__props__.__dict__["http_target"] = http_target
|
806
882
|
__props__.__dict__["location"] = location
|
807
883
|
__props__.__dict__["name"] = name
|
@@ -809,6 +885,7 @@ class Queue(pulumi.CustomResource):
|
|
809
885
|
__props__.__dict__["rate_limits"] = rate_limits
|
810
886
|
__props__.__dict__["retry_config"] = retry_config
|
811
887
|
__props__.__dict__["stackdriver_logging_config"] = stackdriver_logging_config
|
888
|
+
__props__.__dict__["state"] = state
|
812
889
|
return Queue(resource_name, opts=opts, __props__=__props__)
|
813
890
|
|
814
891
|
@_builtins.property
|
@@ -821,6 +898,17 @@ class Queue(pulumi.CustomResource):
|
|
821
898
|
"""
|
822
899
|
return pulumi.get(self, "app_engine_routing_override")
|
823
900
|
|
901
|
+
@_builtins.property
|
902
|
+
@pulumi.getter(name="desiredState")
|
903
|
+
def desired_state(self) -> pulumi.Output[Optional[_builtins.str]]:
|
904
|
+
"""
|
905
|
+
The desired state of the queue. Use this to pause and resume the queue.
|
906
|
+
|
907
|
+
* RUNNING: The queue is running. Tasks can be dispatched.
|
908
|
+
* PAUSED: The queue is paused. Tasks are not dispatched but can be added to the queue.
|
909
|
+
"""
|
910
|
+
return pulumi.get(self, "desired_state")
|
911
|
+
|
824
912
|
@_builtins.property
|
825
913
|
@pulumi.getter(name="httpTarget")
|
826
914
|
def http_target(self) -> pulumi.Output[Optional['outputs.QueueHttpTarget']]:
|
@@ -888,3 +976,11 @@ class Queue(pulumi.CustomResource):
|
|
888
976
|
"""
|
889
977
|
return pulumi.get(self, "stackdriver_logging_config")
|
890
978
|
|
979
|
+
@_builtins.property
|
980
|
+
@pulumi.getter
|
981
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
982
|
+
"""
|
983
|
+
The current state of the queue.
|
984
|
+
"""
|
985
|
+
return pulumi.get(self, "state")
|
986
|
+
|