import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new ReleaseConfig in a given Repository. * Auto-naming is currently not supported for this resource. */ export declare class ReleaseConfig extends pulumi.CustomResource { /** * Get an existing ReleaseConfig 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): ReleaseConfig; /** * Returns true if the given object is an instance of ReleaseConfig. 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 ReleaseConfig; /** * Optional. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. */ readonly codeCompilationConfig: pulumi.Output; /** * Optional. Optional schedule (in cron format) for automatic creation of compilation results. */ readonly cronSchedule: pulumi.Output; /** * Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1` */ readonly gitCommitish: pulumi.Output; readonly location: pulumi.Output; /** * The release config's name. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Records of the 10 most recent scheduled release attempts, ordered in in descending order of `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule. */ readonly recentScheduledReleaseRecords: pulumi.Output; /** * Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is created from this release config, or when this resource is updated by API call (perhaps to roll back to an earlier release). The compilation result must have been created using this release config. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. */ readonly releaseCompilationResult: pulumi.Output; /** * Required. The ID to use for the release config, which will become the final component of the release config's resource name. */ readonly releaseConfigId: pulumi.Output; readonly repositoryId: pulumi.Output; /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC. */ readonly timeZone: pulumi.Output; /** * Create a ReleaseConfig 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: ReleaseConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ReleaseConfig resource. */ export interface ReleaseConfigArgs { /** * Optional. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. */ codeCompilationConfig?: pulumi.Input; /** * Optional. Optional schedule (in cron format) for automatic creation of compilation results. */ cronSchedule?: pulumi.Input; /** * Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1` */ gitCommitish: pulumi.Input; location?: pulumi.Input; project?: pulumi.Input; /** * Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is created from this release config, or when this resource is updated by API call (perhaps to roll back to an earlier release). The compilation result must have been created using this release config. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. */ releaseCompilationResult?: pulumi.Input; /** * Required. The ID to use for the release config, which will become the final component of the release config's resource name. */ releaseConfigId: pulumi.Input; repositoryId: pulumi.Input; /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC. */ timeZone?: pulumi.Input; }