import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new CompilationResult in a given project and location. * 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 CompilationResult extends pulumi.CustomResource { /** * Get an existing CompilationResult 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): CompilationResult; /** * Returns true if the given object is an instance of CompilationResult. 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 CompilationResult; /** * Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. */ readonly codeCompilationConfig: pulumi.Output; /** * Errors encountered during project compilation. */ readonly compilationErrors: pulumi.Output; /** * The version of `@dataform/core` that was used for compilation. */ readonly dataformCoreVersion: pulumi.Output; /** * 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: pulumi.Output; readonly location: pulumi.Output; /** * The compilation result's name. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * 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: pulumi.Output; readonly repositoryId: pulumi.Output; /** * The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace. */ readonly resolvedGitCommitSha: pulumi.Output; /** * Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`. */ readonly workspace: pulumi.Output; /** * Create a CompilationResult 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: CompilationResultArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a CompilationResult resource. */ export interface CompilationResultArgs { /** * Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. */ codeCompilationConfig?: pulumi.Input; /** * 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` */ gitCommitish?: pulumi.Input; location?: pulumi.Input; project?: pulumi.Input; /** * 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/*`. */ releaseConfig?: pulumi.Input; repositoryId: pulumi.Input; /** * Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`. */ workspace?: pulumi.Input; }