1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. BuildPipelineStage
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DevOps.BuildPipelineStage

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Build Pipeline Stage resource in Oracle Cloud Infrastructure Devops service.

    Creates a new stage.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBuildPipelineStage = new oci.devops.BuildPipelineStage("test_build_pipeline_stage", {
        buildPipelineId: testBuildPipeline.id,
        buildPipelineStagePredecessorCollection: {
            items: [{
                id: buildPipelineStageBuildPipelineStagePredecessorCollectionItemsId,
            }],
        },
        buildPipelineStageType: buildPipelineStageBuildPipelineStageType,
        buildRunnerShapeConfig: {
            buildRunnerType: buildPipelineStageBuildRunnerShapeConfigBuildRunnerType,
            memoryInGbs: buildPipelineStageBuildRunnerShapeConfigMemoryInGbs,
            ocpus: buildPipelineStageBuildRunnerShapeConfigOcpus,
        },
        buildSourceCollection: {
            items: [{
                connectionType: buildPipelineStageBuildSourceCollectionItemsConnectionType,
                branch: buildPipelineStageBuildSourceCollectionItemsBranch,
                connectionId: testConnection.id,
                name: buildPipelineStageBuildSourceCollectionItemsName,
                repositoryId: testRepository.id,
                repositoryUrl: buildPipelineStageBuildSourceCollectionItemsRepositoryUrl,
            }],
        },
        buildSpecFile: buildPipelineStageBuildSpecFile,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        deliverArtifactCollection: {
            items: [{
                artifactId: testArtifact.id,
                artifactName: buildPipelineStageDeliverArtifactCollectionItemsArtifactName,
            }],
        },
        deployPipelineId: testDeployPipeline.id,
        description: buildPipelineStageDescription,
        displayName: buildPipelineStageDisplayName,
        freeformTags: {
            "bar-key": "value",
        },
        image: buildPipelineStageImage,
        isPassAllParametersEnabled: buildPipelineStageIsPassAllParametersEnabled,
        primaryBuildSource: buildPipelineStagePrimaryBuildSource,
        privateAccessConfig: {
            networkChannelType: buildPipelineStagePrivateAccessConfigNetworkChannelType,
            subnetId: testSubnet.id,
            nsgIds: buildPipelineStagePrivateAccessConfigNsgIds,
        },
        stageExecutionTimeoutInSeconds: buildPipelineStageStageExecutionTimeoutInSeconds,
        waitCriteria: {
            waitDuration: buildPipelineStageWaitCriteriaWaitDuration,
            waitType: buildPipelineStageWaitCriteriaWaitType,
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_build_pipeline_stage = oci.dev_ops.BuildPipelineStage("test_build_pipeline_stage",
        build_pipeline_id=test_build_pipeline["id"],
        build_pipeline_stage_predecessor_collection={
            "items": [{
                "id": build_pipeline_stage_build_pipeline_stage_predecessor_collection_items_id,
            }],
        },
        build_pipeline_stage_type=build_pipeline_stage_build_pipeline_stage_type,
        build_runner_shape_config={
            "build_runner_type": build_pipeline_stage_build_runner_shape_config_build_runner_type,
            "memory_in_gbs": build_pipeline_stage_build_runner_shape_config_memory_in_gbs,
            "ocpus": build_pipeline_stage_build_runner_shape_config_ocpus,
        },
        build_source_collection={
            "items": [{
                "connection_type": build_pipeline_stage_build_source_collection_items_connection_type,
                "branch": build_pipeline_stage_build_source_collection_items_branch,
                "connection_id": test_connection["id"],
                "name": build_pipeline_stage_build_source_collection_items_name,
                "repository_id": test_repository["id"],
                "repository_url": build_pipeline_stage_build_source_collection_items_repository_url,
            }],
        },
        build_spec_file=build_pipeline_stage_build_spec_file,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        deliver_artifact_collection={
            "items": [{
                "artifact_id": test_artifact["id"],
                "artifact_name": build_pipeline_stage_deliver_artifact_collection_items_artifact_name,
            }],
        },
        deploy_pipeline_id=test_deploy_pipeline["id"],
        description=build_pipeline_stage_description,
        display_name=build_pipeline_stage_display_name,
        freeform_tags={
            "bar-key": "value",
        },
        image=build_pipeline_stage_image,
        is_pass_all_parameters_enabled=build_pipeline_stage_is_pass_all_parameters_enabled,
        primary_build_source=build_pipeline_stage_primary_build_source,
        private_access_config={
            "network_channel_type": build_pipeline_stage_private_access_config_network_channel_type,
            "subnet_id": test_subnet["id"],
            "nsg_ids": build_pipeline_stage_private_access_config_nsg_ids,
        },
        stage_execution_timeout_in_seconds=build_pipeline_stage_stage_execution_timeout_in_seconds,
        wait_criteria={
            "wait_duration": build_pipeline_stage_wait_criteria_wait_duration,
            "wait_type": build_pipeline_stage_wait_criteria_wait_type,
        })
    
    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.NewBuildPipelineStage(ctx, "test_build_pipeline_stage", &DevOps.BuildPipelineStageArgs{
    			BuildPipelineId: pulumi.Any(testBuildPipeline.Id),
    			BuildPipelineStagePredecessorCollection: &devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs{
    				Items: devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArray{
    					&devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs{
    						Id: pulumi.Any(buildPipelineStageBuildPipelineStagePredecessorCollectionItemsId),
    					},
    				},
    			},
    			BuildPipelineStageType: pulumi.Any(buildPipelineStageBuildPipelineStageType),
    			BuildRunnerShapeConfig: &devops.BuildPipelineStageBuildRunnerShapeConfigArgs{
    				BuildRunnerType: pulumi.Any(buildPipelineStageBuildRunnerShapeConfigBuildRunnerType),
    				MemoryInGbs:     pulumi.Any(buildPipelineStageBuildRunnerShapeConfigMemoryInGbs),
    				Ocpus:           pulumi.Any(buildPipelineStageBuildRunnerShapeConfigOcpus),
    			},
    			BuildSourceCollection: &devops.BuildPipelineStageBuildSourceCollectionArgs{
    				Items: devops.BuildPipelineStageBuildSourceCollectionItemArray{
    					&devops.BuildPipelineStageBuildSourceCollectionItemArgs{
    						ConnectionType: pulumi.Any(buildPipelineStageBuildSourceCollectionItemsConnectionType),
    						Branch:         pulumi.Any(buildPipelineStageBuildSourceCollectionItemsBranch),
    						ConnectionId:   pulumi.Any(testConnection.Id),
    						Name:           pulumi.Any(buildPipelineStageBuildSourceCollectionItemsName),
    						RepositoryId:   pulumi.Any(testRepository.Id),
    						RepositoryUrl:  pulumi.Any(buildPipelineStageBuildSourceCollectionItemsRepositoryUrl),
    					},
    				},
    			},
    			BuildSpecFile: pulumi.Any(buildPipelineStageBuildSpecFile),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			DeliverArtifactCollection: &devops.BuildPipelineStageDeliverArtifactCollectionArgs{
    				Items: devops.BuildPipelineStageDeliverArtifactCollectionItemArray{
    					&devops.BuildPipelineStageDeliverArtifactCollectionItemArgs{
    						ArtifactId:   pulumi.Any(testArtifact.Id),
    						ArtifactName: pulumi.Any(buildPipelineStageDeliverArtifactCollectionItemsArtifactName),
    					},
    				},
    			},
    			DeployPipelineId: pulumi.Any(testDeployPipeline.Id),
    			Description:      pulumi.Any(buildPipelineStageDescription),
    			DisplayName:      pulumi.Any(buildPipelineStageDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			Image:                      pulumi.Any(buildPipelineStageImage),
    			IsPassAllParametersEnabled: pulumi.Any(buildPipelineStageIsPassAllParametersEnabled),
    			PrimaryBuildSource:         pulumi.Any(buildPipelineStagePrimaryBuildSource),
    			PrivateAccessConfig: &devops.BuildPipelineStagePrivateAccessConfigArgs{
    				NetworkChannelType: pulumi.Any(buildPipelineStagePrivateAccessConfigNetworkChannelType),
    				SubnetId:           pulumi.Any(testSubnet.Id),
    				NsgIds:             pulumi.Any(buildPipelineStagePrivateAccessConfigNsgIds),
    			},
    			StageExecutionTimeoutInSeconds: pulumi.Any(buildPipelineStageStageExecutionTimeoutInSeconds),
    			WaitCriteria: &devops.BuildPipelineStageWaitCriteriaArgs{
    				WaitDuration: pulumi.Any(buildPipelineStageWaitCriteriaWaitDuration),
    				WaitType:     pulumi.Any(buildPipelineStageWaitCriteriaWaitType),
    			},
    		})
    		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 testBuildPipelineStage = new Oci.DevOps.BuildPipelineStage("test_build_pipeline_stage", new()
        {
            BuildPipelineId = testBuildPipeline.Id,
            BuildPipelineStagePredecessorCollection = new Oci.DevOps.Inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs
            {
                Items = new[]
                {
                    new Oci.DevOps.Inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs
                    {
                        Id = buildPipelineStageBuildPipelineStagePredecessorCollectionItemsId,
                    },
                },
            },
            BuildPipelineStageType = buildPipelineStageBuildPipelineStageType,
            BuildRunnerShapeConfig = new Oci.DevOps.Inputs.BuildPipelineStageBuildRunnerShapeConfigArgs
            {
                BuildRunnerType = buildPipelineStageBuildRunnerShapeConfigBuildRunnerType,
                MemoryInGbs = buildPipelineStageBuildRunnerShapeConfigMemoryInGbs,
                Ocpus = buildPipelineStageBuildRunnerShapeConfigOcpus,
            },
            BuildSourceCollection = new Oci.DevOps.Inputs.BuildPipelineStageBuildSourceCollectionArgs
            {
                Items = new[]
                {
                    new Oci.DevOps.Inputs.BuildPipelineStageBuildSourceCollectionItemArgs
                    {
                        ConnectionType = buildPipelineStageBuildSourceCollectionItemsConnectionType,
                        Branch = buildPipelineStageBuildSourceCollectionItemsBranch,
                        ConnectionId = testConnection.Id,
                        Name = buildPipelineStageBuildSourceCollectionItemsName,
                        RepositoryId = testRepository.Id,
                        RepositoryUrl = buildPipelineStageBuildSourceCollectionItemsRepositoryUrl,
                    },
                },
            },
            BuildSpecFile = buildPipelineStageBuildSpecFile,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            DeliverArtifactCollection = new Oci.DevOps.Inputs.BuildPipelineStageDeliverArtifactCollectionArgs
            {
                Items = new[]
                {
                    new Oci.DevOps.Inputs.BuildPipelineStageDeliverArtifactCollectionItemArgs
                    {
                        ArtifactId = testArtifact.Id,
                        ArtifactName = buildPipelineStageDeliverArtifactCollectionItemsArtifactName,
                    },
                },
            },
            DeployPipelineId = testDeployPipeline.Id,
            Description = buildPipelineStageDescription,
            DisplayName = buildPipelineStageDisplayName,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Image = buildPipelineStageImage,
            IsPassAllParametersEnabled = buildPipelineStageIsPassAllParametersEnabled,
            PrimaryBuildSource = buildPipelineStagePrimaryBuildSource,
            PrivateAccessConfig = new Oci.DevOps.Inputs.BuildPipelineStagePrivateAccessConfigArgs
            {
                NetworkChannelType = buildPipelineStagePrivateAccessConfigNetworkChannelType,
                SubnetId = testSubnet.Id,
                NsgIds = buildPipelineStagePrivateAccessConfigNsgIds,
            },
            StageExecutionTimeoutInSeconds = buildPipelineStageStageExecutionTimeoutInSeconds,
            WaitCriteria = new Oci.DevOps.Inputs.BuildPipelineStageWaitCriteriaArgs
            {
                WaitDuration = buildPipelineStageWaitCriteriaWaitDuration,
                WaitType = buildPipelineStageWaitCriteriaWaitType,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DevOps.BuildPipelineStage;
    import com.pulumi.oci.DevOps.BuildPipelineStageArgs;
    import com.pulumi.oci.DevOps.inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs;
    import com.pulumi.oci.DevOps.inputs.BuildPipelineStageBuildRunnerShapeConfigArgs;
    import com.pulumi.oci.DevOps.inputs.BuildPipelineStageBuildSourceCollectionArgs;
    import com.pulumi.oci.DevOps.inputs.BuildPipelineStageDeliverArtifactCollectionArgs;
    import com.pulumi.oci.DevOps.inputs.BuildPipelineStagePrivateAccessConfigArgs;
    import com.pulumi.oci.DevOps.inputs.BuildPipelineStageWaitCriteriaArgs;
    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) {
            var testBuildPipelineStage = new BuildPipelineStage("testBuildPipelineStage", BuildPipelineStageArgs.builder()
                .buildPipelineId(testBuildPipeline.id())
                .buildPipelineStagePredecessorCollection(BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs.builder()
                    .items(BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs.builder()
                        .id(buildPipelineStageBuildPipelineStagePredecessorCollectionItemsId)
                        .build())
                    .build())
                .buildPipelineStageType(buildPipelineStageBuildPipelineStageType)
                .buildRunnerShapeConfig(BuildPipelineStageBuildRunnerShapeConfigArgs.builder()
                    .buildRunnerType(buildPipelineStageBuildRunnerShapeConfigBuildRunnerType)
                    .memoryInGbs(buildPipelineStageBuildRunnerShapeConfigMemoryInGbs)
                    .ocpus(buildPipelineStageBuildRunnerShapeConfigOcpus)
                    .build())
                .buildSourceCollection(BuildPipelineStageBuildSourceCollectionArgs.builder()
                    .items(BuildPipelineStageBuildSourceCollectionItemArgs.builder()
                        .connectionType(buildPipelineStageBuildSourceCollectionItemsConnectionType)
                        .branch(buildPipelineStageBuildSourceCollectionItemsBranch)
                        .connectionId(testConnection.id())
                        .name(buildPipelineStageBuildSourceCollectionItemsName)
                        .repositoryId(testRepository.id())
                        .repositoryUrl(buildPipelineStageBuildSourceCollectionItemsRepositoryUrl)
                        .build())
                    .build())
                .buildSpecFile(buildPipelineStageBuildSpecFile)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .deliverArtifactCollection(BuildPipelineStageDeliverArtifactCollectionArgs.builder()
                    .items(BuildPipelineStageDeliverArtifactCollectionItemArgs.builder()
                        .artifactId(testArtifact.id())
                        .artifactName(buildPipelineStageDeliverArtifactCollectionItemsArtifactName)
                        .build())
                    .build())
                .deployPipelineId(testDeployPipeline.id())
                .description(buildPipelineStageDescription)
                .displayName(buildPipelineStageDisplayName)
                .freeformTags(Map.of("bar-key", "value"))
                .image(buildPipelineStageImage)
                .isPassAllParametersEnabled(buildPipelineStageIsPassAllParametersEnabled)
                .primaryBuildSource(buildPipelineStagePrimaryBuildSource)
                .privateAccessConfig(BuildPipelineStagePrivateAccessConfigArgs.builder()
                    .networkChannelType(buildPipelineStagePrivateAccessConfigNetworkChannelType)
                    .subnetId(testSubnet.id())
                    .nsgIds(buildPipelineStagePrivateAccessConfigNsgIds)
                    .build())
                .stageExecutionTimeoutInSeconds(buildPipelineStageStageExecutionTimeoutInSeconds)
                .waitCriteria(BuildPipelineStageWaitCriteriaArgs.builder()
                    .waitDuration(buildPipelineStageWaitCriteriaWaitDuration)
                    .waitType(buildPipelineStageWaitCriteriaWaitType)
                    .build())
                .build());
    
        }
    }
    
    resources:
      testBuildPipelineStage:
        type: oci:DevOps:BuildPipelineStage
        name: test_build_pipeline_stage
        properties:
          buildPipelineId: ${testBuildPipeline.id}
          buildPipelineStagePredecessorCollection:
            items:
              - id: ${buildPipelineStageBuildPipelineStagePredecessorCollectionItemsId}
          buildPipelineStageType: ${buildPipelineStageBuildPipelineStageType}
          buildRunnerShapeConfig:
            buildRunnerType: ${buildPipelineStageBuildRunnerShapeConfigBuildRunnerType}
            memoryInGbs: ${buildPipelineStageBuildRunnerShapeConfigMemoryInGbs}
            ocpus: ${buildPipelineStageBuildRunnerShapeConfigOcpus}
          buildSourceCollection:
            items:
              - connectionType: ${buildPipelineStageBuildSourceCollectionItemsConnectionType}
                branch: ${buildPipelineStageBuildSourceCollectionItemsBranch}
                connectionId: ${testConnection.id}
                name: ${buildPipelineStageBuildSourceCollectionItemsName}
                repositoryId: ${testRepository.id}
                repositoryUrl: ${buildPipelineStageBuildSourceCollectionItemsRepositoryUrl}
          buildSpecFile: ${buildPipelineStageBuildSpecFile}
          definedTags:
            foo-namespace.bar-key: value
          deliverArtifactCollection:
            items:
              - artifactId: ${testArtifact.id}
                artifactName: ${buildPipelineStageDeliverArtifactCollectionItemsArtifactName}
          deployPipelineId: ${testDeployPipeline.id}
          description: ${buildPipelineStageDescription}
          displayName: ${buildPipelineStageDisplayName}
          freeformTags:
            bar-key: value
          image: ${buildPipelineStageImage}
          isPassAllParametersEnabled: ${buildPipelineStageIsPassAllParametersEnabled}
          primaryBuildSource: ${buildPipelineStagePrimaryBuildSource}
          privateAccessConfig:
            networkChannelType: ${buildPipelineStagePrivateAccessConfigNetworkChannelType}
            subnetId: ${testSubnet.id}
            nsgIds: ${buildPipelineStagePrivateAccessConfigNsgIds}
          stageExecutionTimeoutInSeconds: ${buildPipelineStageStageExecutionTimeoutInSeconds}
          waitCriteria:
            waitDuration: ${buildPipelineStageWaitCriteriaWaitDuration}
            waitType: ${buildPipelineStageWaitCriteriaWaitType}
    

    Create BuildPipelineStage Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BuildPipelineStage(name: string, args: BuildPipelineStageArgs, opts?: CustomResourceOptions);
    @overload
    def BuildPipelineStage(resource_name: str,
                           args: BuildPipelineStageArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def BuildPipelineStage(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           build_pipeline_id: Optional[str] = None,
                           build_pipeline_stage_predecessor_collection: Optional[_devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs] = None,
                           build_pipeline_stage_type: Optional[str] = None,
                           build_runner_shape_config: Optional[_devops.BuildPipelineStageBuildRunnerShapeConfigArgs] = None,
                           build_source_collection: Optional[_devops.BuildPipelineStageBuildSourceCollectionArgs] = None,
                           build_spec_file: Optional[str] = None,
                           defined_tags: Optional[Mapping[str, str]] = None,
                           deliver_artifact_collection: Optional[_devops.BuildPipelineStageDeliverArtifactCollectionArgs] = None,
                           deploy_pipeline_id: Optional[str] = None,
                           description: Optional[str] = None,
                           display_name: Optional[str] = None,
                           freeform_tags: Optional[Mapping[str, str]] = None,
                           image: Optional[str] = None,
                           is_pass_all_parameters_enabled: Optional[bool] = None,
                           primary_build_source: Optional[str] = None,
                           private_access_config: Optional[_devops.BuildPipelineStagePrivateAccessConfigArgs] = None,
                           stage_execution_timeout_in_seconds: Optional[int] = None,
                           wait_criteria: Optional[_devops.BuildPipelineStageWaitCriteriaArgs] = None)
    func NewBuildPipelineStage(ctx *Context, name string, args BuildPipelineStageArgs, opts ...ResourceOption) (*BuildPipelineStage, error)
    public BuildPipelineStage(string name, BuildPipelineStageArgs args, CustomResourceOptions? opts = null)
    public BuildPipelineStage(String name, BuildPipelineStageArgs args)
    public BuildPipelineStage(String name, BuildPipelineStageArgs args, CustomResourceOptions options)
    
    type: oci:DevOps:BuildPipelineStage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BuildPipelineStageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BuildPipelineStageArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BuildPipelineStageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BuildPipelineStageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BuildPipelineStageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var buildPipelineStageResource = new Oci.DevOps.BuildPipelineStage("buildPipelineStageResource", new()
    {
        BuildPipelineId = "string",
        BuildPipelineStagePredecessorCollection = new Oci.DevOps.Inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs
                {
                    Id = "string",
                },
            },
        },
        BuildPipelineStageType = "string",
        BuildRunnerShapeConfig = new Oci.DevOps.Inputs.BuildPipelineStageBuildRunnerShapeConfigArgs
        {
            BuildRunnerType = "string",
            MemoryInGbs = 0,
            Ocpus = 0,
        },
        BuildSourceCollection = new Oci.DevOps.Inputs.BuildPipelineStageBuildSourceCollectionArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.BuildPipelineStageBuildSourceCollectionItemArgs
                {
                    ConnectionType = "string",
                    Branch = "string",
                    ConnectionId = "string",
                    Name = "string",
                    RepositoryId = "string",
                    RepositoryUrl = "string",
                },
            },
        },
        BuildSpecFile = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DeliverArtifactCollection = new Oci.DevOps.Inputs.BuildPipelineStageDeliverArtifactCollectionArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.BuildPipelineStageDeliverArtifactCollectionItemArgs
                {
                    ArtifactId = "string",
                    ArtifactName = "string",
                },
            },
        },
        DeployPipelineId = "string",
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        Image = "string",
        IsPassAllParametersEnabled = false,
        PrimaryBuildSource = "string",
        PrivateAccessConfig = new Oci.DevOps.Inputs.BuildPipelineStagePrivateAccessConfigArgs
        {
            NetworkChannelType = "string",
            SubnetId = "string",
            NsgIds = new[]
            {
                "string",
            },
        },
        StageExecutionTimeoutInSeconds = 0,
        WaitCriteria = new Oci.DevOps.Inputs.BuildPipelineStageWaitCriteriaArgs
        {
            WaitDuration = "string",
            WaitType = "string",
        },
    });
    
    example, err := DevOps.NewBuildPipelineStage(ctx, "buildPipelineStageResource", &DevOps.BuildPipelineStageArgs{
    	BuildPipelineId: pulumi.String("string"),
    	BuildPipelineStagePredecessorCollection: &devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs{
    		Items: devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArray{
    			&devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs{
    				Id: pulumi.String("string"),
    			},
    		},
    	},
    	BuildPipelineStageType: pulumi.String("string"),
    	BuildRunnerShapeConfig: &devops.BuildPipelineStageBuildRunnerShapeConfigArgs{
    		BuildRunnerType: pulumi.String("string"),
    		MemoryInGbs:     pulumi.Int(0),
    		Ocpus:           pulumi.Int(0),
    	},
    	BuildSourceCollection: &devops.BuildPipelineStageBuildSourceCollectionArgs{
    		Items: devops.BuildPipelineStageBuildSourceCollectionItemArray{
    			&devops.BuildPipelineStageBuildSourceCollectionItemArgs{
    				ConnectionType: pulumi.String("string"),
    				Branch:         pulumi.String("string"),
    				ConnectionId:   pulumi.String("string"),
    				Name:           pulumi.String("string"),
    				RepositoryId:   pulumi.String("string"),
    				RepositoryUrl:  pulumi.String("string"),
    			},
    		},
    	},
    	BuildSpecFile: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DeliverArtifactCollection: &devops.BuildPipelineStageDeliverArtifactCollectionArgs{
    		Items: devops.BuildPipelineStageDeliverArtifactCollectionItemArray{
    			&devops.BuildPipelineStageDeliverArtifactCollectionItemArgs{
    				ArtifactId:   pulumi.String("string"),
    				ArtifactName: pulumi.String("string"),
    			},
    		},
    	},
    	DeployPipelineId: pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	DisplayName:      pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Image:                      pulumi.String("string"),
    	IsPassAllParametersEnabled: pulumi.Bool(false),
    	PrimaryBuildSource:         pulumi.String("string"),
    	PrivateAccessConfig: &devops.BuildPipelineStagePrivateAccessConfigArgs{
    		NetworkChannelType: pulumi.String("string"),
    		SubnetId:           pulumi.String("string"),
    		NsgIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	StageExecutionTimeoutInSeconds: pulumi.Int(0),
    	WaitCriteria: &devops.BuildPipelineStageWaitCriteriaArgs{
    		WaitDuration: pulumi.String("string"),
    		WaitType:     pulumi.String("string"),
    	},
    })
    
    var buildPipelineStageResource = new BuildPipelineStage("buildPipelineStageResource", BuildPipelineStageArgs.builder()
        .buildPipelineId("string")
        .buildPipelineStagePredecessorCollection(BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs.builder()
            .items(BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs.builder()
                .id("string")
                .build())
            .build())
        .buildPipelineStageType("string")
        .buildRunnerShapeConfig(BuildPipelineStageBuildRunnerShapeConfigArgs.builder()
            .buildRunnerType("string")
            .memoryInGbs(0)
            .ocpus(0)
            .build())
        .buildSourceCollection(BuildPipelineStageBuildSourceCollectionArgs.builder()
            .items(BuildPipelineStageBuildSourceCollectionItemArgs.builder()
                .connectionType("string")
                .branch("string")
                .connectionId("string")
                .name("string")
                .repositoryId("string")
                .repositoryUrl("string")
                .build())
            .build())
        .buildSpecFile("string")
        .definedTags(Map.of("string", "string"))
        .deliverArtifactCollection(BuildPipelineStageDeliverArtifactCollectionArgs.builder()
            .items(BuildPipelineStageDeliverArtifactCollectionItemArgs.builder()
                .artifactId("string")
                .artifactName("string")
                .build())
            .build())
        .deployPipelineId("string")
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .image("string")
        .isPassAllParametersEnabled(false)
        .primaryBuildSource("string")
        .privateAccessConfig(BuildPipelineStagePrivateAccessConfigArgs.builder()
            .networkChannelType("string")
            .subnetId("string")
            .nsgIds("string")
            .build())
        .stageExecutionTimeoutInSeconds(0)
        .waitCriteria(BuildPipelineStageWaitCriteriaArgs.builder()
            .waitDuration("string")
            .waitType("string")
            .build())
        .build());
    
    build_pipeline_stage_resource = oci.dev_ops.BuildPipelineStage("buildPipelineStageResource",
        build_pipeline_id="string",
        build_pipeline_stage_predecessor_collection={
            "items": [{
                "id": "string",
            }],
        },
        build_pipeline_stage_type="string",
        build_runner_shape_config={
            "build_runner_type": "string",
            "memory_in_gbs": 0,
            "ocpus": 0,
        },
        build_source_collection={
            "items": [{
                "connection_type": "string",
                "branch": "string",
                "connection_id": "string",
                "name": "string",
                "repository_id": "string",
                "repository_url": "string",
            }],
        },
        build_spec_file="string",
        defined_tags={
            "string": "string",
        },
        deliver_artifact_collection={
            "items": [{
                "artifact_id": "string",
                "artifact_name": "string",
            }],
        },
        deploy_pipeline_id="string",
        description="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        image="string",
        is_pass_all_parameters_enabled=False,
        primary_build_source="string",
        private_access_config={
            "network_channel_type": "string",
            "subnet_id": "string",
            "nsg_ids": ["string"],
        },
        stage_execution_timeout_in_seconds=0,
        wait_criteria={
            "wait_duration": "string",
            "wait_type": "string",
        })
    
    const buildPipelineStageResource = new oci.devops.BuildPipelineStage("buildPipelineStageResource", {
        buildPipelineId: "string",
        buildPipelineStagePredecessorCollection: {
            items: [{
                id: "string",
            }],
        },
        buildPipelineStageType: "string",
        buildRunnerShapeConfig: {
            buildRunnerType: "string",
            memoryInGbs: 0,
            ocpus: 0,
        },
        buildSourceCollection: {
            items: [{
                connectionType: "string",
                branch: "string",
                connectionId: "string",
                name: "string",
                repositoryId: "string",
                repositoryUrl: "string",
            }],
        },
        buildSpecFile: "string",
        definedTags: {
            string: "string",
        },
        deliverArtifactCollection: {
            items: [{
                artifactId: "string",
                artifactName: "string",
            }],
        },
        deployPipelineId: "string",
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        image: "string",
        isPassAllParametersEnabled: false,
        primaryBuildSource: "string",
        privateAccessConfig: {
            networkChannelType: "string",
            subnetId: "string",
            nsgIds: ["string"],
        },
        stageExecutionTimeoutInSeconds: 0,
        waitCriteria: {
            waitDuration: "string",
            waitType: "string",
        },
    });
    
    type: oci:DevOps:BuildPipelineStage
    properties:
        buildPipelineId: string
        buildPipelineStagePredecessorCollection:
            items:
                - id: string
        buildPipelineStageType: string
        buildRunnerShapeConfig:
            buildRunnerType: string
            memoryInGbs: 0
            ocpus: 0
        buildSourceCollection:
            items:
                - branch: string
                  connectionId: string
                  connectionType: string
                  name: string
                  repositoryId: string
                  repositoryUrl: string
        buildSpecFile: string
        definedTags:
            string: string
        deliverArtifactCollection:
            items:
                - artifactId: string
                  artifactName: string
        deployPipelineId: string
        description: string
        displayName: string
        freeformTags:
            string: string
        image: string
        isPassAllParametersEnabled: false
        primaryBuildSource: string
        privateAccessConfig:
            networkChannelType: string
            nsgIds:
                - string
            subnetId: string
        stageExecutionTimeoutInSeconds: 0
        waitCriteria:
            waitDuration: string
            waitType: string
    

    BuildPipelineStage Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The BuildPipelineStage resource accepts the following input properties:

    BuildPipelineId string
    The OCID of the build pipeline.
    BuildPipelineStagePredecessorCollection BuildPipelineStageBuildPipelineStagePredecessorCollection
    (Updatable) The collection containing the predecessors of a stage.
    BuildPipelineStageType string
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    BuildRunnerShapeConfig BuildPipelineStageBuildRunnerShapeConfig
    (Updatable) The information about build runner.
    BuildSourceCollection BuildPipelineStageBuildSourceCollection
    (Updatable) Collection of build sources.
    BuildSpecFile string
    (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeliverArtifactCollection BuildPipelineStageDeliverArtifactCollection
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    DeployPipelineId string
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    Description string
    (Updatable) Optional description about the stage.
    DisplayName string
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    Image string
    (Updatable) Image name for the build environment
    IsPassAllParametersEnabled bool
    (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
    PrimaryBuildSource string
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    PrivateAccessConfig BuildPipelineStagePrivateAccessConfig
    (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
    StageExecutionTimeoutInSeconds int
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    WaitCriteria BuildPipelineStageWaitCriteria
    (Updatable) Specifies wait criteria for the Wait stage.
    BuildPipelineId string
    The OCID of the build pipeline.
    BuildPipelineStagePredecessorCollection BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs
    (Updatable) The collection containing the predecessors of a stage.
    BuildPipelineStageType string
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    BuildRunnerShapeConfig BuildPipelineStageBuildRunnerShapeConfigArgs
    (Updatable) The information about build runner.
    BuildSourceCollection BuildPipelineStageBuildSourceCollectionArgs
    (Updatable) Collection of build sources.
    BuildSpecFile string
    (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeliverArtifactCollection BuildPipelineStageDeliverArtifactCollectionArgs
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    DeployPipelineId string
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    Description string
    (Updatable) Optional description about the stage.
    DisplayName string
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) 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"}
    Image string
    (Updatable) Image name for the build environment
    IsPassAllParametersEnabled bool
    (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
    PrimaryBuildSource string
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    PrivateAccessConfig BuildPipelineStagePrivateAccessConfigArgs
    (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
    StageExecutionTimeoutInSeconds int
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    WaitCriteria BuildPipelineStageWaitCriteriaArgs
    (Updatable) Specifies wait criteria for the Wait stage.
    buildPipelineId String
    The OCID of the build pipeline.
    buildPipelineStagePredecessorCollection BuildPipelineStageBuildPipelineStagePredecessorCollection
    (Updatable) The collection containing the predecessors of a stage.
    buildPipelineStageType String
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    buildRunnerShapeConfig BuildPipelineStageBuildRunnerShapeConfig
    (Updatable) The information about build runner.
    buildSourceCollection BuildPipelineStageBuildSourceCollection
    (Updatable) Collection of build sources.
    buildSpecFile String
    (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deliverArtifactCollection BuildPipelineStageDeliverArtifactCollection
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deployPipelineId String
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    description String
    (Updatable) Optional description about the stage.
    displayName String
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) 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"}
    image String
    (Updatable) Image name for the build environment
    isPassAllParametersEnabled Boolean
    (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
    primaryBuildSource String
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    privateAccessConfig BuildPipelineStagePrivateAccessConfig
    (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
    stageExecutionTimeoutInSeconds Integer
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    waitCriteria BuildPipelineStageWaitCriteria
    (Updatable) Specifies wait criteria for the Wait stage.
    buildPipelineId string
    The OCID of the build pipeline.
    buildPipelineStagePredecessorCollection BuildPipelineStageBuildPipelineStagePredecessorCollection
    (Updatable) The collection containing the predecessors of a stage.
    buildPipelineStageType string
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    buildRunnerShapeConfig BuildPipelineStageBuildRunnerShapeConfig
    (Updatable) The information about build runner.
    buildSourceCollection BuildPipelineStageBuildSourceCollection
    (Updatable) Collection of build sources.
    buildSpecFile string
    (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deliverArtifactCollection BuildPipelineStageDeliverArtifactCollection
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deployPipelineId string
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    description string
    (Updatable) Optional description about the stage.
    displayName string
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    image string
    (Updatable) Image name for the build environment
    isPassAllParametersEnabled boolean
    (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
    primaryBuildSource string
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    privateAccessConfig BuildPipelineStagePrivateAccessConfig
    (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
    stageExecutionTimeoutInSeconds number
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    waitCriteria BuildPipelineStageWaitCriteria
    (Updatable) Specifies wait criteria for the Wait stage.
    build_pipeline_id str
    The OCID of the build pipeline.
    build_pipeline_stage_predecessor_collection devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs
    (Updatable) The collection containing the predecessors of a stage.
    build_pipeline_stage_type str
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    build_runner_shape_config devops.BuildPipelineStageBuildRunnerShapeConfigArgs
    (Updatable) The information about build runner.
    build_source_collection devops.BuildPipelineStageBuildSourceCollectionArgs
    (Updatable) Collection of build sources.
    build_spec_file str
    (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
    defined_tags Mapping[str, str]
    (Updatable) 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.BuildPipelineStageDeliverArtifactCollectionArgs
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deploy_pipeline_id str
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    description str
    (Updatable) Optional description about the stage.
    display_name str
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    image str
    (Updatable) Image name for the build environment
    is_pass_all_parameters_enabled bool
    (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
    primary_build_source str
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    private_access_config devops.BuildPipelineStagePrivateAccessConfigArgs
    (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
    stage_execution_timeout_in_seconds int
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    wait_criteria devops.BuildPipelineStageWaitCriteriaArgs
    (Updatable) Specifies wait criteria for the Wait stage.
    buildPipelineId String
    The OCID of the build pipeline.
    buildPipelineStagePredecessorCollection Property Map
    (Updatable) The collection containing the predecessors of a stage.
    buildPipelineStageType String
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    buildRunnerShapeConfig Property Map
    (Updatable) The information about build runner.
    buildSourceCollection Property Map
    (Updatable) Collection of build sources.
    buildSpecFile String
    (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deployPipelineId String
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    description String
    (Updatable) Optional description about the stage.
    displayName String
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) 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"}
    image String
    (Updatable) Image name for the build environment
    isPassAllParametersEnabled Boolean
    (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
    primaryBuildSource String
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    privateAccessConfig Property Map
    (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
    stageExecutionTimeoutInSeconds Number
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    waitCriteria Property Map
    (Updatable) Specifies wait criteria for the Wait stage.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BuildPipelineStage resource produces the following output properties:

    CompartmentId string
    The OCID of the compartment where the pipeline is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    ProjectId string
    The OCID of the DevOps project.
    State string
    The current state of the stage.
    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.
    CompartmentId string
    The OCID of the compartment where the pipeline is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    ProjectId string
    The OCID of the DevOps project.
    State string
    The current state of the stage.
    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.
    compartmentId String
    The OCID of the compartment where the pipeline is created.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    projectId String
    The OCID of the DevOps project.
    state String
    The current state of the stage.
    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.
    compartmentId string
    The OCID of the compartment where the pipeline is created.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    projectId string
    The OCID of the DevOps project.
    state string
    The current state of the stage.
    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.
    compartment_id str
    The OCID of the compartment where the pipeline is created.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    project_id str
    The OCID of the DevOps project.
    state str
    The current state of the stage.
    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.
    compartmentId String
    The OCID of the compartment where the pipeline is created.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    projectId String
    The OCID of the DevOps project.
    state String
    The current state of the stage.
    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.

    Look up Existing BuildPipelineStage Resource

    Get an existing BuildPipelineStage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BuildPipelineStageState, opts?: CustomResourceOptions): BuildPipelineStage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            build_pipeline_id: Optional[str] = None,
            build_pipeline_stage_predecessor_collection: Optional[_devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs] = None,
            build_pipeline_stage_type: Optional[str] = None,
            build_runner_shape_config: Optional[_devops.BuildPipelineStageBuildRunnerShapeConfigArgs] = None,
            build_source_collection: Optional[_devops.BuildPipelineStageBuildSourceCollectionArgs] = None,
            build_spec_file: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            deliver_artifact_collection: Optional[_devops.BuildPipelineStageDeliverArtifactCollectionArgs] = None,
            deploy_pipeline_id: Optional[str] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            image: Optional[str] = None,
            is_pass_all_parameters_enabled: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            primary_build_source: Optional[str] = None,
            private_access_config: Optional[_devops.BuildPipelineStagePrivateAccessConfigArgs] = None,
            project_id: Optional[str] = None,
            stage_execution_timeout_in_seconds: Optional[int] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            wait_criteria: Optional[_devops.BuildPipelineStageWaitCriteriaArgs] = None) -> BuildPipelineStage
    func GetBuildPipelineStage(ctx *Context, name string, id IDInput, state *BuildPipelineStageState, opts ...ResourceOption) (*BuildPipelineStage, error)
    public static BuildPipelineStage Get(string name, Input<string> id, BuildPipelineStageState? state, CustomResourceOptions? opts = null)
    public static BuildPipelineStage get(String name, Output<String> id, BuildPipelineStageState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BuildPipelineId string
    The OCID of the build pipeline.
    BuildPipelineStagePredecessorCollection BuildPipelineStageBuildPipelineStagePredecessorCollection
    (Updatable) The collection containing the predecessors of a stage.
    BuildPipelineStageType string
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    BuildRunnerShapeConfig BuildPipelineStageBuildRunnerShapeConfig
    (Updatable) The information about build runner.
    BuildSourceCollection BuildPipelineStageBuildSourceCollection
    (Updatable) Collection of build sources.
    BuildSpecFile string
    (Updatable) 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 where the pipeline is created.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeliverArtifactCollection BuildPipelineStageDeliverArtifactCollection
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    DeployPipelineId string
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    Description string
    (Updatable) Optional description about the stage.
    DisplayName string
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    Image string
    (Updatable) Image name for the build environment
    IsPassAllParametersEnabled bool
    (Updatable) 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
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    PrivateAccessConfig BuildPipelineStagePrivateAccessConfig
    (Updatable) 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
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    State string
    The current state of the stage.
    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 BuildPipelineStageWaitCriteria
    (Updatable) Specifies wait criteria for the Wait stage.
    BuildPipelineId string
    The OCID of the build pipeline.
    BuildPipelineStagePredecessorCollection BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs
    (Updatable) The collection containing the predecessors of a stage.
    BuildPipelineStageType string
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    BuildRunnerShapeConfig BuildPipelineStageBuildRunnerShapeConfigArgs
    (Updatable) The information about build runner.
    BuildSourceCollection BuildPipelineStageBuildSourceCollectionArgs
    (Updatable) Collection of build sources.
    BuildSpecFile string
    (Updatable) 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 where the pipeline is created.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeliverArtifactCollection BuildPipelineStageDeliverArtifactCollectionArgs
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    DeployPipelineId string
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    Description string
    (Updatable) Optional description about the stage.
    DisplayName string
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) 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"}
    Image string
    (Updatable) Image name for the build environment
    IsPassAllParametersEnabled bool
    (Updatable) 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
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    PrivateAccessConfig BuildPipelineStagePrivateAccessConfigArgs
    (Updatable) 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
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    State string
    The current state of the stage.
    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 BuildPipelineStageWaitCriteriaArgs
    (Updatable) Specifies wait criteria for the Wait stage.
    buildPipelineId String
    The OCID of the build pipeline.
    buildPipelineStagePredecessorCollection BuildPipelineStageBuildPipelineStagePredecessorCollection
    (Updatable) The collection containing the predecessors of a stage.
    buildPipelineStageType String
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    buildRunnerShapeConfig BuildPipelineStageBuildRunnerShapeConfig
    (Updatable) The information about build runner.
    buildSourceCollection BuildPipelineStageBuildSourceCollection
    (Updatable) Collection of build sources.
    buildSpecFile String
    (Updatable) 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 where the pipeline is created.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deliverArtifactCollection BuildPipelineStageDeliverArtifactCollection
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deployPipelineId String
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    description String
    (Updatable) Optional description about the stage.
    displayName String
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) 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"}
    image String
    (Updatable) Image name for the build environment
    isPassAllParametersEnabled Boolean
    (Updatable) 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
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    privateAccessConfig BuildPipelineStagePrivateAccessConfig
    (Updatable) 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
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    state String
    The current state of the stage.
    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 BuildPipelineStageWaitCriteria
    (Updatable) Specifies wait criteria for the Wait stage.
    buildPipelineId string
    The OCID of the build pipeline.
    buildPipelineStagePredecessorCollection BuildPipelineStageBuildPipelineStagePredecessorCollection
    (Updatable) The collection containing the predecessors of a stage.
    buildPipelineStageType string
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    buildRunnerShapeConfig BuildPipelineStageBuildRunnerShapeConfig
    (Updatable) The information about build runner.
    buildSourceCollection BuildPipelineStageBuildSourceCollection
    (Updatable) Collection of build sources.
    buildSpecFile string
    (Updatable) 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 where the pipeline is created.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deliverArtifactCollection BuildPipelineStageDeliverArtifactCollection
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deployPipelineId string
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    description string
    (Updatable) Optional description about the stage.
    displayName string
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    image string
    (Updatable) Image name for the build environment
    isPassAllParametersEnabled boolean
    (Updatable) 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
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    privateAccessConfig BuildPipelineStagePrivateAccessConfig
    (Updatable) 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
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    state string
    The current state of the stage.
    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 BuildPipelineStageWaitCriteria
    (Updatable) Specifies wait criteria for the Wait stage.
    build_pipeline_id str
    The OCID of the build pipeline.
    build_pipeline_stage_predecessor_collection devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs
    (Updatable) The collection containing the predecessors of a stage.
    build_pipeline_stage_type str
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    build_runner_shape_config devops.BuildPipelineStageBuildRunnerShapeConfigArgs
    (Updatable) The information about build runner.
    build_source_collection devops.BuildPipelineStageBuildSourceCollectionArgs
    (Updatable) Collection of build sources.
    build_spec_file str
    (Updatable) 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 where the pipeline is created.
    defined_tags Mapping[str, str]
    (Updatable) 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.BuildPipelineStageDeliverArtifactCollectionArgs
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deploy_pipeline_id str
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    description str
    (Updatable) Optional description about the stage.
    display_name str
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    image str
    (Updatable) Image name for the build environment
    is_pass_all_parameters_enabled bool
    (Updatable) 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
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    private_access_config devops.BuildPipelineStagePrivateAccessConfigArgs
    (Updatable) 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
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    state str
    The current state of the stage.
    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.BuildPipelineStageWaitCriteriaArgs
    (Updatable) Specifies wait criteria for the Wait stage.
    buildPipelineId String
    The OCID of the build pipeline.
    buildPipelineStagePredecessorCollection Property Map
    (Updatable) The collection containing the predecessors of a stage.
    buildPipelineStageType String
    (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
    buildRunnerShapeConfig Property Map
    (Updatable) The information about build runner.
    buildSourceCollection Property Map
    (Updatable) Collection of build sources.
    buildSpecFile String
    (Updatable) 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 where the pipeline is created.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
    deployPipelineId String
    (Updatable) A target deployment pipeline OCID that will run in this stage.
    description String
    (Updatable) Optional description about the stage.
    displayName String
    (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) 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"}
    image String
    (Updatable) Image name for the build environment
    isPassAllParametersEnabled Boolean
    (Updatable) 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
    (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
    privateAccessConfig Property Map
    (Updatable) 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
    (Updatable) Timeout for the build stage execution. Specify value in seconds.
    state String
    The current state of the stage.
    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
    (Updatable) Specifies wait criteria for the Wait stage.

    Supporting Types

    BuildPipelineStageBuildPipelineStagePredecessorCollection, BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs

    Items List<BuildPipelineStageBuildPipelineStagePredecessorCollectionItem>
    (Updatable) A list of build pipeline stage predecessors for a stage.
    Items []BuildPipelineStageBuildPipelineStagePredecessorCollectionItem
    (Updatable) A list of build pipeline stage predecessors for a stage.
    items List<BuildPipelineStageBuildPipelineStagePredecessorCollectionItem>
    (Updatable) A list of build pipeline stage predecessors for a stage.
    items BuildPipelineStageBuildPipelineStagePredecessorCollectionItem[]
    (Updatable) A list of build pipeline stage predecessors for a stage.
    items Sequence[devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItem]
    (Updatable) A list of build pipeline stage predecessors for a stage.
    items List<Property Map>
    (Updatable) A list of build pipeline stage predecessors for a stage.

    BuildPipelineStageBuildPipelineStagePredecessorCollectionItem, BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs

    Id string
    (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.
    Id string
    (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.
    id String
    (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.
    id string
    (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.
    id str
    (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.
    id String
    (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.

    BuildPipelineStageBuildRunnerShapeConfig, BuildPipelineStageBuildRunnerShapeConfigArgs

    BuildRunnerType string
    (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    MemoryInGbs int
    (Updatable) The total amount of memory set for the instance in gigabytes.
    Ocpus int
    (Updatable) The total number of OCPUs set for the instance.
    BuildRunnerType string
    (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    MemoryInGbs int
    (Updatable) The total amount of memory set for the instance in gigabytes.
    Ocpus int
    (Updatable) The total number of OCPUs set for the instance.
    buildRunnerType String
    (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    memoryInGbs Integer
    (Updatable) The total amount of memory set for the instance in gigabytes.
    ocpus Integer
    (Updatable) The total number of OCPUs set for the instance.
    buildRunnerType string
    (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    memoryInGbs number
    (Updatable) The total amount of memory set for the instance in gigabytes.
    ocpus number
    (Updatable) The total number of OCPUs set for the instance.
    build_runner_type str
    (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    memory_in_gbs int
    (Updatable) The total amount of memory set for the instance in gigabytes.
    ocpus int
    (Updatable) The total number of OCPUs set for the instance.
    buildRunnerType String
    (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
    memoryInGbs Number
    (Updatable) The total amount of memory set for the instance in gigabytes.
    ocpus Number
    (Updatable) The total number of OCPUs set for the instance.

    BuildPipelineStageBuildSourceCollection, BuildPipelineStageBuildSourceCollectionArgs

    Items List<BuildPipelineStageBuildSourceCollectionItem>
    (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.
    Items []BuildPipelineStageBuildSourceCollectionItem
    (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.
    items List<BuildPipelineStageBuildSourceCollectionItem>
    (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.
    items BuildPipelineStageBuildSourceCollectionItem[]
    (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.
    items Sequence[devops.BuildPipelineStageBuildSourceCollectionItem]
    (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.
    items List<Property Map>
    (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.

    BuildPipelineStageBuildSourceCollectionItem, BuildPipelineStageBuildSourceCollectionItemArgs

    ConnectionType string
    (Updatable) The type of source provider.
    Branch string
    (Updatable) Branch name.
    ConnectionId string
    (Updatable) Connection identifier pertinent to Bitbucket Server source provider
    Name string
    (Updatable) 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
    (Updatable) The DevOps code repository ID.
    RepositoryUrl string
    (Updatable) URL for the repository.
    ConnectionType string
    (Updatable) The type of source provider.
    Branch string
    (Updatable) Branch name.
    ConnectionId string
    (Updatable) Connection identifier pertinent to Bitbucket Server source provider
    Name string
    (Updatable) 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
    (Updatable) The DevOps code repository ID.
    RepositoryUrl string
    (Updatable) URL for the repository.
    connectionType String
    (Updatable) The type of source provider.
    branch String
    (Updatable) Branch name.
    connectionId String
    (Updatable) Connection identifier pertinent to Bitbucket Server source provider
    name String
    (Updatable) 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
    (Updatable) The DevOps code repository ID.
    repositoryUrl String
    (Updatable) URL for the repository.
    connectionType string
    (Updatable) The type of source provider.
    branch string
    (Updatable) Branch name.
    connectionId string
    (Updatable) Connection identifier pertinent to Bitbucket Server source provider
    name string
    (Updatable) 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
    (Updatable) The DevOps code repository ID.
    repositoryUrl string
    (Updatable) URL for the repository.
    connection_type str
    (Updatable) The type of source provider.
    branch str
    (Updatable) Branch name.
    connection_id str
    (Updatable) Connection identifier pertinent to Bitbucket Server source provider
    name str
    (Updatable) 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
    (Updatable) The DevOps code repository ID.
    repository_url str
    (Updatable) URL for the repository.
    connectionType String
    (Updatable) The type of source provider.
    branch String
    (Updatable) Branch name.
    connectionId String
    (Updatable) Connection identifier pertinent to Bitbucket Server source provider
    name String
    (Updatable) 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
    (Updatable) The DevOps code repository ID.
    repositoryUrl String
    (Updatable) URL for the repository.

    BuildPipelineStageDeliverArtifactCollection, BuildPipelineStageDeliverArtifactCollectionArgs

    Items List<BuildPipelineStageDeliverArtifactCollectionItem>
    (Updatable) 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 []BuildPipelineStageDeliverArtifactCollectionItem
    (Updatable) 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<BuildPipelineStageDeliverArtifactCollectionItem>
    (Updatable) 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 BuildPipelineStageDeliverArtifactCollectionItem[]
    (Updatable) 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.BuildPipelineStageDeliverArtifactCollectionItem]
    (Updatable) 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>
    (Updatable) 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.

    BuildPipelineStageDeliverArtifactCollectionItem, BuildPipelineStageDeliverArtifactCollectionItemArgs

    ArtifactId string
    (Updatable) Artifact identifier that contains the artifact definition.
    ArtifactName string
    (Updatable) Name of the artifact specified in the build_spec.yaml file.
    ArtifactId string
    (Updatable) Artifact identifier that contains the artifact definition.
    ArtifactName string
    (Updatable) Name of the artifact specified in the build_spec.yaml file.
    artifactId String
    (Updatable) Artifact identifier that contains the artifact definition.
    artifactName String
    (Updatable) Name of the artifact specified in the build_spec.yaml file.
    artifactId string
    (Updatable) Artifact identifier that contains the artifact definition.
    artifactName string
    (Updatable) Name of the artifact specified in the build_spec.yaml file.
    artifact_id str
    (Updatable) Artifact identifier that contains the artifact definition.
    artifact_name str
    (Updatable) Name of the artifact specified in the build_spec.yaml file.
    artifactId String
    (Updatable) Artifact identifier that contains the artifact definition.
    artifactName String
    (Updatable) Name of the artifact specified in the build_spec.yaml file.

    BuildPipelineStagePrivateAccessConfig, BuildPipelineStagePrivateAccessConfigArgs

    NetworkChannelType string
    (Updatable) Network channel type.
    SubnetId string
    (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
    NsgIds List<string>
    (Updatable) An array of network security group OCIDs.
    NetworkChannelType string
    (Updatable) Network channel type.
    SubnetId string
    (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
    NsgIds []string
    (Updatable) An array of network security group OCIDs.
    networkChannelType String
    (Updatable) Network channel type.
    subnetId String
    (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
    nsgIds List<String>
    (Updatable) An array of network security group OCIDs.
    networkChannelType string
    (Updatable) Network channel type.
    subnetId string
    (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
    nsgIds string[]
    (Updatable) An array of network security group OCIDs.
    network_channel_type str
    (Updatable) Network channel type.
    subnet_id str
    (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
    nsg_ids Sequence[str]
    (Updatable) An array of network security group OCIDs.
    networkChannelType String
    (Updatable) Network channel type.
    subnetId String
    (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
    nsgIds List<String>
    (Updatable) An array of network security group OCIDs.

    BuildPipelineStageWaitCriteria, BuildPipelineStageWaitCriteriaArgs

    WaitDuration string
    (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
    WaitType string

    (Updatable) Wait criteria type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    WaitDuration string
    (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
    WaitType string

    (Updatable) Wait criteria type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    waitDuration String
    (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
    waitType String

    (Updatable) Wait criteria type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    waitDuration string
    (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
    waitType string

    (Updatable) Wait criteria type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    wait_duration str
    (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
    wait_type str

    (Updatable) Wait criteria type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    waitDuration String
    (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
    waitType String

    (Updatable) Wait criteria type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    BuildPipelineStages can be imported using the id, e.g.

    $ pulumi import oci:DevOps/buildPipelineStage:BuildPipelineStage test_build_pipeline_stage "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.17.0 published on Friday, Nov 15, 2024 by Pulumi