1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. getBuildPipelineStages
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DevOps.getBuildPipelineStages

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    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[_devops.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[_devops.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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DevOps/getBuildPipelineStages:getBuildPipelineStages
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BuildPipelineId string
    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<GetBuildPipelineStagesFilter>
    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.
    BuildPipelineId string
    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 []GetBuildPipelineStagesFilter
    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.
    buildPipelineId String
    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<GetBuildPipelineStagesFilter>
    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.
    buildPipelineId string
    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 GetBuildPipelineStagesFilter[]
    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_id str
    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[devops.GetBuildPipelineStagesFilter]
    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.
    buildPipelineId String
    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:

    BuildPipelineStageCollections List<GetBuildPipelineStagesBuildPipelineStageCollection>
    The list of build_pipeline_stage_collection.
    BuildPipelineId string
    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<GetBuildPipelineStagesFilter>
    Id string
    Unique identifier that is immutable on creation.
    State string
    The current state of the stage.
    BuildPipelineStageCollections []GetBuildPipelineStagesBuildPipelineStageCollection
    The list of build_pipeline_stage_collection.
    BuildPipelineId string
    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 []GetBuildPipelineStagesFilter
    Id string
    Unique identifier that is immutable on creation.
    State string
    The current state of the stage.
    buildPipelineStageCollections List<GetBuildPipelineStagesBuildPipelineStageCollection>
    The list of build_pipeline_stage_collection.
    buildPipelineId String
    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<GetBuildPipelineStagesFilter>
    id String
    Unique identifier that is immutable on creation.
    state String
    The current state of the stage.
    buildPipelineStageCollections GetBuildPipelineStagesBuildPipelineStageCollection[]
    The list of build_pipeline_stage_collection.
    buildPipelineId string
    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 GetBuildPipelineStagesFilter[]
    id string
    Unique identifier that is immutable on creation.
    state string
    The current state of the stage.
    build_pipeline_stage_collections Sequence[devops.GetBuildPipelineStagesBuildPipelineStageCollection]
    The list of build_pipeline_stage_collection.
    build_pipeline_id str
    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[devops.GetBuildPipelineStagesFilter]
    id str
    Unique identifier that is immutable on creation.
    state str
    The current state of the stage.
    buildPipelineStageCollections List<Property Map>
    The list of build_pipeline_stage_collection.
    buildPipelineId String
    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<GetBuildPipelineStagesBuildPipelineStageCollectionItem>
    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 []GetBuildPipelineStagesBuildPipelineStageCollectionItem
    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<GetBuildPipelineStagesBuildPipelineStageCollectionItem>
    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 GetBuildPipelineStagesBuildPipelineStageCollectionItem[]
    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[devops.GetBuildPipelineStagesBuildPipelineStageCollectionItem]
    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

    BuildPipelineId string
    The OCID of the parent build pipeline.
    BuildPipelineStagePredecessorCollections List<GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollection>
    The collection containing the predecessors of a stage.
    BuildPipelineStageType string
    Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    BuildRunnerShapeConfig GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildRunnerShapeConfig
    The information about build runner.
    BuildSourceCollection GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollection
    Collection of build sources.
    BuildSpecFile string
    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.
    DefinedTags 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"}
    DeliverArtifactCollection GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollection
    Specifies an array of artifacts that need to be pushed to the artifactory stores.
    DeployPipelineId string
    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.
    FreeformTags 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.
    IsPassAllParametersEnabled bool
    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.
    PrimaryBuildSource string
    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.
    PrivateAccessConfig GetBuildPipelineStagesBuildPipelineStageCollectionItemPrivateAccessConfig
    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.
    StageExecutionTimeoutInSeconds int
    Timeout for the build stage execution. Specify value in seconds.
    State string
    A filter to return the stages that matches the given lifecycle state.
    SystemTags 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 GetBuildPipelineStagesBuildPipelineStageCollectionItemWaitCriteria
    Specifies wait criteria for the Wait stage.
    BuildPipelineId string
    The OCID of the parent build pipeline.
    BuildPipelineStagePredecessorCollections []GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollection
    The collection containing the predecessors of a stage.
    BuildPipelineStageType string
    Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    BuildRunnerShapeConfig GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildRunnerShapeConfig
    The information about build runner.
    BuildSourceCollection GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollection
    Collection of build sources.
    BuildSpecFile string
    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.
    DefinedTags 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"}
    DeliverArtifactCollection GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollection
    Specifies an array of artifacts that need to be pushed to the artifactory stores.
    DeployPipelineId string
    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.
    FreeformTags 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.
    IsPassAllParametersEnabled bool
    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.
    PrimaryBuildSource string
    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.
    PrivateAccessConfig GetBuildPipelineStagesBuildPipelineStageCollectionItemPrivateAccessConfig
    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.
    StageExecutionTimeoutInSeconds int
    Timeout for the build stage execution. Specify value in seconds.
    State string
    A filter to return the stages that matches the given lifecycle state.
    SystemTags 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 GetBuildPipelineStagesBuildPipelineStageCollectionItemWaitCriteria
    Specifies wait criteria for the Wait stage.
    buildPipelineId String
    The OCID of the parent build pipeline.
    buildPipelineStagePredecessorCollections List<GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollection>
    The collection containing the predecessors of a stage.
    buildPipelineStageType String
    Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    buildRunnerShapeConfig GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildRunnerShapeConfig
    The information about build runner.
    buildSourceCollection GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollection
    Collection of build sources.
    buildSpecFile String
    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.
    definedTags 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"}
    deliverArtifactCollection GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollection
    Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deployPipelineId String
    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.
    freeformTags 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.
    isPassAllParametersEnabled Boolean
    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.
    primaryBuildSource String
    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.
    privateAccessConfig GetBuildPipelineStagesBuildPipelineStageCollectionItemPrivateAccessConfig
    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.
    stageExecutionTimeoutInSeconds Integer
    Timeout for the build stage execution. Specify value in seconds.
    state String
    A filter to return the stages that matches the given lifecycle state.
    systemTags 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 GetBuildPipelineStagesBuildPipelineStageCollectionItemWaitCriteria
    Specifies wait criteria for the Wait stage.
    buildPipelineId string
    The OCID of the parent build pipeline.
    buildPipelineStagePredecessorCollections GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollection[]
    The collection containing the predecessors of a stage.
    buildPipelineStageType string
    Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    buildRunnerShapeConfig GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildRunnerShapeConfig
    The information about build runner.
    buildSourceCollection GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollection
    Collection of build sources.
    buildSpecFile string
    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.
    definedTags {[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"}
    deliverArtifactCollection GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollection
    Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deployPipelineId string
    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.
    freeformTags {[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.
    isPassAllParametersEnabled boolean
    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.
    primaryBuildSource string
    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.
    privateAccessConfig GetBuildPipelineStagesBuildPipelineStageCollectionItemPrivateAccessConfig
    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.
    stageExecutionTimeoutInSeconds number
    Timeout for the build stage execution. Specify value in seconds.
    state string
    A filter to return the stages that matches the given lifecycle state.
    systemTags {[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 GetBuildPipelineStagesBuildPipelineStageCollectionItemWaitCriteria
    Specifies wait criteria for the Wait stage.
    build_pipeline_id str
    The OCID of the parent build pipeline.
    build_pipeline_stage_predecessor_collections Sequence[devops.GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollection]
    The collection containing the predecessors of a stage.
    build_pipeline_stage_type str
    Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    build_runner_shape_config devops.GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildRunnerShapeConfig
    The information about build runner.
    build_source_collection devops.GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollection
    Collection of build sources.
    build_spec_file str
    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.
    defined_tags 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_collection devops.GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollection
    Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deploy_pipeline_id str
    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.
    freeform_tags 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_all_parameters_enabled bool
    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_source str
    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_config devops.GetBuildPipelineStagesBuildPipelineStageCollectionItemPrivateAccessConfig
    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_timeout_in_seconds int
    Timeout for the build stage execution. Specify value in seconds.
    state str
    A filter to return the stages that matches the given lifecycle state.
    system_tags 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 devops.GetBuildPipelineStagesBuildPipelineStageCollectionItemWaitCriteria
    Specifies wait criteria for the Wait stage.
    buildPipelineId String
    The OCID of the parent build pipeline.
    buildPipelineStagePredecessorCollections List<Property Map>
    The collection containing the predecessors of a stage.
    buildPipelineStageType String
    Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    buildRunnerShapeConfig Property Map
    The information about build runner.
    buildSourceCollection Property Map
    Collection of build sources.
    buildSpecFile String
    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.
    definedTags 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"}
    deliverArtifactCollection Property Map
    Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deployPipelineId String
    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.
    freeformTags 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.
    isPassAllParametersEnabled Boolean
    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.
    primaryBuildSource String
    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.
    privateAccessConfig Property Map
    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.
    stageExecutionTimeoutInSeconds Number
    Timeout for the build stage execution. Specify value in seconds.
    state String
    A filter to return the stages that matches the given lifecycle state.
    systemTags 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<GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionItem>
    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 []GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionItem
    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<GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionItem>
    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 GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionItem[]
    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[devops.GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionItem]
    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

    BuildRunnerType string
    Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    MemoryInGbs int
    The total amount of memory set for the instance in gigabytes.
    Ocpus int
    The total number of OCPUs set for the instance.
    BuildRunnerType string
    Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    MemoryInGbs int
    The total amount of memory set for the instance in gigabytes.
    Ocpus int
    The total number of OCPUs set for the instance.
    buildRunnerType String
    Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    memoryInGbs Integer
    The total amount of memory set for the instance in gigabytes.
    ocpus Integer
    The total number of OCPUs set for the instance.
    buildRunnerType string
    Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    memoryInGbs number
    The total amount of memory set for the instance in gigabytes.
    ocpus number
    The total number of OCPUs set for the instance.
    build_runner_type str
    Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    memory_in_gbs int
    The total amount of memory set for the instance in gigabytes.
    ocpus int
    The total number of OCPUs set for the instance.
    buildRunnerType String
    Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    memoryInGbs Number
    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<GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionItem>
    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 []GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionItem
    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<GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionItem>
    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 GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionItem[]
    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[devops.GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionItem]
    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<GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionItem>
    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 []GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionItem
    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<GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionItem>
    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 GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionItem[]
    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[devops.GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionItem]
    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

    NetworkChannelType string
    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.
    NetworkChannelType string
    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.
    networkChannelType String
    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.
    networkChannelType string
    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_type str
    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.
    networkChannelType String
    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

    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.
    Values List<string>
    Regex bool
    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.
    Values []string
    Regex bool
    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.
    values List<String>
    regex Boolean
    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.
    values string[]
    regex boolean
    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.
    values Sequence[str]
    regex bool
    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.
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi