import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Build Pipeline Stage resource in Oracle Cloud Infrastructure Devops service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/devops/latest/BuildPipelineStage
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/devops
 *
 * Creates a new stage.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testBuildPipelineStage = new oci.devops.BuildPipelineStage("test_build_pipeline_stage", {
 *     buildPipelineId: testBuildPipeline.id,
 *     buildPipelineStagePredecessorCollection: {
 *         items: [{
 *             id: buildPipelineStageBuildPipelineStagePredecessorCollectionItemsId,
 *         }],
 *     },
 *     buildPipelineStageType: buildPipelineStageBuildPipelineStageType,
 *     buildRunnerShapeConfig: {
 *         buildRunnerType: buildPipelineStageBuildRunnerShapeConfigBuildRunnerType,
 *         memoryInGbs: Number(buildPipelineStageBuildRunnerShapeConfigMemoryInGbs),
 *         ocpus: Number(buildPipelineStageBuildRunnerShapeConfigOcpus),
 *     },
 *     buildSourceCollection: {
 *         items: [{
 *             connectionType: buildPipelineStageBuildSourceCollectionItemsConnectionType,
 *             branch: buildPipelineStageBuildSourceCollectionItemsBranch,
 *             connectionId: testConnection.id,
 *             name: buildPipelineStageBuildSourceCollectionItemsName,
 *             repositoryId: testRepository.id,
 *             repositoryUrl: buildPipelineStageBuildSourceCollectionItemsRepositoryUrl,
 *         }],
 *     },
 *     buildSpecFile: buildPipelineStageBuildSpecFile,
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     deliverArtifactCollection: {
 *         items: [{
 *             artifactId: testArtifact.id,
 *             artifactName: buildPipelineStageDeliverArtifactCollectionItemsArtifactName,
 *         }],
 *     },
 *     deployPipelineId: testDeployPipeline.id,
 *     description: buildPipelineStageDescription,
 *     displayName: buildPipelineStageDisplayName,
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 *     image: buildPipelineStageImage,
 *     isPassAllParametersEnabled: buildPipelineStageIsPassAllParametersEnabled === "true",
 *     primaryBuildSource: buildPipelineStagePrimaryBuildSource,
 *     privateAccessConfig: {
 *         networkChannelType: buildPipelineStagePrivateAccessConfigNetworkChannelType,
 *         subnetId: testSubnet.id,
 *         nsgIds: buildPipelineStagePrivateAccessConfigNsgIds,
 *     },
 *     stageExecutionTimeoutInSeconds: Number(buildPipelineStageStageExecutionTimeoutInSeconds),
 *     waitCriteria: {
 *         waitDuration: buildPipelineStageWaitCriteriaWaitDuration,
 *         waitType: buildPipelineStageWaitCriteriaWaitType,
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * BuildPipelineStages can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DevOps/buildPipelineStage:BuildPipelineStage test_build_pipeline_stage "id"
 * ```
 */
export declare class BuildPipelineStage extends pulumi.CustomResource {
    /**
     * Get an existing BuildPipelineStage 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?: BuildPipelineStageState, opts?: pulumi.CustomResourceOptions): BuildPipelineStage;
    /**
     * Returns true if the given object is an instance of BuildPipelineStage.  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 BuildPipelineStage;
    /**
     * The OCID of the build pipeline.
     */
    readonly buildPipelineId: pulumi.Output<string>;
    /**
     * (Updatable) The collection containing the predecessors of a stage.
     */
    readonly buildPipelineStagePredecessorCollection: pulumi.Output<outputs.DevOps.BuildPipelineStageBuildPipelineStagePredecessorCollection>;
    /**
     * (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
     */
    readonly buildPipelineStageType: pulumi.Output<string>;
    /**
     * (Updatable) The information about build runner.
     */
    readonly buildRunnerShapeConfig: pulumi.Output<outputs.DevOps.BuildPipelineStageBuildRunnerShapeConfig>;
    /**
     * (Updatable) Collection of build sources.
     */
    readonly buildSourceCollection: pulumi.Output<outputs.DevOps.BuildPipelineStageBuildSourceCollection>;
    /**
     * (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
     */
    readonly buildSpecFile: pulumi.Output<string>;
    /**
     * The OCID of the compartment where the pipeline is created.
     */
    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) Specifies an array of artifacts that need to be pushed to the artifactory stores.
     */
    readonly deliverArtifactCollection: pulumi.Output<outputs.DevOps.BuildPipelineStageDeliverArtifactCollection>;
    /**
     * (Updatable) A target deployment pipeline OCID that will run in this stage.
     */
    readonly deployPipelineId: pulumi.Output<string>;
    /**
     * (Updatable) Optional description about the stage.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) Stage 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"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) Image name for the build environment
     */
    readonly image: pulumi.Output<string>;
    /**
     * (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
     */
    readonly isPassAllParametersEnabled: pulumi.Output<boolean>;
    /**
     * 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>;
    /**
     * (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
     */
    readonly primaryBuildSource: pulumi.Output<string>;
    /**
     * (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
     */
    readonly privateAccessConfig: pulumi.Output<outputs.DevOps.BuildPipelineStagePrivateAccessConfig>;
    /**
     * The OCID of the DevOps project.
     */
    readonly projectId: pulumi.Output<string>;
    /**
     * (Updatable) Timeout for the build stage execution. Specify value in seconds.
     */
    readonly stageExecutionTimeoutInSeconds: pulumi.Output<number>;
    /**
     * The current state of the stage.
     */
    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 stage was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339).
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The time the stage was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339).
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * (Updatable) Specifies wait criteria for the Wait stage.
     */
    readonly waitCriteria: pulumi.Output<outputs.DevOps.BuildPipelineStageWaitCriteria>;
    /**
     * Create a BuildPipelineStage 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: BuildPipelineStageArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering BuildPipelineStage resources.
 */
export interface BuildPipelineStageState {
    /**
     * The OCID of the build pipeline.
     */
    buildPipelineId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The collection containing the predecessors of a stage.
     */
    buildPipelineStagePredecessorCollection?: pulumi.Input<inputs.DevOps.BuildPipelineStageBuildPipelineStagePredecessorCollection | undefined>;
    /**
     * (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
     */
    buildPipelineStageType?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The information about build runner.
     */
    buildRunnerShapeConfig?: pulumi.Input<inputs.DevOps.BuildPipelineStageBuildRunnerShapeConfig | undefined>;
    /**
     * (Updatable) Collection of build sources.
     */
    buildSourceCollection?: pulumi.Input<inputs.DevOps.BuildPipelineStageBuildSourceCollection | undefined>;
    /**
     * (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
     */
    buildSpecFile?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the compartment where the pipeline is created.
     */
    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) Specifies an array of artifacts that need to be pushed to the artifactory stores.
     */
    deliverArtifactCollection?: pulumi.Input<inputs.DevOps.BuildPipelineStageDeliverArtifactCollection | undefined>;
    /**
     * (Updatable) A target deployment pipeline OCID that will run in this stage.
     */
    deployPipelineId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Optional description about the stage.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Stage 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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Image name for the build environment
     */
    image?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
     */
    isPassAllParametersEnabled?: pulumi.Input<boolean | 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>;
    /**
     * (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
     */
    primaryBuildSource?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
     */
    privateAccessConfig?: pulumi.Input<inputs.DevOps.BuildPipelineStagePrivateAccessConfig | undefined>;
    /**
     * The OCID of the DevOps project.
     */
    projectId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Timeout for the build stage execution. Specify value in seconds.
     */
    stageExecutionTimeoutInSeconds?: pulumi.Input<number | undefined>;
    /**
     * The current state of the stage.
     */
    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 stage was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339).
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The time the stage was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339).
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Specifies wait criteria for the Wait stage.
     */
    waitCriteria?: pulumi.Input<inputs.DevOps.BuildPipelineStageWaitCriteria | undefined>;
}
/**
 * The set of arguments for constructing a BuildPipelineStage resource.
 */
export interface BuildPipelineStageArgs {
    /**
     * The OCID of the build pipeline.
     */
    buildPipelineId: pulumi.Input<string>;
    /**
     * (Updatable) The collection containing the predecessors of a stage.
     */
    buildPipelineStagePredecessorCollection: pulumi.Input<inputs.DevOps.BuildPipelineStageBuildPipelineStagePredecessorCollection>;
    /**
     * (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
     */
    buildPipelineStageType: pulumi.Input<string>;
    /**
     * (Updatable) The information about build runner.
     */
    buildRunnerShapeConfig?: pulumi.Input<inputs.DevOps.BuildPipelineStageBuildRunnerShapeConfig | undefined>;
    /**
     * (Updatable) Collection of build sources.
     */
    buildSourceCollection?: pulumi.Input<inputs.DevOps.BuildPipelineStageBuildSourceCollection | undefined>;
    /**
     * (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
     */
    buildSpecFile?: 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) Specifies an array of artifacts that need to be pushed to the artifactory stores.
     */
    deliverArtifactCollection?: pulumi.Input<inputs.DevOps.BuildPipelineStageDeliverArtifactCollection | undefined>;
    /**
     * (Updatable) A target deployment pipeline OCID that will run in this stage.
     */
    deployPipelineId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Optional description about the stage.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Stage 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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Image name for the build environment
     */
    image?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
     */
    isPassAllParametersEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
     */
    primaryBuildSource?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
     */
    privateAccessConfig?: pulumi.Input<inputs.DevOps.BuildPipelineStagePrivateAccessConfig | undefined>;
    /**
     * (Updatable) Timeout for the build stage execution. Specify value in seconds.
     */
    stageExecutionTimeoutInSeconds?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Specifies wait criteria for the Wait stage.
     */
    waitCriteria?: pulumi.Input<inputs.DevOps.BuildPipelineStageWaitCriteria | undefined>;
}
//# sourceMappingURL=buildPipelineStage.d.ts.map