import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Build Run resource in Oracle Cloud Infrastructure Devops service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/devops/latest/BuildRun
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/devops
 *
 * Starts a build pipeline run for a predefined build pipeline. Please ensure the completion of any work request for creation/updation of Build Pipeline before starting a Build Run.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testBuildRun = new oci.devops.BuildRun("test_build_run", {
 *     buildPipelineId: testBuildPipeline.id,
 *     buildRunArguments: {
 *         items: [{
 *             name: buildRunBuildRunArgumentsItemsName,
 *             value: buildRunBuildRunArgumentsItemsValue,
 *         }],
 *     },
 *     commitInfo: {
 *         commitHash: buildRunCommitInfoCommitHash,
 *         repositoryBranch: buildRunCommitInfoRepositoryBranch,
 *         repositoryUrl: buildRunCommitInfoRepositoryUrl,
 *     },
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     displayName: buildRunDisplayName,
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * BuildRuns can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DevOps/buildRun:BuildRun test_build_run "id"
 * ```
 */
export declare class BuildRun extends pulumi.CustomResource {
    /**
     * Get an existing BuildRun 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 state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BuildRunState, opts?: pulumi.CustomResourceOptions): BuildRun;
    /**
     * Returns true if the given object is an instance of BuildRun.  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 BuildRun;
    /**
     * Outputs from the build.
     */
    readonly buildOutputs: pulumi.Output<outputs.DevOps.BuildRunBuildOutput[]>;
    /**
     * The OCID of the build pipeline.
     */
    readonly buildPipelineId: pulumi.Output<string>;
    /**
     * Specifies list of arguments passed along with the build run.
     */
    readonly buildRunArguments: pulumi.Output<outputs.DevOps.BuildRunBuildRunArguments>;
    /**
     * The run progress details of a build run.
     */
    readonly buildRunProgresses: pulumi.Output<outputs.DevOps.BuildRunBuildRunProgress[]>;
    /**
     * The source from which the build run is triggered.
     */
    readonly buildRunSources: pulumi.Output<outputs.DevOps.BuildRunBuildRunSource[]>;
    /**
     * Commit details that need to be used for the build run.
     */
    readonly commitInfo: pulumi.Output<outputs.DevOps.BuildRunCommitInfo>;
    /**
     * The OCID of the compartment where the build is running.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}`
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The OCID of the DevOps project.
     */
    readonly projectId: pulumi.Output<string>;
    /**
     * The current state of the build run.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The time the build run was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339).
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The time the build run was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339).
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a BuildRun 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: BuildRunArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering BuildRun resources.
 */
export interface BuildRunState {
    /**
     * Outputs from the build.
     */
    buildOutputs?: pulumi.Input<pulumi.Input<inputs.DevOps.BuildRunBuildOutput>[] | undefined>;
    /**
     * The OCID of the build pipeline.
     */
    buildPipelineId?: pulumi.Input<string | undefined>;
    /**
     * Specifies list of arguments passed along with the build run.
     */
    buildRunArguments?: pulumi.Input<inputs.DevOps.BuildRunBuildRunArguments | undefined>;
    /**
     * The run progress details of a build run.
     */
    buildRunProgresses?: pulumi.Input<pulumi.Input<inputs.DevOps.BuildRunBuildRunProgress>[] | undefined>;
    /**
     * The source from which the build run is triggered.
     */
    buildRunSources?: pulumi.Input<pulumi.Input<inputs.DevOps.BuildRunBuildRunSource>[] | undefined>;
    /**
     * Commit details that need to be used for the build run.
     */
    commitInfo?: pulumi.Input<inputs.DevOps.BuildRunCommitInfo | undefined>;
    /**
     * The OCID of the compartment where the build is running.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}`
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the DevOps project.
     */
    projectId?: pulumi.Input<string | undefined>;
    /**
     * The current state of the build run.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The time the build run was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339).
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The time the build run was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339).
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a BuildRun resource.
 */
export interface BuildRunArgs {
    /**
     * The OCID of the build pipeline.
     */
    buildPipelineId: pulumi.Input<string>;
    /**
     * Specifies list of arguments passed along with the build run.
     */
    buildRunArguments?: pulumi.Input<inputs.DevOps.BuildRunBuildRunArguments | undefined>;
    /**
     * Commit details that need to be used for the build run.
     */
    commitInfo?: pulumi.Input<inputs.DevOps.BuildRunCommitInfo | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}`
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
}
//# sourceMappingURL=buildRun.d.ts.map