import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets the specified release for a site or channel. When used to get a release for a site, this can get releases for both the default `live` channel and any active preview channels for the specified site. */ export declare function getRelease(args: GetReleaseArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetReleaseArgs { channelId: string; project?: string; releaseId: string; siteId: string; } export interface GetReleaseResult { /** * The deploy description when the release was created. The value can be up to 512 characters. */ readonly message: string; /** * The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call [`releases.create`](sites.releases/create) or [`channels.releases.create`](sites.channels.releases/create). */ readonly name: string; /** * The time at which the version is set to be public. */ readonly releaseTime: string; /** * Identifies the user who created the release. */ readonly releaseUser: outputs.firebasehosting.v1beta1.ActingUserResponse; /** * Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release. */ readonly type: string; /** * The configuration and content that was released. */ readonly version: outputs.firebasehosting.v1beta1.VersionResponse; } /** * Gets the specified release for a site or channel. When used to get a release for a site, this can get releases for both the default `live` channel and any active preview channels for the specified site. */ export declare function getReleaseOutput(args: GetReleaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetReleaseOutputArgs { channelId: pulumi.Input; project?: pulumi.Input; releaseId: pulumi.Input; siteId: pulumi.Input; }