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,796 @@
|
|
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
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = ['AppHostingDomainArgs', 'AppHostingDomain']
|
21
|
+
|
22
|
+
@pulumi.input_type
|
23
|
+
class AppHostingDomainArgs:
|
24
|
+
def __init__(__self__, *,
|
25
|
+
backend: pulumi.Input[builtins.str],
|
26
|
+
domain_id: pulumi.Input[builtins.str],
|
27
|
+
location: pulumi.Input[builtins.str],
|
28
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
29
|
+
serve: Optional[pulumi.Input['AppHostingDomainServeArgs']] = None):
|
30
|
+
"""
|
31
|
+
The set of arguments for constructing a AppHostingDomain resource.
|
32
|
+
:param pulumi.Input[builtins.str] backend: The ID of the Backend that this Domain is associated with
|
33
|
+
:param pulumi.Input[builtins.str] domain_id: Id of the domain to create.
|
34
|
+
Must be a valid domain name, such as "foo.com"
|
35
|
+
|
36
|
+
|
37
|
+
- - -
|
38
|
+
:param pulumi.Input[builtins.str] location: The location of the Backend that this Domain is associated with
|
39
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
40
|
+
If it is not provided, the provider project is used.
|
41
|
+
:param pulumi.Input['AppHostingDomainServeArgs'] serve: The serving behavior of the domain. If specified, the domain will
|
42
|
+
serve content other than its Backend's live content.
|
43
|
+
Structure is documented below.
|
44
|
+
"""
|
45
|
+
pulumi.set(__self__, "backend", backend)
|
46
|
+
pulumi.set(__self__, "domain_id", domain_id)
|
47
|
+
pulumi.set(__self__, "location", location)
|
48
|
+
if project is not None:
|
49
|
+
pulumi.set(__self__, "project", project)
|
50
|
+
if serve is not None:
|
51
|
+
pulumi.set(__self__, "serve", serve)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def backend(self) -> pulumi.Input[builtins.str]:
|
56
|
+
"""
|
57
|
+
The ID of the Backend that this Domain is associated with
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "backend")
|
60
|
+
|
61
|
+
@backend.setter
|
62
|
+
def backend(self, value: pulumi.Input[builtins.str]):
|
63
|
+
pulumi.set(self, "backend", value)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="domainId")
|
67
|
+
def domain_id(self) -> pulumi.Input[builtins.str]:
|
68
|
+
"""
|
69
|
+
Id of the domain to create.
|
70
|
+
Must be a valid domain name, such as "foo.com"
|
71
|
+
|
72
|
+
|
73
|
+
- - -
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "domain_id")
|
76
|
+
|
77
|
+
@domain_id.setter
|
78
|
+
def domain_id(self, value: pulumi.Input[builtins.str]):
|
79
|
+
pulumi.set(self, "domain_id", value)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def location(self) -> pulumi.Input[builtins.str]:
|
84
|
+
"""
|
85
|
+
The location of the Backend that this Domain is associated with
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "location")
|
88
|
+
|
89
|
+
@location.setter
|
90
|
+
def location(self, value: pulumi.Input[builtins.str]):
|
91
|
+
pulumi.set(self, "location", value)
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter
|
95
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
96
|
+
"""
|
97
|
+
The ID of the project in which the resource belongs.
|
98
|
+
If it is not provided, the provider project is used.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "project")
|
101
|
+
|
102
|
+
@project.setter
|
103
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
104
|
+
pulumi.set(self, "project", value)
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter
|
108
|
+
def serve(self) -> Optional[pulumi.Input['AppHostingDomainServeArgs']]:
|
109
|
+
"""
|
110
|
+
The serving behavior of the domain. If specified, the domain will
|
111
|
+
serve content other than its Backend's live content.
|
112
|
+
Structure is documented below.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "serve")
|
115
|
+
|
116
|
+
@serve.setter
|
117
|
+
def serve(self, value: Optional[pulumi.Input['AppHostingDomainServeArgs']]):
|
118
|
+
pulumi.set(self, "serve", value)
|
119
|
+
|
120
|
+
|
121
|
+
@pulumi.input_type
|
122
|
+
class _AppHostingDomainState:
|
123
|
+
def __init__(__self__, *,
|
124
|
+
backend: Optional[pulumi.Input[builtins.str]] = None,
|
125
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
126
|
+
custom_domain_statuses: Optional[pulumi.Input[Sequence[pulumi.Input['AppHostingDomainCustomDomainStatusArgs']]]] = None,
|
127
|
+
delete_time: Optional[pulumi.Input[builtins.str]] = None,
|
128
|
+
domain_id: Optional[pulumi.Input[builtins.str]] = None,
|
129
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
130
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
131
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
132
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
133
|
+
purge_time: Optional[pulumi.Input[builtins.str]] = None,
|
134
|
+
serve: Optional[pulumi.Input['AppHostingDomainServeArgs']] = None,
|
135
|
+
uid: Optional[pulumi.Input[builtins.str]] = None,
|
136
|
+
update_time: Optional[pulumi.Input[builtins.str]] = None):
|
137
|
+
"""
|
138
|
+
Input properties used for looking up and filtering AppHostingDomain resources.
|
139
|
+
:param pulumi.Input[builtins.str] backend: The ID of the Backend that this Domain is associated with
|
140
|
+
:param pulumi.Input[builtins.str] create_time: Time at which the domain was created.
|
141
|
+
:param pulumi.Input[Sequence[pulumi.Input['AppHostingDomainCustomDomainStatusArgs']]] custom_domain_statuses: The status of a custom domain's linkage to the Backend.
|
142
|
+
Structure is documented below.
|
143
|
+
:param pulumi.Input[builtins.str] delete_time: Time at which the domain was deleted.
|
144
|
+
:param pulumi.Input[builtins.str] domain_id: Id of the domain to create.
|
145
|
+
Must be a valid domain name, such as "foo.com"
|
146
|
+
|
147
|
+
|
148
|
+
- - -
|
149
|
+
:param pulumi.Input[builtins.str] etag: Server-computed checksum based on other values; may be sent
|
150
|
+
on update or delete to ensure operation is done on expected resource.
|
151
|
+
:param pulumi.Input[builtins.str] location: The location of the Backend that this Domain is associated with
|
152
|
+
:param pulumi.Input[builtins.str] name: Identifier. The resource name of the domain, e.g.
|
153
|
+
`projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`
|
154
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
155
|
+
If it is not provided, the provider project is used.
|
156
|
+
:param pulumi.Input[builtins.str] purge_time: Time at which a soft-deleted domain will be purged, rendering in
|
157
|
+
permanently deleted.
|
158
|
+
:param pulumi.Input['AppHostingDomainServeArgs'] serve: The serving behavior of the domain. If specified, the domain will
|
159
|
+
serve content other than its Backend's live content.
|
160
|
+
Structure is documented below.
|
161
|
+
:param pulumi.Input[builtins.str] uid: System-assigned, unique identifier.
|
162
|
+
:param pulumi.Input[builtins.str] update_time: Time at which the domain was last updated.
|
163
|
+
"""
|
164
|
+
if backend is not None:
|
165
|
+
pulumi.set(__self__, "backend", backend)
|
166
|
+
if create_time is not None:
|
167
|
+
pulumi.set(__self__, "create_time", create_time)
|
168
|
+
if custom_domain_statuses is not None:
|
169
|
+
pulumi.set(__self__, "custom_domain_statuses", custom_domain_statuses)
|
170
|
+
if delete_time is not None:
|
171
|
+
pulumi.set(__self__, "delete_time", delete_time)
|
172
|
+
if domain_id is not None:
|
173
|
+
pulumi.set(__self__, "domain_id", domain_id)
|
174
|
+
if etag is not None:
|
175
|
+
pulumi.set(__self__, "etag", etag)
|
176
|
+
if location is not None:
|
177
|
+
pulumi.set(__self__, "location", location)
|
178
|
+
if name is not None:
|
179
|
+
pulumi.set(__self__, "name", name)
|
180
|
+
if project is not None:
|
181
|
+
pulumi.set(__self__, "project", project)
|
182
|
+
if purge_time is not None:
|
183
|
+
pulumi.set(__self__, "purge_time", purge_time)
|
184
|
+
if serve is not None:
|
185
|
+
pulumi.set(__self__, "serve", serve)
|
186
|
+
if uid is not None:
|
187
|
+
pulumi.set(__self__, "uid", uid)
|
188
|
+
if update_time is not None:
|
189
|
+
pulumi.set(__self__, "update_time", update_time)
|
190
|
+
|
191
|
+
@property
|
192
|
+
@pulumi.getter
|
193
|
+
def backend(self) -> Optional[pulumi.Input[builtins.str]]:
|
194
|
+
"""
|
195
|
+
The ID of the Backend that this Domain is associated with
|
196
|
+
"""
|
197
|
+
return pulumi.get(self, "backend")
|
198
|
+
|
199
|
+
@backend.setter
|
200
|
+
def backend(self, value: Optional[pulumi.Input[builtins.str]]):
|
201
|
+
pulumi.set(self, "backend", value)
|
202
|
+
|
203
|
+
@property
|
204
|
+
@pulumi.getter(name="createTime")
|
205
|
+
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
206
|
+
"""
|
207
|
+
Time at which the domain was created.
|
208
|
+
"""
|
209
|
+
return pulumi.get(self, "create_time")
|
210
|
+
|
211
|
+
@create_time.setter
|
212
|
+
def create_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
213
|
+
pulumi.set(self, "create_time", value)
|
214
|
+
|
215
|
+
@property
|
216
|
+
@pulumi.getter(name="customDomainStatuses")
|
217
|
+
def custom_domain_statuses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AppHostingDomainCustomDomainStatusArgs']]]]:
|
218
|
+
"""
|
219
|
+
The status of a custom domain's linkage to the Backend.
|
220
|
+
Structure is documented below.
|
221
|
+
"""
|
222
|
+
return pulumi.get(self, "custom_domain_statuses")
|
223
|
+
|
224
|
+
@custom_domain_statuses.setter
|
225
|
+
def custom_domain_statuses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppHostingDomainCustomDomainStatusArgs']]]]):
|
226
|
+
pulumi.set(self, "custom_domain_statuses", value)
|
227
|
+
|
228
|
+
@property
|
229
|
+
@pulumi.getter(name="deleteTime")
|
230
|
+
def delete_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
231
|
+
"""
|
232
|
+
Time at which the domain was deleted.
|
233
|
+
"""
|
234
|
+
return pulumi.get(self, "delete_time")
|
235
|
+
|
236
|
+
@delete_time.setter
|
237
|
+
def delete_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
238
|
+
pulumi.set(self, "delete_time", value)
|
239
|
+
|
240
|
+
@property
|
241
|
+
@pulumi.getter(name="domainId")
|
242
|
+
def domain_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
243
|
+
"""
|
244
|
+
Id of the domain to create.
|
245
|
+
Must be a valid domain name, such as "foo.com"
|
246
|
+
|
247
|
+
|
248
|
+
- - -
|
249
|
+
"""
|
250
|
+
return pulumi.get(self, "domain_id")
|
251
|
+
|
252
|
+
@domain_id.setter
|
253
|
+
def domain_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
254
|
+
pulumi.set(self, "domain_id", value)
|
255
|
+
|
256
|
+
@property
|
257
|
+
@pulumi.getter
|
258
|
+
def etag(self) -> Optional[pulumi.Input[builtins.str]]:
|
259
|
+
"""
|
260
|
+
Server-computed checksum based on other values; may be sent
|
261
|
+
on update or delete to ensure operation is done on expected resource.
|
262
|
+
"""
|
263
|
+
return pulumi.get(self, "etag")
|
264
|
+
|
265
|
+
@etag.setter
|
266
|
+
def etag(self, value: Optional[pulumi.Input[builtins.str]]):
|
267
|
+
pulumi.set(self, "etag", value)
|
268
|
+
|
269
|
+
@property
|
270
|
+
@pulumi.getter
|
271
|
+
def location(self) -> Optional[pulumi.Input[builtins.str]]:
|
272
|
+
"""
|
273
|
+
The location of the Backend that this Domain is associated with
|
274
|
+
"""
|
275
|
+
return pulumi.get(self, "location")
|
276
|
+
|
277
|
+
@location.setter
|
278
|
+
def location(self, value: Optional[pulumi.Input[builtins.str]]):
|
279
|
+
pulumi.set(self, "location", value)
|
280
|
+
|
281
|
+
@property
|
282
|
+
@pulumi.getter
|
283
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
284
|
+
"""
|
285
|
+
Identifier. The resource name of the domain, e.g.
|
286
|
+
`projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`
|
287
|
+
"""
|
288
|
+
return pulumi.get(self, "name")
|
289
|
+
|
290
|
+
@name.setter
|
291
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
292
|
+
pulumi.set(self, "name", value)
|
293
|
+
|
294
|
+
@property
|
295
|
+
@pulumi.getter
|
296
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
297
|
+
"""
|
298
|
+
The ID of the project in which the resource belongs.
|
299
|
+
If it is not provided, the provider project is used.
|
300
|
+
"""
|
301
|
+
return pulumi.get(self, "project")
|
302
|
+
|
303
|
+
@project.setter
|
304
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
305
|
+
pulumi.set(self, "project", value)
|
306
|
+
|
307
|
+
@property
|
308
|
+
@pulumi.getter(name="purgeTime")
|
309
|
+
def purge_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
310
|
+
"""
|
311
|
+
Time at which a soft-deleted domain will be purged, rendering in
|
312
|
+
permanently deleted.
|
313
|
+
"""
|
314
|
+
return pulumi.get(self, "purge_time")
|
315
|
+
|
316
|
+
@purge_time.setter
|
317
|
+
def purge_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
318
|
+
pulumi.set(self, "purge_time", value)
|
319
|
+
|
320
|
+
@property
|
321
|
+
@pulumi.getter
|
322
|
+
def serve(self) -> Optional[pulumi.Input['AppHostingDomainServeArgs']]:
|
323
|
+
"""
|
324
|
+
The serving behavior of the domain. If specified, the domain will
|
325
|
+
serve content other than its Backend's live content.
|
326
|
+
Structure is documented below.
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "serve")
|
329
|
+
|
330
|
+
@serve.setter
|
331
|
+
def serve(self, value: Optional[pulumi.Input['AppHostingDomainServeArgs']]):
|
332
|
+
pulumi.set(self, "serve", value)
|
333
|
+
|
334
|
+
@property
|
335
|
+
@pulumi.getter
|
336
|
+
def uid(self) -> Optional[pulumi.Input[builtins.str]]:
|
337
|
+
"""
|
338
|
+
System-assigned, unique identifier.
|
339
|
+
"""
|
340
|
+
return pulumi.get(self, "uid")
|
341
|
+
|
342
|
+
@uid.setter
|
343
|
+
def uid(self, value: Optional[pulumi.Input[builtins.str]]):
|
344
|
+
pulumi.set(self, "uid", value)
|
345
|
+
|
346
|
+
@property
|
347
|
+
@pulumi.getter(name="updateTime")
|
348
|
+
def update_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
349
|
+
"""
|
350
|
+
Time at which the domain was last updated.
|
351
|
+
"""
|
352
|
+
return pulumi.get(self, "update_time")
|
353
|
+
|
354
|
+
@update_time.setter
|
355
|
+
def update_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
356
|
+
pulumi.set(self, "update_time", value)
|
357
|
+
|
358
|
+
|
359
|
+
@pulumi.type_token("gcp:firebase/appHostingDomain:AppHostingDomain")
|
360
|
+
class AppHostingDomain(pulumi.CustomResource):
|
361
|
+
@overload
|
362
|
+
def __init__(__self__,
|
363
|
+
resource_name: str,
|
364
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
365
|
+
backend: Optional[pulumi.Input[builtins.str]] = None,
|
366
|
+
domain_id: Optional[pulumi.Input[builtins.str]] = None,
|
367
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
368
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
369
|
+
serve: Optional[pulumi.Input[Union['AppHostingDomainServeArgs', 'AppHostingDomainServeArgsDict']]] = None,
|
370
|
+
__props__=None):
|
371
|
+
"""
|
372
|
+
A domain name that is associated with a backend.
|
373
|
+
|
374
|
+
## Example Usage
|
375
|
+
|
376
|
+
### Firebase App Hosting Domain Minimal
|
377
|
+
|
378
|
+
```python
|
379
|
+
import pulumi
|
380
|
+
import pulumi_gcp as gcp
|
381
|
+
|
382
|
+
service_account = gcp.serviceaccount.Account("service_account",
|
383
|
+
project="my-project-name",
|
384
|
+
account_id="sa-id",
|
385
|
+
display_name="Firebase App Hosting compute service account",
|
386
|
+
create_ignore_already_exists=True)
|
387
|
+
example_app_hosting_backend = gcp.firebase.AppHostingBackend("example",
|
388
|
+
project="my-project-name",
|
389
|
+
location="us-central1",
|
390
|
+
backend_id="domain-mini",
|
391
|
+
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
|
392
|
+
serving_locality="GLOBAL_ACCESS",
|
393
|
+
service_account=service_account.email)
|
394
|
+
example = gcp.firebase.AppHostingDomain("example",
|
395
|
+
project=example_app_hosting_backend.project,
|
396
|
+
location=example_app_hosting_backend.location,
|
397
|
+
backend=example_app_hosting_backend.backend_id,
|
398
|
+
domain_id="example.com")
|
399
|
+
```
|
400
|
+
### Firebase App Hosting Domain Full
|
401
|
+
|
402
|
+
```python
|
403
|
+
import pulumi
|
404
|
+
import pulumi_gcp as gcp
|
405
|
+
|
406
|
+
service_account = gcp.serviceaccount.Account("service_account",
|
407
|
+
project="my-project-name",
|
408
|
+
account_id="sa-id",
|
409
|
+
display_name="Firebase App Hosting compute service account",
|
410
|
+
create_ignore_already_exists=True)
|
411
|
+
example_app_hosting_backend = gcp.firebase.AppHostingBackend("example",
|
412
|
+
project="my-project-name",
|
413
|
+
location="us-central1",
|
414
|
+
backend_id="domain-full",
|
415
|
+
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
|
416
|
+
serving_locality="GLOBAL_ACCESS",
|
417
|
+
service_account=service_account.email)
|
418
|
+
example = gcp.firebase.AppHostingDomain("example",
|
419
|
+
project=example_app_hosting_backend.project,
|
420
|
+
location=example_app_hosting_backend.location,
|
421
|
+
backend=example_app_hosting_backend.backend_id,
|
422
|
+
domain_id="example.com",
|
423
|
+
serve={
|
424
|
+
"redirect": {
|
425
|
+
"uri": "google.com",
|
426
|
+
"status": "302",
|
427
|
+
},
|
428
|
+
})
|
429
|
+
```
|
430
|
+
|
431
|
+
## Import
|
432
|
+
|
433
|
+
Domain can be imported using any of these accepted formats:
|
434
|
+
|
435
|
+
* `projects/{{project}}/locations/{{location}}/backends/{{backend}}/domains/{{domain_id}}`
|
436
|
+
|
437
|
+
* `{{project}}/{{location}}/{{backend}}/{{domain_id}}`
|
438
|
+
|
439
|
+
* `{{location}}/{{backend}}/{{domain_id}}`
|
440
|
+
|
441
|
+
When using the `pulumi import` command, Domain can be imported using one of the formats above. For example:
|
442
|
+
|
443
|
+
```sh
|
444
|
+
$ pulumi import gcp:firebase/appHostingDomain:AppHostingDomain default projects/{{project}}/locations/{{location}}/backends/{{backend}}/domains/{{domain_id}}
|
445
|
+
```
|
446
|
+
|
447
|
+
```sh
|
448
|
+
$ pulumi import gcp:firebase/appHostingDomain:AppHostingDomain default {{project}}/{{location}}/{{backend}}/{{domain_id}}
|
449
|
+
```
|
450
|
+
|
451
|
+
```sh
|
452
|
+
$ pulumi import gcp:firebase/appHostingDomain:AppHostingDomain default {{location}}/{{backend}}/{{domain_id}}
|
453
|
+
```
|
454
|
+
|
455
|
+
:param str resource_name: The name of the resource.
|
456
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
457
|
+
:param pulumi.Input[builtins.str] backend: The ID of the Backend that this Domain is associated with
|
458
|
+
:param pulumi.Input[builtins.str] domain_id: Id of the domain to create.
|
459
|
+
Must be a valid domain name, such as "foo.com"
|
460
|
+
|
461
|
+
|
462
|
+
- - -
|
463
|
+
:param pulumi.Input[builtins.str] location: The location of the Backend that this Domain is associated with
|
464
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
465
|
+
If it is not provided, the provider project is used.
|
466
|
+
:param pulumi.Input[Union['AppHostingDomainServeArgs', 'AppHostingDomainServeArgsDict']] serve: The serving behavior of the domain. If specified, the domain will
|
467
|
+
serve content other than its Backend's live content.
|
468
|
+
Structure is documented below.
|
469
|
+
"""
|
470
|
+
...
|
471
|
+
@overload
|
472
|
+
def __init__(__self__,
|
473
|
+
resource_name: str,
|
474
|
+
args: AppHostingDomainArgs,
|
475
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
476
|
+
"""
|
477
|
+
A domain name that is associated with a backend.
|
478
|
+
|
479
|
+
## Example Usage
|
480
|
+
|
481
|
+
### Firebase App Hosting Domain Minimal
|
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="sa-id",
|
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="domain-mini",
|
496
|
+
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
|
497
|
+
serving_locality="GLOBAL_ACCESS",
|
498
|
+
service_account=service_account.email)
|
499
|
+
example = gcp.firebase.AppHostingDomain("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.com")
|
504
|
+
```
|
505
|
+
### Firebase App Hosting Domain Full
|
506
|
+
|
507
|
+
```python
|
508
|
+
import pulumi
|
509
|
+
import pulumi_gcp as gcp
|
510
|
+
|
511
|
+
service_account = gcp.serviceaccount.Account("service_account",
|
512
|
+
project="my-project-name",
|
513
|
+
account_id="sa-id",
|
514
|
+
display_name="Firebase App Hosting compute service account",
|
515
|
+
create_ignore_already_exists=True)
|
516
|
+
example_app_hosting_backend = gcp.firebase.AppHostingBackend("example",
|
517
|
+
project="my-project-name",
|
518
|
+
location="us-central1",
|
519
|
+
backend_id="domain-full",
|
520
|
+
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
|
521
|
+
serving_locality="GLOBAL_ACCESS",
|
522
|
+
service_account=service_account.email)
|
523
|
+
example = gcp.firebase.AppHostingDomain("example",
|
524
|
+
project=example_app_hosting_backend.project,
|
525
|
+
location=example_app_hosting_backend.location,
|
526
|
+
backend=example_app_hosting_backend.backend_id,
|
527
|
+
domain_id="example.com",
|
528
|
+
serve={
|
529
|
+
"redirect": {
|
530
|
+
"uri": "google.com",
|
531
|
+
"status": "302",
|
532
|
+
},
|
533
|
+
})
|
534
|
+
```
|
535
|
+
|
536
|
+
## Import
|
537
|
+
|
538
|
+
Domain can be imported using any of these accepted formats:
|
539
|
+
|
540
|
+
* `projects/{{project}}/locations/{{location}}/backends/{{backend}}/domains/{{domain_id}}`
|
541
|
+
|
542
|
+
* `{{project}}/{{location}}/{{backend}}/{{domain_id}}`
|
543
|
+
|
544
|
+
* `{{location}}/{{backend}}/{{domain_id}}`
|
545
|
+
|
546
|
+
When using the `pulumi import` command, Domain can be imported using one of the formats above. For example:
|
547
|
+
|
548
|
+
```sh
|
549
|
+
$ pulumi import gcp:firebase/appHostingDomain:AppHostingDomain default projects/{{project}}/locations/{{location}}/backends/{{backend}}/domains/{{domain_id}}
|
550
|
+
```
|
551
|
+
|
552
|
+
```sh
|
553
|
+
$ pulumi import gcp:firebase/appHostingDomain:AppHostingDomain default {{project}}/{{location}}/{{backend}}/{{domain_id}}
|
554
|
+
```
|
555
|
+
|
556
|
+
```sh
|
557
|
+
$ pulumi import gcp:firebase/appHostingDomain:AppHostingDomain default {{location}}/{{backend}}/{{domain_id}}
|
558
|
+
```
|
559
|
+
|
560
|
+
:param str resource_name: The name of the resource.
|
561
|
+
:param AppHostingDomainArgs args: The arguments to use to populate this resource's properties.
|
562
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
563
|
+
"""
|
564
|
+
...
|
565
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
566
|
+
resource_args, opts = _utilities.get_resource_args_opts(AppHostingDomainArgs, pulumi.ResourceOptions, *args, **kwargs)
|
567
|
+
if resource_args is not None:
|
568
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
569
|
+
else:
|
570
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
571
|
+
|
572
|
+
def _internal_init(__self__,
|
573
|
+
resource_name: str,
|
574
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
575
|
+
backend: Optional[pulumi.Input[builtins.str]] = None,
|
576
|
+
domain_id: Optional[pulumi.Input[builtins.str]] = None,
|
577
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
578
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
579
|
+
serve: Optional[pulumi.Input[Union['AppHostingDomainServeArgs', 'AppHostingDomainServeArgsDict']]] = None,
|
580
|
+
__props__=None):
|
581
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
582
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
583
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
584
|
+
if opts.id is None:
|
585
|
+
if __props__ is not None:
|
586
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
587
|
+
__props__ = AppHostingDomainArgs.__new__(AppHostingDomainArgs)
|
588
|
+
|
589
|
+
if backend is None and not opts.urn:
|
590
|
+
raise TypeError("Missing required property 'backend'")
|
591
|
+
__props__.__dict__["backend"] = backend
|
592
|
+
if domain_id is None and not opts.urn:
|
593
|
+
raise TypeError("Missing required property 'domain_id'")
|
594
|
+
__props__.__dict__["domain_id"] = domain_id
|
595
|
+
if location is None and not opts.urn:
|
596
|
+
raise TypeError("Missing required property 'location'")
|
597
|
+
__props__.__dict__["location"] = location
|
598
|
+
__props__.__dict__["project"] = project
|
599
|
+
__props__.__dict__["serve"] = serve
|
600
|
+
__props__.__dict__["create_time"] = None
|
601
|
+
__props__.__dict__["custom_domain_statuses"] = None
|
602
|
+
__props__.__dict__["delete_time"] = None
|
603
|
+
__props__.__dict__["etag"] = None
|
604
|
+
__props__.__dict__["name"] = None
|
605
|
+
__props__.__dict__["purge_time"] = None
|
606
|
+
__props__.__dict__["uid"] = None
|
607
|
+
__props__.__dict__["update_time"] = None
|
608
|
+
super(AppHostingDomain, __self__).__init__(
|
609
|
+
'gcp:firebase/appHostingDomain:AppHostingDomain',
|
610
|
+
resource_name,
|
611
|
+
__props__,
|
612
|
+
opts)
|
613
|
+
|
614
|
+
@staticmethod
|
615
|
+
def get(resource_name: str,
|
616
|
+
id: pulumi.Input[str],
|
617
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
618
|
+
backend: Optional[pulumi.Input[builtins.str]] = None,
|
619
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
620
|
+
custom_domain_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AppHostingDomainCustomDomainStatusArgs', 'AppHostingDomainCustomDomainStatusArgsDict']]]]] = None,
|
621
|
+
delete_time: Optional[pulumi.Input[builtins.str]] = None,
|
622
|
+
domain_id: Optional[pulumi.Input[builtins.str]] = None,
|
623
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
624
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
625
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
626
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
627
|
+
purge_time: Optional[pulumi.Input[builtins.str]] = None,
|
628
|
+
serve: Optional[pulumi.Input[Union['AppHostingDomainServeArgs', 'AppHostingDomainServeArgsDict']]] = None,
|
629
|
+
uid: Optional[pulumi.Input[builtins.str]] = None,
|
630
|
+
update_time: Optional[pulumi.Input[builtins.str]] = None) -> 'AppHostingDomain':
|
631
|
+
"""
|
632
|
+
Get an existing AppHostingDomain resource's state with the given name, id, and optional extra
|
633
|
+
properties used to qualify the lookup.
|
634
|
+
|
635
|
+
:param str resource_name: The unique name of the resulting resource.
|
636
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
637
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
638
|
+
:param pulumi.Input[builtins.str] backend: The ID of the Backend that this Domain is associated with
|
639
|
+
:param pulumi.Input[builtins.str] create_time: Time at which the domain was created.
|
640
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AppHostingDomainCustomDomainStatusArgs', 'AppHostingDomainCustomDomainStatusArgsDict']]]] custom_domain_statuses: The status of a custom domain's linkage to the Backend.
|
641
|
+
Structure is documented below.
|
642
|
+
:param pulumi.Input[builtins.str] delete_time: Time at which the domain was deleted.
|
643
|
+
:param pulumi.Input[builtins.str] domain_id: Id of the domain to create.
|
644
|
+
Must be a valid domain name, such as "foo.com"
|
645
|
+
|
646
|
+
|
647
|
+
- - -
|
648
|
+
:param pulumi.Input[builtins.str] etag: Server-computed checksum based on other values; may be sent
|
649
|
+
on update or delete to ensure operation is done on expected resource.
|
650
|
+
:param pulumi.Input[builtins.str] location: The location of the Backend that this Domain is associated with
|
651
|
+
:param pulumi.Input[builtins.str] name: Identifier. The resource name of the domain, e.g.
|
652
|
+
`projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`
|
653
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
654
|
+
If it is not provided, the provider project is used.
|
655
|
+
:param pulumi.Input[builtins.str] purge_time: Time at which a soft-deleted domain will be purged, rendering in
|
656
|
+
permanently deleted.
|
657
|
+
:param pulumi.Input[Union['AppHostingDomainServeArgs', 'AppHostingDomainServeArgsDict']] serve: The serving behavior of the domain. If specified, the domain will
|
658
|
+
serve content other than its Backend's live content.
|
659
|
+
Structure is documented below.
|
660
|
+
:param pulumi.Input[builtins.str] uid: System-assigned, unique identifier.
|
661
|
+
:param pulumi.Input[builtins.str] update_time: Time at which the domain was last updated.
|
662
|
+
"""
|
663
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
664
|
+
|
665
|
+
__props__ = _AppHostingDomainState.__new__(_AppHostingDomainState)
|
666
|
+
|
667
|
+
__props__.__dict__["backend"] = backend
|
668
|
+
__props__.__dict__["create_time"] = create_time
|
669
|
+
__props__.__dict__["custom_domain_statuses"] = custom_domain_statuses
|
670
|
+
__props__.__dict__["delete_time"] = delete_time
|
671
|
+
__props__.__dict__["domain_id"] = domain_id
|
672
|
+
__props__.__dict__["etag"] = etag
|
673
|
+
__props__.__dict__["location"] = location
|
674
|
+
__props__.__dict__["name"] = name
|
675
|
+
__props__.__dict__["project"] = project
|
676
|
+
__props__.__dict__["purge_time"] = purge_time
|
677
|
+
__props__.__dict__["serve"] = serve
|
678
|
+
__props__.__dict__["uid"] = uid
|
679
|
+
__props__.__dict__["update_time"] = update_time
|
680
|
+
return AppHostingDomain(resource_name, opts=opts, __props__=__props__)
|
681
|
+
|
682
|
+
@property
|
683
|
+
@pulumi.getter
|
684
|
+
def backend(self) -> pulumi.Output[builtins.str]:
|
685
|
+
"""
|
686
|
+
The ID of the Backend that this Domain is associated with
|
687
|
+
"""
|
688
|
+
return pulumi.get(self, "backend")
|
689
|
+
|
690
|
+
@property
|
691
|
+
@pulumi.getter(name="createTime")
|
692
|
+
def create_time(self) -> pulumi.Output[builtins.str]:
|
693
|
+
"""
|
694
|
+
Time at which the domain was created.
|
695
|
+
"""
|
696
|
+
return pulumi.get(self, "create_time")
|
697
|
+
|
698
|
+
@property
|
699
|
+
@pulumi.getter(name="customDomainStatuses")
|
700
|
+
def custom_domain_statuses(self) -> pulumi.Output[Sequence['outputs.AppHostingDomainCustomDomainStatus']]:
|
701
|
+
"""
|
702
|
+
The status of a custom domain's linkage to the Backend.
|
703
|
+
Structure is documented below.
|
704
|
+
"""
|
705
|
+
return pulumi.get(self, "custom_domain_statuses")
|
706
|
+
|
707
|
+
@property
|
708
|
+
@pulumi.getter(name="deleteTime")
|
709
|
+
def delete_time(self) -> pulumi.Output[builtins.str]:
|
710
|
+
"""
|
711
|
+
Time at which the domain was deleted.
|
712
|
+
"""
|
713
|
+
return pulumi.get(self, "delete_time")
|
714
|
+
|
715
|
+
@property
|
716
|
+
@pulumi.getter(name="domainId")
|
717
|
+
def domain_id(self) -> pulumi.Output[builtins.str]:
|
718
|
+
"""
|
719
|
+
Id of the domain to create.
|
720
|
+
Must be a valid domain name, such as "foo.com"
|
721
|
+
|
722
|
+
|
723
|
+
- - -
|
724
|
+
"""
|
725
|
+
return pulumi.get(self, "domain_id")
|
726
|
+
|
727
|
+
@property
|
728
|
+
@pulumi.getter
|
729
|
+
def etag(self) -> pulumi.Output[builtins.str]:
|
730
|
+
"""
|
731
|
+
Server-computed checksum based on other values; may be sent
|
732
|
+
on update or delete to ensure operation is done on expected resource.
|
733
|
+
"""
|
734
|
+
return pulumi.get(self, "etag")
|
735
|
+
|
736
|
+
@property
|
737
|
+
@pulumi.getter
|
738
|
+
def location(self) -> pulumi.Output[builtins.str]:
|
739
|
+
"""
|
740
|
+
The location of the Backend that this Domain is associated with
|
741
|
+
"""
|
742
|
+
return pulumi.get(self, "location")
|
743
|
+
|
744
|
+
@property
|
745
|
+
@pulumi.getter
|
746
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
747
|
+
"""
|
748
|
+
Identifier. The resource name of the domain, e.g.
|
749
|
+
`projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`
|
750
|
+
"""
|
751
|
+
return pulumi.get(self, "name")
|
752
|
+
|
753
|
+
@property
|
754
|
+
@pulumi.getter
|
755
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
756
|
+
"""
|
757
|
+
The ID of the project in which the resource belongs.
|
758
|
+
If it is not provided, the provider project is used.
|
759
|
+
"""
|
760
|
+
return pulumi.get(self, "project")
|
761
|
+
|
762
|
+
@property
|
763
|
+
@pulumi.getter(name="purgeTime")
|
764
|
+
def purge_time(self) -> pulumi.Output[builtins.str]:
|
765
|
+
"""
|
766
|
+
Time at which a soft-deleted domain will be purged, rendering in
|
767
|
+
permanently deleted.
|
768
|
+
"""
|
769
|
+
return pulumi.get(self, "purge_time")
|
770
|
+
|
771
|
+
@property
|
772
|
+
@pulumi.getter
|
773
|
+
def serve(self) -> pulumi.Output[Optional['outputs.AppHostingDomainServe']]:
|
774
|
+
"""
|
775
|
+
The serving behavior of the domain. If specified, the domain will
|
776
|
+
serve content other than its Backend's live content.
|
777
|
+
Structure is documented below.
|
778
|
+
"""
|
779
|
+
return pulumi.get(self, "serve")
|
780
|
+
|
781
|
+
@property
|
782
|
+
@pulumi.getter
|
783
|
+
def uid(self) -> pulumi.Output[builtins.str]:
|
784
|
+
"""
|
785
|
+
System-assigned, unique identifier.
|
786
|
+
"""
|
787
|
+
return pulumi.get(self, "uid")
|
788
|
+
|
789
|
+
@property
|
790
|
+
@pulumi.getter(name="updateTime")
|
791
|
+
def update_time(self) -> pulumi.Output[builtins.str]:
|
792
|
+
"""
|
793
|
+
Time at which the domain was last updated.
|
794
|
+
"""
|
795
|
+
return pulumi.get(self, "update_time")
|
796
|
+
|