1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. BuildPipeline
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.DevOps.BuildPipeline

Explore with Pulumi AI

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

Creates a new build pipeline.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testBuildPipeline = new oci.devops.BuildPipeline("test_build_pipeline", {
    projectId: testProject.id,
    buildPipelineParameters: {
        items: [{
            defaultValue: buildPipelineBuildPipelineParametersItemsDefaultValue,
            name: buildPipelineBuildPipelineParametersItemsName,
            description: buildPipelineBuildPipelineParametersItemsDescription,
        }],
    },
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: buildPipelineDescription,
    displayName: buildPipelineDisplayName,
    freeformTags: {
        "bar-key": "value",
    },
});
Copy
import pulumi
import pulumi_oci as oci

test_build_pipeline = oci.dev_ops.BuildPipeline("test_build_pipeline",
    project_id=test_project["id"],
    build_pipeline_parameters={
        "items": [{
            "default_value": build_pipeline_build_pipeline_parameters_items_default_value,
            "name": build_pipeline_build_pipeline_parameters_items_name,
            "description": build_pipeline_build_pipeline_parameters_items_description,
        }],
    },
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=build_pipeline_description,
    display_name=build_pipeline_display_name,
    freeform_tags={
        "bar-key": "value",
    })
Copy
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.NewBuildPipeline(ctx, "test_build_pipeline", &devops.BuildPipelineArgs{
			ProjectId: pulumi.Any(testProject.Id),
			BuildPipelineParameters: &devops.BuildPipelineBuildPipelineParametersArgs{
				Items: devops.BuildPipelineBuildPipelineParametersItemArray{
					&devops.BuildPipelineBuildPipelineParametersItemArgs{
						DefaultValue: pulumi.Any(buildPipelineBuildPipelineParametersItemsDefaultValue),
						Name:         pulumi.Any(buildPipelineBuildPipelineParametersItemsName),
						Description:  pulumi.Any(buildPipelineBuildPipelineParametersItemsDescription),
					},
				},
			},
			DefinedTags: pulumi.StringMap{
				"foo-namespace.bar-key": pulumi.String("value"),
			},
			Description: pulumi.Any(buildPipelineDescription),
			DisplayName: pulumi.Any(buildPipelineDisplayName),
			FreeformTags: pulumi.StringMap{
				"bar-key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testBuildPipeline = new Oci.DevOps.BuildPipeline("test_build_pipeline", new()
    {
        ProjectId = testProject.Id,
        BuildPipelineParameters = new Oci.DevOps.Inputs.BuildPipelineBuildPipelineParametersArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.BuildPipelineBuildPipelineParametersItemArgs
                {
                    DefaultValue = buildPipelineBuildPipelineParametersItemsDefaultValue,
                    Name = buildPipelineBuildPipelineParametersItemsName,
                    Description = buildPipelineBuildPipelineParametersItemsDescription,
                },
            },
        },
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        Description = buildPipelineDescription,
        DisplayName = buildPipelineDisplayName,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DevOps.BuildPipeline;
import com.pulumi.oci.DevOps.BuildPipelineArgs;
import com.pulumi.oci.DevOps.inputs.BuildPipelineBuildPipelineParametersArgs;
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 testBuildPipeline = new BuildPipeline("testBuildPipeline", BuildPipelineArgs.builder()
            .projectId(testProject.id())
            .buildPipelineParameters(BuildPipelineBuildPipelineParametersArgs.builder()
                .items(BuildPipelineBuildPipelineParametersItemArgs.builder()
                    .defaultValue(buildPipelineBuildPipelineParametersItemsDefaultValue)
                    .name(buildPipelineBuildPipelineParametersItemsName)
                    .description(buildPipelineBuildPipelineParametersItemsDescription)
                    .build())
                .build())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .description(buildPipelineDescription)
            .displayName(buildPipelineDisplayName)
            .freeformTags(Map.of("bar-key", "value"))
            .build());

    }
}
Copy
resources:
  testBuildPipeline:
    type: oci:DevOps:BuildPipeline
    name: test_build_pipeline
    properties:
      projectId: ${testProject.id}
      buildPipelineParameters:
        items:
          - defaultValue: ${buildPipelineBuildPipelineParametersItemsDefaultValue}
            name: ${buildPipelineBuildPipelineParametersItemsName}
            description: ${buildPipelineBuildPipelineParametersItemsDescription}
      definedTags:
        foo-namespace.bar-key: value
      description: ${buildPipelineDescription}
      displayName: ${buildPipelineDisplayName}
      freeformTags:
        bar-key: value
Copy

Create BuildPipeline Resource

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

Constructor syntax

new BuildPipeline(name: string, args: BuildPipelineArgs, opts?: CustomResourceOptions);
@overload
def BuildPipeline(resource_name: str,
                  args: BuildPipelineArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def BuildPipeline(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  project_id: Optional[str] = None,
                  build_pipeline_parameters: Optional[_devops.BuildPipelineBuildPipelineParametersArgs] = None,
                  defined_tags: Optional[Mapping[str, str]] = None,
                  description: Optional[str] = None,
                  display_name: Optional[str] = None,
                  freeform_tags: Optional[Mapping[str, str]] = None)
func NewBuildPipeline(ctx *Context, name string, args BuildPipelineArgs, opts ...ResourceOption) (*BuildPipeline, error)
public BuildPipeline(string name, BuildPipelineArgs args, CustomResourceOptions? opts = null)
public BuildPipeline(String name, BuildPipelineArgs args)
public BuildPipeline(String name, BuildPipelineArgs args, CustomResourceOptions options)
type: oci:DevOps:BuildPipeline
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. BuildPipelineArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. BuildPipelineArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. BuildPipelineArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. BuildPipelineArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BuildPipelineArgs
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 buildPipelineResource = new Oci.DevOps.BuildPipeline("buildPipelineResource", new()
{
    ProjectId = "string",
    BuildPipelineParameters = new Oci.DevOps.Inputs.BuildPipelineBuildPipelineParametersArgs
    {
        Items = new[]
        {
            new Oci.DevOps.Inputs.BuildPipelineBuildPipelineParametersItemArgs
            {
                DefaultValue = "string",
                Name = "string",
                Description = "string",
            },
        },
    },
    DefinedTags = 
    {
        { "string", "string" },
    },
    Description = "string",
    DisplayName = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := DevOps.NewBuildPipeline(ctx, "buildPipelineResource", &DevOps.BuildPipelineArgs{
	ProjectId: pulumi.String("string"),
	BuildPipelineParameters: &devops.BuildPipelineBuildPipelineParametersArgs{
		Items: devops.BuildPipelineBuildPipelineParametersItemArray{
			&devops.BuildPipelineBuildPipelineParametersItemArgs{
				DefaultValue: pulumi.String("string"),
				Name:         pulumi.String("string"),
				Description:  pulumi.String("string"),
			},
		},
	},
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var buildPipelineResource = new BuildPipeline("buildPipelineResource", BuildPipelineArgs.builder()
    .projectId("string")
    .buildPipelineParameters(BuildPipelineBuildPipelineParametersArgs.builder()
        .items(BuildPipelineBuildPipelineParametersItemArgs.builder()
            .defaultValue("string")
            .name("string")
            .description("string")
            .build())
        .build())
    .definedTags(Map.of("string", "string"))
    .description("string")
    .displayName("string")
    .freeformTags(Map.of("string", "string"))
    .build());
Copy
build_pipeline_resource = oci.dev_ops.BuildPipeline("buildPipelineResource",
    project_id="string",
    build_pipeline_parameters={
        "items": [{
            "default_value": "string",
            "name": "string",
            "description": "string",
        }],
    },
    defined_tags={
        "string": "string",
    },
    description="string",
    display_name="string",
    freeform_tags={
        "string": "string",
    })
Copy
const buildPipelineResource = new oci.devops.BuildPipeline("buildPipelineResource", {
    projectId: "string",
    buildPipelineParameters: {
        items: [{
            defaultValue: "string",
            name: "string",
            description: "string",
        }],
    },
    definedTags: {
        string: "string",
    },
    description: "string",
    displayName: "string",
    freeformTags: {
        string: "string",
    },
});
Copy
type: oci:DevOps:BuildPipeline
properties:
    buildPipelineParameters:
        items:
            - defaultValue: string
              description: string
              name: string
    definedTags:
        string: string
    description: string
    displayName: string
    freeformTags:
        string: string
    projectId: string
Copy

BuildPipeline 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 BuildPipeline resource accepts the following input properties:

ProjectId
This property is required.
Changes to this property will trigger replacement.
string

The OCID of the DevOps project.

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

BuildPipelineParameters BuildPipelineBuildPipelineParameters
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
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"}
Description string
(Updatable) Optional description about the build pipeline.
DisplayName string
(Updatable) Build pipeline display name. 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"}
ProjectId
This property is required.
Changes to this property will trigger replacement.
string

The OCID of the DevOps project.

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

BuildPipelineParameters BuildPipelineBuildPipelineParametersArgs
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
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"}
Description string
(Updatable) Optional description about the build pipeline.
DisplayName string
(Updatable) Build pipeline display name. 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"}
projectId
This property is required.
Changes to this property will trigger replacement.
String

The OCID of the DevOps project.

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

buildPipelineParameters BuildPipelineBuildPipelineParameters
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
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"}
description String
(Updatable) Optional description about the build pipeline.
displayName String
(Updatable) Build pipeline display name. 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"}
projectId
This property is required.
Changes to this property will trigger replacement.
string

The OCID of the DevOps project.

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

buildPipelineParameters BuildPipelineBuildPipelineParameters
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
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"}
description string
(Updatable) Optional description about the build pipeline.
displayName string
(Updatable) Build pipeline display name. 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"}
project_id
This property is required.
Changes to this property will trigger replacement.
str

The OCID of the DevOps project.

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

build_pipeline_parameters devops.BuildPipelineBuildPipelineParametersArgs
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
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"}
description str
(Updatable) Optional description about the build pipeline.
display_name str
(Updatable) Build pipeline display name. 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"}
projectId
This property is required.
Changes to this property will trigger replacement.
String

The OCID of the DevOps project.

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

buildPipelineParameters Property Map
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
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"}
description String
(Updatable) Optional description about the build pipeline.
displayName String
(Updatable) Build pipeline display name. 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"}

Outputs

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

CompartmentId string
The OCID of the compartment where the build 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.
State string
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
TimeUpdated string
The time the build pipeline was updated. Format defined by RFC3339.
CompartmentId string
The OCID of the compartment where the build 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.
State string
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
TimeUpdated string
The time the build pipeline was updated. Format defined by RFC3339.
compartmentId String
The OCID of the compartment where the build 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.
state String
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
timeUpdated String
The time the build pipeline was updated. Format defined by RFC3339.
compartmentId string
The OCID of the compartment where the build 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.
state string
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
timeUpdated string
The time the build pipeline was updated. Format defined by RFC3339.
compartment_id str
The OCID of the compartment where the build 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.
state str
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
time_updated str
The time the build pipeline was updated. Format defined by RFC3339.
compartmentId String
The OCID of the compartment where the build 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.
state String
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
timeUpdated String
The time the build pipeline was updated. Format defined by RFC3339.

Look up Existing BuildPipeline Resource

Get an existing BuildPipeline 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?: BuildPipelineState, opts?: CustomResourceOptions): BuildPipeline
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        build_pipeline_parameters: Optional[_devops.BuildPipelineBuildPipelineParametersArgs] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        lifecycle_details: Optional[str] = None,
        project_id: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> BuildPipeline
func GetBuildPipeline(ctx *Context, name string, id IDInput, state *BuildPipelineState, opts ...ResourceOption) (*BuildPipeline, error)
public static BuildPipeline Get(string name, Input<string> id, BuildPipelineState? state, CustomResourceOptions? opts = null)
public static BuildPipeline get(String name, Output<String> id, BuildPipelineState state, CustomResourceOptions options)
resources:  _:    type: oci:DevOps:BuildPipeline    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
BuildPipelineParameters BuildPipelineBuildPipelineParameters
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
CompartmentId string
The OCID of the compartment where the build 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"}
Description string
(Updatable) Optional description about the build pipeline.
DisplayName string
(Updatable) Build pipeline display name. 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"}
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 Changes to this property will trigger replacement. string

The OCID of the DevOps project.

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

State string
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
TimeUpdated string
The time the build pipeline was updated. Format defined by RFC3339.
BuildPipelineParameters BuildPipelineBuildPipelineParametersArgs
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
CompartmentId string
The OCID of the compartment where the build 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"}
Description string
(Updatable) Optional description about the build pipeline.
DisplayName string
(Updatable) Build pipeline display name. 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"}
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 Changes to this property will trigger replacement. string

The OCID of the DevOps project.

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

State string
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
TimeUpdated string
The time the build pipeline was updated. Format defined by RFC3339.
buildPipelineParameters BuildPipelineBuildPipelineParameters
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
compartmentId String
The OCID of the compartment where the build 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"}
description String
(Updatable) Optional description about the build pipeline.
displayName String
(Updatable) Build pipeline display name. 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"}
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 Changes to this property will trigger replacement. String

The OCID of the DevOps project.

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

state String
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
timeUpdated String
The time the build pipeline was updated. Format defined by RFC3339.
buildPipelineParameters BuildPipelineBuildPipelineParameters
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
compartmentId string
The OCID of the compartment where the build 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"}
description string
(Updatable) Optional description about the build pipeline.
displayName string
(Updatable) Build pipeline display name. 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"}
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 Changes to this property will trigger replacement. string

The OCID of the DevOps project.

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

state string
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
timeUpdated string
The time the build pipeline was updated. Format defined by RFC3339.
build_pipeline_parameters devops.BuildPipelineBuildPipelineParametersArgs
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
compartment_id str
The OCID of the compartment where the build 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"}
description str
(Updatable) Optional description about the build pipeline.
display_name str
(Updatable) Build pipeline display name. 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"}
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 Changes to this property will trigger replacement. str

The OCID of the DevOps project.

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

state str
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
time_updated str
The time the build pipeline was updated. Format defined by RFC3339.
buildPipelineParameters Property Map
(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
compartmentId String
The OCID of the compartment where the build 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"}
description String
(Updatable) Optional description about the build pipeline.
displayName String
(Updatable) Build pipeline display name. 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"}
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 Changes to this property will trigger replacement. String

The OCID of the DevOps project.

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

state String
The current state of the build pipeline.
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 build pipeline was created. Format defined by RFC3339.
timeUpdated String
The time the build pipeline was updated. Format defined by RFC3339.

Supporting Types

BuildPipelineBuildPipelineParameters
, BuildPipelineBuildPipelineParametersArgs

Items This property is required. List<BuildPipelineBuildPipelineParametersItem>
(Updatable) List of parameters defined for a build pipeline.
Items This property is required. []BuildPipelineBuildPipelineParametersItem
(Updatable) List of parameters defined for a build pipeline.
items This property is required. List<BuildPipelineBuildPipelineParametersItem>
(Updatable) List of parameters defined for a build pipeline.
items This property is required. BuildPipelineBuildPipelineParametersItem[]
(Updatable) List of parameters defined for a build pipeline.
items This property is required. Sequence[devops.BuildPipelineBuildPipelineParametersItem]
(Updatable) List of parameters defined for a build pipeline.
items This property is required. List<Property Map>
(Updatable) List of parameters defined for a build pipeline.

BuildPipelineBuildPipelineParametersItem
, BuildPipelineBuildPipelineParametersItemArgs

DefaultValue This property is required. string
(Updatable) Default value of the parameter.
Name This property is required. string
(Updatable) Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param'
Description string
(Updatable) Description of the parameter.
DefaultValue This property is required. string
(Updatable) Default value of the parameter.
Name This property is required. string
(Updatable) Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param'
Description string
(Updatable) Description of the parameter.
defaultValue This property is required. String
(Updatable) Default value of the parameter.
name This property is required. String
(Updatable) Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param'
description String
(Updatable) Description of the parameter.
defaultValue This property is required. string
(Updatable) Default value of the parameter.
name This property is required. string
(Updatable) Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param'
description string
(Updatable) Description of the parameter.
default_value This property is required. str
(Updatable) Default value of the parameter.
name This property is required. str
(Updatable) Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param'
description str
(Updatable) Description of the parameter.
defaultValue This property is required. String
(Updatable) Default value of the parameter.
name This property is required. String
(Updatable) Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param'
description String
(Updatable) Description of the parameter.

Import

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

$ pulumi import oci:DevOps/buildPipeline:BuildPipeline test_build_pipeline "id"
Copy

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.