import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Fetches a single ReleaseConfig. */ export declare function getReleaseConfig(args: GetReleaseConfigArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetReleaseConfigArgs { location: string; project?: string; releaseConfigId: string; repositoryId: string; } export interface GetReleaseConfigResult { /** * Optional. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. */ readonly codeCompilationConfig: outputs.dataform.v1beta1.CodeCompilationConfigResponse; /** * Optional. Optional schedule (in cron format) for automatic creation of compilation results. */ readonly cronSchedule: string; /** * 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: string; /** * The release config's name. */ readonly name: string; /** * 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: outputs.dataform.v1beta1.ScheduledReleaseRecordResponse[]; /** * 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: string; /** * 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: string; } /** * Fetches a single ReleaseConfig. */ export declare function getReleaseConfigOutput(args: GetReleaseConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetReleaseConfigOutputArgs { location: pulumi.Input; project?: pulumi.Input; releaseConfigId: pulumi.Input; repositoryId: pulumi.Input; }