import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new Release in a given project and location. * 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; /** * Indicates whether this is an abandoned release. */ readonly abandoned: pulumi.Output; /** * User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations. */ readonly annotations: pulumi.Output<{ [key: string]: string; }>; /** * List of artifacts to pass through to Skaffold command. */ readonly buildArtifacts: pulumi.Output; /** * Information around the state of the Release. */ readonly condition: pulumi.Output; /** * Time at which the `Release` was created. */ readonly createTime: pulumi.Output; readonly deliveryPipelineId: pulumi.Output; /** * Snapshot of the parent pipeline taken at release creation time. */ readonly deliveryPipelineSnapshot: pulumi.Output; /** * Optional. The deploy parameters to use for all targets in this release. */ readonly deployParameters: pulumi.Output<{ [key: string]: string; }>; /** * Description of the `Release`. Max length is 255 characters. */ readonly description: pulumi.Output; /** * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ readonly etag: pulumi.Output; /** * Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Optional. Name of the `Release`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/a-z{0,62}`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Required. ID of the `Release`. */ readonly releaseId: pulumi.Output; /** * Time at which the render completed. */ readonly renderEndTime: pulumi.Output; /** * Time at which the render began. */ readonly renderStartTime: pulumi.Output; /** * Current state of the render operation. */ readonly renderState: pulumi.Output; /** * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ readonly requestId: pulumi.Output; /** * Filepath of the Skaffold config inside of the config URI. */ readonly skaffoldConfigPath: pulumi.Output; /** * Cloud Storage URI of tar.gz archive containing Skaffold configuration. */ readonly skaffoldConfigUri: pulumi.Output; /** * The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used. */ readonly skaffoldVersion: pulumi.Output; /** * Map from target ID to the target artifacts created during the render operation. */ readonly targetArtifacts: pulumi.Output<{ [key: string]: string; }>; /** * Map from target ID to details of the render operation for that target. */ readonly targetRenders: pulumi.Output<{ [key: string]: string; }>; /** * Snapshot of the targets taken at release creation time. */ readonly targetSnapshots: pulumi.Output; /** * Unique identifier of the `Release`. */ readonly uid: 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 { /** * User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations. */ annotations?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * List of artifacts to pass through to Skaffold command. */ buildArtifacts?: pulumi.Input[]>; deliveryPipelineId: pulumi.Input; /** * Optional. The deploy parameters to use for all targets in this release. */ deployParameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Description of the `Release`. Max length is 255 characters. */ description?: pulumi.Input; /** * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ etag?: pulumi.Input; /** * Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Optional. Name of the `Release`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/a-z{0,62}`. */ name?: pulumi.Input; project?: pulumi.Input; /** * Required. ID of the `Release`. */ releaseId: pulumi.Input; /** * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: pulumi.Input; /** * Filepath of the Skaffold config inside of the config URI. */ skaffoldConfigPath?: pulumi.Input; /** * Cloud Storage URI of tar.gz archive containing Skaffold configuration. */ skaffoldConfigUri?: pulumi.Input; /** * The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used. */ skaffoldVersion?: pulumi.Input; }