import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s). * Auto-naming is currently not supported for this resource. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class Release extends pulumi.CustomResource { /** * Get an existing Release 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): Release; /** * Returns true if the given object is an instance of Release. 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 Release; readonly channelId: pulumi.Output; /** * The deploy description when the release was created. The value can be up to 512 characters. */ readonly message: pulumi.Output; /** * 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: pulumi.Output; readonly project: pulumi.Output; /** * The time at which the version is set to be public. */ readonly releaseTime: pulumi.Output; /** * Identifies the user who created the release. */ readonly releaseUser: pulumi.Output; readonly siteId: pulumi.Output; /** * Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release. */ readonly type: pulumi.Output; /** * The configuration and content that was released. */ readonly version: pulumi.Output; /** * The unique identifier for a version, in the format: sites/SITE_ID/versions/ VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in the `parent` parameter. This query parameter must be empty if the `type` field in the request body is `SITE_DISABLE`. */ readonly versionName: pulumi.Output; /** * Create a Release 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: ReleaseArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Release resource. */ export interface ReleaseArgs { channelId: pulumi.Input; /** * The deploy description when the release was created. The value can be up to 512 characters. */ message?: pulumi.Input; project?: pulumi.Input; siteId: pulumi.Input; /** * Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release. */ type?: pulumi.Input; /** * The unique identifier for a version, in the format: sites/SITE_ID/versions/ VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in the `parent` parameter. This query parameter must be empty if the `type` field in the request body is `SITE_DISABLE`. */ versionName?: pulumi.Input; }