pulumi-gcp 8.32.0a1747377897__py3-none-any.whl → 8.32.0a1747834582__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 +88 -0
- pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +2 -2
- pulumi_gcp/apigateway/api_config_iam_binding.py +13 -0
- pulumi_gcp/apigateway/api_config_iam_member.py +13 -0
- pulumi_gcp/apigateway/api_config_iam_policy.py +13 -0
- pulumi_gcp/apigateway/api_iam_binding.py +13 -0
- pulumi_gcp/apigateway/api_iam_member.py +13 -0
- pulumi_gcp/apigateway/api_iam_policy.py +13 -0
- pulumi_gcp/apigateway/gateway_iam_binding.py +13 -0
- pulumi_gcp/apigateway/gateway_iam_member.py +13 -0
- pulumi_gcp/apigateway/gateway_iam_policy.py +13 -0
- pulumi_gcp/apigateway/get_api_config_iam_policy.py +2 -0
- pulumi_gcp/apigateway/get_api_iam_policy.py +2 -0
- pulumi_gcp/apigateway/get_gateway_iam_policy.py +2 -0
- pulumi_gcp/apigee/environment_iam_binding.py +27 -0
- pulumi_gcp/apigee/environment_iam_member.py +27 -0
- pulumi_gcp/apigee/environment_iam_policy.py +27 -0
- pulumi_gcp/apigee/get_environment_iam_policy.py +6 -0
- pulumi_gcp/beyondcorp/__init__.py +1 -0
- pulumi_gcp/beyondcorp/application.py +8 -4
- pulumi_gcp/beyondcorp/application_iam_binding.py +26 -0
- pulumi_gcp/beyondcorp/application_iam_member.py +26 -0
- pulumi_gcp/beyondcorp/application_iam_policy.py +26 -0
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +4 -0
- pulumi_gcp/beyondcorp/get_security_gateway.py +222 -0
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -0
- pulumi_gcp/beyondcorp/outputs.py +45 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +13 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +13 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +13 -0
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/connection_iam_binding.py +4 -11
- pulumi_gcp/bigquery/connection_iam_member.py +4 -11
- pulumi_gcp/bigquery/connection_iam_policy.py +4 -11
- pulumi_gcp/bigquery/data_transfer_config.py +2 -2
- pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -4
- pulumi_gcp/bigquery/get_table_iam_policy.py +4 -0
- pulumi_gcp/bigquery/iam_binding.py +26 -0
- pulumi_gcp/bigquery/iam_member.py +26 -0
- pulumi_gcp/bigquery/iam_policy.py +26 -0
- pulumi_gcp/bigquery/row_access_policy.py +787 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +6 -6
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +13 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +13 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +13 -0
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -0
- pulumi_gcp/bigtable/logical_view.py +49 -0
- pulumi_gcp/cloudbuild/trigger.py +2 -2
- pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +6 -0
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +6 -0
- pulumi_gcp/colab/schedule.py +2 -2
- pulumi_gcp/compute/_inputs.py +126 -0
- pulumi_gcp/compute/backend_service.py +259 -51
- pulumi_gcp/compute/get_backend_service.py +23 -1
- pulumi_gcp/compute/get_global_forwarding_rule.py +23 -1
- pulumi_gcp/compute/get_instance_template.py +12 -1
- pulumi_gcp/compute/get_network_endpoint_group.py +12 -1
- pulumi_gcp/compute/global_forwarding_rule.py +199 -0
- pulumi_gcp/compute/instance_template.py +28 -0
- pulumi_gcp/compute/network_endpoint_group.py +28 -0
- pulumi_gcp/compute/outputs.py +110 -0
- pulumi_gcp/compute/region_backend_service.py +58 -51
- pulumi_gcp/container/cluster.py +47 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +34 -0
- pulumi_gcp/datacatalog/entry_group_iam_member.py +34 -0
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +34 -0
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +8 -0
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +8 -0
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +8 -0
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +34 -0
- pulumi_gcp/datacatalog/tag_template_iam_member.py +34 -0
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +34 -0
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +34 -0
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +34 -0
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +34 -0
- pulumi_gcp/dataplex/__init__.py +5 -0
- pulumi_gcp/dataplex/_inputs.py +98 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +13 -0
- pulumi_gcp/dataplex/aspect_type_iam_member.py +13 -0
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +13 -0
- pulumi_gcp/dataplex/asset_iam_binding.py +53 -0
- pulumi_gcp/dataplex/asset_iam_member.py +53 -0
- pulumi_gcp/dataplex/asset_iam_policy.py +53 -0
- pulumi_gcp/dataplex/datascan_iam_binding.py +13 -0
- pulumi_gcp/dataplex/datascan_iam_member.py +13 -0
- pulumi_gcp/dataplex/datascan_iam_policy.py +13 -0
- pulumi_gcp/dataplex/entry_group_iam_binding.py +13 -0
- pulumi_gcp/dataplex/entry_group_iam_member.py +13 -0
- pulumi_gcp/dataplex/entry_group_iam_policy.py +13 -0
- pulumi_gcp/dataplex/entry_type_iam_binding.py +13 -0
- pulumi_gcp/dataplex/entry_type_iam_member.py +13 -0
- pulumi_gcp/dataplex/entry_type_iam_policy.py +13 -0
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_asset_iam_policy.py +10 -0
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_glossary_iam_policy.py +185 -0
- pulumi_gcp/dataplex/get_lake_iam_policy.py +6 -0
- pulumi_gcp/dataplex/get_task_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_zone_iam_policy.py +8 -0
- pulumi_gcp/dataplex/glossary.py +772 -0
- pulumi_gcp/dataplex/glossary_iam_binding.py +837 -0
- pulumi_gcp/dataplex/glossary_iam_member.py +837 -0
- pulumi_gcp/dataplex/glossary_iam_policy.py +676 -0
- pulumi_gcp/dataplex/lake_iam_binding.py +27 -0
- pulumi_gcp/dataplex/lake_iam_member.py +27 -0
- pulumi_gcp/dataplex/lake_iam_policy.py +27 -0
- pulumi_gcp/dataplex/outputs.py +56 -0
- pulumi_gcp/dataplex/task_iam_binding.py +13 -0
- pulumi_gcp/dataplex/task_iam_member.py +13 -0
- pulumi_gcp/dataplex/task_iam_policy.py +13 -0
- pulumi_gcp/dataplex/zone_iam_binding.py +40 -0
- pulumi_gcp/dataplex/zone_iam_member.py +40 -0
- pulumi_gcp/dataplex/zone_iam_policy.py +40 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +4 -25
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +4 -25
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +4 -25
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -8
- pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +8 -0
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -0
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -0
- pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +10 -0
- pulumi_gcp/dataproc/metastore_database_iam_binding.py +40 -0
- pulumi_gcp/dataproc/metastore_database_iam_member.py +40 -0
- pulumi_gcp/dataproc/metastore_database_iam_policy.py +40 -0
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +13 -0
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +13 -0
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +13 -0
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +13 -0
- pulumi_gcp/dataproc/metastore_service_iam_member.py +13 -0
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +13 -0
- pulumi_gcp/dataproc/metastore_table_iam_binding.py +53 -0
- pulumi_gcp/dataproc/metastore_table_iam_member.py +53 -0
- pulumi_gcp/dataproc/metastore_table_iam_policy.py +53 -0
- pulumi_gcp/diagflow/_inputs.py +56 -0
- pulumi_gcp/diagflow/cx_agent.py +60 -0
- pulumi_gcp/diagflow/cx_flow.py +2 -0
- pulumi_gcp/diagflow/entity_type.py +2 -2
- pulumi_gcp/diagflow/outputs.py +35 -0
- pulumi_gcp/edgecontainer/node_pool.py +2 -2
- pulumi_gcp/endpoints/consumers_iam_binding.py +26 -0
- pulumi_gcp/endpoints/consumers_iam_member.py +26 -0
- pulumi_gcp/endpoints/consumers_iam_policy.py +26 -0
- pulumi_gcp/endpoints/get_service_consumers_iam_policy.py +8 -0
- pulumi_gcp/endpoints/get_service_iam_policy.py +6 -0
- pulumi_gcp/endpoints/service_iam_binding.py +13 -0
- pulumi_gcp/endpoints/service_iam_member.py +13 -0
- pulumi_gcp/endpoints/service_iam_policy.py +13 -0
- pulumi_gcp/firebase/__init__.py +3 -0
- pulumi_gcp/firebase/_inputs.py +1527 -0
- pulumi_gcp/firebase/app_hosting_backend.py +104 -0
- pulumi_gcp/firebase/app_hosting_default_domain.py +721 -0
- pulumi_gcp/firebase/app_hosting_domain.py +796 -0
- pulumi_gcp/firebase/app_hosting_traffic.py +914 -0
- pulumi_gcp/firebase/extensions_instance.py +4 -4
- pulumi_gcp/firebase/outputs.py +1075 -0
- pulumi_gcp/firestore/database.py +9 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +4 -0
- pulumi_gcp/gemini/repository_group_iam_binding.py +26 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +26 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +26 -0
- pulumi_gcp/gkebackup/backup_channel.py +9 -9
- pulumi_gcp/gkebackup/restore_channel.py +9 -9
- pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -0
- pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -0
- pulumi_gcp/gkehub/membership_iam_binding.py +13 -0
- pulumi_gcp/gkehub/membership_iam_member.py +13 -0
- pulumi_gcp/gkehub/membership_iam_policy.py +13 -0
- pulumi_gcp/gkehub/scope_iam_binding.py +13 -0
- pulumi_gcp/gkehub/scope_iam_member.py +13 -0
- pulumi_gcp/gkehub/scope_iam_policy.py +13 -0
- pulumi_gcp/iam/__init__.py +4 -0
- pulumi_gcp/iam/_inputs.py +432 -0
- pulumi_gcp/iam/get_workload_identity_pool.py +35 -1
- pulumi_gcp/iam/get_workload_identity_pool_iam_policy.py +156 -0
- pulumi_gcp/iam/oauth_client_credential.py +6 -0
- pulumi_gcp/iam/outputs.py +510 -0
- pulumi_gcp/iam/workload_identity_pool.py +446 -24
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +539 -0
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +539 -0
- pulumi_gcp/iam/workload_identity_pool_iam_policy.py +358 -0
- pulumi_gcp/iap/app_engine_service_iam_binding.py +14 -14
- pulumi_gcp/iap/app_engine_service_iam_member.py +14 -14
- pulumi_gcp/iap/app_engine_service_iam_policy.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_binding.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_member.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_policy.py +14 -14
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +4 -4
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +4 -4
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -0
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +6 -0
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +6 -0
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +13 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +13 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +13 -0
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +27 -0
- pulumi_gcp/iap/tunnel_instance_iam_member.py +27 -0
- pulumi_gcp/iap/tunnel_instance_iam_policy.py +27 -0
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +27 -0
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +27 -0
- pulumi_gcp/iap/web_region_backend_service_iam_policy.py +27 -0
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +7 -7
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +7 -7
- pulumi_gcp/iap/web_type_app_enging_iam_policy.py +7 -7
- pulumi_gcp/lustre/__init__.py +1 -0
- pulumi_gcp/lustre/get_instance.py +280 -0
- pulumi_gcp/lustre/instance.py +12 -0
- pulumi_gcp/netapp/backup.py +2 -2
- pulumi_gcp/networksecurity/intercept_deployment.py +10 -0
- pulumi_gcp/networksecurity/intercept_deployment_group.py +8 -0
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +12 -0
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +16 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -0
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -0
- pulumi_gcp/secretmanager/regional_secret_iam_binding.py +13 -0
- pulumi_gcp/secretmanager/regional_secret_iam_member.py +13 -0
- pulumi_gcp/secretmanager/regional_secret_iam_policy.py +13 -0
- pulumi_gcp/secretmanager/secret_iam_binding.py +13 -0
- pulumi_gcp/secretmanager/secret_iam_member.py +13 -0
- pulumi_gcp/secretmanager/secret_iam_policy.py +13 -0
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -4
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -4
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +4 -11
- pulumi_gcp/securesourcemanager/repository_iam_member.py +4 -11
- pulumi_gcp/securesourcemanager/repository_iam_policy.py +4 -11
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +2 -2
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +2 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +13 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +13 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +13 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_featureview_iam_policy.py +2 -0
- pulumi_gcp/vmwareengine/external_address.py +4 -4
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +6 -0
- pulumi_gcp/workstations/get_workstation_iam_policy.py +10 -0
- pulumi_gcp/workstations/workstation_config_iam_binding.py +33 -0
- pulumi_gcp/workstations/workstation_config_iam_member.py +33 -0
- pulumi_gcp/workstations/workstation_config_iam_policy.py +33 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +53 -0
- pulumi_gcp/workstations/workstation_iam_member.py +53 -0
- pulumi_gcp/workstations/workstation_iam_policy.py +53 -0
- {pulumi_gcp-8.32.0a1747377897.dist-info → pulumi_gcp-8.32.0a1747834582.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.32.0a1747377897.dist-info → pulumi_gcp-8.32.0a1747834582.dist-info}/RECORD +256 -241
- {pulumi_gcp-8.32.0a1747377897.dist-info → pulumi_gcp-8.32.0a1747834582.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.32.0a1747377897.dist-info → pulumi_gcp-8.32.0a1747834582.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,721 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
|
18
|
+
__all__ = ['AppHostingDefaultDomainArgs', 'AppHostingDefaultDomain']
|
19
|
+
|
20
|
+
@pulumi.input_type
|
21
|
+
class AppHostingDefaultDomainArgs:
|
22
|
+
def __init__(__self__, *,
|
23
|
+
backend: pulumi.Input[builtins.str],
|
24
|
+
domain_id: pulumi.Input[builtins.str],
|
25
|
+
location: pulumi.Input[builtins.str],
|
26
|
+
disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
27
|
+
project: Optional[pulumi.Input[builtins.str]] = None):
|
28
|
+
"""
|
29
|
+
The set of arguments for constructing a AppHostingDefaultDomain resource.
|
30
|
+
:param pulumi.Input[builtins.str] backend: The ID of the Backend that this Domain is associated with
|
31
|
+
:param pulumi.Input[builtins.str] domain_id: Id of the domain. For default domain, it should be {{backend}}--{{project_id}}.{{location}}.hosted.app
|
32
|
+
|
33
|
+
|
34
|
+
- - -
|
35
|
+
:param pulumi.Input[builtins.str] location: The location of the Backend that this Domain is associated with
|
36
|
+
:param pulumi.Input[builtins.bool] disabled: Whether the domain is disabled. Defaults to false.
|
37
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
38
|
+
If it is not provided, the provider project is used.
|
39
|
+
"""
|
40
|
+
pulumi.set(__self__, "backend", backend)
|
41
|
+
pulumi.set(__self__, "domain_id", domain_id)
|
42
|
+
pulumi.set(__self__, "location", location)
|
43
|
+
if disabled is not None:
|
44
|
+
pulumi.set(__self__, "disabled", disabled)
|
45
|
+
if project is not None:
|
46
|
+
pulumi.set(__self__, "project", project)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter
|
50
|
+
def backend(self) -> pulumi.Input[builtins.str]:
|
51
|
+
"""
|
52
|
+
The ID of the Backend that this Domain is associated with
|
53
|
+
"""
|
54
|
+
return pulumi.get(self, "backend")
|
55
|
+
|
56
|
+
@backend.setter
|
57
|
+
def backend(self, value: pulumi.Input[builtins.str]):
|
58
|
+
pulumi.set(self, "backend", value)
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="domainId")
|
62
|
+
def domain_id(self) -> pulumi.Input[builtins.str]:
|
63
|
+
"""
|
64
|
+
Id of the domain. For default domain, it should be {{backend}}--{{project_id}}.{{location}}.hosted.app
|
65
|
+
|
66
|
+
|
67
|
+
- - -
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "domain_id")
|
70
|
+
|
71
|
+
@domain_id.setter
|
72
|
+
def domain_id(self, value: pulumi.Input[builtins.str]):
|
73
|
+
pulumi.set(self, "domain_id", value)
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def location(self) -> pulumi.Input[builtins.str]:
|
78
|
+
"""
|
79
|
+
The location of the Backend that this Domain is associated with
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "location")
|
82
|
+
|
83
|
+
@location.setter
|
84
|
+
def location(self, value: pulumi.Input[builtins.str]):
|
85
|
+
pulumi.set(self, "location", value)
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter
|
89
|
+
def disabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
90
|
+
"""
|
91
|
+
Whether the domain is disabled. Defaults to false.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "disabled")
|
94
|
+
|
95
|
+
@disabled.setter
|
96
|
+
def disabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
97
|
+
pulumi.set(self, "disabled", value)
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
102
|
+
"""
|
103
|
+
The ID of the project in which the resource belongs.
|
104
|
+
If it is not provided, the provider project is used.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "project")
|
107
|
+
|
108
|
+
@project.setter
|
109
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
110
|
+
pulumi.set(self, "project", value)
|
111
|
+
|
112
|
+
|
113
|
+
@pulumi.input_type
|
114
|
+
class _AppHostingDefaultDomainState:
|
115
|
+
def __init__(__self__, *,
|
116
|
+
backend: Optional[pulumi.Input[builtins.str]] = None,
|
117
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
118
|
+
disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
119
|
+
domain_id: Optional[pulumi.Input[builtins.str]] = None,
|
120
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
121
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
122
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
123
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
124
|
+
uid: Optional[pulumi.Input[builtins.str]] = None,
|
125
|
+
update_time: Optional[pulumi.Input[builtins.str]] = None):
|
126
|
+
"""
|
127
|
+
Input properties used for looking up and filtering AppHostingDefaultDomain resources.
|
128
|
+
:param pulumi.Input[builtins.str] backend: The ID of the Backend that this Domain is associated with
|
129
|
+
:param pulumi.Input[builtins.str] create_time: Time at which the domain was created.
|
130
|
+
:param pulumi.Input[builtins.bool] disabled: Whether the domain is disabled. Defaults to false.
|
131
|
+
:param pulumi.Input[builtins.str] domain_id: Id of the domain. For default domain, it should be {{backend}}--{{project_id}}.{{location}}.hosted.app
|
132
|
+
|
133
|
+
|
134
|
+
- - -
|
135
|
+
:param pulumi.Input[builtins.str] etag: Server-computed checksum based on other values; may be sent
|
136
|
+
on update or delete to ensure operation is done on expected resource.
|
137
|
+
:param pulumi.Input[builtins.str] location: The location of the Backend that this Domain is associated with
|
138
|
+
:param pulumi.Input[builtins.str] name: Identifier. The resource name of the domain, e.g.
|
139
|
+
`projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`
|
140
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
141
|
+
If it is not provided, the provider project is used.
|
142
|
+
:param pulumi.Input[builtins.str] uid: System-assigned, unique identifier.
|
143
|
+
:param pulumi.Input[builtins.str] update_time: Time at which the domain was last updated.
|
144
|
+
"""
|
145
|
+
if backend is not None:
|
146
|
+
pulumi.set(__self__, "backend", backend)
|
147
|
+
if create_time is not None:
|
148
|
+
pulumi.set(__self__, "create_time", create_time)
|
149
|
+
if disabled is not None:
|
150
|
+
pulumi.set(__self__, "disabled", disabled)
|
151
|
+
if domain_id is not None:
|
152
|
+
pulumi.set(__self__, "domain_id", domain_id)
|
153
|
+
if etag is not None:
|
154
|
+
pulumi.set(__self__, "etag", etag)
|
155
|
+
if location is not None:
|
156
|
+
pulumi.set(__self__, "location", location)
|
157
|
+
if name is not None:
|
158
|
+
pulumi.set(__self__, "name", name)
|
159
|
+
if project is not None:
|
160
|
+
pulumi.set(__self__, "project", project)
|
161
|
+
if uid is not None:
|
162
|
+
pulumi.set(__self__, "uid", uid)
|
163
|
+
if update_time is not None:
|
164
|
+
pulumi.set(__self__, "update_time", update_time)
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter
|
168
|
+
def backend(self) -> Optional[pulumi.Input[builtins.str]]:
|
169
|
+
"""
|
170
|
+
The ID of the Backend that this Domain is associated with
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "backend")
|
173
|
+
|
174
|
+
@backend.setter
|
175
|
+
def backend(self, value: Optional[pulumi.Input[builtins.str]]):
|
176
|
+
pulumi.set(self, "backend", value)
|
177
|
+
|
178
|
+
@property
|
179
|
+
@pulumi.getter(name="createTime")
|
180
|
+
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
181
|
+
"""
|
182
|
+
Time at which the domain was created.
|
183
|
+
"""
|
184
|
+
return pulumi.get(self, "create_time")
|
185
|
+
|
186
|
+
@create_time.setter
|
187
|
+
def create_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
188
|
+
pulumi.set(self, "create_time", value)
|
189
|
+
|
190
|
+
@property
|
191
|
+
@pulumi.getter
|
192
|
+
def disabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
193
|
+
"""
|
194
|
+
Whether the domain is disabled. Defaults to false.
|
195
|
+
"""
|
196
|
+
return pulumi.get(self, "disabled")
|
197
|
+
|
198
|
+
@disabled.setter
|
199
|
+
def disabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
200
|
+
pulumi.set(self, "disabled", value)
|
201
|
+
|
202
|
+
@property
|
203
|
+
@pulumi.getter(name="domainId")
|
204
|
+
def domain_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
205
|
+
"""
|
206
|
+
Id of the domain. For default domain, it should be {{backend}}--{{project_id}}.{{location}}.hosted.app
|
207
|
+
|
208
|
+
|
209
|
+
- - -
|
210
|
+
"""
|
211
|
+
return pulumi.get(self, "domain_id")
|
212
|
+
|
213
|
+
@domain_id.setter
|
214
|
+
def domain_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
215
|
+
pulumi.set(self, "domain_id", value)
|
216
|
+
|
217
|
+
@property
|
218
|
+
@pulumi.getter
|
219
|
+
def etag(self) -> Optional[pulumi.Input[builtins.str]]:
|
220
|
+
"""
|
221
|
+
Server-computed checksum based on other values; may be sent
|
222
|
+
on update or delete to ensure operation is done on expected resource.
|
223
|
+
"""
|
224
|
+
return pulumi.get(self, "etag")
|
225
|
+
|
226
|
+
@etag.setter
|
227
|
+
def etag(self, value: Optional[pulumi.Input[builtins.str]]):
|
228
|
+
pulumi.set(self, "etag", value)
|
229
|
+
|
230
|
+
@property
|
231
|
+
@pulumi.getter
|
232
|
+
def location(self) -> Optional[pulumi.Input[builtins.str]]:
|
233
|
+
"""
|
234
|
+
The location of the Backend that this Domain is associated with
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "location")
|
237
|
+
|
238
|
+
@location.setter
|
239
|
+
def location(self, value: Optional[pulumi.Input[builtins.str]]):
|
240
|
+
pulumi.set(self, "location", value)
|
241
|
+
|
242
|
+
@property
|
243
|
+
@pulumi.getter
|
244
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
245
|
+
"""
|
246
|
+
Identifier. The resource name of the domain, e.g.
|
247
|
+
`projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`
|
248
|
+
"""
|
249
|
+
return pulumi.get(self, "name")
|
250
|
+
|
251
|
+
@name.setter
|
252
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
253
|
+
pulumi.set(self, "name", value)
|
254
|
+
|
255
|
+
@property
|
256
|
+
@pulumi.getter
|
257
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
258
|
+
"""
|
259
|
+
The ID of the project in which the resource belongs.
|
260
|
+
If it is not provided, the provider project is used.
|
261
|
+
"""
|
262
|
+
return pulumi.get(self, "project")
|
263
|
+
|
264
|
+
@project.setter
|
265
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
266
|
+
pulumi.set(self, "project", value)
|
267
|
+
|
268
|
+
@property
|
269
|
+
@pulumi.getter
|
270
|
+
def uid(self) -> Optional[pulumi.Input[builtins.str]]:
|
271
|
+
"""
|
272
|
+
System-assigned, unique identifier.
|
273
|
+
"""
|
274
|
+
return pulumi.get(self, "uid")
|
275
|
+
|
276
|
+
@uid.setter
|
277
|
+
def uid(self, value: Optional[pulumi.Input[builtins.str]]):
|
278
|
+
pulumi.set(self, "uid", value)
|
279
|
+
|
280
|
+
@property
|
281
|
+
@pulumi.getter(name="updateTime")
|
282
|
+
def update_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
283
|
+
"""
|
284
|
+
Time at which the domain was last updated.
|
285
|
+
"""
|
286
|
+
return pulumi.get(self, "update_time")
|
287
|
+
|
288
|
+
@update_time.setter
|
289
|
+
def update_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
290
|
+
pulumi.set(self, "update_time", value)
|
291
|
+
|
292
|
+
|
293
|
+
@pulumi.type_token("gcp:firebase/appHostingDefaultDomain:AppHostingDefaultDomain")
|
294
|
+
class AppHostingDefaultDomain(pulumi.CustomResource):
|
295
|
+
@overload
|
296
|
+
def __init__(__self__,
|
297
|
+
resource_name: str,
|
298
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
299
|
+
backend: Optional[pulumi.Input[builtins.str]] = None,
|
300
|
+
disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
301
|
+
domain_id: Optional[pulumi.Input[builtins.str]] = None,
|
302
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
303
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
304
|
+
__props__=None):
|
305
|
+
"""
|
306
|
+
A domain name that is associated with a backend.
|
307
|
+
|
308
|
+
## Example Usage
|
309
|
+
|
310
|
+
### Firebase App Hosting Default Domain Minimal
|
311
|
+
|
312
|
+
```python
|
313
|
+
import pulumi
|
314
|
+
import pulumi_gcp as gcp
|
315
|
+
|
316
|
+
service_account = gcp.serviceaccount.Account("service_account",
|
317
|
+
project="my-project-name",
|
318
|
+
account_id="service-account",
|
319
|
+
display_name="Firebase App Hosting compute service account",
|
320
|
+
create_ignore_already_exists=True)
|
321
|
+
example_app_hosting_backend = gcp.firebase.AppHostingBackend("example",
|
322
|
+
project="my-project-name",
|
323
|
+
location="us-central1",
|
324
|
+
backend_id="dd-mini",
|
325
|
+
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
|
326
|
+
serving_locality="GLOBAL_ACCESS",
|
327
|
+
service_account=service_account.email)
|
328
|
+
example = gcp.firebase.AppHostingDefaultDomain("example",
|
329
|
+
project=example_app_hosting_backend.project,
|
330
|
+
location=example_app_hosting_backend.location,
|
331
|
+
backend=example_app_hosting_backend.backend_id,
|
332
|
+
domain_id=example_app_hosting_backend.uri)
|
333
|
+
```
|
334
|
+
### Firebase App Hosting Default Domain Full
|
335
|
+
|
336
|
+
```python
|
337
|
+
import pulumi
|
338
|
+
import pulumi_gcp as gcp
|
339
|
+
|
340
|
+
service_account = gcp.serviceaccount.Account("service_account",
|
341
|
+
project="my-project-name",
|
342
|
+
account_id="service-account",
|
343
|
+
display_name="Firebase App Hosting compute service account",
|
344
|
+
create_ignore_already_exists=True)
|
345
|
+
example_app_hosting_backend = gcp.firebase.AppHostingBackend("example",
|
346
|
+
project="my-project-name",
|
347
|
+
location="us-central1",
|
348
|
+
backend_id="dd-full",
|
349
|
+
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
|
350
|
+
serving_locality="GLOBAL_ACCESS",
|
351
|
+
service_account=service_account.email)
|
352
|
+
example = gcp.firebase.AppHostingDefaultDomain("example",
|
353
|
+
project=example_app_hosting_backend.project,
|
354
|
+
location=example_app_hosting_backend.location,
|
355
|
+
backend=example_app_hosting_backend.backend_id,
|
356
|
+
domain_id=example_app_hosting_backend.uri,
|
357
|
+
disabled=False)
|
358
|
+
```
|
359
|
+
### Firebase App Hosting Default Domain Disabled
|
360
|
+
|
361
|
+
```python
|
362
|
+
import pulumi
|
363
|
+
import pulumi_gcp as gcp
|
364
|
+
|
365
|
+
service_account = gcp.serviceaccount.Account("service_account",
|
366
|
+
project="my-project-name",
|
367
|
+
account_id="service-account",
|
368
|
+
display_name="Firebase App Hosting compute service account",
|
369
|
+
create_ignore_already_exists=True)
|
370
|
+
example_app_hosting_backend = gcp.firebase.AppHostingBackend("example",
|
371
|
+
project="my-project-name",
|
372
|
+
location="us-central1",
|
373
|
+
backend_id="dd-disabled",
|
374
|
+
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
|
375
|
+
serving_locality="GLOBAL_ACCESS",
|
376
|
+
service_account=service_account.email)
|
377
|
+
example = gcp.firebase.AppHostingDefaultDomain("example",
|
378
|
+
project=example_app_hosting_backend.project,
|
379
|
+
location=example_app_hosting_backend.location,
|
380
|
+
backend=example_app_hosting_backend.backend_id,
|
381
|
+
domain_id=example_app_hosting_backend.uri,
|
382
|
+
disabled=True)
|
383
|
+
```
|
384
|
+
|
385
|
+
## Import
|
386
|
+
|
387
|
+
DefaultDomain can be imported using any of these accepted formats:
|
388
|
+
|
389
|
+
* `projects/{{project}}/locations/{{location}}/backends/{{backend}}/domains/{{domain_id}}`
|
390
|
+
|
391
|
+
* `{{project}}/{{location}}/{{backend}}/{{domain_id}}`
|
392
|
+
|
393
|
+
* `{{location}}/{{backend}}/{{domain_id}}`
|
394
|
+
|
395
|
+
When using the `pulumi import` command, DefaultDomain can be imported using one of the formats above. For example:
|
396
|
+
|
397
|
+
```sh
|
398
|
+
$ pulumi import gcp:firebase/appHostingDefaultDomain:AppHostingDefaultDomain default projects/{{project}}/locations/{{location}}/backends/{{backend}}/domains/{{domain_id}}
|
399
|
+
```
|
400
|
+
|
401
|
+
```sh
|
402
|
+
$ pulumi import gcp:firebase/appHostingDefaultDomain:AppHostingDefaultDomain default {{project}}/{{location}}/{{backend}}/{{domain_id}}
|
403
|
+
```
|
404
|
+
|
405
|
+
```sh
|
406
|
+
$ pulumi import gcp:firebase/appHostingDefaultDomain:AppHostingDefaultDomain default {{location}}/{{backend}}/{{domain_id}}
|
407
|
+
```
|
408
|
+
|
409
|
+
:param str resource_name: The name of the resource.
|
410
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
411
|
+
:param pulumi.Input[builtins.str] backend: The ID of the Backend that this Domain is associated with
|
412
|
+
:param pulumi.Input[builtins.bool] disabled: Whether the domain is disabled. Defaults to false.
|
413
|
+
:param pulumi.Input[builtins.str] domain_id: Id of the domain. For default domain, it should be {{backend}}--{{project_id}}.{{location}}.hosted.app
|
414
|
+
|
415
|
+
|
416
|
+
- - -
|
417
|
+
:param pulumi.Input[builtins.str] location: The location of the Backend that this Domain is associated with
|
418
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
419
|
+
If it is not provided, the provider project is used.
|
420
|
+
"""
|
421
|
+
...
|
422
|
+
@overload
|
423
|
+
def __init__(__self__,
|
424
|
+
resource_name: str,
|
425
|
+
args: AppHostingDefaultDomainArgs,
|
426
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
427
|
+
"""
|
428
|
+
A domain name that is associated with a backend.
|
429
|
+
|
430
|
+
## Example Usage
|
431
|
+
|
432
|
+
### Firebase App Hosting Default Domain Minimal
|
433
|
+
|
434
|
+
```python
|
435
|
+
import pulumi
|
436
|
+
import pulumi_gcp as gcp
|
437
|
+
|
438
|
+
service_account = gcp.serviceaccount.Account("service_account",
|
439
|
+
project="my-project-name",
|
440
|
+
account_id="service-account",
|
441
|
+
display_name="Firebase App Hosting compute service account",
|
442
|
+
create_ignore_already_exists=True)
|
443
|
+
example_app_hosting_backend = gcp.firebase.AppHostingBackend("example",
|
444
|
+
project="my-project-name",
|
445
|
+
location="us-central1",
|
446
|
+
backend_id="dd-mini",
|
447
|
+
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
|
448
|
+
serving_locality="GLOBAL_ACCESS",
|
449
|
+
service_account=service_account.email)
|
450
|
+
example = gcp.firebase.AppHostingDefaultDomain("example",
|
451
|
+
project=example_app_hosting_backend.project,
|
452
|
+
location=example_app_hosting_backend.location,
|
453
|
+
backend=example_app_hosting_backend.backend_id,
|
454
|
+
domain_id=example_app_hosting_backend.uri)
|
455
|
+
```
|
456
|
+
### Firebase App Hosting Default Domain Full
|
457
|
+
|
458
|
+
```python
|
459
|
+
import pulumi
|
460
|
+
import pulumi_gcp as gcp
|
461
|
+
|
462
|
+
service_account = gcp.serviceaccount.Account("service_account",
|
463
|
+
project="my-project-name",
|
464
|
+
account_id="service-account",
|
465
|
+
display_name="Firebase App Hosting compute service account",
|
466
|
+
create_ignore_already_exists=True)
|
467
|
+
example_app_hosting_backend = gcp.firebase.AppHostingBackend("example",
|
468
|
+
project="my-project-name",
|
469
|
+
location="us-central1",
|
470
|
+
backend_id="dd-full",
|
471
|
+
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
|
472
|
+
serving_locality="GLOBAL_ACCESS",
|
473
|
+
service_account=service_account.email)
|
474
|
+
example = gcp.firebase.AppHostingDefaultDomain("example",
|
475
|
+
project=example_app_hosting_backend.project,
|
476
|
+
location=example_app_hosting_backend.location,
|
477
|
+
backend=example_app_hosting_backend.backend_id,
|
478
|
+
domain_id=example_app_hosting_backend.uri,
|
479
|
+
disabled=False)
|
480
|
+
```
|
481
|
+
### Firebase App Hosting Default Domain Disabled
|
482
|
+
|
483
|
+
```python
|
484
|
+
import pulumi
|
485
|
+
import pulumi_gcp as gcp
|
486
|
+
|
487
|
+
service_account = gcp.serviceaccount.Account("service_account",
|
488
|
+
project="my-project-name",
|
489
|
+
account_id="service-account",
|
490
|
+
display_name="Firebase App Hosting compute service account",
|
491
|
+
create_ignore_already_exists=True)
|
492
|
+
example_app_hosting_backend = gcp.firebase.AppHostingBackend("example",
|
493
|
+
project="my-project-name",
|
494
|
+
location="us-central1",
|
495
|
+
backend_id="dd-disabled",
|
496
|
+
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
|
497
|
+
serving_locality="GLOBAL_ACCESS",
|
498
|
+
service_account=service_account.email)
|
499
|
+
example = gcp.firebase.AppHostingDefaultDomain("example",
|
500
|
+
project=example_app_hosting_backend.project,
|
501
|
+
location=example_app_hosting_backend.location,
|
502
|
+
backend=example_app_hosting_backend.backend_id,
|
503
|
+
domain_id=example_app_hosting_backend.uri,
|
504
|
+
disabled=True)
|
505
|
+
```
|
506
|
+
|
507
|
+
## Import
|
508
|
+
|
509
|
+
DefaultDomain can be imported using any of these accepted formats:
|
510
|
+
|
511
|
+
* `projects/{{project}}/locations/{{location}}/backends/{{backend}}/domains/{{domain_id}}`
|
512
|
+
|
513
|
+
* `{{project}}/{{location}}/{{backend}}/{{domain_id}}`
|
514
|
+
|
515
|
+
* `{{location}}/{{backend}}/{{domain_id}}`
|
516
|
+
|
517
|
+
When using the `pulumi import` command, DefaultDomain can be imported using one of the formats above. For example:
|
518
|
+
|
519
|
+
```sh
|
520
|
+
$ pulumi import gcp:firebase/appHostingDefaultDomain:AppHostingDefaultDomain default projects/{{project}}/locations/{{location}}/backends/{{backend}}/domains/{{domain_id}}
|
521
|
+
```
|
522
|
+
|
523
|
+
```sh
|
524
|
+
$ pulumi import gcp:firebase/appHostingDefaultDomain:AppHostingDefaultDomain default {{project}}/{{location}}/{{backend}}/{{domain_id}}
|
525
|
+
```
|
526
|
+
|
527
|
+
```sh
|
528
|
+
$ pulumi import gcp:firebase/appHostingDefaultDomain:AppHostingDefaultDomain default {{location}}/{{backend}}/{{domain_id}}
|
529
|
+
```
|
530
|
+
|
531
|
+
:param str resource_name: The name of the resource.
|
532
|
+
:param AppHostingDefaultDomainArgs args: The arguments to use to populate this resource's properties.
|
533
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
534
|
+
"""
|
535
|
+
...
|
536
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
537
|
+
resource_args, opts = _utilities.get_resource_args_opts(AppHostingDefaultDomainArgs, pulumi.ResourceOptions, *args, **kwargs)
|
538
|
+
if resource_args is not None:
|
539
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
540
|
+
else:
|
541
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
542
|
+
|
543
|
+
def _internal_init(__self__,
|
544
|
+
resource_name: str,
|
545
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
546
|
+
backend: Optional[pulumi.Input[builtins.str]] = None,
|
547
|
+
disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
548
|
+
domain_id: Optional[pulumi.Input[builtins.str]] = None,
|
549
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
550
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
551
|
+
__props__=None):
|
552
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
553
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
554
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
555
|
+
if opts.id is None:
|
556
|
+
if __props__ is not None:
|
557
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
558
|
+
__props__ = AppHostingDefaultDomainArgs.__new__(AppHostingDefaultDomainArgs)
|
559
|
+
|
560
|
+
if backend is None and not opts.urn:
|
561
|
+
raise TypeError("Missing required property 'backend'")
|
562
|
+
__props__.__dict__["backend"] = backend
|
563
|
+
__props__.__dict__["disabled"] = disabled
|
564
|
+
if domain_id is None and not opts.urn:
|
565
|
+
raise TypeError("Missing required property 'domain_id'")
|
566
|
+
__props__.__dict__["domain_id"] = domain_id
|
567
|
+
if location is None and not opts.urn:
|
568
|
+
raise TypeError("Missing required property 'location'")
|
569
|
+
__props__.__dict__["location"] = location
|
570
|
+
__props__.__dict__["project"] = project
|
571
|
+
__props__.__dict__["create_time"] = None
|
572
|
+
__props__.__dict__["etag"] = None
|
573
|
+
__props__.__dict__["name"] = None
|
574
|
+
__props__.__dict__["uid"] = None
|
575
|
+
__props__.__dict__["update_time"] = None
|
576
|
+
super(AppHostingDefaultDomain, __self__).__init__(
|
577
|
+
'gcp:firebase/appHostingDefaultDomain:AppHostingDefaultDomain',
|
578
|
+
resource_name,
|
579
|
+
__props__,
|
580
|
+
opts)
|
581
|
+
|
582
|
+
@staticmethod
|
583
|
+
def get(resource_name: str,
|
584
|
+
id: pulumi.Input[str],
|
585
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
586
|
+
backend: Optional[pulumi.Input[builtins.str]] = None,
|
587
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
588
|
+
disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
589
|
+
domain_id: Optional[pulumi.Input[builtins.str]] = None,
|
590
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
591
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
592
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
593
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
594
|
+
uid: Optional[pulumi.Input[builtins.str]] = None,
|
595
|
+
update_time: Optional[pulumi.Input[builtins.str]] = None) -> 'AppHostingDefaultDomain':
|
596
|
+
"""
|
597
|
+
Get an existing AppHostingDefaultDomain resource's state with the given name, id, and optional extra
|
598
|
+
properties used to qualify the lookup.
|
599
|
+
|
600
|
+
:param str resource_name: The unique name of the resulting resource.
|
601
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
602
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
603
|
+
:param pulumi.Input[builtins.str] backend: The ID of the Backend that this Domain is associated with
|
604
|
+
:param pulumi.Input[builtins.str] create_time: Time at which the domain was created.
|
605
|
+
:param pulumi.Input[builtins.bool] disabled: Whether the domain is disabled. Defaults to false.
|
606
|
+
:param pulumi.Input[builtins.str] domain_id: Id of the domain. For default domain, it should be {{backend}}--{{project_id}}.{{location}}.hosted.app
|
607
|
+
|
608
|
+
|
609
|
+
- - -
|
610
|
+
:param pulumi.Input[builtins.str] etag: Server-computed checksum based on other values; may be sent
|
611
|
+
on update or delete to ensure operation is done on expected resource.
|
612
|
+
:param pulumi.Input[builtins.str] location: The location of the Backend that this Domain is associated with
|
613
|
+
:param pulumi.Input[builtins.str] name: Identifier. The resource name of the domain, e.g.
|
614
|
+
`projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`
|
615
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
616
|
+
If it is not provided, the provider project is used.
|
617
|
+
:param pulumi.Input[builtins.str] uid: System-assigned, unique identifier.
|
618
|
+
:param pulumi.Input[builtins.str] update_time: Time at which the domain was last updated.
|
619
|
+
"""
|
620
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
621
|
+
|
622
|
+
__props__ = _AppHostingDefaultDomainState.__new__(_AppHostingDefaultDomainState)
|
623
|
+
|
624
|
+
__props__.__dict__["backend"] = backend
|
625
|
+
__props__.__dict__["create_time"] = create_time
|
626
|
+
__props__.__dict__["disabled"] = disabled
|
627
|
+
__props__.__dict__["domain_id"] = domain_id
|
628
|
+
__props__.__dict__["etag"] = etag
|
629
|
+
__props__.__dict__["location"] = location
|
630
|
+
__props__.__dict__["name"] = name
|
631
|
+
__props__.__dict__["project"] = project
|
632
|
+
__props__.__dict__["uid"] = uid
|
633
|
+
__props__.__dict__["update_time"] = update_time
|
634
|
+
return AppHostingDefaultDomain(resource_name, opts=opts, __props__=__props__)
|
635
|
+
|
636
|
+
@property
|
637
|
+
@pulumi.getter
|
638
|
+
def backend(self) -> pulumi.Output[builtins.str]:
|
639
|
+
"""
|
640
|
+
The ID of the Backend that this Domain is associated with
|
641
|
+
"""
|
642
|
+
return pulumi.get(self, "backend")
|
643
|
+
|
644
|
+
@property
|
645
|
+
@pulumi.getter(name="createTime")
|
646
|
+
def create_time(self) -> pulumi.Output[builtins.str]:
|
647
|
+
"""
|
648
|
+
Time at which the domain was created.
|
649
|
+
"""
|
650
|
+
return pulumi.get(self, "create_time")
|
651
|
+
|
652
|
+
@property
|
653
|
+
@pulumi.getter
|
654
|
+
def disabled(self) -> pulumi.Output[builtins.bool]:
|
655
|
+
"""
|
656
|
+
Whether the domain is disabled. Defaults to false.
|
657
|
+
"""
|
658
|
+
return pulumi.get(self, "disabled")
|
659
|
+
|
660
|
+
@property
|
661
|
+
@pulumi.getter(name="domainId")
|
662
|
+
def domain_id(self) -> pulumi.Output[builtins.str]:
|
663
|
+
"""
|
664
|
+
Id of the domain. For default domain, it should be {{backend}}--{{project_id}}.{{location}}.hosted.app
|
665
|
+
|
666
|
+
|
667
|
+
- - -
|
668
|
+
"""
|
669
|
+
return pulumi.get(self, "domain_id")
|
670
|
+
|
671
|
+
@property
|
672
|
+
@pulumi.getter
|
673
|
+
def etag(self) -> pulumi.Output[builtins.str]:
|
674
|
+
"""
|
675
|
+
Server-computed checksum based on other values; may be sent
|
676
|
+
on update or delete to ensure operation is done on expected resource.
|
677
|
+
"""
|
678
|
+
return pulumi.get(self, "etag")
|
679
|
+
|
680
|
+
@property
|
681
|
+
@pulumi.getter
|
682
|
+
def location(self) -> pulumi.Output[builtins.str]:
|
683
|
+
"""
|
684
|
+
The location of the Backend that this Domain is associated with
|
685
|
+
"""
|
686
|
+
return pulumi.get(self, "location")
|
687
|
+
|
688
|
+
@property
|
689
|
+
@pulumi.getter
|
690
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
691
|
+
"""
|
692
|
+
Identifier. The resource name of the domain, e.g.
|
693
|
+
`projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`
|
694
|
+
"""
|
695
|
+
return pulumi.get(self, "name")
|
696
|
+
|
697
|
+
@property
|
698
|
+
@pulumi.getter
|
699
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
700
|
+
"""
|
701
|
+
The ID of the project in which the resource belongs.
|
702
|
+
If it is not provided, the provider project is used.
|
703
|
+
"""
|
704
|
+
return pulumi.get(self, "project")
|
705
|
+
|
706
|
+
@property
|
707
|
+
@pulumi.getter
|
708
|
+
def uid(self) -> pulumi.Output[builtins.str]:
|
709
|
+
"""
|
710
|
+
System-assigned, unique identifier.
|
711
|
+
"""
|
712
|
+
return pulumi.get(self, "uid")
|
713
|
+
|
714
|
+
@property
|
715
|
+
@pulumi.getter(name="updateTime")
|
716
|
+
def update_time(self) -> pulumi.Output[builtins.str]:
|
717
|
+
"""
|
718
|
+
Time at which the domain was last updated.
|
719
|
+
"""
|
720
|
+
return pulumi.get(self, "update_time")
|
721
|
+
|