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 Pipeline Stages in Oracle Cloud Infrastructure Devops service. * * Returns a list of all stages in a compartment or build pipeline. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBuildPipelineStages = oci.devops.getBuildPipelineStages({ * buildPipelineId: testBuildPipeline.id, * compartmentId: compartmentId, * displayName: buildPipelineStageDisplayName, * id: buildPipelineStageId, * state: buildPipelineStageState, * }); * ``` */ export declare function getBuildPipelineStages(args?: GetBuildPipelineStagesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBuildPipelineStages. */ export interface GetBuildPipelineStagesArgs { /** * The OCID of the parent build pipeline. */ 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.GetBuildPipelineStagesFilter[]; /** * Unique identifier or OCID for listing a single resource by ID. */ id?: string; /** * A filter to return the stages that matches the given lifecycle state. */ state?: string; } /** * A collection of values returned by getBuildPipelineStages. */ export interface GetBuildPipelineStagesResult { /** * The OCID of the build pipeline. */ readonly buildPipelineId?: string; /** * The list of build_pipeline_stage_collection. */ readonly buildPipelineStageCollections: outputs.DevOps.GetBuildPipelineStagesBuildPipelineStageCollection[]; /** * The OCID of the compartment where the pipeline is created. */ readonly compartmentId?: string; /** * Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.DevOps.GetBuildPipelineStagesFilter[]; /** * Unique identifier that is immutable on creation. */ readonly id?: string; /** * The current state of the stage. */ readonly state?: string; } /** * This data source provides the list of Build Pipeline Stages in Oracle Cloud Infrastructure Devops service. * * Returns a list of all stages in a compartment or build pipeline. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBuildPipelineStages = oci.devops.getBuildPipelineStages({ * buildPipelineId: testBuildPipeline.id, * compartmentId: compartmentId, * displayName: buildPipelineStageDisplayName, * id: buildPipelineStageId, * state: buildPipelineStageState, * }); * ``` */ export declare function getBuildPipelineStagesOutput(args?: GetBuildPipelineStagesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBuildPipelineStages. */ export interface GetBuildPipelineStagesOutputArgs { /** * The OCID of the parent build pipeline. */ buildPipelineId?: pulumi.Input; /** * The OCID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique identifier or OCID for listing a single resource by ID. */ id?: pulumi.Input; /** * A filter to return the stages that matches the given lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getBuildPipelineStages.d.ts.map