import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Fetches a single CompilationResult. */ export declare function getCompilationResult(args: GetCompilationResultArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetCompilationResultArgs { compilationResultId: string; location: string; project?: string; repositoryId: string; } export interface GetCompilationResultResult { /** * Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. */ readonly codeCompilationConfig: outputs.dataform.v1beta1.CodeCompilationConfigResponse; /** * Errors encountered during project compilation. */ readonly compilationErrors: outputs.dataform.v1beta1.CompilationErrorResponse[]; /** * The version of `@dataform/core` that was used for compilation. */ readonly dataformCoreVersion: string; /** * Immutable. 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 compilation result's name. */ readonly name: string; /** * Immutable. The name of the release config to compile. The release config's 'current_compilation_result' field will be updated to this compilation result. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`. */ readonly releaseConfig: string; /** * The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace. */ readonly resolvedGitCommitSha: string; /** * Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`. */ readonly workspace: string; } /** * Fetches a single CompilationResult. */ export declare function getCompilationResultOutput(args: GetCompilationResultOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetCompilationResultOutputArgs { compilationResultId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; repositoryId: pulumi.Input; }