UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

63 lines (62 loc) 1.89 kB
import * as pulumi from "@pulumi/pulumi"; /** * A Google Cloud Firebase Hosting Channel instance */ export declare function getHostingChannel(args: GetHostingChannelArgs, opts?: pulumi.InvokeOptions): Promise<GetHostingChannelResult>; /** * A collection of arguments for invoking getHostingChannel. */ export interface GetHostingChannelArgs { /** * The ID of the channel. Use `channelId = "live"` for the default channel of a site. */ channelId: string; /** * The ID of the site this channel belongs to. */ siteId: string; } /** * A collection of values returned by getHostingChannel. */ export interface GetHostingChannelResult { readonly channelId: string; readonly effectiveLabels: { [key: string]: string; }; readonly expireTime: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly labels: { [key: string]: string; }; /** * The fully-qualified resource name for the channel, in the format: `sites/{{site_id}}/channels/{{channel_id}}`. */ readonly name: string; readonly pulumiLabels: { [key: string]: string; }; readonly retainedReleaseCount: number; readonly siteId: string; readonly ttl: string; } /** * A Google Cloud Firebase Hosting Channel instance */ export declare function getHostingChannelOutput(args: GetHostingChannelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHostingChannelResult>; /** * A collection of arguments for invoking getHostingChannel. */ export interface GetHostingChannelOutputArgs { /** * The ID of the channel. Use `channelId = "live"` for the default channel of a site. */ channelId: pulumi.Input<string>; /** * The ID of the site this channel belongs to. */ siteId: pulumi.Input<string>; }