import * as pulumi from "@pulumi/pulumi"; import { input as inputs } from "../../types"; /** * Creates a new version for the specified site. */ export declare class SiteVersion extends pulumi.CustomResource { /** * Get an existing SiteVersion 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): SiteVersion; /** * Returns true if the given object is an instance of SiteVersion. 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 SiteVersion; /** * Create a SiteVersion 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: SiteVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a SiteVersion resource. */ export interface SiteVersionArgs { /** * The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file. */ readonly config?: pulumi.Input; /** * The time at which the version was created. */ readonly createTime?: pulumi.Input; /** * Identifies the user who created the version. */ readonly createUser?: pulumi.Input; /** * The time at which the version was `DELETED`. */ readonly deleteTime?: pulumi.Input; /** * Identifies the user who `DELETED` the version. */ readonly deleteUser?: pulumi.Input; /** * The total number of files associated with the version. This value is calculated after a version is `FINALIZED`. */ readonly fileCount?: pulumi.Input; /** * The time at which the version was `FINALIZED`. */ readonly finalizeTime?: pulumi.Input; /** * Identifies the user who `FINALIZED` the version. */ readonly finalizeUser?: pulumi.Input; /** * The labels used for extra metadata and/or filtering. */ readonly labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call [`CreateVersion`](sites.versions/create). */ readonly name?: pulumi.Input; /** * Deprecated in favor of [site channels](sites.channels). */ readonly preview?: pulumi.Input; readonly sitesId: pulumi.Input; /** * The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete). */ readonly status?: pulumi.Input; /** * The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`. */ readonly versionBytes?: pulumi.Input; readonly versionsId: pulumi.Input; }