Oracle Cloud Infrastructure

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

BuildPipeline

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

Creates a new build pipeline.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testBuildPipeline = new Oci.DevOps.BuildPipeline("testBuildPipeline", new()
    {
        ProjectId = oci_devops_project.Test_project.Id,
        BuildPipelineParameters = new Oci.DevOps.Inputs.BuildPipelineBuildPipelineParametersArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.BuildPipelineBuildPipelineParametersItemArgs
                {
                    Name = @var.Build_pipeline_build_pipeline_parameters_items_name,
                    DefaultValue = @var.Build_pipeline_build_pipeline_parameters_items_default_value,
                    Description = @var.Build_pipeline_build_pipeline_parameters_items_description,
                },
            },
        },
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        Description = @var.Build_pipeline_description,
        DisplayName = @var.Build_pipeline_display_name,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
    });

});
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.NewBuildPipeline(ctx, "testBuildPipeline", &DevOps.BuildPipelineArgs{
			ProjectId: pulumi.Any(oci_devops_project.Test_project.Id),
			BuildPipelineParameters: &devops.BuildPipelineBuildPipelineParametersArgs{
				Items: devops.BuildPipelineBuildPipelineParametersItemArray{
					&devops.BuildPipelineBuildPipelineParametersItemArgs{
						Name:         pulumi.Any(_var.Build_pipeline_build_pipeline_parameters_items_name),
						DefaultValue: pulumi.Any(_var.Build_pipeline_build_pipeline_parameters_items_default_value),
						Description:  pulumi.Any(_var.Build_pipeline_build_pipeline_parameters_items_description),
					},
				},
			},
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			Description: pulumi.Any(_var.Build_pipeline_description),
			DisplayName: pulumi.Any(_var.Build_pipeline_display_name),
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
		})
		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.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(oci_devops_project.test_project().id())
            .buildPipelineParameters(BuildPipelineBuildPipelineParametersArgs.builder()
                .items(BuildPipelineBuildPipelineParametersItemArgs.builder()
                    .name(var_.build_pipeline_build_pipeline_parameters_items_name())
                    .defaultValue(var_.build_pipeline_build_pipeline_parameters_items_default_value())
                    .description(var_.build_pipeline_build_pipeline_parameters_items_description())
                    .build())
                .build())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .description(var_.build_pipeline_description())
            .displayName(var_.build_pipeline_display_name())
            .freeformTags(Map.of("bar-key", "value"))
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_build_pipeline = oci.dev_ops.BuildPipeline("testBuildPipeline",
    project_id=oci_devops_project["test_project"]["id"],
    build_pipeline_parameters=oci.dev_ops.BuildPipelineBuildPipelineParametersArgs(
        items=[oci.dev_ops.BuildPipelineBuildPipelineParametersItemArgs(
            name=var["build_pipeline_build_pipeline_parameters_items_name"],
            default_value=var["build_pipeline_build_pipeline_parameters_items_default_value"],
            description=var["build_pipeline_build_pipeline_parameters_items_description"],
        )],
    ),
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=var["build_pipeline_description"],
    display_name=var["build_pipeline_display_name"],
    freeform_tags={
        "bar-key": "value",
    })
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testBuildPipeline = new oci.devops.BuildPipeline("testBuildPipeline", {
    projectId: oci_devops_project.test_project.id,
    buildPipelineParameters: {
        items: [{
            name: _var.build_pipeline_build_pipeline_parameters_items_name,
            defaultValue: _var.build_pipeline_build_pipeline_parameters_items_default_value,
            description: _var.build_pipeline_build_pipeline_parameters_items_description,
        }],
    },
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: _var.build_pipeline_description,
    displayName: _var.build_pipeline_display_name,
    freeformTags: {
        "bar-key": "value",
    },
});
resources:
  testBuildPipeline:
    type: oci:DevOps:BuildPipeline
    properties:
      #Required
      projectId: ${oci_devops_project.test_project.id}
      buildPipelineParameters:
        items:
          - name: ${var.build_pipeline_build_pipeline_parameters_items_name}
            defaultValue: ${var.build_pipeline_build_pipeline_parameters_items_default_value}
            description: ${var.build_pipeline_build_pipeline_parameters_items_description}
      definedTags:
        foo-namespace.bar-key: value
      description: ${var.build_pipeline_description}
      displayName: ${var.build_pipeline_display_name}
      freeformTags:
        bar-key: value

Create BuildPipeline Resource

new BuildPipeline(name: string, args: BuildPipelineArgs, opts?: CustomResourceOptions);
@overload
def BuildPipeline(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  build_pipeline_parameters: Optional[_devops.BuildPipelineBuildPipelineParametersArgs] = None,
                  defined_tags: Optional[Mapping[str, Any]] = None,
                  description: Optional[str] = None,
                  display_name: Optional[str] = None,
                  freeform_tags: Optional[Mapping[str, Any]] = None,
                  project_id: Optional[str] = None)
@overload
def BuildPipeline(resource_name: str,
                  args: BuildPipelineArgs,
                  opts: Optional[ResourceOptions] = 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.

name string
The unique name of the resource.
args BuildPipelineArgs
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 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 string
The unique name of the resource.
args BuildPipelineArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BuildPipelineArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BuildPipelineArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

The BuildPipeline resource accepts the following input properties:

ProjectId string

The OCID of the DevOps project.

BuildPipelineParameters BuildPipelineBuildPipelineParametersArgs

(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.

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

Description string

(Updatable) Optional description about the build pipeline.

DisplayName string

(Updatable) Build pipeline display name. 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"}

ProjectId string

The OCID of the DevOps project.

BuildPipelineParameters BuildPipelineBuildPipelineParametersArgs

(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.

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

Description string

(Updatable) Optional description about the build pipeline.

DisplayName string

(Updatable) Build pipeline display name. 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"}

projectId String

The OCID of the DevOps project.

buildPipelineParameters BuildPipelineBuildPipelineParametersArgs

(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.

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

description String

(Updatable) Optional description about the build pipeline.

displayName String

(Updatable) Build pipeline display name. 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"}

projectId string

The OCID of the DevOps project.

buildPipelineParameters BuildPipelineBuildPipelineParametersArgs

(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.

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

description string

(Updatable) Optional description about the build pipeline.

displayName string

(Updatable) Build pipeline display name. 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"}

project_id str

The OCID of the DevOps project.

build_pipeline_parameters BuildPipelineBuildPipelineParametersArgs

(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.

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

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, 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"}

projectId String

The OCID of the DevOps project.

buildPipelineParameters Property Map

(Updatable) Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.

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

description String

(Updatable) Optional description about the build pipeline.

displayName String

(Updatable) Build pipeline display name. 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"}

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, 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 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]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 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,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 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]: 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 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, 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 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<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 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, Any]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        lifecycle_details: Optional[str] = None,
        project_id: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, Any]] = 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)
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:
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 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"}

Description string

(Updatable) Optional description about the build pipeline.

DisplayName string

(Updatable) Build pipeline display name. 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"}

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

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 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]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"}

Description string

(Updatable) Optional description about the build pipeline.

DisplayName string

(Updatable) Build pipeline display name. 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"}

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

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 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,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"}

description String

(Updatable) Optional description about the build pipeline.

displayName String

(Updatable) Build pipeline display name. 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"}

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

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 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 {[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"}

description string

(Updatable) Optional description about the build pipeline.

displayName string

(Updatable) Build pipeline display name. 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"}

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

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 build pipeline was created. Format defined by RFC3339.

timeUpdated string

The time the build pipeline was updated. Format defined by RFC3339.

build_pipeline_parameters 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, 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"}

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, 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"}

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

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

description String

(Updatable) Optional description about the build pipeline.

displayName String

(Updatable) Build pipeline display name. 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"}

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

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 build pipeline was created. Format defined by RFC3339.

timeUpdated String

The time the build pipeline was updated. Format defined by RFC3339.

Supporting Types

BuildPipelineBuildPipelineParameters

Items List<BuildPipelineBuildPipelineParametersItem>

(Updatable) List of parameters defined for a build pipeline.

Items []BuildPipelineBuildPipelineParametersItem

(Updatable) List of parameters defined for a build pipeline.

items List<BuildPipelineBuildPipelineParametersItem>

(Updatable) List of parameters defined for a build pipeline.

items BuildPipelineBuildPipelineParametersItem[]

(Updatable) List of parameters defined for a build pipeline.

items BuildPipelineBuildPipelineParametersItem]

(Updatable) List of parameters defined for a build pipeline.

items List<Property Map>

(Updatable) List of parameters defined for a build pipeline.

BuildPipelineBuildPipelineParametersItem

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

DefaultValue string

(Updatable) Default value of the parameter.

Description string

(Updatable) Optional description about the build pipeline.

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

DefaultValue string

(Updatable) Default value of the parameter.

Description string

(Updatable) Optional description about the build pipeline.

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

defaultValue String

(Updatable) Default value of the parameter.

description String

(Updatable) Optional description about the build pipeline.

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

defaultValue string

(Updatable) Default value of the parameter.

description string

(Updatable) Optional description about the build pipeline.

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

default_value str

(Updatable) Default value of the parameter.

description str

(Updatable) Optional description about the build pipeline.

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

defaultValue String

(Updatable) Default value of the parameter.

description String

(Updatable) Optional description about the build pipeline.

Import

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

 $ pulumi import oci:DevOps/buildPipeline:BuildPipeline test_build_pipeline "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.