import * as pulumi from "@pulumi/pulumi"; /** * Creates a new Hosting Site in the specified parent Firebase project. Note that Hosting sites can take several minutes to propagate through Firebase systems. * Auto-naming is currently not supported for this resource. */ export declare class Site extends pulumi.CustomResource { /** * Get an existing Site 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): Site; /** * Returns true if the given object is an instance of Site. 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 Site; /** * Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site. */ readonly appId: pulumi.Output; /** * The default URL for the Hosting site. */ readonly defaultUrl: pulumi.Output; /** * Optional. User-specified labels for the Hosting site. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510). */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label. */ readonly siteId: pulumi.Output; /** * The type of Hosting site. Every Firebase project has a `DEFAULT_SITE`, which is created when Hosting is provisioned for the project. All additional sites are `USER_SITE`. */ readonly type: pulumi.Output; /** * Create a Site 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: SiteArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Site resource. */ export interface SiteArgs { /** * Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site. */ appId?: pulumi.Input; /** * Optional. User-specified labels for the Hosting site. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; project?: pulumi.Input; /** * Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label. */ siteId: pulumi.Input; }