import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a `CustomDomain`. * Auto-naming is currently not supported for this resource. */ export declare class CustomDomain extends pulumi.CustomResource { /** * Get an existing CustomDomain resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CustomDomain; /** * Returns true if the given object is an instance of CustomDomain. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CustomDomain; /** * Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`. */ readonly annotations: pulumi.Output<{ [key: string]: string; }>; /** * The SSL certificate Hosting has for this custom domain's domain name. For new custom domains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the `state` field for more. */ readonly cert: pulumi.Output; /** * A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the `GROUPED` cert type, while Blaze plan domains can select any option. */ readonly certPreference: pulumi.Output; /** * The custom domain's create time. */ readonly createTime: pulumi.Output; /** * Required. The ID of the `CustomDomain`, which is the domain name you'd like to use with Firebase Hosting. */ readonly customDomainId: pulumi.Output; /** * The time the `CustomDomain` was deleted; null for custom domains that haven't been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make an `UndeleteCustomDomain` request. */ readonly deleteTime: pulumi.Output; /** * A string that represents the current state of the `CustomDomain` and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when making `UpdateCustomDomain`, `DeleteCustomDomain`, and `UndeleteCustomDomain` requests. */ readonly etag: pulumi.Output; /** * The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for custom domains that haven't been deleted. */ readonly expireTime: pulumi.Output; /** * The `HostState` of the domain name this `CustomDomain` refers to. */ readonly hostState: pulumi.Output; /** * A set of errors Hosting systems encountered when trying to establish Hosting's ability to serve secure content for your domain name. Resolve these issues to ensure your `CustomDomain` behaves properly. */ readonly issues: pulumi.Output; /** * Labels used for extra metadata and/or filtering. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * The fully-qualified name of the `CustomDomain`. */ readonly name: pulumi.Output; /** * The `OwnershipState` of the domain name this `CustomDomain` refers to. */ readonly ownershipState: pulumi.Output; readonly project: pulumi.Output; /** * A field that, if true, indicates that Hosting's systems are attmepting to make the custom domain's state match your preferred state. This is most frequently `true` when initially provisioning a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request. */ readonly reconciling: pulumi.Output; /** * A domain name that this `CustomDomain` should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specified `redirect_target` instead. */ readonly redirectTarget: pulumi.Output; /** * A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. */ readonly requiredDnsUpdates: pulumi.Output; readonly siteId: pulumi.Output; /** * The last time the `CustomDomain` was updated. */ readonly updateTime: pulumi.Output; /** * Create a CustomDomain resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CustomDomainArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a CustomDomain resource. */ export interface CustomDomainArgs { /** * Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`. */ annotations?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the `GROUPED` cert type, while Blaze plan domains can select any option. */ certPreference?: pulumi.Input; /** * Required. The ID of the `CustomDomain`, which is the domain name you'd like to use with Firebase Hosting. */ customDomainId: pulumi.Input; /** * Labels used for extra metadata and/or filtering. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; project?: pulumi.Input; /** * A domain name that this `CustomDomain` should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specified `redirect_target` instead. */ redirectTarget?: pulumi.Input; siteId: pulumi.Input; }