Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DevOps.getBuildPipelineStages
Explore with Pulumi AI
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
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,
});
import pulumi
import pulumi_oci as oci
test_build_pipeline_stages = oci.DevOps.get_build_pipeline_stages(build_pipeline_id=test_build_pipeline["id"],
    compartment_id=compartment_id,
    display_name=build_pipeline_stage_display_name,
    id=build_pipeline_stage_id,
    state=build_pipeline_stage_state)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/devops"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devops.GetBuildPipelineStages(ctx, &devops.GetBuildPipelineStagesArgs{
			BuildPipelineId: pulumi.StringRef(testBuildPipeline.Id),
			CompartmentId:   pulumi.StringRef(compartmentId),
			DisplayName:     pulumi.StringRef(buildPipelineStageDisplayName),
			Id:              pulumi.StringRef(buildPipelineStageId),
			State:           pulumi.StringRef(buildPipelineStageState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testBuildPipelineStages = Oci.DevOps.GetBuildPipelineStages.Invoke(new()
    {
        BuildPipelineId = testBuildPipeline.Id,
        CompartmentId = compartmentId,
        DisplayName = buildPipelineStageDisplayName,
        Id = buildPipelineStageId,
        State = buildPipelineStageState,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DevOps.DevOpsFunctions;
import com.pulumi.oci.DevOps.inputs.GetBuildPipelineStagesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testBuildPipelineStages = DevOpsFunctions.getBuildPipelineStages(GetBuildPipelineStagesArgs.builder()
            .buildPipelineId(testBuildPipeline.id())
            .compartmentId(compartmentId)
            .displayName(buildPipelineStageDisplayName)
            .id(buildPipelineStageId)
            .state(buildPipelineStageState)
            .build());
    }
}
variables:
  testBuildPipelineStages:
    fn::invoke:
      function: oci:DevOps:getBuildPipelineStages
      arguments:
        buildPipelineId: ${testBuildPipeline.id}
        compartmentId: ${compartmentId}
        displayName: ${buildPipelineStageDisplayName}
        id: ${buildPipelineStageId}
        state: ${buildPipelineStageState}
Using getBuildPipelineStages
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBuildPipelineStages(args: GetBuildPipelineStagesArgs, opts?: InvokeOptions): Promise<GetBuildPipelineStagesResult>
function getBuildPipelineStagesOutput(args: GetBuildPipelineStagesOutputArgs, opts?: InvokeOptions): Output<GetBuildPipelineStagesResult>def get_build_pipeline_stages(build_pipeline_id: Optional[str] = None,
                              compartment_id: Optional[str] = None,
                              display_name: Optional[str] = None,
                              filters: Optional[Sequence[GetBuildPipelineStagesFilter]] = None,
                              id: Optional[str] = None,
                              state: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetBuildPipelineStagesResult
def get_build_pipeline_stages_output(build_pipeline_id: Optional[pulumi.Input[str]] = None,
                              compartment_id: Optional[pulumi.Input[str]] = None,
                              display_name: Optional[pulumi.Input[str]] = None,
                              filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetBuildPipelineStagesFilterArgs]]]] = None,
                              id: Optional[pulumi.Input[str]] = None,
                              state: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetBuildPipelineStagesResult]func GetBuildPipelineStages(ctx *Context, args *GetBuildPipelineStagesArgs, opts ...InvokeOption) (*GetBuildPipelineStagesResult, error)
func GetBuildPipelineStagesOutput(ctx *Context, args *GetBuildPipelineStagesOutputArgs, opts ...InvokeOption) GetBuildPipelineStagesResultOutput> Note: This function is named GetBuildPipelineStages in the Go SDK.
public static class GetBuildPipelineStages 
{
    public static Task<GetBuildPipelineStagesResult> InvokeAsync(GetBuildPipelineStagesArgs args, InvokeOptions? opts = null)
    public static Output<GetBuildPipelineStagesResult> Invoke(GetBuildPipelineStagesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBuildPipelineStagesResult> getBuildPipelineStages(GetBuildPipelineStagesArgs args, InvokeOptions options)
public static Output<GetBuildPipelineStagesResult> getBuildPipelineStages(GetBuildPipelineStagesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DevOps/getBuildPipelineStages:getBuildPipelineStages
  arguments:
    # arguments dictionaryThe following arguments are supported:
- BuildPipeline stringId 
- The OCID of the parent build pipeline.
- CompartmentId string
- The OCID of the compartment in which to list resources.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
List<GetBuild Pipeline Stages Filter> 
- Id string
- Unique identifier or OCID for listing a single resource by ID.
- State string
- A filter to return the stages that matches the given lifecycle state.
- BuildPipeline stringId 
- The OCID of the parent build pipeline.
- CompartmentId string
- The OCID of the compartment in which to list resources.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
[]GetBuild Pipeline Stages Filter 
- Id string
- Unique identifier or OCID for listing a single resource by ID.
- State string
- A filter to return the stages that matches the given lifecycle state.
- buildPipeline StringId 
- The OCID of the parent build pipeline.
- compartmentId String
- The OCID of the compartment in which to list resources.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters
List<GetBuild Pipeline Stages Filter> 
- id String
- Unique identifier or OCID for listing a single resource by ID.
- state String
- A filter to return the stages that matches the given lifecycle state.
- buildPipeline stringId 
- The OCID of the parent build pipeline.
- compartmentId string
- The OCID of the compartment in which to list resources.
- displayName string
- A filter to return only resources that match the entire display name given.
- filters
GetBuild Pipeline Stages Filter[] 
- id string
- Unique identifier or OCID for listing a single resource by ID.
- state string
- A filter to return the stages that matches the given lifecycle state.
- build_pipeline_ strid 
- The OCID of the parent build pipeline.
- compartment_id str
- The OCID of the compartment in which to list resources.
- display_name str
- A filter to return only resources that match the entire display name given.
- filters
Sequence[GetBuild Pipeline Stages Filter] 
- id str
- Unique identifier or OCID for listing a single resource by ID.
- state str
- A filter to return the stages that matches the given lifecycle state.
- buildPipeline StringId 
- The OCID of the parent build pipeline.
- compartmentId String
- The OCID of the compartment in which to list resources.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- id String
- Unique identifier or OCID for listing a single resource by ID.
- state String
- A filter to return the stages that matches the given lifecycle state.
getBuildPipelineStages Result
The following output properties are available:
- BuildPipeline List<GetStage Collections Build Pipeline Stages Build Pipeline Stage Collection> 
- The list of build_pipeline_stage_collection.
- BuildPipeline stringId 
- The OCID of the build pipeline.
- CompartmentId string
- The OCID of the compartment where the pipeline is created.
- DisplayName string
- Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Filters
List<GetBuild Pipeline Stages Filter> 
- Id string
- Unique identifier that is immutable on creation.
- State string
- The current state of the stage.
- BuildPipeline []GetStage Collections Build Pipeline Stages Build Pipeline Stage Collection 
- The list of build_pipeline_stage_collection.
- BuildPipeline stringId 
- The OCID of the build pipeline.
- CompartmentId string
- The OCID of the compartment where the pipeline is created.
- DisplayName string
- Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Filters
[]GetBuild Pipeline Stages Filter 
- Id string
- Unique identifier that is immutable on creation.
- State string
- The current state of the stage.
- buildPipeline List<GetStage Collections Build Pipeline Stages Build Pipeline Stage Collection> 
- The list of build_pipeline_stage_collection.
- buildPipeline StringId 
- The OCID of the build pipeline.
- compartmentId String
- The OCID of the compartment where the pipeline is created.
- displayName String
- Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- filters
List<GetBuild Pipeline Stages Filter> 
- id String
- Unique identifier that is immutable on creation.
- state String
- The current state of the stage.
- buildPipeline GetStage Collections Build Pipeline Stages Build Pipeline Stage Collection[] 
- The list of build_pipeline_stage_collection.
- buildPipeline stringId 
- The OCID of the build pipeline.
- compartmentId string
- The OCID of the compartment where the pipeline is created.
- displayName string
- Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- filters
GetBuild Pipeline Stages Filter[] 
- id string
- Unique identifier that is immutable on creation.
- state string
- The current state of the stage.
- build_pipeline_ Sequence[Getstage_ collections Build Pipeline Stages Build Pipeline Stage Collection] 
- The list of build_pipeline_stage_collection.
- build_pipeline_ strid 
- The OCID of the build pipeline.
- compartment_id str
- The OCID of the compartment where the pipeline is created.
- display_name str
- Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- filters
Sequence[GetBuild Pipeline Stages Filter] 
- id str
- Unique identifier that is immutable on creation.
- state str
- The current state of the stage.
- buildPipeline List<Property Map>Stage Collections 
- The list of build_pipeline_stage_collection.
- buildPipeline StringId 
- The OCID of the build pipeline.
- compartmentId String
- The OCID of the compartment where the pipeline is created.
- displayName String
- Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- filters List<Property Map>
- id String
- Unique identifier that is immutable on creation.
- state String
- The current state of the stage.
Supporting Types
GetBuildPipelineStagesBuildPipelineStageCollection       
- Items
List<GetBuild Pipeline Stages Build Pipeline Stage Collection Item> 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- Items
[]GetBuild Pipeline Stages Build Pipeline Stage Collection Item 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
List<GetBuild Pipeline Stages Build Pipeline Stage Collection Item> 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
GetBuild Pipeline Stages Build Pipeline Stage Collection Item[] 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Sequence[GetBuild Pipeline Stages Build Pipeline Stage Collection Item] 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items List<Property Map>
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
GetBuildPipelineStagesBuildPipelineStageCollectionItem        
- BuildPipeline stringId 
- The OCID of the parent build pipeline.
- BuildPipeline List<GetStage Predecessor Collections Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection> 
- The collection containing the predecessors of a stage.
- BuildPipeline stringStage Type 
- Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- BuildRunner GetShape Config Build Pipeline Stages Build Pipeline Stage Collection Item Build Runner Shape Config 
- The information about build runner.
- BuildSource GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection 
- Collection of build sources.
- BuildSpec stringFile 
- The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- CompartmentId string
- The OCID of the compartment in which to list resources.
- ConnectionType string
- The type of source provider.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- DeliverArtifact GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection 
- Specifies an array of artifacts that need to be pushed to the artifactory stores.
- DeployPipeline stringId 
- A target deployment pipeline OCID that will run in this stage.
- Description string
- Optional description about the build stage.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- Id string
- Unique identifier or OCID for listing a single resource by ID.
- Image string
- Image name for the build environment.
- IsPass boolAll Parameters Enabled 
- A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- LifecycleDetails 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.
- PrimaryBuild stringSource 
- Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- PrivateAccess GetConfig Build Pipeline Stages Build Pipeline Stage Collection Item Private Access Config 
- Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- ProjectId string
- The OCID of the DevOps project.
- StageExecution intTimeout In Seconds 
- Timeout for the build stage execution. Specify value in seconds.
- State string
- A filter to return the stages that matches the given lifecycle state.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the stage was created. Format defined by RFC3339.
- TimeUpdated string
- The time the stage was updated. Format defined by RFC3339.
- WaitCriteria GetBuild Pipeline Stages Build Pipeline Stage Collection Item Wait Criteria 
- Specifies wait criteria for the Wait stage.
- BuildPipeline stringId 
- The OCID of the parent build pipeline.
- BuildPipeline []GetStage Predecessor Collections Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection 
- The collection containing the predecessors of a stage.
- BuildPipeline stringStage Type 
- Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- BuildRunner GetShape Config Build Pipeline Stages Build Pipeline Stage Collection Item Build Runner Shape Config 
- The information about build runner.
- BuildSource GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection 
- Collection of build sources.
- BuildSpec stringFile 
- The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- CompartmentId string
- The OCID of the compartment in which to list resources.
- ConnectionType string
- The type of source provider.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- DeliverArtifact GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection 
- Specifies an array of artifacts that need to be pushed to the artifactory stores.
- DeployPipeline stringId 
- A target deployment pipeline OCID that will run in this stage.
- Description string
- Optional description about the build stage.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- Id string
- Unique identifier or OCID for listing a single resource by ID.
- Image string
- Image name for the build environment.
- IsPass boolAll Parameters Enabled 
- A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- LifecycleDetails 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.
- PrimaryBuild stringSource 
- Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- PrivateAccess GetConfig Build Pipeline Stages Build Pipeline Stage Collection Item Private Access Config 
- Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- ProjectId string
- The OCID of the DevOps project.
- StageExecution intTimeout In Seconds 
- Timeout for the build stage execution. Specify value in seconds.
- State string
- A filter to return the stages that matches the given lifecycle state.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the stage was created. Format defined by RFC3339.
- TimeUpdated string
- The time the stage was updated. Format defined by RFC3339.
- WaitCriteria GetBuild Pipeline Stages Build Pipeline Stage Collection Item Wait Criteria 
- Specifies wait criteria for the Wait stage.
- buildPipeline StringId 
- The OCID of the parent build pipeline.
- buildPipeline List<GetStage Predecessor Collections Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection> 
- The collection containing the predecessors of a stage.
- buildPipeline StringStage Type 
- Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- buildRunner GetShape Config Build Pipeline Stages Build Pipeline Stage Collection Item Build Runner Shape Config 
- The information about build runner.
- buildSource GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection 
- Collection of build sources.
- buildSpec StringFile 
- The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- compartmentId String
- The OCID of the compartment in which to list resources.
- connectionType String
- The type of source provider.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- deliverArtifact GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection 
- Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deployPipeline StringId 
- A target deployment pipeline OCID that will run in this stage.
- description String
- Optional description about the build stage.
- displayName String
- A filter to return only resources that match the entire display name given.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- id String
- Unique identifier or OCID for listing a single resource by ID.
- image String
- Image name for the build environment.
- isPass BooleanAll Parameters Enabled 
- A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- lifecycleDetails 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.
- primaryBuild StringSource 
- Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- privateAccess GetConfig Build Pipeline Stages Build Pipeline Stage Collection Item Private Access Config 
- Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- projectId String
- The OCID of the DevOps project.
- stageExecution IntegerTimeout In Seconds 
- Timeout for the build stage execution. Specify value in seconds.
- state String
- A filter to return the stages that matches the given lifecycle state.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the stage was created. Format defined by RFC3339.
- timeUpdated String
- The time the stage was updated. Format defined by RFC3339.
- waitCriteria GetBuild Pipeline Stages Build Pipeline Stage Collection Item Wait Criteria 
- Specifies wait criteria for the Wait stage.
- buildPipeline stringId 
- The OCID of the parent build pipeline.
- buildPipeline GetStage Predecessor Collections Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection[] 
- The collection containing the predecessors of a stage.
- buildPipeline stringStage Type 
- Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- buildRunner GetShape Config Build Pipeline Stages Build Pipeline Stage Collection Item Build Runner Shape Config 
- The information about build runner.
- buildSource GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection 
- Collection of build sources.
- buildSpec stringFile 
- The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- compartmentId string
- The OCID of the compartment in which to list resources.
- connectionType string
- The type of source provider.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- deliverArtifact GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection 
- Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deployPipeline stringId 
- A target deployment pipeline OCID that will run in this stage.
- description string
- Optional description about the build stage.
- displayName string
- A filter to return only resources that match the entire display name given.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- id string
- Unique identifier or OCID for listing a single resource by ID.
- image string
- Image name for the build environment.
- isPass booleanAll Parameters Enabled 
- A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- lifecycleDetails 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.
- primaryBuild stringSource 
- Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- privateAccess GetConfig Build Pipeline Stages Build Pipeline Stage Collection Item Private Access Config 
- Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- projectId string
- The OCID of the DevOps project.
- stageExecution numberTimeout In Seconds 
- Timeout for the build stage execution. Specify value in seconds.
- state string
- A filter to return the stages that matches the given lifecycle state.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time the stage was created. Format defined by RFC3339.
- timeUpdated string
- The time the stage was updated. Format defined by RFC3339.
- waitCriteria GetBuild Pipeline Stages Build Pipeline Stage Collection Item Wait Criteria 
- Specifies wait criteria for the Wait stage.
- build_pipeline_ strid 
- The OCID of the parent build pipeline.
- build_pipeline_ Sequence[Getstage_ predecessor_ collections Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection] 
- The collection containing the predecessors of a stage.
- build_pipeline_ strstage_ type 
- Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build_runner_ Getshape_ config Build Pipeline Stages Build Pipeline Stage Collection Item Build Runner Shape Config 
- The information about build runner.
- build_source_ Getcollection Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection 
- Collection of build sources.
- build_spec_ strfile 
- The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- compartment_id str
- The OCID of the compartment in which to list resources.
- connection_type str
- The type of source provider.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- deliver_artifact_ Getcollection Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection 
- Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy_pipeline_ strid 
- A target deployment pipeline OCID that will run in this stage.
- description str
- Optional description about the build stage.
- display_name str
- A filter to return only resources that match the entire display name given.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- id str
- Unique identifier or OCID for listing a single resource by ID.
- image str
- Image name for the build environment.
- is_pass_ boolall_ parameters_ enabled 
- A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- lifecycle_details str
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- primary_build_ strsource 
- Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- private_access_ Getconfig Build Pipeline Stages Build Pipeline Stage Collection Item Private Access Config 
- Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- project_id str
- The OCID of the DevOps project.
- stage_execution_ inttimeout_ in_ seconds 
- Timeout for the build stage execution. Specify value in seconds.
- state str
- A filter to return the stages that matches the given lifecycle state.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The time the stage was created. Format defined by RFC3339.
- time_updated str
- The time the stage was updated. Format defined by RFC3339.
- wait_criteria GetBuild Pipeline Stages Build Pipeline Stage Collection Item Wait Criteria 
- Specifies wait criteria for the Wait stage.
- buildPipeline StringId 
- The OCID of the parent build pipeline.
- buildPipeline List<Property Map>Stage Predecessor Collections 
- The collection containing the predecessors of a stage.
- buildPipeline StringStage Type 
- Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- buildRunner Property MapShape Config 
- The information about build runner.
- buildSource Property MapCollection 
- Collection of build sources.
- buildSpec StringFile 
- The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- compartmentId String
- The OCID of the compartment in which to list resources.
- connectionType String
- The type of source provider.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- deliverArtifact Property MapCollection 
- Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deployPipeline StringId 
- A target deployment pipeline OCID that will run in this stage.
- description String
- Optional description about the build stage.
- displayName String
- A filter to return only resources that match the entire display name given.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- id String
- Unique identifier or OCID for listing a single resource by ID.
- image String
- Image name for the build environment.
- isPass BooleanAll Parameters Enabled 
- A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- lifecycleDetails 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.
- primaryBuild StringSource 
- Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- privateAccess Property MapConfig 
- Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- projectId String
- The OCID of the DevOps project.
- stageExecution NumberTimeout In Seconds 
- Timeout for the build stage execution. Specify value in seconds.
- state String
- A filter to return the stages that matches the given lifecycle state.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the stage was created. Format defined by RFC3339.
- timeUpdated String
- The time the stage was updated. Format defined by RFC3339.
- waitCriteria Property Map
- Specifies wait criteria for the Wait stage.
GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollection             
- Items
List<GetBuild Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection Item> 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- Items
[]GetBuild Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection Item 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
List<GetBuild Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection Item> 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
GetBuild Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection Item[] 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Sequence[GetBuild Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection Item] 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items List<Property Map>
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionItem              
- Id string
- Unique identifier or OCID for listing a single resource by ID.
- Id string
- Unique identifier or OCID for listing a single resource by ID.
- id String
- Unique identifier or OCID for listing a single resource by ID.
- id string
- Unique identifier or OCID for listing a single resource by ID.
- id str
- Unique identifier or OCID for listing a single resource by ID.
- id String
- Unique identifier or OCID for listing a single resource by ID.
GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildRunnerShapeConfig            
- BuildRunner stringType 
- Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- MemoryIn intGbs 
- The total amount of memory set for the instance in gigabytes.
- Ocpus int
- The total number of OCPUs set for the instance.
- BuildRunner stringType 
- Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- MemoryIn intGbs 
- The total amount of memory set for the instance in gigabytes.
- Ocpus int
- The total number of OCPUs set for the instance.
- buildRunner StringType 
- Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memoryIn IntegerGbs 
- The total amount of memory set for the instance in gigabytes.
- ocpus Integer
- The total number of OCPUs set for the instance.
- buildRunner stringType 
- Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memoryIn numberGbs 
- The total amount of memory set for the instance in gigabytes.
- ocpus number
- The total number of OCPUs set for the instance.
- build_runner_ strtype 
- Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memory_in_ intgbs 
- The total amount of memory set for the instance in gigabytes.
- ocpus int
- The total number of OCPUs set for the instance.
- buildRunner StringType 
- Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memoryIn NumberGbs 
- The total amount of memory set for the instance in gigabytes.
- ocpus Number
- The total number of OCPUs set for the instance.
GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollection           
- Items
List<GetBuild Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection Item> 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- Items
[]GetBuild Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection Item 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
List<GetBuild Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection Item> 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
GetBuild Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection Item[] 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Sequence[GetBuild Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection Item] 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items List<Property Map>
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionItem            
- Branch string
- Branch name.
- ConnectionId string
- Connection identifier pertinent to Bitbucket Server source provider
- ConnectionType string
- The type of source provider.
- Name string
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- RepositoryId string
- The DevOps code repository ID.
- RepositoryUrl string
- URL for the repository.
- Branch string
- Branch name.
- ConnectionId string
- Connection identifier pertinent to Bitbucket Server source provider
- ConnectionType string
- The type of source provider.
- Name string
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- RepositoryId string
- The DevOps code repository ID.
- RepositoryUrl string
- URL for the repository.
- branch String
- Branch name.
- connectionId String
- Connection identifier pertinent to Bitbucket Server source provider
- connectionType String
- The type of source provider.
- name String
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- repositoryId String
- The DevOps code repository ID.
- repositoryUrl String
- URL for the repository.
- branch string
- Branch name.
- connectionId string
- Connection identifier pertinent to Bitbucket Server source provider
- connectionType string
- The type of source provider.
- name string
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- repositoryId string
- The DevOps code repository ID.
- repositoryUrl string
- URL for the repository.
- branch str
- Branch name.
- connection_id str
- Connection identifier pertinent to Bitbucket Server source provider
- connection_type str
- The type of source provider.
- name str
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- repository_id str
- The DevOps code repository ID.
- repository_url str
- URL for the repository.
- branch String
- Branch name.
- connectionId String
- Connection identifier pertinent to Bitbucket Server source provider
- connectionType String
- The type of source provider.
- name String
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- repositoryId String
- The DevOps code repository ID.
- repositoryUrl String
- URL for the repository.
GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollection           
- Items
List<GetBuild Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection Item> 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- Items
[]GetBuild Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection Item 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
List<GetBuild Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection Item> 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
GetBuild Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection Item[] 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Sequence[GetBuild Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection Item] 
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items List<Property Map>
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionItem            
- ArtifactId string
- Artifact identifier that contains the artifact definition.
- ArtifactName string
- Name of the artifact specified in the build_spec.yaml file.
- ArtifactId string
- Artifact identifier that contains the artifact definition.
- ArtifactName string
- Name of the artifact specified in the build_spec.yaml file.
- artifactId String
- Artifact identifier that contains the artifact definition.
- artifactName String
- Name of the artifact specified in the build_spec.yaml file.
- artifactId string
- Artifact identifier that contains the artifact definition.
- artifactName string
- Name of the artifact specified in the build_spec.yaml file.
- artifact_id str
- Artifact identifier that contains the artifact definition.
- artifact_name str
- Name of the artifact specified in the build_spec.yaml file.
- artifactId String
- Artifact identifier that contains the artifact definition.
- artifactName String
- Name of the artifact specified in the build_spec.yaml file.
GetBuildPipelineStagesBuildPipelineStageCollectionItemPrivateAccessConfig           
- NetworkChannel stringType 
- Network channel type.
- NsgIds List<string>
- An array of network security group OCIDs.
- SubnetId string
- The OCID of the subnet where VNIC resources will be created for private endpoint.
- NetworkChannel stringType 
- Network channel type.
- NsgIds []string
- An array of network security group OCIDs.
- SubnetId string
- The OCID of the subnet where VNIC resources will be created for private endpoint.
- networkChannel StringType 
- Network channel type.
- nsgIds List<String>
- An array of network security group OCIDs.
- subnetId String
- The OCID of the subnet where VNIC resources will be created for private endpoint.
- networkChannel stringType 
- Network channel type.
- nsgIds string[]
- An array of network security group OCIDs.
- subnetId string
- The OCID of the subnet where VNIC resources will be created for private endpoint.
- network_channel_ strtype 
- Network channel type.
- nsg_ids Sequence[str]
- An array of network security group OCIDs.
- subnet_id str
- The OCID of the subnet where VNIC resources will be created for private endpoint.
- networkChannel StringType 
- Network channel type.
- nsgIds List<String>
- An array of network security group OCIDs.
- subnetId String
- The OCID of the subnet where VNIC resources will be created for private endpoint.
GetBuildPipelineStagesBuildPipelineStageCollectionItemWaitCriteria          
- WaitDuration string
- The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- WaitType string
- Wait criteria type.
- WaitDuration string
- The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- WaitType string
- Wait criteria type.
- waitDuration String
- The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- waitType String
- Wait criteria type.
- waitDuration string
- The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- waitType string
- Wait criteria type.
- wait_duration str
- The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- wait_type str
- Wait criteria type.
- waitDuration String
- The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- waitType String
- Wait criteria type.
GetBuildPipelineStagesFilter    
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.