import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Creates a new channel in the specified site. */ export declare class Channel extends pulumi.CustomResource { /** * Get an existing Channel 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): Channel; /** * Returns true if the given object is an instance of Channel. 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 Channel; /** * Required. Immutable. A unique ID within the site that identifies the channel. */ readonly channelId: pulumi.Output; /** * 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; readonly project: 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; readonly siteId: 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 Channel 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: ChannelArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Channel resource. */ export interface ChannelArgs { /** * Required. Immutable. A unique ID within the site that identifies the channel. */ channelId: 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. */ expireTime?: pulumi.Input; /** * Text labels used for extra metadata and/or filtering. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID */ name?: pulumi.Input; project?: 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. */ retainedReleaseCount?: pulumi.Input; siteId: pulumi.Input; /** * Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request. */ ttl?: pulumi.Input; }