import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This data source provides the list of Build Runs in Oracle Cloud Infrastructure Devops service.
 *
 * Returns a list of build run summary.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testBuildRuns = oci.devops.getBuildRuns({
 *     buildPipelineId: testBuildPipeline.id,
 *     compartmentId: compartmentId,
 *     displayName: buildRunDisplayName,
 *     id: buildRunId,
 *     projectId: testProject.id,
 *     state: buildRunState,
 * });
 * ```
 */
export declare function getBuildRuns(args?: GetBuildRunsArgs, opts?: pulumi.InvokeOptions): Promise<GetBuildRunsResult>;
/**
 * A collection of arguments for invoking getBuildRuns.
 */
export interface GetBuildRunsArgs {
    /**
     * Unique build pipeline identifier.
     */
    buildPipelineId?: string;
    /**
     * The OCID of the compartment in which to list resources.
     */
    compartmentId?: string;
    /**
     * A filter to return only resources that match the entire display name given.
     */
    displayName?: string;
    filters?: inputs.DevOps.GetBuildRunsFilter[];
    /**
     * Unique identifier or OCID for listing a single resource by ID.
     */
    id?: string;
    /**
     * unique project identifier
     */
    projectId?: string;
    /**
     * A filter to return only build runs that matches the given lifecycle state.
     */
    state?: string;
}
/**
 * A collection of values returned by getBuildRuns.
 */
export interface GetBuildRunsResult {
    /**
     * The OCID of the build pipeline to be triggered.
     */
    readonly buildPipelineId?: string;
    /**
     * The list of build_run_summary_collection.
     */
    readonly buildRunSummaryCollections: outputs.DevOps.GetBuildRunsBuildRunSummaryCollection[];
    /**
     * The OCID of the compartment where the build is running.
     */
    readonly compartmentId?: string;
    /**
     * Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
     */
    readonly displayName?: string;
    readonly filters?: outputs.DevOps.GetBuildRunsFilter[];
    /**
     * Unique identifier that is immutable on creation.
     */
    readonly id?: string;
    /**
     * The OCID of the DevOps project.
     */
    readonly projectId?: string;
    /**
     * The current state of the build run.
     */
    readonly state?: string;
}
/**
 * This data source provides the list of Build Runs in Oracle Cloud Infrastructure Devops service.
 *
 * Returns a list of build run summary.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testBuildRuns = oci.devops.getBuildRuns({
 *     buildPipelineId: testBuildPipeline.id,
 *     compartmentId: compartmentId,
 *     displayName: buildRunDisplayName,
 *     id: buildRunId,
 *     projectId: testProject.id,
 *     state: buildRunState,
 * });
 * ```
 */
export declare function getBuildRunsOutput(args?: GetBuildRunsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBuildRunsResult>;
/**
 * A collection of arguments for invoking getBuildRuns.
 */
export interface GetBuildRunsOutputArgs {
    /**
     * Unique build pipeline identifier.
     */
    buildPipelineId?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the compartment in which to list resources.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * A filter to return only resources that match the entire display name given.
     */
    displayName?: pulumi.Input<string | undefined>;
    filters?: pulumi.Input<pulumi.Input<inputs.DevOps.GetBuildRunsFilterArgs>[] | undefined>;
    /**
     * Unique identifier or OCID for listing a single resource by ID.
     */
    id?: pulumi.Input<string | undefined>;
    /**
     * unique project identifier
     */
    projectId?: pulumi.Input<string | undefined>;
    /**
     * A filter to return only build runs that matches the given lifecycle state.
     */
    state?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getBuildRuns.d.ts.map