gcp.firebase.AppHostingDomain
Explore with Pulumi AI
A domain name that is associated with a backend.
Example Usage
Firebase App Hosting Domain Minimal
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const serviceAccount = new gcp.serviceaccount.Account("service_account", {
project: "my-project-name",
accountId: "sa-id",
displayName: "Firebase App Hosting compute service account",
createIgnoreAlreadyExists: true,
});
const exampleAppHostingBackend = new gcp.firebase.AppHostingBackend("example", {
project: "my-project-name",
location: "us-central1",
backendId: "domain-mini",
appId: "1:0000000000:web:674cde32020e16fbce9dbd",
servingLocality: "GLOBAL_ACCESS",
serviceAccount: serviceAccount.email,
});
const example = new gcp.firebase.AppHostingDomain("example", {
project: exampleAppHostingBackend.project,
location: exampleAppHostingBackend.location,
backend: exampleAppHostingBackend.backendId,
domainId: "example.com",
});
import pulumi
import pulumi_gcp as gcp
service_account = gcp.serviceaccount.Account("service_account",
project="my-project-name",
account_id="sa-id",
display_name="Firebase App Hosting compute service account",
create_ignore_already_exists=True)
example_app_hosting_backend = gcp.firebase.AppHostingBackend("example",
project="my-project-name",
location="us-central1",
backend_id="domain-mini",
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
serving_locality="GLOBAL_ACCESS",
service_account=service_account.email)
example = gcp.firebase.AppHostingDomain("example",
project=example_app_hosting_backend.project,
location=example_app_hosting_backend.location,
backend=example_app_hosting_backend.backend_id,
domain_id="example.com")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
serviceAccount, err := serviceaccount.NewAccount(ctx, "service_account", &serviceaccount.AccountArgs{
Project: pulumi.String("my-project-name"),
AccountId: pulumi.String("sa-id"),
DisplayName: pulumi.String("Firebase App Hosting compute service account"),
CreateIgnoreAlreadyExists: pulumi.Bool(true),
})
if err != nil {
return err
}
exampleAppHostingBackend, err := firebase.NewAppHostingBackend(ctx, "example", &firebase.AppHostingBackendArgs{
Project: pulumi.String("my-project-name"),
Location: pulumi.String("us-central1"),
BackendId: pulumi.String("domain-mini"),
AppId: pulumi.String("1:0000000000:web:674cde32020e16fbce9dbd"),
ServingLocality: pulumi.String("GLOBAL_ACCESS"),
ServiceAccount: serviceAccount.Email,
})
if err != nil {
return err
}
_, err = firebase.NewAppHostingDomain(ctx, "example", &firebase.AppHostingDomainArgs{
Project: exampleAppHostingBackend.Project,
Location: exampleAppHostingBackend.Location,
Backend: exampleAppHostingBackend.BackendId,
DomainId: pulumi.String("example.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var serviceAccount = new Gcp.ServiceAccount.Account("service_account", new()
{
Project = "my-project-name",
AccountId = "sa-id",
DisplayName = "Firebase App Hosting compute service account",
CreateIgnoreAlreadyExists = true,
});
var exampleAppHostingBackend = new Gcp.Firebase.AppHostingBackend("example", new()
{
Project = "my-project-name",
Location = "us-central1",
BackendId = "domain-mini",
AppId = "1:0000000000:web:674cde32020e16fbce9dbd",
ServingLocality = "GLOBAL_ACCESS",
ServiceAccount = serviceAccount.Email,
});
var example = new Gcp.Firebase.AppHostingDomain("example", new()
{
Project = exampleAppHostingBackend.Project,
Location = exampleAppHostingBackend.Location,
Backend = exampleAppHostingBackend.BackendId,
DomainId = "example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.serviceaccount.Account;
import com.pulumi.gcp.serviceaccount.AccountArgs;
import com.pulumi.gcp.firebase.AppHostingBackend;
import com.pulumi.gcp.firebase.AppHostingBackendArgs;
import com.pulumi.gcp.firebase.AppHostingDomain;
import com.pulumi.gcp.firebase.AppHostingDomainArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var serviceAccount = new Account("serviceAccount", AccountArgs.builder()
.project("my-project-name")
.accountId("sa-id")
.displayName("Firebase App Hosting compute service account")
.createIgnoreAlreadyExists(true)
.build());
var exampleAppHostingBackend = new AppHostingBackend("exampleAppHostingBackend", AppHostingBackendArgs.builder()
.project("my-project-name")
.location("us-central1")
.backendId("domain-mini")
.appId("1:0000000000:web:674cde32020e16fbce9dbd")
.servingLocality("GLOBAL_ACCESS")
.serviceAccount(serviceAccount.email())
.build());
var example = new AppHostingDomain("example", AppHostingDomainArgs.builder()
.project(exampleAppHostingBackend.project())
.location(exampleAppHostingBackend.location())
.backend(exampleAppHostingBackend.backendId())
.domainId("example.com")
.build());
}
}
resources:
example:
type: gcp:firebase:AppHostingDomain
properties:
project: ${exampleAppHostingBackend.project}
location: ${exampleAppHostingBackend.location}
backend: ${exampleAppHostingBackend.backendId}
domainId: example.com
exampleAppHostingBackend:
type: gcp:firebase:AppHostingBackend
name: example
properties:
project: my-project-name
location: us-central1
backendId: domain-mini
appId: 1:0000000000:web:674cde32020e16fbce9dbd
servingLocality: GLOBAL_ACCESS
serviceAccount: ${serviceAccount.email}
serviceAccount:
type: gcp:serviceaccount:Account
name: service_account
properties:
project: my-project-name
accountId: sa-id
displayName: Firebase App Hosting compute service account
createIgnoreAlreadyExists: true
Firebase App Hosting Domain Full
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const serviceAccount = new gcp.serviceaccount.Account("service_account", {
project: "my-project-name",
accountId: "sa-id",
displayName: "Firebase App Hosting compute service account",
createIgnoreAlreadyExists: true,
});
const exampleAppHostingBackend = new gcp.firebase.AppHostingBackend("example", {
project: "my-project-name",
location: "us-central1",
backendId: "domain-full",
appId: "1:0000000000:web:674cde32020e16fbce9dbd",
servingLocality: "GLOBAL_ACCESS",
serviceAccount: serviceAccount.email,
});
const example = new gcp.firebase.AppHostingDomain("example", {
project: exampleAppHostingBackend.project,
location: exampleAppHostingBackend.location,
backend: exampleAppHostingBackend.backendId,
domainId: "example.com",
serve: {
redirect: {
uri: "google.com",
status: "302",
},
},
});
import pulumi
import pulumi_gcp as gcp
service_account = gcp.serviceaccount.Account("service_account",
project="my-project-name",
account_id="sa-id",
display_name="Firebase App Hosting compute service account",
create_ignore_already_exists=True)
example_app_hosting_backend = gcp.firebase.AppHostingBackend("example",
project="my-project-name",
location="us-central1",
backend_id="domain-full",
app_id="1:0000000000:web:674cde32020e16fbce9dbd",
serving_locality="GLOBAL_ACCESS",
service_account=service_account.email)
example = gcp.firebase.AppHostingDomain("example",
project=example_app_hosting_backend.project,
location=example_app_hosting_backend.location,
backend=example_app_hosting_backend.backend_id,
domain_id="example.com",
serve={
"redirect": {
"uri": "google.com",
"status": "302",
},
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
serviceAccount, err := serviceaccount.NewAccount(ctx, "service_account", &serviceaccount.AccountArgs{
Project: pulumi.String("my-project-name"),
AccountId: pulumi.String("sa-id"),
DisplayName: pulumi.String("Firebase App Hosting compute service account"),
CreateIgnoreAlreadyExists: pulumi.Bool(true),
})
if err != nil {
return err
}
exampleAppHostingBackend, err := firebase.NewAppHostingBackend(ctx, "example", &firebase.AppHostingBackendArgs{
Project: pulumi.String("my-project-name"),
Location: pulumi.String("us-central1"),
BackendId: pulumi.String("domain-full"),
AppId: pulumi.String("1:0000000000:web:674cde32020e16fbce9dbd"),
ServingLocality: pulumi.String("GLOBAL_ACCESS"),
ServiceAccount: serviceAccount.Email,
})
if err != nil {
return err
}
_, err = firebase.NewAppHostingDomain(ctx, "example", &firebase.AppHostingDomainArgs{
Project: exampleAppHostingBackend.Project,
Location: exampleAppHostingBackend.Location,
Backend: exampleAppHostingBackend.BackendId,
DomainId: pulumi.String("example.com"),
Serve: &firebase.AppHostingDomainServeArgs{
Redirect: &firebase.AppHostingDomainServeRedirectArgs{
Uri: pulumi.String("google.com"),
Status: pulumi.String("302"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var serviceAccount = new Gcp.ServiceAccount.Account("service_account", new()
{
Project = "my-project-name",
AccountId = "sa-id",
DisplayName = "Firebase App Hosting compute service account",
CreateIgnoreAlreadyExists = true,
});
var exampleAppHostingBackend = new Gcp.Firebase.AppHostingBackend("example", new()
{
Project = "my-project-name",
Location = "us-central1",
BackendId = "domain-full",
AppId = "1:0000000000:web:674cde32020e16fbce9dbd",
ServingLocality = "GLOBAL_ACCESS",
ServiceAccount = serviceAccount.Email,
});
var example = new Gcp.Firebase.AppHostingDomain("example", new()
{
Project = exampleAppHostingBackend.Project,
Location = exampleAppHostingBackend.Location,
Backend = exampleAppHostingBackend.BackendId,
DomainId = "example.com",
Serve = new Gcp.Firebase.Inputs.AppHostingDomainServeArgs
{
Redirect = new Gcp.Firebase.Inputs.AppHostingDomainServeRedirectArgs
{
Uri = "google.com",
Status = "302",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.serviceaccount.Account;
import com.pulumi.gcp.serviceaccount.AccountArgs;
import com.pulumi.gcp.firebase.AppHostingBackend;
import com.pulumi.gcp.firebase.AppHostingBackendArgs;
import com.pulumi.gcp.firebase.AppHostingDomain;
import com.pulumi.gcp.firebase.AppHostingDomainArgs;
import com.pulumi.gcp.firebase.inputs.AppHostingDomainServeArgs;
import com.pulumi.gcp.firebase.inputs.AppHostingDomainServeRedirectArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var serviceAccount = new Account("serviceAccount", AccountArgs.builder()
.project("my-project-name")
.accountId("sa-id")
.displayName("Firebase App Hosting compute service account")
.createIgnoreAlreadyExists(true)
.build());
var exampleAppHostingBackend = new AppHostingBackend("exampleAppHostingBackend", AppHostingBackendArgs.builder()
.project("my-project-name")
.location("us-central1")
.backendId("domain-full")
.appId("1:0000000000:web:674cde32020e16fbce9dbd")
.servingLocality("GLOBAL_ACCESS")
.serviceAccount(serviceAccount.email())
.build());
var example = new AppHostingDomain("example", AppHostingDomainArgs.builder()
.project(exampleAppHostingBackend.project())
.location(exampleAppHostingBackend.location())
.backend(exampleAppHostingBackend.backendId())
.domainId("example.com")
.serve(AppHostingDomainServeArgs.builder()
.redirect(AppHostingDomainServeRedirectArgs.builder()
.uri("google.com")
.status("302")
.build())
.build())
.build());
}
}
resources:
example:
type: gcp:firebase:AppHostingDomain
properties:
project: ${exampleAppHostingBackend.project}
location: ${exampleAppHostingBackend.location}
backend: ${exampleAppHostingBackend.backendId}
domainId: example.com
serve:
redirect:
uri: google.com
status: '302'
exampleAppHostingBackend:
type: gcp:firebase:AppHostingBackend
name: example
properties:
project: my-project-name
location: us-central1
backendId: domain-full
appId: 1:0000000000:web:674cde32020e16fbce9dbd
servingLocality: GLOBAL_ACCESS
serviceAccount: ${serviceAccount.email}
serviceAccount:
type: gcp:serviceaccount:Account
name: service_account
properties:
project: my-project-name
accountId: sa-id
displayName: Firebase App Hosting compute service account
createIgnoreAlreadyExists: true
Create AppHostingDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppHostingDomain(name: string, args: AppHostingDomainArgs, opts?: CustomResourceOptions);
@overload
def AppHostingDomain(resource_name: str,
args: AppHostingDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppHostingDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
backend: Optional[str] = None,
domain_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
serve: Optional[AppHostingDomainServeArgs] = None)
func NewAppHostingDomain(ctx *Context, name string, args AppHostingDomainArgs, opts ...ResourceOption) (*AppHostingDomain, error)
public AppHostingDomain(string name, AppHostingDomainArgs args, CustomResourceOptions? opts = null)
public AppHostingDomain(String name, AppHostingDomainArgs args)
public AppHostingDomain(String name, AppHostingDomainArgs args, CustomResourceOptions options)
type: gcp:firebase:AppHostingDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppHostingDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppHostingDomainArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppHostingDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppHostingDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppHostingDomainArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var appHostingDomainResource = new Gcp.Firebase.AppHostingDomain("appHostingDomainResource", new()
{
Backend = "string",
DomainId = "string",
Location = "string",
Project = "string",
Serve = new Gcp.Firebase.Inputs.AppHostingDomainServeArgs
{
Redirect = new Gcp.Firebase.Inputs.AppHostingDomainServeRedirectArgs
{
Uri = "string",
Status = "string",
},
},
});
example, err := firebase.NewAppHostingDomain(ctx, "appHostingDomainResource", &firebase.AppHostingDomainArgs{
Backend: pulumi.String("string"),
DomainId: pulumi.String("string"),
Location: pulumi.String("string"),
Project: pulumi.String("string"),
Serve: &firebase.AppHostingDomainServeArgs{
Redirect: &firebase.AppHostingDomainServeRedirectArgs{
Uri: pulumi.String("string"),
Status: pulumi.String("string"),
},
},
})
var appHostingDomainResource = new AppHostingDomain("appHostingDomainResource", AppHostingDomainArgs.builder()
.backend("string")
.domainId("string")
.location("string")
.project("string")
.serve(AppHostingDomainServeArgs.builder()
.redirect(AppHostingDomainServeRedirectArgs.builder()
.uri("string")
.status("string")
.build())
.build())
.build());
app_hosting_domain_resource = gcp.firebase.AppHostingDomain("appHostingDomainResource",
backend="string",
domain_id="string",
location="string",
project="string",
serve={
"redirect": {
"uri": "string",
"status": "string",
},
})
const appHostingDomainResource = new gcp.firebase.AppHostingDomain("appHostingDomainResource", {
backend: "string",
domainId: "string",
location: "string",
project: "string",
serve: {
redirect: {
uri: "string",
status: "string",
},
},
});
type: gcp:firebase:AppHostingDomain
properties:
backend: string
domainId: string
location: string
project: string
serve:
redirect:
status: string
uri: string
AppHostingDomain Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AppHostingDomain resource accepts the following input properties:
- Backend string
- The ID of the Backend that this Domain is associated with
- Domain
Id string - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- Location string
- The location of the Backend that this Domain is associated with
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Serve
App
Hosting Domain Serve - The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
- Backend string
- The ID of the Backend that this Domain is associated with
- Domain
Id string - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- Location string
- The location of the Backend that this Domain is associated with
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Serve
App
Hosting Domain Serve Args - The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
- backend String
- The ID of the Backend that this Domain is associated with
- domain
Id String - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- location String
- The location of the Backend that this Domain is associated with
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- serve
App
Hosting Domain Serve - The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
- backend string
- The ID of the Backend that this Domain is associated with
- domain
Id string - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- location string
- The location of the Backend that this Domain is associated with
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- serve
App
Hosting Domain Serve - The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
- backend str
- The ID of the Backend that this Domain is associated with
- domain_
id str - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- location str
- The location of the Backend that this Domain is associated with
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- serve
App
Hosting Domain Serve Args - The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
- backend String
- The ID of the Backend that this Domain is associated with
- domain
Id String - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- location String
- The location of the Backend that this Domain is associated with
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- serve Property Map
- The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the AppHostingDomain resource produces the following output properties:
- Create
Time string - Time at which the domain was created.
- Custom
Domain List<AppStatuses Hosting Domain Custom Domain Status> - The status of a custom domain's linkage to the Backend. Structure is documented below.
- Delete
Time string - Time at which the domain was deleted.
- Etag string
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- Purge
Time string - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- Uid string
- System-assigned, unique identifier.
- Update
Time string - Time at which the domain was last updated.
- Create
Time string - Time at which the domain was created.
- Custom
Domain []AppStatuses Hosting Domain Custom Domain Status - The status of a custom domain's linkage to the Backend. Structure is documented below.
- Delete
Time string - Time at which the domain was deleted.
- Etag string
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- Purge
Time string - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- Uid string
- System-assigned, unique identifier.
- Update
Time string - Time at which the domain was last updated.
- create
Time String - Time at which the domain was created.
- custom
Domain List<AppStatuses Hosting Domain Custom Domain Status> - The status of a custom domain's linkage to the Backend. Structure is documented below.
- delete
Time String - Time at which the domain was deleted.
- etag String
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- purge
Time String - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- uid String
- System-assigned, unique identifier.
- update
Time String - Time at which the domain was last updated.
- create
Time string - Time at which the domain was created.
- custom
Domain AppStatuses Hosting Domain Custom Domain Status[] - The status of a custom domain's linkage to the Backend. Structure is documented below.
- delete
Time string - Time at which the domain was deleted.
- etag string
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- purge
Time string - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- uid string
- System-assigned, unique identifier.
- update
Time string - Time at which the domain was last updated.
- create_
time str - Time at which the domain was created.
- custom_
domain_ Sequence[Appstatuses Hosting Domain Custom Domain Status] - The status of a custom domain's linkage to the Backend. Structure is documented below.
- delete_
time str - Time at which the domain was deleted.
- etag str
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- purge_
time str - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- uid str
- System-assigned, unique identifier.
- update_
time str - Time at which the domain was last updated.
- create
Time String - Time at which the domain was created.
- custom
Domain List<Property Map>Statuses - The status of a custom domain's linkage to the Backend. Structure is documented below.
- delete
Time String - Time at which the domain was deleted.
- etag String
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- purge
Time String - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- uid String
- System-assigned, unique identifier.
- update
Time String - Time at which the domain was last updated.
Look up Existing AppHostingDomain Resource
Get an existing AppHostingDomain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppHostingDomainState, opts?: CustomResourceOptions): AppHostingDomain
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backend: Optional[str] = None,
create_time: Optional[str] = None,
custom_domain_statuses: Optional[Sequence[AppHostingDomainCustomDomainStatusArgs]] = None,
delete_time: Optional[str] = None,
domain_id: Optional[str] = None,
etag: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
purge_time: Optional[str] = None,
serve: Optional[AppHostingDomainServeArgs] = None,
uid: Optional[str] = None,
update_time: Optional[str] = None) -> AppHostingDomain
func GetAppHostingDomain(ctx *Context, name string, id IDInput, state *AppHostingDomainState, opts ...ResourceOption) (*AppHostingDomain, error)
public static AppHostingDomain Get(string name, Input<string> id, AppHostingDomainState? state, CustomResourceOptions? opts = null)
public static AppHostingDomain get(String name, Output<String> id, AppHostingDomainState state, CustomResourceOptions options)
resources: _: type: gcp:firebase:AppHostingDomain get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Backend string
- The ID of the Backend that this Domain is associated with
- Create
Time string - Time at which the domain was created.
- Custom
Domain List<AppStatuses Hosting Domain Custom Domain Status> - The status of a custom domain's linkage to the Backend. Structure is documented below.
- Delete
Time string - Time at which the domain was deleted.
- Domain
Id string - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- Etag string
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- Location string
- The location of the Backend that this Domain is associated with
- Name string
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Purge
Time string - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- Serve
App
Hosting Domain Serve - The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
- Uid string
- System-assigned, unique identifier.
- Update
Time string - Time at which the domain was last updated.
- Backend string
- The ID of the Backend that this Domain is associated with
- Create
Time string - Time at which the domain was created.
- Custom
Domain []AppStatuses Hosting Domain Custom Domain Status Args - The status of a custom domain's linkage to the Backend. Structure is documented below.
- Delete
Time string - Time at which the domain was deleted.
- Domain
Id string - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- Etag string
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- Location string
- The location of the Backend that this Domain is associated with
- Name string
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Purge
Time string - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- Serve
App
Hosting Domain Serve Args - The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
- Uid string
- System-assigned, unique identifier.
- Update
Time string - Time at which the domain was last updated.
- backend String
- The ID of the Backend that this Domain is associated with
- create
Time String - Time at which the domain was created.
- custom
Domain List<AppStatuses Hosting Domain Custom Domain Status> - The status of a custom domain's linkage to the Backend. Structure is documented below.
- delete
Time String - Time at which the domain was deleted.
- domain
Id String - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- etag String
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- location String
- The location of the Backend that this Domain is associated with
- name String
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- purge
Time String - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- serve
App
Hosting Domain Serve - The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
- uid String
- System-assigned, unique identifier.
- update
Time String - Time at which the domain was last updated.
- backend string
- The ID of the Backend that this Domain is associated with
- create
Time string - Time at which the domain was created.
- custom
Domain AppStatuses Hosting Domain Custom Domain Status[] - The status of a custom domain's linkage to the Backend. Structure is documented below.
- delete
Time string - Time at which the domain was deleted.
- domain
Id string - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- etag string
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- location string
- The location of the Backend that this Domain is associated with
- name string
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- purge
Time string - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- serve
App
Hosting Domain Serve - The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
- uid string
- System-assigned, unique identifier.
- update
Time string - Time at which the domain was last updated.
- backend str
- The ID of the Backend that this Domain is associated with
- create_
time str - Time at which the domain was created.
- custom_
domain_ Sequence[Appstatuses Hosting Domain Custom Domain Status Args] - The status of a custom domain's linkage to the Backend. Structure is documented below.
- delete_
time str - Time at which the domain was deleted.
- domain_
id str - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- etag str
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- location str
- The location of the Backend that this Domain is associated with
- name str
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- purge_
time str - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- serve
App
Hosting Domain Serve Args - The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
- uid str
- System-assigned, unique identifier.
- update_
time str - Time at which the domain was last updated.
- backend String
- The ID of the Backend that this Domain is associated with
- create
Time String - Time at which the domain was created.
- custom
Domain List<Property Map>Statuses - The status of a custom domain's linkage to the Backend. Structure is documented below.
- delete
Time String - Time at which the domain was deleted.
- domain
Id String - Id of the domain to create.
Must be a valid domain name, such as "foo.com"
- etag String
- Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
- location String
- The location of the Backend that this Domain is associated with
- name String
- Identifier. The resource name of the domain, e.g.
projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- purge
Time String - Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
- serve Property Map
- The serving behavior of the domain. If specified, the domain will serve content other than its Backend's live content. Structure is documented below.
- uid String
- System-assigned, unique identifier.
- update
Time String - Time at which the domain was last updated.
Supporting Types
AppHostingDomainCustomDomainStatus, AppHostingDomainCustomDomainStatusArgs
- Cert
State string - (Output) Possible values: CERT_PREPARING CERT_VALIDATING CERT_PROPAGATING CERT_ACTIVE CERT_EXPIRING_SOON CERT_EXPIRED
- Host
State string - (Output) Possible values: HOST_UNHOSTED HOST_UNREACHABLE HOST_NON_FAH HOST_CONFLICT HOST_WRONG_SHARD HOST_ACTIVE
- Issues
List<App
Hosting Domain Custom Domain Status Issue> - (Output) A list of issues with domain configuration. Allows users to self-correct problems with DNS records. Structure is documented below.
- Ownership
State string - (Output) Possible values: OWNERSHIP_MISSING OWNERSHIP_UNREACHABLE OWNERSHIP_MISMATCH OWNERSHIP_CONFLICT OWNERSHIP_PENDING OWNERSHIP_ACTIVE
- Required
Dns List<AppUpdates Hosting Domain Custom Domain Status Required Dns Update> - (Output) Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state. Structure is documented below.
- Cert
State string - (Output) Possible values: CERT_PREPARING CERT_VALIDATING CERT_PROPAGATING CERT_ACTIVE CERT_EXPIRING_SOON CERT_EXPIRED
- Host
State string - (Output) Possible values: HOST_UNHOSTED HOST_UNREACHABLE HOST_NON_FAH HOST_CONFLICT HOST_WRONG_SHARD HOST_ACTIVE
- Issues
[]App
Hosting Domain Custom Domain Status Issue - (Output) A list of issues with domain configuration. Allows users to self-correct problems with DNS records. Structure is documented below.
- Ownership
State string - (Output) Possible values: OWNERSHIP_MISSING OWNERSHIP_UNREACHABLE OWNERSHIP_MISMATCH OWNERSHIP_CONFLICT OWNERSHIP_PENDING OWNERSHIP_ACTIVE
- Required
Dns []AppUpdates Hosting Domain Custom Domain Status Required Dns Update - (Output) Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state. Structure is documented below.
- cert
State String - (Output) Possible values: CERT_PREPARING CERT_VALIDATING CERT_PROPAGATING CERT_ACTIVE CERT_EXPIRING_SOON CERT_EXPIRED
- host
State String - (Output) Possible values: HOST_UNHOSTED HOST_UNREACHABLE HOST_NON_FAH HOST_CONFLICT HOST_WRONG_SHARD HOST_ACTIVE
- issues
List<App
Hosting Domain Custom Domain Status Issue> - (Output) A list of issues with domain configuration. Allows users to self-correct problems with DNS records. Structure is documented below.
- ownership
State String - (Output) Possible values: OWNERSHIP_MISSING OWNERSHIP_UNREACHABLE OWNERSHIP_MISMATCH OWNERSHIP_CONFLICT OWNERSHIP_PENDING OWNERSHIP_ACTIVE
- required
Dns List<AppUpdates Hosting Domain Custom Domain Status Required Dns Update> - (Output) Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state. Structure is documented below.
- cert
State string - (Output) Possible values: CERT_PREPARING CERT_VALIDATING CERT_PROPAGATING CERT_ACTIVE CERT_EXPIRING_SOON CERT_EXPIRED
- host
State string - (Output) Possible values: HOST_UNHOSTED HOST_UNREACHABLE HOST_NON_FAH HOST_CONFLICT HOST_WRONG_SHARD HOST_ACTIVE
- issues
App
Hosting Domain Custom Domain Status Issue[] - (Output) A list of issues with domain configuration. Allows users to self-correct problems with DNS records. Structure is documented below.
- ownership
State string - (Output) Possible values: OWNERSHIP_MISSING OWNERSHIP_UNREACHABLE OWNERSHIP_MISMATCH OWNERSHIP_CONFLICT OWNERSHIP_PENDING OWNERSHIP_ACTIVE
- required
Dns AppUpdates Hosting Domain Custom Domain Status Required Dns Update[] - (Output) Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state. Structure is documented below.
- cert_
state str - (Output) Possible values: CERT_PREPARING CERT_VALIDATING CERT_PROPAGATING CERT_ACTIVE CERT_EXPIRING_SOON CERT_EXPIRED
- host_
state str - (Output) Possible values: HOST_UNHOSTED HOST_UNREACHABLE HOST_NON_FAH HOST_CONFLICT HOST_WRONG_SHARD HOST_ACTIVE
- issues
Sequence[App
Hosting Domain Custom Domain Status Issue] - (Output) A list of issues with domain configuration. Allows users to self-correct problems with DNS records. Structure is documented below.
- ownership_
state str - (Output) Possible values: OWNERSHIP_MISSING OWNERSHIP_UNREACHABLE OWNERSHIP_MISMATCH OWNERSHIP_CONFLICT OWNERSHIP_PENDING OWNERSHIP_ACTIVE
- required_
dns_ Sequence[Appupdates Hosting Domain Custom Domain Status Required Dns Update] - (Output) Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state. Structure is documented below.
- cert
State String - (Output) Possible values: CERT_PREPARING CERT_VALIDATING CERT_PROPAGATING CERT_ACTIVE CERT_EXPIRING_SOON CERT_EXPIRED
- host
State String - (Output) Possible values: HOST_UNHOSTED HOST_UNREACHABLE HOST_NON_FAH HOST_CONFLICT HOST_WRONG_SHARD HOST_ACTIVE
- issues List<Property Map>
- (Output) A list of issues with domain configuration. Allows users to self-correct problems with DNS records. Structure is documented below.
- ownership
State String - (Output) Possible values: OWNERSHIP_MISSING OWNERSHIP_UNREACHABLE OWNERSHIP_MISMATCH OWNERSHIP_CONFLICT OWNERSHIP_PENDING OWNERSHIP_ACTIVE
- required
Dns List<Property Map>Updates - (Output) Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state. Structure is documented below.
AppHostingDomainCustomDomainStatusIssue, AppHostingDomainCustomDomainStatusIssueArgs
- Code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- Details string
- (Output) A list of messages that carry the error details.
- Message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- Details string
- (Output) A list of messages that carry the error details.
- Message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details String
- (Output) A list of messages that carry the error details.
- message String
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details string
- (Output) A list of messages that carry the error details.
- message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details str
- (Output) A list of messages that carry the error details.
- message str
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details String
- (Output) A list of messages that carry the error details.
- message String
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
AppHostingDomainCustomDomainStatusRequiredDnsUpdate, AppHostingDomainCustomDomainStatusRequiredDnsUpdateArgs
- Check
Time string - (Output) The last time App Hosting checked your custom domain's DNS records.
- Desireds
List<App
Hosting Domain Custom Domain Status Required Dns Update Desired> - (Output) The set of DNS records App Hosting needs in order to be able to serve secure content on the domain. Structure is documented below.
- Discovereds
List<App
Hosting Domain Custom Domain Status Required Dns Update Discovered> - (Output) The set of DNS records App Hosting discovered when inspecting a domain. Structure is documented below.
- Domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
.
- Check
Time string - (Output) The last time App Hosting checked your custom domain's DNS records.
- Desireds
[]App
Hosting Domain Custom Domain Status Required Dns Update Desired - (Output) The set of DNS records App Hosting needs in order to be able to serve secure content on the domain. Structure is documented below.
- Discovereds
[]App
Hosting Domain Custom Domain Status Required Dns Update Discovered - (Output) The set of DNS records App Hosting discovered when inspecting a domain. Structure is documented below.
- Domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
.
- check
Time String - (Output) The last time App Hosting checked your custom domain's DNS records.
- desireds
List<App
Hosting Domain Custom Domain Status Required Dns Update Desired> - (Output) The set of DNS records App Hosting needs in order to be able to serve secure content on the domain. Structure is documented below.
- discovereds
List<App
Hosting Domain Custom Domain Status Required Dns Update Discovered> - (Output) The set of DNS records App Hosting discovered when inspecting a domain. Structure is documented below.
- domain
Name String - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
.
- check
Time string - (Output) The last time App Hosting checked your custom domain's DNS records.
- desireds
App
Hosting Domain Custom Domain Status Required Dns Update Desired[] - (Output) The set of DNS records App Hosting needs in order to be able to serve secure content on the domain. Structure is documented below.
- discovereds
App
Hosting Domain Custom Domain Status Required Dns Update Discovered[] - (Output) The set of DNS records App Hosting discovered when inspecting a domain. Structure is documented below.
- domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
.
- check_
time str - (Output) The last time App Hosting checked your custom domain's DNS records.
- desireds
Sequence[App
Hosting Domain Custom Domain Status Required Dns Update Desired] - (Output) The set of DNS records App Hosting needs in order to be able to serve secure content on the domain. Structure is documented below.
- discovereds
Sequence[App
Hosting Domain Custom Domain Status Required Dns Update Discovered] - (Output) The set of DNS records App Hosting discovered when inspecting a domain. Structure is documented below.
- domain_
name str - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
.
- check
Time String - (Output) The last time App Hosting checked your custom domain's DNS records.
- desireds List<Property Map>
- (Output) The set of DNS records App Hosting needs in order to be able to serve secure content on the domain. Structure is documented below.
- discovereds List<Property Map>
- (Output) The set of DNS records App Hosting discovered when inspecting a domain. Structure is documented below.
- domain
Name String - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
.
AppHostingDomainCustomDomainStatusRequiredDnsUpdateDesired, AppHostingDomainCustomDomainStatusRequiredDnsUpdateDesiredArgs
- Check
Errors List<AppHosting Domain Custom Domain Status Required Dns Update Desired Check Error> - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - Domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - Records
List<App
Hosting Domain Custom Domain Status Required Dns Update Desired Record> - (Output) Records on the domain. Structure is documented below.
- Check
Errors []AppHosting Domain Custom Domain Status Required Dns Update Desired Check Error - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - Domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - Records
[]App
Hosting Domain Custom Domain Status Required Dns Update Desired Record - (Output) Records on the domain. Structure is documented below.
- check
Errors List<AppHosting Domain Custom Domain Status Required Dns Update Desired Check Error> - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - domain
Name String - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - records
List<App
Hosting Domain Custom Domain Status Required Dns Update Desired Record> - (Output) Records on the domain. Structure is documented below.
- check
Errors AppHosting Domain Custom Domain Status Required Dns Update Desired Check Error[] - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - records
App
Hosting Domain Custom Domain Status Required Dns Update Desired Record[] - (Output) Records on the domain. Structure is documented below.
- check_
errors Sequence[AppHosting Domain Custom Domain Status Required Dns Update Desired Check Error] - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - domain_
name str - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - records
Sequence[App
Hosting Domain Custom Domain Status Required Dns Update Desired Record] - (Output) Records on the domain. Structure is documented below.
- check
Errors List<Property Map> - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - domain
Name String - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - records List<Property Map>
- (Output) Records on the domain. Structure is documented below.
AppHostingDomainCustomDomainStatusRequiredDnsUpdateDesiredCheckError, AppHostingDomainCustomDomainStatusRequiredDnsUpdateDesiredCheckErrorArgs
- Code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- Details string
- (Output) A list of messages that carry the error details.
- Message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- Details string
- (Output) A list of messages that carry the error details.
- Message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details String
- (Output) A list of messages that carry the error details.
- message String
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details string
- (Output) A list of messages that carry the error details.
- message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details str
- (Output) A list of messages that carry the error details.
- message str
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details String
- (Output) A list of messages that carry the error details.
- message String
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
AppHostingDomainCustomDomainStatusRequiredDnsUpdateDesiredRecord, AppHostingDomainCustomDomainStatusRequiredDnsUpdateDesiredRecordArgs
- Domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - Rdata string
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- Relevant
States List<string> - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - Required
Action string - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - Type string
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
- Domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - Rdata string
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- Relevant
States []string - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - Required
Action string - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - Type string
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
- domain
Name String - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - rdata String
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- relevant
States List<String> - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - required
Action String - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - type String
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
- domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - rdata string
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- relevant
States string[] - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - required
Action string - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - type string
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
- domain_
name str - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - rdata str
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- relevant_
states Sequence[str] - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - required_
action str - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - type str
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
- domain
Name String - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - rdata String
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- relevant
States List<String> - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - required
Action String - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - type String
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
AppHostingDomainCustomDomainStatusRequiredDnsUpdateDiscovered, AppHostingDomainCustomDomainStatusRequiredDnsUpdateDiscoveredArgs
- Check
Errors List<AppHosting Domain Custom Domain Status Required Dns Update Discovered Check Error> - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - Domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - Records
List<App
Hosting Domain Custom Domain Status Required Dns Update Discovered Record> - (Output) Records on the domain. Structure is documented below.
- Check
Errors []AppHosting Domain Custom Domain Status Required Dns Update Discovered Check Error - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - Domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - Records
[]App
Hosting Domain Custom Domain Status Required Dns Update Discovered Record - (Output) Records on the domain. Structure is documented below.
- check
Errors List<AppHosting Domain Custom Domain Status Required Dns Update Discovered Check Error> - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - domain
Name String - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - records
List<App
Hosting Domain Custom Domain Status Required Dns Update Discovered Record> - (Output) Records on the domain. Structure is documented below.
- check
Errors AppHosting Domain Custom Domain Status Required Dns Update Discovered Check Error[] - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - records
App
Hosting Domain Custom Domain Status Required Dns Update Discovered Record[] - (Output) Records on the domain. Structure is documented below.
- check_
errors Sequence[AppHosting Domain Custom Domain Status Required Dns Update Discovered Check Error] - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - domain_
name str - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - records
Sequence[App
Hosting Domain Custom Domain Status Required Dns Update Discovered Record] - (Output) Records on the domain. Structure is documented below.
- check
Errors List<Property Map> - (Output)
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatus
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below. - domain
Name String - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - records List<Property Map>
- (Output) Records on the domain. Structure is documented below.
AppHostingDomainCustomDomainStatusRequiredDnsUpdateDiscoveredCheckError, AppHostingDomainCustomDomainStatusRequiredDnsUpdateDiscoveredCheckErrorArgs
- Code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- Details string
- (Output) A list of messages that carry the error details.
- Message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- Details string
- (Output) A list of messages that carry the error details.
- Message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details String
- (Output) A list of messages that carry the error details.
- message String
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details string
- (Output) A list of messages that carry the error details.
- message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details str
- (Output) A list of messages that carry the error details.
- message str
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details String
- (Output) A list of messages that carry the error details.
- message String
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
AppHostingDomainCustomDomainStatusRequiredDnsUpdateDiscoveredRecord, AppHostingDomainCustomDomainStatusRequiredDnsUpdateDiscoveredRecordArgs
- Domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - Rdata string
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- Relevant
States List<string> - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - Required
Action string - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - Type string
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
- Domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - Rdata string
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- Relevant
States []string - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - Required
Action string - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - Type string
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
- domain
Name String - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - rdata String
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- relevant
States List<String> - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - required
Action String - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - type String
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
- domain
Name string - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - rdata string
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- relevant
States string[] - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - required
Action string - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - type string
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
- domain_
name str - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - rdata str
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- relevant_
states Sequence[str] - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - required_
action str - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - type str
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
- domain
Name String - (Output)
The domain the record pertains to, e.g.
foo.bar.com.
. - rdata String
- (Output)
The data of the record. The meaning of the value depends on record type:
- A and AAAA: IP addresses for the domain.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf.
- CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
.
- relevant
States List<String> - (Output)
An enum that indicates which state(s) this DNS record applies to. Populated
for all records with an
ADD
orREMOVE
required action. - required
Action String - (Output)
An enum that indicates the a required action for this record. Populated
when the record is part of a required change in a
DnsUpdates
discovered
ordesired
record set. Possible values: NONE ADD REMOVE - type String
- (Output) The record's type, which determines what data the record contains. Possible values: A CNAME TXT AAAA CAA
AppHostingDomainServe, AppHostingDomainServeArgs
- Redirect
App
Hosting Domain Serve Redirect - Specifies redirect behavior for a domain. Structure is documented below.
- Redirect
App
Hosting Domain Serve Redirect - Specifies redirect behavior for a domain. Structure is documented below.
- redirect
App
Hosting Domain Serve Redirect - Specifies redirect behavior for a domain. Structure is documented below.
- redirect
App
Hosting Domain Serve Redirect - Specifies redirect behavior for a domain. Structure is documented below.
- redirect
App
Hosting Domain Serve Redirect - Specifies redirect behavior for a domain. Structure is documented below.
- redirect Property Map
- Specifies redirect behavior for a domain. Structure is documented below.
AppHostingDomainServeRedirect, AppHostingDomainServeRedirectArgs
Import
Domain can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/backends/{{backend}}/domains/{{domain_id}}
{{project}}/{{location}}/{{backend}}/{{domain_id}}
{{location}}/{{backend}}/{{domain_id}}
When using the pulumi import
command, Domain can be imported using one of the formats above. For example:
$ pulumi import gcp:firebase/appHostingDomain:AppHostingDomain default projects/{{project}}/locations/{{location}}/backends/{{backend}}/domains/{{domain_id}}
$ pulumi import gcp:firebase/appHostingDomain:AppHostingDomain default {{project}}/{{location}}/{{backend}}/{{domain_id}}
$ pulumi import gcp:firebase/appHostingDomain:AppHostingDomain default {{location}}/{{backend}}/{{domain_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.