Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

BuildPipelineStage

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

Creates a new stage.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testBuildPipelineStage = new Oci.DevOps.BuildPipelineStage("testBuildPipelineStage", new()
    {
        BuildPipelineId = oci_devops_build_pipeline.Test_build_pipeline.Id,
        BuildPipelineStagePredecessorCollection = new Oci.DevOps.Inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs
                {
                    Id = @var.Build_pipeline_stage_build_pipeline_stage_predecessor_collection_items_id,
                },
            },
        },
        BuildPipelineStageType = @var.Build_pipeline_stage_build_pipeline_stage_type,
        BuildSourceCollection = new Oci.DevOps.Inputs.BuildPipelineStageBuildSourceCollectionArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.BuildPipelineStageBuildSourceCollectionItemArgs
                {
                    ConnectionType = @var.Build_pipeline_stage_build_source_collection_items_connection_type,
                    Branch = @var.Build_pipeline_stage_build_source_collection_items_branch,
                    ConnectionId = oci_devops_connection.Test_connection.Id,
                    Name = @var.Build_pipeline_stage_build_source_collection_items_name,
                    RepositoryId = oci_artifacts_repository.Test_repository.Id,
                    RepositoryUrl = @var.Build_pipeline_stage_build_source_collection_items_repository_url,
                },
            },
        },
        BuildSpecFile = @var.Build_pipeline_stage_build_spec_file,
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        DeliverArtifactCollection = new Oci.DevOps.Inputs.BuildPipelineStageDeliverArtifactCollectionArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.BuildPipelineStageDeliverArtifactCollectionItemArgs
                {
                    ArtifactId = oci_devops_artifact.Test_artifact.Id,
                    ArtifactName = @var.Build_pipeline_stage_deliver_artifact_collection_items_artifact_name,
                },
            },
        },
        DeployPipelineId = oci_devops_deploy_pipeline.Test_deploy_pipeline.Id,
        Description = @var.Build_pipeline_stage_description,
        DisplayName = @var.Build_pipeline_stage_display_name,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
        Image = @var.Build_pipeline_stage_image,
        IsPassAllParametersEnabled = @var.Build_pipeline_stage_is_pass_all_parameters_enabled,
        PrimaryBuildSource = @var.Build_pipeline_stage_primary_build_source,
        PrivateAccessConfig = new Oci.DevOps.Inputs.BuildPipelineStagePrivateAccessConfigArgs
        {
            NetworkChannelType = @var.Build_pipeline_stage_private_access_config_network_channel_type,
            SubnetId = oci_core_subnet.Test_subnet.Id,
            NsgIds = @var.Build_pipeline_stage_private_access_config_nsg_ids,
        },
        StageExecutionTimeoutInSeconds = @var.Build_pipeline_stage_stage_execution_timeout_in_seconds,
        WaitCriteria = new Oci.DevOps.Inputs.BuildPipelineStageWaitCriteriaArgs
        {
            WaitDuration = @var.Build_pipeline_stage_wait_criteria_wait_duration,
            WaitType = @var.Build_pipeline_stage_wait_criteria_wait_type,
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DevOps"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DevOps.NewBuildPipelineStage(ctx, "testBuildPipelineStage", &DevOps.BuildPipelineStageArgs{
			BuildPipelineId: pulumi.Any(oci_devops_build_pipeline.Test_build_pipeline.Id),
			BuildPipelineStagePredecessorCollection: &devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs{
				Items: devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArray{
					&devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs{
						Id: pulumi.Any(_var.Build_pipeline_stage_build_pipeline_stage_predecessor_collection_items_id),
					},
				},
			},
			BuildPipelineStageType: pulumi.Any(_var.Build_pipeline_stage_build_pipeline_stage_type),
			BuildSourceCollection: &devops.BuildPipelineStageBuildSourceCollectionArgs{
				Items: devops.BuildPipelineStageBuildSourceCollectionItemArray{
					&devops.BuildPipelineStageBuildSourceCollectionItemArgs{
						ConnectionType: pulumi.Any(_var.Build_pipeline_stage_build_source_collection_items_connection_type),
						Branch:         pulumi.Any(_var.Build_pipeline_stage_build_source_collection_items_branch),
						ConnectionId:   pulumi.Any(oci_devops_connection.Test_connection.Id),
						Name:           pulumi.Any(_var.Build_pipeline_stage_build_source_collection_items_name),
						RepositoryId:   pulumi.Any(oci_artifacts_repository.Test_repository.Id),
						RepositoryUrl:  pulumi.Any(_var.Build_pipeline_stage_build_source_collection_items_repository_url),
					},
				},
			},
			BuildSpecFile: pulumi.Any(_var.Build_pipeline_stage_build_spec_file),
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			DeliverArtifactCollection: &devops.BuildPipelineStageDeliverArtifactCollectionArgs{
				Items: devops.BuildPipelineStageDeliverArtifactCollectionItemArray{
					&devops.BuildPipelineStageDeliverArtifactCollectionItemArgs{
						ArtifactId:   pulumi.Any(oci_devops_artifact.Test_artifact.Id),
						ArtifactName: pulumi.Any(_var.Build_pipeline_stage_deliver_artifact_collection_items_artifact_name),
					},
				},
			},
			DeployPipelineId: pulumi.Any(oci_devops_deploy_pipeline.Test_deploy_pipeline.Id),
			Description:      pulumi.Any(_var.Build_pipeline_stage_description),
			DisplayName:      pulumi.Any(_var.Build_pipeline_stage_display_name),
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
			Image:                      pulumi.Any(_var.Build_pipeline_stage_image),
			IsPassAllParametersEnabled: pulumi.Any(_var.Build_pipeline_stage_is_pass_all_parameters_enabled),
			PrimaryBuildSource:         pulumi.Any(_var.Build_pipeline_stage_primary_build_source),
			PrivateAccessConfig: &devops.BuildPipelineStagePrivateAccessConfigArgs{
				NetworkChannelType: pulumi.Any(_var.Build_pipeline_stage_private_access_config_network_channel_type),
				SubnetId:           pulumi.Any(oci_core_subnet.Test_subnet.Id),
				NsgIds:             pulumi.Any(_var.Build_pipeline_stage_private_access_config_nsg_ids),
			},
			StageExecutionTimeoutInSeconds: pulumi.Any(_var.Build_pipeline_stage_stage_execution_timeout_in_seconds),
			WaitCriteria: &devops.BuildPipelineStageWaitCriteriaArgs{
				WaitDuration: pulumi.Any(_var.Build_pipeline_stage_wait_criteria_wait_duration),
				WaitType:     pulumi.Any(_var.Build_pipeline_stage_wait_criteria_wait_type),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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.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(oci_devops_build_pipeline.test_build_pipeline().id())
            .buildPipelineStagePredecessorCollection(BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs.builder()
                .items(BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs.builder()
                    .id(var_.build_pipeline_stage_build_pipeline_stage_predecessor_collection_items_id())
                    .build())
                .build())
            .buildPipelineStageType(var_.build_pipeline_stage_build_pipeline_stage_type())
            .buildSourceCollection(BuildPipelineStageBuildSourceCollectionArgs.builder()
                .items(BuildPipelineStageBuildSourceCollectionItemArgs.builder()
                    .connectionType(var_.build_pipeline_stage_build_source_collection_items_connection_type())
                    .branch(var_.build_pipeline_stage_build_source_collection_items_branch())
                    .connectionId(oci_devops_connection.test_connection().id())
                    .name(var_.build_pipeline_stage_build_source_collection_items_name())
                    .repositoryId(oci_artifacts_repository.test_repository().id())
                    .repositoryUrl(var_.build_pipeline_stage_build_source_collection_items_repository_url())
                    .build())
                .build())
            .buildSpecFile(var_.build_pipeline_stage_build_spec_file())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .deliverArtifactCollection(BuildPipelineStageDeliverArtifactCollectionArgs.builder()
                .items(BuildPipelineStageDeliverArtifactCollectionItemArgs.builder()
                    .artifactId(oci_devops_artifact.test_artifact().id())
                    .artifactName(var_.build_pipeline_stage_deliver_artifact_collection_items_artifact_name())
                    .build())
                .build())
            .deployPipelineId(oci_devops_deploy_pipeline.test_deploy_pipeline().id())
            .description(var_.build_pipeline_stage_description())
            .displayName(var_.build_pipeline_stage_display_name())
            .freeformTags(Map.of("bar-key", "value"))
            .image(var_.build_pipeline_stage_image())
            .isPassAllParametersEnabled(var_.build_pipeline_stage_is_pass_all_parameters_enabled())
            .primaryBuildSource(var_.build_pipeline_stage_primary_build_source())
            .privateAccessConfig(BuildPipelineStagePrivateAccessConfigArgs.builder()
                .networkChannelType(var_.build_pipeline_stage_private_access_config_network_channel_type())
                .subnetId(oci_core_subnet.test_subnet().id())
                .nsgIds(var_.build_pipeline_stage_private_access_config_nsg_ids())
                .build())
            .stageExecutionTimeoutInSeconds(var_.build_pipeline_stage_stage_execution_timeout_in_seconds())
            .waitCriteria(BuildPipelineStageWaitCriteriaArgs.builder()
                .waitDuration(var_.build_pipeline_stage_wait_criteria_wait_duration())
                .waitType(var_.build_pipeline_stage_wait_criteria_wait_type())
                .build())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_build_pipeline_stage = oci.dev_ops.BuildPipelineStage("testBuildPipelineStage",
    build_pipeline_id=oci_devops_build_pipeline["test_build_pipeline"]["id"],
    build_pipeline_stage_predecessor_collection=oci.dev_ops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs(
        items=[oci.dev_ops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs(
            id=var["build_pipeline_stage_build_pipeline_stage_predecessor_collection_items_id"],
        )],
    ),
    build_pipeline_stage_type=var["build_pipeline_stage_build_pipeline_stage_type"],
    build_source_collection=oci.dev_ops.BuildPipelineStageBuildSourceCollectionArgs(
        items=[oci.dev_ops.BuildPipelineStageBuildSourceCollectionItemArgs(
            connection_type=var["build_pipeline_stage_build_source_collection_items_connection_type"],
            branch=var["build_pipeline_stage_build_source_collection_items_branch"],
            connection_id=oci_devops_connection["test_connection"]["id"],
            name=var["build_pipeline_stage_build_source_collection_items_name"],
            repository_id=oci_artifacts_repository["test_repository"]["id"],
            repository_url=var["build_pipeline_stage_build_source_collection_items_repository_url"],
        )],
    ),
    build_spec_file=var["build_pipeline_stage_build_spec_file"],
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    deliver_artifact_collection=oci.dev_ops.BuildPipelineStageDeliverArtifactCollectionArgs(
        items=[oci.dev_ops.BuildPipelineStageDeliverArtifactCollectionItemArgs(
            artifact_id=oci_devops_artifact["test_artifact"]["id"],
            artifact_name=var["build_pipeline_stage_deliver_artifact_collection_items_artifact_name"],
        )],
    ),
    deploy_pipeline_id=oci_devops_deploy_pipeline["test_deploy_pipeline"]["id"],
    description=var["build_pipeline_stage_description"],
    display_name=var["build_pipeline_stage_display_name"],
    freeform_tags={
        "bar-key": "value",
    },
    image=var["build_pipeline_stage_image"],
    is_pass_all_parameters_enabled=var["build_pipeline_stage_is_pass_all_parameters_enabled"],
    primary_build_source=var["build_pipeline_stage_primary_build_source"],
    private_access_config=oci.dev_ops.BuildPipelineStagePrivateAccessConfigArgs(
        network_channel_type=var["build_pipeline_stage_private_access_config_network_channel_type"],
        subnet_id=oci_core_subnet["test_subnet"]["id"],
        nsg_ids=var["build_pipeline_stage_private_access_config_nsg_ids"],
    ),
    stage_execution_timeout_in_seconds=var["build_pipeline_stage_stage_execution_timeout_in_seconds"],
    wait_criteria=oci.dev_ops.BuildPipelineStageWaitCriteriaArgs(
        wait_duration=var["build_pipeline_stage_wait_criteria_wait_duration"],
        wait_type=var["build_pipeline_stage_wait_criteria_wait_type"],
    ))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testBuildPipelineStage = new oci.devops.BuildPipelineStage("testBuildPipelineStage", {
    buildPipelineId: oci_devops_build_pipeline.test_build_pipeline.id,
    buildPipelineStagePredecessorCollection: {
        items: [{
            id: _var.build_pipeline_stage_build_pipeline_stage_predecessor_collection_items_id,
        }],
    },
    buildPipelineStageType: _var.build_pipeline_stage_build_pipeline_stage_type,
    buildSourceCollection: {
        items: [{
            connectionType: _var.build_pipeline_stage_build_source_collection_items_connection_type,
            branch: _var.build_pipeline_stage_build_source_collection_items_branch,
            connectionId: oci_devops_connection.test_connection.id,
            name: _var.build_pipeline_stage_build_source_collection_items_name,
            repositoryId: oci_artifacts_repository.test_repository.id,
            repositoryUrl: _var.build_pipeline_stage_build_source_collection_items_repository_url,
        }],
    },
    buildSpecFile: _var.build_pipeline_stage_build_spec_file,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    deliverArtifactCollection: {
        items: [{
            artifactId: oci_devops_artifact.test_artifact.id,
            artifactName: _var.build_pipeline_stage_deliver_artifact_collection_items_artifact_name,
        }],
    },
    deployPipelineId: oci_devops_deploy_pipeline.test_deploy_pipeline.id,
    description: _var.build_pipeline_stage_description,
    displayName: _var.build_pipeline_stage_display_name,
    freeformTags: {
        "bar-key": "value",
    },
    image: _var.build_pipeline_stage_image,
    isPassAllParametersEnabled: _var.build_pipeline_stage_is_pass_all_parameters_enabled,
    primaryBuildSource: _var.build_pipeline_stage_primary_build_source,
    privateAccessConfig: {
        networkChannelType: _var.build_pipeline_stage_private_access_config_network_channel_type,
        subnetId: oci_core_subnet.test_subnet.id,
        nsgIds: _var.build_pipeline_stage_private_access_config_nsg_ids,
    },
    stageExecutionTimeoutInSeconds: _var.build_pipeline_stage_stage_execution_timeout_in_seconds,
    waitCriteria: {
        waitDuration: _var.build_pipeline_stage_wait_criteria_wait_duration,
        waitType: _var.build_pipeline_stage_wait_criteria_wait_type,
    },
});
resources:
  testBuildPipelineStage:
    type: oci:DevOps:BuildPipelineStage
    properties:
      #Required
      buildPipelineId: ${oci_devops_build_pipeline.test_build_pipeline.id}
      buildPipelineStagePredecessorCollection:
        items:
          - id: ${var.build_pipeline_stage_build_pipeline_stage_predecessor_collection_items_id}
      buildPipelineStageType: ${var.build_pipeline_stage_build_pipeline_stage_type}
      buildSourceCollection:
        items:
          - connectionType: ${var.build_pipeline_stage_build_source_collection_items_connection_type}
            branch: ${var.build_pipeline_stage_build_source_collection_items_branch}
            connectionId: ${oci_devops_connection.test_connection.id}
            name: ${var.build_pipeline_stage_build_source_collection_items_name}
            repositoryId: ${oci_artifacts_repository.test_repository.id}
            repositoryUrl: ${var.build_pipeline_stage_build_source_collection_items_repository_url}
      buildSpecFile: ${var.build_pipeline_stage_build_spec_file}
      definedTags:
        foo-namespace.bar-key: value
      deliverArtifactCollection:
        items:
          - artifactId: ${oci_devops_artifact.test_artifact.id}
            artifactName: ${var.build_pipeline_stage_deliver_artifact_collection_items_artifact_name}
      deployPipelineId: ${oci_devops_deploy_pipeline.test_deploy_pipeline.id}
      description: ${var.build_pipeline_stage_description}
      displayName: ${var.build_pipeline_stage_display_name}
      freeformTags:
        bar-key: value
      image: ${var.build_pipeline_stage_image}
      isPassAllParametersEnabled: ${var.build_pipeline_stage_is_pass_all_parameters_enabled}
      primaryBuildSource: ${var.build_pipeline_stage_primary_build_source}
      privateAccessConfig:
        networkChannelType: ${var.build_pipeline_stage_private_access_config_network_channel_type}
        subnetId: ${oci_core_subnet.test_subnet.id}
        nsgIds: ${var.build_pipeline_stage_private_access_config_nsg_ids}
      stageExecutionTimeoutInSeconds: ${var.build_pipeline_stage_stage_execution_timeout_in_seconds}
      waitCriteria:
        waitDuration: ${var.build_pipeline_stage_wait_criteria_wait_duration}
        waitType: ${var.build_pipeline_stage_wait_criteria_wait_type}

Create BuildPipelineStage Resource

new BuildPipelineStage(name: string, args: BuildPipelineStageArgs, opts?: CustomResourceOptions);
@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_source_collection: Optional[_devops.BuildPipelineStageBuildSourceCollectionArgs] = None,
                       build_spec_file: Optional[str] = None,
                       defined_tags: Optional[Mapping[str, Any]] = 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, Any]] = 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)
@overload
def BuildPipelineStage(resource_name: str,
                       args: BuildPipelineStageArgs,
                       opts: Optional[ResourceOptions] = 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.

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.

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

The BuildPipelineStage resource accepts the following input properties:

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.

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 Dictionary<string, object>

(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 Dictionary<string, object>

(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 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.

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]interface{}

(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]interface{}

(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 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.

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,Object>

(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,Object>

(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 BuildPipelineStagePrivateAccessConfigArgs

(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 BuildPipelineStageWaitCriteriaArgs

(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.

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 {[key: string]: any}

(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 {[key: string]: any}

(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 BuildPipelineStagePrivateAccessConfigArgs

(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 BuildPipelineStageWaitCriteriaArgs

(Updatable) Specifies wait criteria for the Wait stage.

build_pipeline_id str

The OCID of the build pipeline.

build_pipeline_stage_predecessor_collection 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_source_collection 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, Any]

(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 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, Any]

(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 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 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.

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<Any>

(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<Any>

(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, object>

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]interface{}

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,Object>

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]: any}

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, Any]

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<Any>

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_source_collection: Optional[_devops.BuildPipelineStageBuildSourceCollectionArgs] = None,
        build_spec_file: Optional[str] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = 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, Any]] = 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, Any]] = 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 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.

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 Dictionary<string, object>

(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 Dictionary<string, object>

(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 Dictionary<string, object>

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 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.

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]interface{}

(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]interface{}

(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]interface{}

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 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.

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,Object>

(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,Object>

(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 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 Integer

(Updatable) Timeout for the build stage execution. Specify value in seconds.

state String

The current state of the stage.

systemTags Map<String,Object>

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 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.

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 {[key: string]: any}

(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 {[key: string]: any}

(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 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 number

(Updatable) Timeout for the build stage execution. Specify value in seconds.

state string

The current state of the stage.

systemTags {[key: string]: any}

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.

build_pipeline_id str

The OCID of the build pipeline.

build_pipeline_stage_predecessor_collection 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_source_collection 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, Any]

(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 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, Any]

(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 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, Any]

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 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.

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<Any>

(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<Any>

(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<Any>

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

Items List<BuildPipelineStageBuildPipelineStagePredecessorCollectionItem>

(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 []BuildPipelineStageBuildPipelineStagePredecessorCollectionItem

(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<BuildPipelineStageBuildPipelineStagePredecessorCollectionItem>

(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 BuildPipelineStageBuildPipelineStagePredecessorCollectionItem[]

(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 BuildPipelineStageBuildPipelineStagePredecessorCollectionItem]

(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.

BuildPipelineStageBuildPipelineStagePredecessorCollectionItem

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.

BuildPipelineStageBuildSourceCollection

Items List<BuildPipelineStageBuildSourceCollectionItem>

(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 []BuildPipelineStageBuildSourceCollectionItem

(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<BuildPipelineStageBuildSourceCollectionItem>

(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 BuildPipelineStageBuildSourceCollectionItem[]

(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 BuildPipelineStageBuildSourceCollectionItem]

(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.

BuildPipelineStageBuildSourceCollectionItem

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

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 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

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

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

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.

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.

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.

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.

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.

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.

Import

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

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

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.