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

oci.DevOps.BuildRun

Explore with Pulumi AI

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

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

    Starts a build pipeline run for a predefined build pipeline. Please ensure the completion of any work request for creation/updation of Build Pipeline before starting a Build Run.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBuildRun = new oci.devops.BuildRun("test_build_run", {
        buildPipelineId: testBuildPipeline.id,
        buildRunArguments: {
            items: [{
                name: buildRunBuildRunArgumentsItemsName,
                value: buildRunBuildRunArgumentsItemsValue,
            }],
        },
        commitInfo: {
            commitHash: buildRunCommitInfoCommitHash,
            repositoryBranch: buildRunCommitInfoRepositoryBranch,
            repositoryUrl: buildRunCommitInfoRepositoryUrl,
        },
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        displayName: buildRunDisplayName,
        freeformTags: {
            "bar-key": "value",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_build_run = oci.dev_ops.BuildRun("test_build_run",
        build_pipeline_id=test_build_pipeline["id"],
        build_run_arguments={
            "items": [{
                "name": build_run_build_run_arguments_items_name,
                "value": build_run_build_run_arguments_items_value,
            }],
        },
        commit_info={
            "commit_hash": build_run_commit_info_commit_hash,
            "repository_branch": build_run_commit_info_repository_branch,
            "repository_url": build_run_commit_info_repository_url,
        },
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        display_name=build_run_display_name,
        freeform_tags={
            "bar-key": "value",
        })
    
    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.NewBuildRun(ctx, "test_build_run", &DevOps.BuildRunArgs{
    			BuildPipelineId: pulumi.Any(testBuildPipeline.Id),
    			BuildRunArguments: &devops.BuildRunBuildRunArgumentsArgs{
    				Items: devops.BuildRunBuildRunArgumentsItemArray{
    					&devops.BuildRunBuildRunArgumentsItemArgs{
    						Name:  pulumi.Any(buildRunBuildRunArgumentsItemsName),
    						Value: pulumi.Any(buildRunBuildRunArgumentsItemsValue),
    					},
    				},
    			},
    			CommitInfo: &devops.BuildRunCommitInfoArgs{
    				CommitHash:       pulumi.Any(buildRunCommitInfoCommitHash),
    				RepositoryBranch: pulumi.Any(buildRunCommitInfoRepositoryBranch),
    				RepositoryUrl:    pulumi.Any(buildRunCommitInfoRepositoryUrl),
    			},
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			DisplayName: pulumi.Any(buildRunDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testBuildRun = new Oci.DevOps.BuildRun("test_build_run", new()
        {
            BuildPipelineId = testBuildPipeline.Id,
            BuildRunArguments = new Oci.DevOps.Inputs.BuildRunBuildRunArgumentsArgs
            {
                Items = new[]
                {
                    new Oci.DevOps.Inputs.BuildRunBuildRunArgumentsItemArgs
                    {
                        Name = buildRunBuildRunArgumentsItemsName,
                        Value = buildRunBuildRunArgumentsItemsValue,
                    },
                },
            },
            CommitInfo = new Oci.DevOps.Inputs.BuildRunCommitInfoArgs
            {
                CommitHash = buildRunCommitInfoCommitHash,
                RepositoryBranch = buildRunCommitInfoRepositoryBranch,
                RepositoryUrl = buildRunCommitInfoRepositoryUrl,
            },
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            DisplayName = buildRunDisplayName,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DevOps.BuildRun;
    import com.pulumi.oci.DevOps.BuildRunArgs;
    import com.pulumi.oci.DevOps.inputs.BuildRunBuildRunArgumentsArgs;
    import com.pulumi.oci.DevOps.inputs.BuildRunCommitInfoArgs;
    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 testBuildRun = new BuildRun("testBuildRun", BuildRunArgs.builder()
                .buildPipelineId(testBuildPipeline.id())
                .buildRunArguments(BuildRunBuildRunArgumentsArgs.builder()
                    .items(BuildRunBuildRunArgumentsItemArgs.builder()
                        .name(buildRunBuildRunArgumentsItemsName)
                        .value(buildRunBuildRunArgumentsItemsValue)
                        .build())
                    .build())
                .commitInfo(BuildRunCommitInfoArgs.builder()
                    .commitHash(buildRunCommitInfoCommitHash)
                    .repositoryBranch(buildRunCommitInfoRepositoryBranch)
                    .repositoryUrl(buildRunCommitInfoRepositoryUrl)
                    .build())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .displayName(buildRunDisplayName)
                .freeformTags(Map.of("bar-key", "value"))
                .build());
    
        }
    }
    
    resources:
      testBuildRun:
        type: oci:DevOps:BuildRun
        name: test_build_run
        properties:
          buildPipelineId: ${testBuildPipeline.id}
          buildRunArguments:
            items:
              - name: ${buildRunBuildRunArgumentsItemsName}
                value: ${buildRunBuildRunArgumentsItemsValue}
          commitInfo:
            commitHash: ${buildRunCommitInfoCommitHash}
            repositoryBranch: ${buildRunCommitInfoRepositoryBranch}
            repositoryUrl: ${buildRunCommitInfoRepositoryUrl}
          definedTags:
            foo-namespace.bar-key: value
          displayName: ${buildRunDisplayName}
          freeformTags:
            bar-key: value
    

    Create BuildRun Resource

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

    Constructor syntax

    new BuildRun(name: string, args: BuildRunArgs, opts?: CustomResourceOptions);
    @overload
    def BuildRun(resource_name: str,
                 args: BuildRunArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def BuildRun(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 build_pipeline_id: Optional[str] = None,
                 build_run_arguments: Optional[_devops.BuildRunBuildRunArgumentsArgs] = None,
                 commit_info: Optional[_devops.BuildRunCommitInfoArgs] = None,
                 defined_tags: Optional[Mapping[str, str]] = None,
                 display_name: Optional[str] = None,
                 freeform_tags: Optional[Mapping[str, str]] = None)
    func NewBuildRun(ctx *Context, name string, args BuildRunArgs, opts ...ResourceOption) (*BuildRun, error)
    public BuildRun(string name, BuildRunArgs args, CustomResourceOptions? opts = null)
    public BuildRun(String name, BuildRunArgs args)
    public BuildRun(String name, BuildRunArgs args, CustomResourceOptions options)
    
    type: oci:DevOps:BuildRun
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BuildRunArgs
    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 BuildRunArgs
    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 BuildRunArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BuildRunArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BuildRunArgs
    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 buildRunResource = new Oci.DevOps.BuildRun("buildRunResource", new()
    {
        BuildPipelineId = "string",
        BuildRunArguments = new Oci.DevOps.Inputs.BuildRunBuildRunArgumentsArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.BuildRunBuildRunArgumentsItemArgs
                {
                    Name = "string",
                    Value = "string",
                },
            },
        },
        CommitInfo = new Oci.DevOps.Inputs.BuildRunCommitInfoArgs
        {
            CommitHash = "string",
            RepositoryBranch = "string",
            RepositoryUrl = "string",
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := DevOps.NewBuildRun(ctx, "buildRunResource", &DevOps.BuildRunArgs{
    	BuildPipelineId: pulumi.String("string"),
    	BuildRunArguments: &devops.BuildRunBuildRunArgumentsArgs{
    		Items: devops.BuildRunBuildRunArgumentsItemArray{
    			&devops.BuildRunBuildRunArgumentsItemArgs{
    				Name:  pulumi.String("string"),
    				Value: pulumi.String("string"),
    			},
    		},
    	},
    	CommitInfo: &devops.BuildRunCommitInfoArgs{
    		CommitHash:       pulumi.String("string"),
    		RepositoryBranch: pulumi.String("string"),
    		RepositoryUrl:    pulumi.String("string"),
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var buildRunResource = new BuildRun("buildRunResource", BuildRunArgs.builder()
        .buildPipelineId("string")
        .buildRunArguments(BuildRunBuildRunArgumentsArgs.builder()
            .items(BuildRunBuildRunArgumentsItemArgs.builder()
                .name("string")
                .value("string")
                .build())
            .build())
        .commitInfo(BuildRunCommitInfoArgs.builder()
            .commitHash("string")
            .repositoryBranch("string")
            .repositoryUrl("string")
            .build())
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .build());
    
    build_run_resource = oci.dev_ops.BuildRun("buildRunResource",
        build_pipeline_id="string",
        build_run_arguments=oci.dev_ops.BuildRunBuildRunArgumentsArgs(
            items=[oci.dev_ops.BuildRunBuildRunArgumentsItemArgs(
                name="string",
                value="string",
            )],
        ),
        commit_info=oci.dev_ops.BuildRunCommitInfoArgs(
            commit_hash="string",
            repository_branch="string",
            repository_url="string",
        ),
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        })
    
    const buildRunResource = new oci.devops.BuildRun("buildRunResource", {
        buildPipelineId: "string",
        buildRunArguments: {
            items: [{
                name: "string",
                value: "string",
            }],
        },
        commitInfo: {
            commitHash: "string",
            repositoryBranch: "string",
            repositoryUrl: "string",
        },
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:DevOps:BuildRun
    properties:
        buildPipelineId: string
        buildRunArguments:
            items:
                - name: string
                  value: string
        commitInfo:
            commitHash: string
            repositoryBranch: string
            repositoryUrl: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
    

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

    BuildPipelineId string
    The OCID of the build pipeline.
    BuildRunArguments BuildRunBuildRunArguments
    Specifies list of arguments passed along with the build run.
    CommitInfo BuildRunCommitInfo
    Commit details that need to be used for the build run.
    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"}
    DisplayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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

    BuildPipelineId string
    The OCID of the build pipeline.
    BuildRunArguments BuildRunBuildRunArgumentsArgs
    Specifies list of arguments passed along with the build run.
    CommitInfo BuildRunCommitInfoArgs
    Commit details that need to be used for the build run.
    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"}
    DisplayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags map[string]string

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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

    buildPipelineId String
    The OCID of the build pipeline.
    buildRunArguments BuildRunBuildRunArguments
    Specifies list of arguments passed along with the build run.
    commitInfo BuildRunCommitInfo
    Commit details that need to be used for the build run.
    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"}
    displayName String
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<String,String>

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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

    buildPipelineId string
    The OCID of the build pipeline.
    buildRunArguments BuildRunBuildRunArguments
    Specifies list of arguments passed along with the build run.
    commitInfo BuildRunCommitInfo
    Commit details that need to be used for the build run.
    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"}
    displayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags {[key: string]: string}

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

    ** 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_id str
    The OCID of the build pipeline.
    build_run_arguments devops.BuildRunBuildRunArgumentsArgs
    Specifies list of arguments passed along with the build run.
    commit_info devops.BuildRunCommitInfoArgs
    Commit details that need to be used for the build run.
    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"}
    display_name str
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeform_tags Mapping[str, str]

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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

    buildPipelineId String
    The OCID of the build pipeline.
    buildRunArguments Property Map
    Specifies list of arguments passed along with the build run.
    commitInfo Property Map
    Commit details that need to be used for the build run.
    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"}
    displayName String
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<String>

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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

    Outputs

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

    BuildOutputs List<BuildRunBuildOutput>
    Outputs from the build.
    BuildRunProgresses List<BuildRunBuildRunProgress>
    The run progress details of a build run.
    BuildRunSources List<BuildRunBuildRunSource>
    The source from which the build run is triggered.
    CompartmentId string
    The OCID of the compartment where the build is running.
    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 build run.
    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 run was created. Format defined by RFC3339.
    TimeUpdated string
    The time the build run was updated. Format defined by RFC3339.
    BuildOutputs []BuildRunBuildOutput
    Outputs from the build.
    BuildRunProgresses []BuildRunBuildRunProgress
    The run progress details of a build run.
    BuildRunSources []BuildRunBuildRunSource
    The source from which the build run is triggered.
    CompartmentId string
    The OCID of the compartment where the build is running.
    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 build run.
    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 run was created. Format defined by RFC3339.
    TimeUpdated string
    The time the build run was updated. Format defined by RFC3339.
    buildOutputs List<BuildRunBuildOutput>
    Outputs from the build.
    buildRunProgresses List<BuildRunBuildRunProgress>
    The run progress details of a build run.
    buildRunSources List<BuildRunBuildRunSource>
    The source from which the build run is triggered.
    compartmentId String
    The OCID of the compartment where the build is running.
    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 build run.
    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 run was created. Format defined by RFC3339.
    timeUpdated String
    The time the build run was updated. Format defined by RFC3339.
    buildOutputs BuildRunBuildOutput[]
    Outputs from the build.
    buildRunProgresses BuildRunBuildRunProgress[]
    The run progress details of a build run.
    buildRunSources BuildRunBuildRunSource[]
    The source from which the build run is triggered.
    compartmentId string
    The OCID of the compartment where the build is running.
    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 build run.
    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 run was created. Format defined by RFC3339.
    timeUpdated string
    The time the build run was updated. Format defined by RFC3339.
    build_outputs Sequence[devops.BuildRunBuildOutput]
    Outputs from the build.
    build_run_progresses Sequence[devops.BuildRunBuildRunProgress]
    The run progress details of a build run.
    build_run_sources Sequence[devops.BuildRunBuildRunSource]
    The source from which the build run is triggered.
    compartment_id str
    The OCID of the compartment where the build is running.
    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 build run.
    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 run was created. Format defined by RFC3339.
    time_updated str
    The time the build run was updated. Format defined by RFC3339.
    buildOutputs List<Property Map>
    Outputs from the build.
    buildRunProgresses List<Property Map>
    The run progress details of a build run.
    buildRunSources List<Property Map>
    The source from which the build run is triggered.
    compartmentId String
    The OCID of the compartment where the build is running.
    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 build run.
    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 run was created. Format defined by RFC3339.
    timeUpdated String
    The time the build run was updated. Format defined by RFC3339.

    Look up Existing BuildRun Resource

    Get an existing BuildRun 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?: BuildRunState, opts?: CustomResourceOptions): BuildRun
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            build_outputs: Optional[Sequence[_devops.BuildRunBuildOutputArgs]] = None,
            build_pipeline_id: Optional[str] = None,
            build_run_arguments: Optional[_devops.BuildRunBuildRunArgumentsArgs] = None,
            build_run_progresses: Optional[Sequence[_devops.BuildRunBuildRunProgressArgs]] = None,
            build_run_sources: Optional[Sequence[_devops.BuildRunBuildRunSourceArgs]] = None,
            commit_info: Optional[_devops.BuildRunCommitInfoArgs] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, 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) -> BuildRun
    func GetBuildRun(ctx *Context, name string, id IDInput, state *BuildRunState, opts ...ResourceOption) (*BuildRun, error)
    public static BuildRun Get(string name, Input<string> id, BuildRunState? state, CustomResourceOptions? opts = null)
    public static BuildRun get(String name, Output<String> id, BuildRunState 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:
    BuildOutputs List<BuildRunBuildOutput>
    Outputs from the build.
    BuildPipelineId string
    The OCID of the build pipeline.
    BuildRunArguments BuildRunBuildRunArguments
    Specifies list of arguments passed along with the build run.
    BuildRunProgresses List<BuildRunBuildRunProgress>
    The run progress details of a build run.
    BuildRunSources List<BuildRunBuildRunSource>
    The source from which the build run is triggered.
    CommitInfo BuildRunCommitInfo
    Commit details that need to be used for the build run.
    CompartmentId string
    The OCID of the compartment where the build is running.
    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"}
    DisplayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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

    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 run.
    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 run was created. Format defined by RFC3339.
    TimeUpdated string
    The time the build run was updated. Format defined by RFC3339.
    BuildOutputs []BuildRunBuildOutputArgs
    Outputs from the build.
    BuildPipelineId string
    The OCID of the build pipeline.
    BuildRunArguments BuildRunBuildRunArgumentsArgs
    Specifies list of arguments passed along with the build run.
    BuildRunProgresses []BuildRunBuildRunProgressArgs
    The run progress details of a build run.
    BuildRunSources []BuildRunBuildRunSourceArgs
    The source from which the build run is triggered.
    CommitInfo BuildRunCommitInfoArgs
    Commit details that need to be used for the build run.
    CompartmentId string
    The OCID of the compartment where the build is running.
    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"}
    DisplayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags map[string]string

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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

    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 run.
    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 run was created. Format defined by RFC3339.
    TimeUpdated string
    The time the build run was updated. Format defined by RFC3339.
    buildOutputs List<BuildRunBuildOutput>
    Outputs from the build.
    buildPipelineId String
    The OCID of the build pipeline.
    buildRunArguments BuildRunBuildRunArguments
    Specifies list of arguments passed along with the build run.
    buildRunProgresses List<BuildRunBuildRunProgress>
    The run progress details of a build run.
    buildRunSources List<BuildRunBuildRunSource>
    The source from which the build run is triggered.
    commitInfo BuildRunCommitInfo
    Commit details that need to be used for the build run.
    compartmentId String
    The OCID of the compartment where the build is running.
    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"}
    displayName String
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<String,String>

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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

    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 run.
    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 run was created. Format defined by RFC3339.
    timeUpdated String
    The time the build run was updated. Format defined by RFC3339.
    buildOutputs BuildRunBuildOutput[]
    Outputs from the build.
    buildPipelineId string
    The OCID of the build pipeline.
    buildRunArguments BuildRunBuildRunArguments
    Specifies list of arguments passed along with the build run.
    buildRunProgresses BuildRunBuildRunProgress[]
    The run progress details of a build run.
    buildRunSources BuildRunBuildRunSource[]
    The source from which the build run is triggered.
    commitInfo BuildRunCommitInfo
    Commit details that need to be used for the build run.
    compartmentId string
    The OCID of the compartment where the build is running.
    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"}
    displayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags {[key: string]: string}

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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

    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 run.
    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 run was created. Format defined by RFC3339.
    timeUpdated string
    The time the build run was updated. Format defined by RFC3339.
    build_outputs Sequence[devops.BuildRunBuildOutputArgs]
    Outputs from the build.
    build_pipeline_id str
    The OCID of the build pipeline.
    build_run_arguments devops.BuildRunBuildRunArgumentsArgs
    Specifies list of arguments passed along with the build run.
    build_run_progresses Sequence[devops.BuildRunBuildRunProgressArgs]
    The run progress details of a build run.
    build_run_sources Sequence[devops.BuildRunBuildRunSourceArgs]
    The source from which the build run is triggered.
    commit_info devops.BuildRunCommitInfoArgs
    Commit details that need to be used for the build run.
    compartment_id str
    The OCID of the compartment where the build is running.
    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"}
    display_name str
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeform_tags Mapping[str, str]

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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

    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 run.
    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 run was created. Format defined by RFC3339.
    time_updated str
    The time the build run was updated. Format defined by RFC3339.
    buildOutputs List<Property Map>
    Outputs from the build.
    buildPipelineId String
    The OCID of the build pipeline.
    buildRunArguments Property Map
    Specifies list of arguments passed along with the build run.
    buildRunProgresses List<Property Map>
    The run progress details of a build run.
    buildRunSources List<Property Map>
    The source from which the build run is triggered.
    commitInfo Property Map
    Commit details that need to be used for the build run.
    compartmentId String
    The OCID of the compartment where the build is running.
    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"}
    displayName String
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<String>

    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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

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

    Supporting Types

    BuildRunBuildOutput, BuildRunBuildOutputArgs

    ArtifactOverrideParameters List<BuildRunBuildOutputArtifactOverrideParameter>
    Specifies the list of artifact override arguments at the time of deployment.
    DeliveredArtifacts List<BuildRunBuildOutputDeliveredArtifact>
    Specifies the list of artifacts delivered through the Deliver Artifacts stage.
    ExportedVariables List<BuildRunBuildOutputExportedVariable>
    Specifies list of exported variables.
    VulnerabilityAuditSummaryCollections List<BuildRunBuildOutputVulnerabilityAuditSummaryCollection>
    List of vulnerability audit summary.
    ArtifactOverrideParameters []BuildRunBuildOutputArtifactOverrideParameter
    Specifies the list of artifact override arguments at the time of deployment.
    DeliveredArtifacts []BuildRunBuildOutputDeliveredArtifact
    Specifies the list of artifacts delivered through the Deliver Artifacts stage.
    ExportedVariables []BuildRunBuildOutputExportedVariable
    Specifies list of exported variables.
    VulnerabilityAuditSummaryCollections []BuildRunBuildOutputVulnerabilityAuditSummaryCollection
    List of vulnerability audit summary.
    artifactOverrideParameters List<BuildRunBuildOutputArtifactOverrideParameter>
    Specifies the list of artifact override arguments at the time of deployment.
    deliveredArtifacts List<BuildRunBuildOutputDeliveredArtifact>
    Specifies the list of artifacts delivered through the Deliver Artifacts stage.
    exportedVariables List<BuildRunBuildOutputExportedVariable>
    Specifies list of exported variables.
    vulnerabilityAuditSummaryCollections List<BuildRunBuildOutputVulnerabilityAuditSummaryCollection>
    List of vulnerability audit summary.
    artifactOverrideParameters BuildRunBuildOutputArtifactOverrideParameter[]
    Specifies the list of artifact override arguments at the time of deployment.
    deliveredArtifacts BuildRunBuildOutputDeliveredArtifact[]
    Specifies the list of artifacts delivered through the Deliver Artifacts stage.
    exportedVariables BuildRunBuildOutputExportedVariable[]
    Specifies list of exported variables.
    vulnerabilityAuditSummaryCollections BuildRunBuildOutputVulnerabilityAuditSummaryCollection[]
    List of vulnerability audit summary.
    artifact_override_parameters Sequence[devops.BuildRunBuildOutputArtifactOverrideParameter]
    Specifies the list of artifact override arguments at the time of deployment.
    delivered_artifacts Sequence[devops.BuildRunBuildOutputDeliveredArtifact]
    Specifies the list of artifacts delivered through the Deliver Artifacts stage.
    exported_variables Sequence[devops.BuildRunBuildOutputExportedVariable]
    Specifies list of exported variables.
    vulnerability_audit_summary_collections Sequence[devops.BuildRunBuildOutputVulnerabilityAuditSummaryCollection]
    List of vulnerability audit summary.
    artifactOverrideParameters List<Property Map>
    Specifies the list of artifact override arguments at the time of deployment.
    deliveredArtifacts List<Property Map>
    Specifies the list of artifacts delivered through the Deliver Artifacts stage.
    exportedVariables List<Property Map>
    Specifies list of exported variables.
    vulnerabilityAuditSummaryCollections List<Property Map>
    List of vulnerability audit summary.

    BuildRunBuildOutputArtifactOverrideParameter, BuildRunBuildOutputArtifactOverrideParameterArgs

    items List<Property Map>
    List of exported variables.

    BuildRunBuildOutputArtifactOverrideParameterItem, BuildRunBuildOutputArtifactOverrideParameterItemArgs

    DeployArtifactId string
    The OCID of the deployment artifact definition.
    Name string
    Name of the step.
    Value string
    Value of the argument.
    DeployArtifactId string
    The OCID of the deployment artifact definition.
    Name string
    Name of the step.
    Value string
    Value of the argument.
    deployArtifactId String
    The OCID of the deployment artifact definition.
    name String
    Name of the step.
    value String
    Value of the argument.
    deployArtifactId string
    The OCID of the deployment artifact definition.
    name string
    Name of the step.
    value string
    Value of the argument.
    deploy_artifact_id str
    The OCID of the deployment artifact definition.
    name str
    Name of the step.
    value str
    Value of the argument.
    deployArtifactId String
    The OCID of the deployment artifact definition.
    name String
    Name of the step.
    value String
    Value of the argument.

    BuildRunBuildOutputDeliveredArtifact, BuildRunBuildOutputDeliveredArtifactArgs

    items List<Property Map>
    List of exported variables.

    BuildRunBuildOutputDeliveredArtifactItem, BuildRunBuildOutputDeliveredArtifactItemArgs

    ArtifactRepositoryId string
    The OCID of the artifact registry repository used by the DeliverArtifactStage
    ArtifactType string
    Type of artifact delivered.
    DeliveredArtifactHash string
    The hash of the container registry artifact pushed by the Deliver Artifacts stage.
    DeliveredArtifactId string
    The OCID of the artifact pushed by the Deliver Artifacts stage.
    DeployArtifactId string
    The OCID of the deployment artifact definition.
    ImageUri string
    The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
    OutputArtifactName string
    Name of the output artifact defined in the build specification file.
    Path string
    Path of the repository where artifact was pushed
    Version string
    Version of the artifact pushed
    ArtifactRepositoryId string
    The OCID of the artifact registry repository used by the DeliverArtifactStage
    ArtifactType string
    Type of artifact delivered.
    DeliveredArtifactHash string
    The hash of the container registry artifact pushed by the Deliver Artifacts stage.
    DeliveredArtifactId string
    The OCID of the artifact pushed by the Deliver Artifacts stage.
    DeployArtifactId string
    The OCID of the deployment artifact definition.
    ImageUri string
    The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
    OutputArtifactName string
    Name of the output artifact defined in the build specification file.
    Path string
    Path of the repository where artifact was pushed
    Version string
    Version of the artifact pushed
    artifactRepositoryId String
    The OCID of the artifact registry repository used by the DeliverArtifactStage
    artifactType String
    Type of artifact delivered.
    deliveredArtifactHash String
    The hash of the container registry artifact pushed by the Deliver Artifacts stage.
    deliveredArtifactId String
    The OCID of the artifact pushed by the Deliver Artifacts stage.
    deployArtifactId String
    The OCID of the deployment artifact definition.
    imageUri String
    The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
    outputArtifactName String
    Name of the output artifact defined in the build specification file.
    path String
    Path of the repository where artifact was pushed
    version String
    Version of the artifact pushed
    artifactRepositoryId string
    The OCID of the artifact registry repository used by the DeliverArtifactStage
    artifactType string
    Type of artifact delivered.
    deliveredArtifactHash string
    The hash of the container registry artifact pushed by the Deliver Artifacts stage.
    deliveredArtifactId string
    The OCID of the artifact pushed by the Deliver Artifacts stage.
    deployArtifactId string
    The OCID of the deployment artifact definition.
    imageUri string
    The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
    outputArtifactName string
    Name of the output artifact defined in the build specification file.
    path string
    Path of the repository where artifact was pushed
    version string
    Version of the artifact pushed
    artifact_repository_id str
    The OCID of the artifact registry repository used by the DeliverArtifactStage
    artifact_type str
    Type of artifact delivered.
    delivered_artifact_hash str
    The hash of the container registry artifact pushed by the Deliver Artifacts stage.
    delivered_artifact_id str
    The OCID of the artifact pushed by the Deliver Artifacts stage.
    deploy_artifact_id str
    The OCID of the deployment artifact definition.
    image_uri str
    The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
    output_artifact_name str
    Name of the output artifact defined in the build specification file.
    path str
    Path of the repository where artifact was pushed
    version str
    Version of the artifact pushed
    artifactRepositoryId String
    The OCID of the artifact registry repository used by the DeliverArtifactStage
    artifactType String
    Type of artifact delivered.
    deliveredArtifactHash String
    The hash of the container registry artifact pushed by the Deliver Artifacts stage.
    deliveredArtifactId String
    The OCID of the artifact pushed by the Deliver Artifacts stage.
    deployArtifactId String
    The OCID of the deployment artifact definition.
    imageUri String
    The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
    outputArtifactName String
    Name of the output artifact defined in the build specification file.
    path String
    Path of the repository where artifact was pushed
    version String
    Version of the artifact pushed

    BuildRunBuildOutputExportedVariable, BuildRunBuildOutputExportedVariableArgs

    items List<Property Map>
    List of exported variables.

    BuildRunBuildOutputExportedVariableItem, BuildRunBuildOutputExportedVariableItemArgs

    Name string
    Name of the step.
    Value string
    Value of the argument.
    Name string
    Name of the step.
    Value string
    Value of the argument.
    name String
    Name of the step.
    value String
    Value of the argument.
    name string
    Name of the step.
    value string
    Value of the argument.
    name str
    Name of the step.
    value str
    Value of the argument.
    name String
    Name of the step.
    value String
    Value of the argument.

    BuildRunBuildOutputVulnerabilityAuditSummaryCollection, BuildRunBuildOutputVulnerabilityAuditSummaryCollectionArgs

    items List<Property Map>
    List of exported variables.

    BuildRunBuildOutputVulnerabilityAuditSummaryCollectionItem, BuildRunBuildOutputVulnerabilityAuditSummaryCollectionItemArgs

    BuildStageId string
    Build stage OCID where scan was configured.
    CommitHash string
    Commit hash pertinent to the repository URL and the specified branch.
    VulnerabilityAuditId string
    The OCID of the vulnerability audit.
    BuildStageId string
    Build stage OCID where scan was configured.
    CommitHash string
    Commit hash pertinent to the repository URL and the specified branch.
    VulnerabilityAuditId string
    The OCID of the vulnerability audit.
    buildStageId String
    Build stage OCID where scan was configured.
    commitHash String
    Commit hash pertinent to the repository URL and the specified branch.
    vulnerabilityAuditId String
    The OCID of the vulnerability audit.
    buildStageId string
    Build stage OCID where scan was configured.
    commitHash string
    Commit hash pertinent to the repository URL and the specified branch.
    vulnerabilityAuditId string
    The OCID of the vulnerability audit.
    build_stage_id str
    Build stage OCID where scan was configured.
    commit_hash str
    Commit hash pertinent to the repository URL and the specified branch.
    vulnerability_audit_id str
    The OCID of the vulnerability audit.
    buildStageId String
    Build stage OCID where scan was configured.
    commitHash String
    Commit hash pertinent to the repository URL and the specified branch.
    vulnerabilityAuditId String
    The OCID of the vulnerability audit.

    BuildRunBuildRunArguments, BuildRunBuildRunArgumentsArgs

    Items List<BuildRunBuildRunArgumentsItem>
    List of arguments provided at the time of running the build.
    Items []BuildRunBuildRunArgumentsItem
    List of arguments provided at the time of running the build.
    items List<BuildRunBuildRunArgumentsItem>
    List of arguments provided at the time of running the build.
    items BuildRunBuildRunArgumentsItem[]
    List of arguments provided at the time of running the build.
    items Sequence[devops.BuildRunBuildRunArgumentsItem]
    List of arguments provided at the time of running the build.
    items List<Property Map>
    List of arguments provided at the time of running the build.

    BuildRunBuildRunArgumentsItem, BuildRunBuildRunArgumentsItemArgs

    Name string
    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'
    Value string
    Value of the argument.
    Name string
    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'
    Value string
    Value of the argument.
    name String
    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'
    value String
    Value of the argument.
    name string
    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'
    value string
    Value of the argument.
    name str
    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'
    value str
    Value of the argument.
    name String
    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'
    value String
    Value of the argument.

    BuildRunBuildRunProgress, BuildRunBuildRunProgressArgs

    BuildPipelineStageRunProgress Dictionary<string, string>
    Map of stage OCIDs to build pipeline stage run progress model.
    TimeFinished string
    The time the build run finished. Format defined by RFC3339.
    TimeStarted string
    The time the build run started. Format defined by RFC3339.
    BuildPipelineStageRunProgress map[string]string
    Map of stage OCIDs to build pipeline stage run progress model.
    TimeFinished string
    The time the build run finished. Format defined by RFC3339.
    TimeStarted string
    The time the build run started. Format defined by RFC3339.
    buildPipelineStageRunProgress Map<String,String>
    Map of stage OCIDs to build pipeline stage run progress model.
    timeFinished String
    The time the build run finished. Format defined by RFC3339.
    timeStarted String
    The time the build run started. Format defined by RFC3339.
    buildPipelineStageRunProgress {[key: string]: string}
    Map of stage OCIDs to build pipeline stage run progress model.
    timeFinished string
    The time the build run finished. Format defined by RFC3339.
    timeStarted string
    The time the build run started. Format defined by RFC3339.
    build_pipeline_stage_run_progress Mapping[str, str]
    Map of stage OCIDs to build pipeline stage run progress model.
    time_finished str
    The time the build run finished. Format defined by RFC3339.
    time_started str
    The time the build run started. Format defined by RFC3339.
    buildPipelineStageRunProgress Map<String>
    Map of stage OCIDs to build pipeline stage run progress model.
    timeFinished String
    The time the build run finished. Format defined by RFC3339.
    timeStarted String
    The time the build run started. Format defined by RFC3339.

    BuildRunBuildRunSource, BuildRunBuildRunSourceArgs

    RepositoryId string
    The DevOps code repository identifier that invoked the build run.
    SourceType string
    The source from which the build run is triggered.
    TriggerId string
    The trigger that invoked the build run.
    TriggerInfos List<BuildRunBuildRunSourceTriggerInfo>
    Trigger details that need to be used for the BuildRun
    RepositoryId string
    The DevOps code repository identifier that invoked the build run.
    SourceType string
    The source from which the build run is triggered.
    TriggerId string
    The trigger that invoked the build run.
    TriggerInfos []BuildRunBuildRunSourceTriggerInfo
    Trigger details that need to be used for the BuildRun
    repositoryId String
    The DevOps code repository identifier that invoked the build run.
    sourceType String
    The source from which the build run is triggered.
    triggerId String
    The trigger that invoked the build run.
    triggerInfos List<BuildRunBuildRunSourceTriggerInfo>
    Trigger details that need to be used for the BuildRun
    repositoryId string
    The DevOps code repository identifier that invoked the build run.
    sourceType string
    The source from which the build run is triggered.
    triggerId string
    The trigger that invoked the build run.
    triggerInfos BuildRunBuildRunSourceTriggerInfo[]
    Trigger details that need to be used for the BuildRun
    repository_id str
    The DevOps code repository identifier that invoked the build run.
    source_type str
    The source from which the build run is triggered.
    trigger_id str
    The trigger that invoked the build run.
    trigger_infos Sequence[devops.BuildRunBuildRunSourceTriggerInfo]
    Trigger details that need to be used for the BuildRun
    repositoryId String
    The DevOps code repository identifier that invoked the build run.
    sourceType String
    The source from which the build run is triggered.
    triggerId String
    The trigger that invoked the build run.
    triggerInfos List<Property Map>
    Trigger details that need to be used for the BuildRun

    BuildRunBuildRunSourceTriggerInfo, BuildRunBuildRunSourceTriggerInfoArgs

    Actions List<BuildRunBuildRunSourceTriggerInfoAction>
    The list of actions that are to be performed for this Trigger
    DisplayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    Actions []BuildRunBuildRunSourceTriggerInfoAction
    The list of actions that are to be performed for this Trigger
    DisplayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    actions List<BuildRunBuildRunSourceTriggerInfoAction>
    The list of actions that are to be performed for this Trigger
    displayName String
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    actions BuildRunBuildRunSourceTriggerInfoAction[]
    The list of actions that are to be performed for this Trigger
    displayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    actions Sequence[devops.BuildRunBuildRunSourceTriggerInfoAction]
    The list of actions that are to be performed for this Trigger
    display_name str
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    actions List<Property Map>
    The list of actions that are to be performed for this Trigger
    displayName String
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.

    BuildRunBuildRunSourceTriggerInfoAction, BuildRunBuildRunSourceTriggerInfoActionArgs

    BuildPipelineId string
    The OCID of the build pipeline.
    Filters List<BuildRunBuildRunSourceTriggerInfoActionFilter>
    Type string
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
    BuildPipelineId string
    The OCID of the build pipeline.
    Filters []BuildRunBuildRunSourceTriggerInfoActionFilter
    Type string
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
    buildPipelineId String
    The OCID of the build pipeline.
    filters List<BuildRunBuildRunSourceTriggerInfoActionFilter>
    type String
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
    buildPipelineId string
    The OCID of the build pipeline.
    filters BuildRunBuildRunSourceTriggerInfoActionFilter[]
    type string
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
    build_pipeline_id str
    The OCID of the build pipeline.
    filters Sequence[devops.BuildRunBuildRunSourceTriggerInfoActionFilter]
    type str
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
    buildPipelineId String
    The OCID of the build pipeline.
    filters List<Property Map>
    type String
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.

    BuildRunBuildRunSourceTriggerInfoActionFilter, BuildRunBuildRunSourceTriggerInfoActionFilterArgs

    Events List<string>
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    Excludes List<BuildRunBuildRunSourceTriggerInfoActionFilterExclude>
    Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
    Includes List<BuildRunBuildRunSourceTriggerInfoActionFilterInclude>
    Attributes to filter GitLab self-hosted server events.
    TriggerSource string
    Source of the trigger. Allowed values are, GITHUB and GITLAB.
    Events []string
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    Excludes []BuildRunBuildRunSourceTriggerInfoActionFilterExclude
    Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
    Includes []BuildRunBuildRunSourceTriggerInfoActionFilterInclude
    Attributes to filter GitLab self-hosted server events.
    TriggerSource string
    Source of the trigger. Allowed values are, GITHUB and GITLAB.
    events List<String>
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    excludes List<BuildRunBuildRunSourceTriggerInfoActionFilterExclude>
    Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
    includes List<BuildRunBuildRunSourceTriggerInfoActionFilterInclude>
    Attributes to filter GitLab self-hosted server events.
    triggerSource String
    Source of the trigger. Allowed values are, GITHUB and GITLAB.
    events string[]
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    excludes BuildRunBuildRunSourceTriggerInfoActionFilterExclude[]
    Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
    includes BuildRunBuildRunSourceTriggerInfoActionFilterInclude[]
    Attributes to filter GitLab self-hosted server events.
    triggerSource string
    Source of the trigger. Allowed values are, GITHUB and GITLAB.
    events Sequence[str]
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    excludes Sequence[devops.BuildRunBuildRunSourceTriggerInfoActionFilterExclude]
    Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
    includes Sequence[devops.BuildRunBuildRunSourceTriggerInfoActionFilterInclude]
    Attributes to filter GitLab self-hosted server events.
    trigger_source str
    Source of the trigger. Allowed values are, GITHUB and GITLAB.
    events List<String>
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    excludes List<Property Map>
    Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
    includes List<Property Map>
    Attributes to filter GitLab self-hosted server events.
    triggerSource String
    Source of the trigger. Allowed values are, GITHUB and GITLAB.

    BuildRunBuildRunSourceTriggerInfoActionFilterExclude, BuildRunBuildRunSourceTriggerInfoActionFilterExcludeArgs

    FileFilters List<BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilter>
    Attributes to support include/exclude files for triggering build runs.
    FileFilters []BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilter
    Attributes to support include/exclude files for triggering build runs.
    fileFilters List<BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilter>
    Attributes to support include/exclude files for triggering build runs.
    fileFilters BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilter[]
    Attributes to support include/exclude files for triggering build runs.
    file_filters Sequence[devops.BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilter]
    Attributes to support include/exclude files for triggering build runs.
    fileFilters List<Property Map>
    Attributes to support include/exclude files for triggering build runs.

    BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilter, BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilterArgs

    FilePaths List<string>
    The file paths/glob pattern for files.
    FilePaths []string
    The file paths/glob pattern for files.
    filePaths List<String>
    The file paths/glob pattern for files.
    filePaths string[]
    The file paths/glob pattern for files.
    file_paths Sequence[str]
    The file paths/glob pattern for files.
    filePaths List<String>
    The file paths/glob pattern for files.

    BuildRunBuildRunSourceTriggerInfoActionFilterInclude, BuildRunBuildRunSourceTriggerInfoActionFilterIncludeArgs

    BaseRef string
    The target branch for pull requests; not applicable for push requests.
    FileFilters List<BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilter>
    Attributes to support include/exclude files for triggering build runs.
    HeadRef string
    Branch for push event; source branch for pull requests.
    RepositoryName string
    The repository name for trigger events.
    BaseRef string
    The target branch for pull requests; not applicable for push requests.
    FileFilters []BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilter
    Attributes to support include/exclude files for triggering build runs.
    HeadRef string
    Branch for push event; source branch for pull requests.
    RepositoryName string
    The repository name for trigger events.
    baseRef String
    The target branch for pull requests; not applicable for push requests.
    fileFilters List<BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilter>
    Attributes to support include/exclude files for triggering build runs.
    headRef String
    Branch for push event; source branch for pull requests.
    repositoryName String
    The repository name for trigger events.
    baseRef string
    The target branch for pull requests; not applicable for push requests.
    fileFilters BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilter[]
    Attributes to support include/exclude files for triggering build runs.
    headRef string
    Branch for push event; source branch for pull requests.
    repositoryName string
    The repository name for trigger events.
    base_ref str
    The target branch for pull requests; not applicable for push requests.
    file_filters Sequence[devops.BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilter]
    Attributes to support include/exclude files for triggering build runs.
    head_ref str
    Branch for push event; source branch for pull requests.
    repository_name str
    The repository name for trigger events.
    baseRef String
    The target branch for pull requests; not applicable for push requests.
    fileFilters List<Property Map>
    Attributes to support include/exclude files for triggering build runs.
    headRef String
    Branch for push event; source branch for pull requests.
    repositoryName String
    The repository name for trigger events.

    BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilter, BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilterArgs

    FilePaths List<string>
    The file paths/glob pattern for files.
    FilePaths []string
    The file paths/glob pattern for files.
    filePaths List<String>
    The file paths/glob pattern for files.
    filePaths string[]
    The file paths/glob pattern for files.
    file_paths Sequence[str]
    The file paths/glob pattern for files.
    filePaths List<String>
    The file paths/glob pattern for files.

    BuildRunCommitInfo, BuildRunCommitInfoArgs

    CommitHash string
    Commit hash pertinent to the repository URL and the specified branch.
    RepositoryBranch string
    Name of the repository branch.
    RepositoryUrl string
    Repository URL.
    CommitHash string
    Commit hash pertinent to the repository URL and the specified branch.
    RepositoryBranch string
    Name of the repository branch.
    RepositoryUrl string
    Repository URL.
    commitHash String
    Commit hash pertinent to the repository URL and the specified branch.
    repositoryBranch String
    Name of the repository branch.
    repositoryUrl String
    Repository URL.
    commitHash string
    Commit hash pertinent to the repository URL and the specified branch.
    repositoryBranch string
    Name of the repository branch.
    repositoryUrl string
    Repository URL.
    commit_hash str
    Commit hash pertinent to the repository URL and the specified branch.
    repository_branch str
    Name of the repository branch.
    repository_url str
    Repository URL.
    commitHash String
    Commit hash pertinent to the repository URL and the specified branch.
    repositoryBranch String
    Name of the repository branch.
    repositoryUrl String
    Repository URL.

    Import

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

    $ pulumi import oci:DevOps/buildRun:BuildRun test_build_run "id"
    

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

    Package Details

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