1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. BuildRun
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.DevOps.BuildRun

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 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=oci.dev_ops.BuildRunBuildRunArgumentsArgs(
            items=[oci.dev_ops.BuildRunBuildRunArgumentsItemArgs(
                name=build_run_build_run_arguments_items_name,
                value=build_run_build_run_arguments_items_value,
            )],
        ),
        commit_info=oci.dev_ops.BuildRunCommitInfoArgs(
            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/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.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			DisplayName: pulumi.Any(buildRunDisplayName),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("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, Any]] = None,
                 display_name: Optional[str] = None,
                 freeform_tags: Optional[Mapping[str, Any]] = 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.

    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", "any" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
    });
    
    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.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    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", "any"))
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .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": "any",
        },
        display_name="string",
        freeform_tags={
            "string": "any",
        })
    
    const buildRunResource = new oci.devops.BuildRun("buildRunResource", {
        buildPipelineId: "string",
        buildRunArguments: {
            items: [{
                name: "string",
                value: "string",
            }],
        },
        commitInfo: {
            commitHash: "string",
            repositoryBranch: "string",
            repositoryUrl: "string",
        },
        definedTags: {
            string: "any",
        },
        displayName: "string",
        freeformTags: {
            string: "any",
        },
    });
    
    type: oci:DevOps:BuildRun
    properties:
        buildPipelineId: string
        buildRunArguments:
            items:
                - name: string
                  value: string
        commitInfo:
            commitHash: string
            repositoryBranch: string
            repositoryUrl: string
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
    

    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, 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"}
    DisplayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>

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

    ** 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]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"}
    DisplayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags map[string]interface{}

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

    ** 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,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"}
    displayName String
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<String,Object>

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

    ** 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]: 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"}
    displayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags {[key: string]: any}

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

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

    ** 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<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"}
    displayName String
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<Any>

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

    ** 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, 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 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]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 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,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 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]: 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 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, 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 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<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 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, Any]] = 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) -> 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, 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"}
    DisplayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>

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

    ** 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, 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 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]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"}
    DisplayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    FreeformTags map[string]interface{}

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

    ** 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]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 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,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"}
    displayName String
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<String,Object>

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

    ** 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,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 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]: 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"}
    displayName string
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags {[key: string]: any}

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

    ** 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]: 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 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, 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"}
    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, 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"}

    ** 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, 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 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<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"}
    displayName String
    (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    freeformTags Map<Any>

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

    ** 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<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 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, object>
    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]interface{}
    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,Object>
    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]: any}
    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, Any]
    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<Any>
    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>
    The filters for the trigger.
    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
    The filters for the trigger.
    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>
    The filters for the trigger.
    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[]
    The filters for the trigger.
    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]
    The filters for the trigger.
    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>
    The filters for the trigger.
    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_MERGE.
    Excludes List<BuildRunBuildRunSourceTriggerInfoActionFilterExclude>
    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_MERGE.
    Excludes []BuildRunBuildRunSourceTriggerInfoActionFilterExclude
    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_MERGE.
    excludes List<BuildRunBuildRunSourceTriggerInfoActionFilterExclude>
    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_MERGE.
    excludes BuildRunBuildRunSourceTriggerInfoActionFilterExclude[]
    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_MERGE.
    excludes Sequence[devops.BuildRunBuildRunSourceTriggerInfoActionFilterExclude]
    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_MERGE.
    excludes List<Property Map>
    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

    BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilter, BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilterArgs

    FilePaths List<string>
    FilePaths []string
    filePaths List<String>
    filePaths string[]
    file_paths Sequence[str]
    filePaths List<String>

    BuildRunBuildRunSourceTriggerInfoActionFilterInclude, BuildRunBuildRunSourceTriggerInfoActionFilterIncludeArgs

    BaseRef string
    The target branch for pull requests; not applicable for push requests.
    FileFilters List<BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilter>
    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
    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>
    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[]
    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]
    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>
    headRef String
    Branch for push event; source branch for pull requests.
    repositoryName String
    The repository name for trigger events.

    BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilter, BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilterArgs

    FilePaths List<string>
    FilePaths []string
    filePaths List<String>
    filePaths string[]
    file_paths Sequence[str]
    filePaths List<String>

    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 v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi