import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../../types"; /** * Creates a new channel in the specified site. */ export declare class SiteChannel extends pulumi.CustomResource { /** * Get an existing SiteChannel 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): SiteChannel; /** * Returns true if the given object is an instance of SiteChannel. 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 SiteChannel; /** * The time at which the channel was created. */ readonly createTime: pulumi.Output; /** * The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the `ttl` field. */ readonly expireTime: pulumi.Output; /** * Text labels used for extra metadata and/or filtering. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID */ readonly name: pulumi.Output; /** * The current release for the channel, if any. */ readonly release: pulumi.Output; /** * The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels. */ readonly retainedReleaseCount: pulumi.Output; /** * Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request. */ readonly ttl: pulumi.Output; /** * The time at which the channel was last updated. */ readonly updateTime: pulumi.Output; /** * The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of `web.app`. The content of this channel's current release can also be viewed at the Firebase-provided subdomain of `firebaseapp.com`. If this channel is the `live` channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains. */ readonly url: pulumi.Output; /** * Create a SiteChannel 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: SiteChannelArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a SiteChannel resource. */ export interface SiteChannelArgs { readonly channelsId: pulumi.Input; /** * The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the `ttl` field. */ readonly expireTime?: pulumi.Input; /** * Text labels used for extra metadata and/or filtering. */ readonly labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID */ readonly name?: pulumi.Input; /** * The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels. */ readonly retainedReleaseCount?: pulumi.Input; readonly sitesId: pulumi.Input; /** * Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request. */ readonly ttl?: pulumi.Input; }