1. Packages
  2. Ibm Provider
  3. API Docs
  4. getCdToolchainToolBitbucketgit
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getCdToolchainToolBitbucketgit

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a read-only data source to retrieve information about a cd_toolchain_tool_bitbucketgit. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    See the tool integration page for more information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const cdToolchainToolBitbucketgit = ibm.getCdToolchainToolBitbucketgit({
        toolId: "9603dcd4-3c86-44f8-8d0a-9427369878cf",
        toolchainId: data.ibm_cd_toolchain.cd_toolchain.id,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    cd_toolchain_tool_bitbucketgit = ibm.get_cd_toolchain_tool_bitbucketgit(tool_id="9603dcd4-3c86-44f8-8d0a-9427369878cf",
        toolchain_id=data["ibm_cd_toolchain"]["cd_toolchain"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.LookupCdToolchainToolBitbucketgit(ctx, &ibm.LookupCdToolchainToolBitbucketgitArgs{
    			ToolId:      "9603dcd4-3c86-44f8-8d0a-9427369878cf",
    			ToolchainId: data.Ibm_cd_toolchain.Cd_toolchain.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var cdToolchainToolBitbucketgit = Ibm.GetCdToolchainToolBitbucketgit.Invoke(new()
        {
            ToolId = "9603dcd4-3c86-44f8-8d0a-9427369878cf",
            ToolchainId = data.Ibm_cd_toolchain.Cd_toolchain.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetCdToolchainToolBitbucketgitArgs;
    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) {
            final var cdToolchainToolBitbucketgit = IbmFunctions.getCdToolchainToolBitbucketgit(GetCdToolchainToolBitbucketgitArgs.builder()
                .toolId("9603dcd4-3c86-44f8-8d0a-9427369878cf")
                .toolchainId(data.ibm_cd_toolchain().cd_toolchain().id())
                .build());
    
        }
    }
    
    variables:
      cdToolchainToolBitbucketgit:
        fn::invoke:
          function: ibm:getCdToolchainToolBitbucketgit
          arguments:
            toolId: 9603dcd4-3c86-44f8-8d0a-9427369878cf
            toolchainId: ${data.ibm_cd_toolchain.cd_toolchain.id}
    

    Using getCdToolchainToolBitbucketgit

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCdToolchainToolBitbucketgit(args: GetCdToolchainToolBitbucketgitArgs, opts?: InvokeOptions): Promise<GetCdToolchainToolBitbucketgitResult>
    function getCdToolchainToolBitbucketgitOutput(args: GetCdToolchainToolBitbucketgitOutputArgs, opts?: InvokeOptions): Output<GetCdToolchainToolBitbucketgitResult>
    def get_cd_toolchain_tool_bitbucketgit(id: Optional[str] = None,
                                           tool_id: Optional[str] = None,
                                           toolchain_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetCdToolchainToolBitbucketgitResult
    def get_cd_toolchain_tool_bitbucketgit_output(id: Optional[pulumi.Input[str]] = None,
                                           tool_id: Optional[pulumi.Input[str]] = None,
                                           toolchain_id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetCdToolchainToolBitbucketgitResult]
    func LookupCdToolchainToolBitbucketgit(ctx *Context, args *LookupCdToolchainToolBitbucketgitArgs, opts ...InvokeOption) (*LookupCdToolchainToolBitbucketgitResult, error)
    func LookupCdToolchainToolBitbucketgitOutput(ctx *Context, args *LookupCdToolchainToolBitbucketgitOutputArgs, opts ...InvokeOption) LookupCdToolchainToolBitbucketgitResultOutput

    > Note: This function is named LookupCdToolchainToolBitbucketgit in the Go SDK.

    public static class GetCdToolchainToolBitbucketgit 
    {
        public static Task<GetCdToolchainToolBitbucketgitResult> InvokeAsync(GetCdToolchainToolBitbucketgitArgs args, InvokeOptions? opts = null)
        public static Output<GetCdToolchainToolBitbucketgitResult> Invoke(GetCdToolchainToolBitbucketgitInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCdToolchainToolBitbucketgitResult> getCdToolchainToolBitbucketgit(GetCdToolchainToolBitbucketgitArgs args, InvokeOptions options)
    public static Output<GetCdToolchainToolBitbucketgitResult> getCdToolchainToolBitbucketgit(GetCdToolchainToolBitbucketgitArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getCdToolchainToolBitbucketgit:getCdToolchainToolBitbucketgit
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ToolId string
    ID of the tool bound to the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    ToolchainId string
    ID of the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    Id string
    The unique identifier of the cd_toolchain_tool_bitbucketgit.
    ToolId string
    ID of the tool bound to the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    ToolchainId string
    ID of the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    Id string
    The unique identifier of the cd_toolchain_tool_bitbucketgit.
    toolId String
    ID of the tool bound to the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchainId String
    ID of the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    id String
    The unique identifier of the cd_toolchain_tool_bitbucketgit.
    toolId string
    ID of the tool bound to the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchainId string
    ID of the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    id string
    The unique identifier of the cd_toolchain_tool_bitbucketgit.
    tool_id str
    ID of the tool bound to the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchain_id str
    ID of the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    id str
    The unique identifier of the cd_toolchain_tool_bitbucketgit.
    toolId String
    ID of the tool bound to the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchainId String
    ID of the toolchain.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    id String
    The unique identifier of the cd_toolchain_tool_bitbucketgit.

    getCdToolchainToolBitbucketgit Result

    The following output properties are available:

    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    Id string
    The unique identifier of the cd_toolchain_tool_bitbucketgit.
    Name string
    (String) Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    Parameters List<GetCdToolchainToolBitbucketgitParameter>
    (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    Referents List<GetCdToolchainToolBitbucketgitReferent>
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    ResourceGroupId string
    (String) Resource group where the tool is located.
    State string
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    ToolId string
    ToolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    ToolchainId string
    UpdatedAt string
    (String) Latest tool update timestamp.
    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    Id string
    The unique identifier of the cd_toolchain_tool_bitbucketgit.
    Name string
    (String) Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    Parameters []GetCdToolchainToolBitbucketgitParameter
    (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    Referents []GetCdToolchainToolBitbucketgitReferent
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    ResourceGroupId string
    (String) Resource group where the tool is located.
    State string
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    ToolId string
    ToolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    ToolchainId string
    UpdatedAt string
    (String) Latest tool update timestamp.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    id String
    The unique identifier of the cd_toolchain_tool_bitbucketgit.
    name String
    (String) Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters List<GetCdToolchainToolBitbucketgitParameter>
    (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    referents List<GetCdToolchainToolBitbucketgitReferent>
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resourceGroupId String
    (String) Resource group where the tool is located.
    state String
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    toolId String
    toolchainCrn String
    (String) CRN of toolchain which the tool is bound to.
    toolchainId String
    updatedAt String
    (String) Latest tool update timestamp.
    crn string
    (String) Tool CRN.
    href string
    (String) URI representing the tool.
    id string
    The unique identifier of the cd_toolchain_tool_bitbucketgit.
    name string
    (String) Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters GetCdToolchainToolBitbucketgitParameter[]
    (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    referents GetCdToolchainToolBitbucketgitReferent[]
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resourceGroupId string
    (String) Resource group where the tool is located.
    state string
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    toolId string
    toolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    toolchainId string
    updatedAt string
    (String) Latest tool update timestamp.
    crn str
    (String) Tool CRN.
    href str
    (String) URI representing the tool.
    id str
    The unique identifier of the cd_toolchain_tool_bitbucketgit.
    name str
    (String) Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters Sequence[GetCdToolchainToolBitbucketgitParameter]
    (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    referents Sequence[GetCdToolchainToolBitbucketgitReferent]
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resource_group_id str
    (String) Resource group where the tool is located.
    state str
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    tool_id str
    toolchain_crn str
    (String) CRN of toolchain which the tool is bound to.
    toolchain_id str
    updated_at str
    (String) Latest tool update timestamp.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    id String
    The unique identifier of the cd_toolchain_tool_bitbucketgit.
    name String
    (String) Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters List<Property Map>
    (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    referents List<Property Map>
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resourceGroupId String
    (String) Resource group where the tool is located.
    state String
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    toolId String
    toolchainCrn String
    (String) CRN of toolchain which the tool is bound to.
    toolchainId String
    updatedAt String
    (String) Latest tool update timestamp.

    Supporting Types

    GetCdToolchainToolBitbucketgitParameter

    ApiRootUrl string
    (String) The API root URL for the Bitbucket Server.
    DefaultBranch string
    (String) The default branch of the git repository.
    EnableTraceability bool
    (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.

    • Constraints: The default value is false.
    GitId string
    (String) Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
    IntegrationOwner string
    (String) Select the user which git operations will be performed as.
    OwnerId string
    (String) The Bitbucket user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    PrivateRepo bool
    (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.

    • Constraints: The default value is false.
    RepoId string
    (String) The ID of the Bitbucket repository.
    RepoName string
    (String) The name of the new Bitbucket repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    RepoUrl string
    (String) The URL of the bitbucket repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
    SourceRepoUrl string
    (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
    TokenUrl string
    (String) The token URL used for authorizing with the Bitbucket server.
    ToolchainIssuesEnabled bool
    (Boolean) Setting this value to true will enable issues on the Bitbucket repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the Bitbucket repository itself.

    • Constraints: The default value is true.
    Type string
    (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.

    • Constraints: Allowable values are: new, fork, clone, link, new_if_not_exists, clone_if_not_exists, fork_if_not_exists.
    ApiRootUrl string
    (String) The API root URL for the Bitbucket Server.
    DefaultBranch string
    (String) The default branch of the git repository.
    EnableTraceability bool
    (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.

    • Constraints: The default value is false.
    GitId string
    (String) Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
    IntegrationOwner string
    (String) Select the user which git operations will be performed as.
    OwnerId string
    (String) The Bitbucket user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    PrivateRepo bool
    (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.

    • Constraints: The default value is false.
    RepoId string
    (String) The ID of the Bitbucket repository.
    RepoName string
    (String) The name of the new Bitbucket repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    RepoUrl string
    (String) The URL of the bitbucket repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
    SourceRepoUrl string
    (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
    TokenUrl string
    (String) The token URL used for authorizing with the Bitbucket server.
    ToolchainIssuesEnabled bool
    (Boolean) Setting this value to true will enable issues on the Bitbucket repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the Bitbucket repository itself.

    • Constraints: The default value is true.
    Type string
    (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.

    • Constraints: Allowable values are: new, fork, clone, link, new_if_not_exists, clone_if_not_exists, fork_if_not_exists.
    apiRootUrl String
    (String) The API root URL for the Bitbucket Server.
    defaultBranch String
    (String) The default branch of the git repository.
    enableTraceability Boolean
    (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.

    • Constraints: The default value is false.
    gitId String
    (String) Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
    integrationOwner String
    (String) Select the user which git operations will be performed as.
    ownerId String
    (String) The Bitbucket user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    privateRepo Boolean
    (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.

    • Constraints: The default value is false.
    repoId String
    (String) The ID of the Bitbucket repository.
    repoName String
    (String) The name of the new Bitbucket repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    repoUrl String
    (String) The URL of the bitbucket repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
    sourceRepoUrl String
    (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
    tokenUrl String
    (String) The token URL used for authorizing with the Bitbucket server.
    toolchainIssuesEnabled Boolean
    (Boolean) Setting this value to true will enable issues on the Bitbucket repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the Bitbucket repository itself.

    • Constraints: The default value is true.
    type String
    (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.

    • Constraints: Allowable values are: new, fork, clone, link, new_if_not_exists, clone_if_not_exists, fork_if_not_exists.
    apiRootUrl string
    (String) The API root URL for the Bitbucket Server.
    defaultBranch string
    (String) The default branch of the git repository.
    enableTraceability boolean
    (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.

    • Constraints: The default value is false.
    gitId string
    (String) Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
    integrationOwner string
    (String) Select the user which git operations will be performed as.
    ownerId string
    (String) The Bitbucket user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    privateRepo boolean
    (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.

    • Constraints: The default value is false.
    repoId string
    (String) The ID of the Bitbucket repository.
    repoName string
    (String) The name of the new Bitbucket repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    repoUrl string
    (String) The URL of the bitbucket repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
    sourceRepoUrl string
    (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
    tokenUrl string
    (String) The token URL used for authorizing with the Bitbucket server.
    toolchainIssuesEnabled boolean
    (Boolean) Setting this value to true will enable issues on the Bitbucket repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the Bitbucket repository itself.

    • Constraints: The default value is true.
    type string
    (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.

    • Constraints: Allowable values are: new, fork, clone, link, new_if_not_exists, clone_if_not_exists, fork_if_not_exists.
    api_root_url str
    (String) The API root URL for the Bitbucket Server.
    default_branch str
    (String) The default branch of the git repository.
    enable_traceability bool
    (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.

    • Constraints: The default value is false.
    git_id str
    (String) Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
    integration_owner str
    (String) Select the user which git operations will be performed as.
    owner_id str
    (String) The Bitbucket user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    private_repo bool
    (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.

    • Constraints: The default value is false.
    repo_id str
    (String) The ID of the Bitbucket repository.
    repo_name str
    (String) The name of the new Bitbucket repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    repo_url str
    (String) The URL of the bitbucket repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
    source_repo_url str
    (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
    token_url str
    (String) The token URL used for authorizing with the Bitbucket server.
    toolchain_issues_enabled bool
    (Boolean) Setting this value to true will enable issues on the Bitbucket repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the Bitbucket repository itself.

    • Constraints: The default value is true.
    type str
    (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.

    • Constraints: Allowable values are: new, fork, clone, link, new_if_not_exists, clone_if_not_exists, fork_if_not_exists.
    apiRootUrl String
    (String) The API root URL for the Bitbucket Server.
    defaultBranch String
    (String) The default branch of the git repository.
    enableTraceability Boolean
    (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.

    • Constraints: The default value is false.
    gitId String
    (String) Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
    integrationOwner String
    (String) Select the user which git operations will be performed as.
    ownerId String
    (String) The Bitbucket user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    privateRepo Boolean
    (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.

    • Constraints: The default value is false.
    repoId String
    (String) The ID of the Bitbucket repository.
    repoName String
    (String) The name of the new Bitbucket repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
    repoUrl String
    (String) The URL of the bitbucket repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
    sourceRepoUrl String
    (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
    tokenUrl String
    (String) The token URL used for authorizing with the Bitbucket server.
    toolchainIssuesEnabled Boolean
    (Boolean) Setting this value to true will enable issues on the Bitbucket repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the Bitbucket repository itself.

    • Constraints: The default value is true.
    type String
    (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.

    • Constraints: Allowable values are: new, fork, clone, link, new_if_not_exists, clone_if_not_exists, fork_if_not_exists.

    GetCdToolchainToolBitbucketgitReferent

    ApiHref string
    (String) URI representing this resource through an API.
    UiHref string
    (String) URI representing this resource through the UI.
    ApiHref string
    (String) URI representing this resource through an API.
    UiHref string
    (String) URI representing this resource through the UI.
    apiHref String
    (String) URI representing this resource through an API.
    uiHref String
    (String) URI representing this resource through the UI.
    apiHref string
    (String) URI representing this resource through an API.
    uiHref string
    (String) URI representing this resource through the UI.
    api_href str
    (String) URI representing this resource through an API.
    ui_href str
    (String) URI representing this resource through the UI.
    apiHref String
    (String) URI representing this resource through an API.
    uiHref String
    (String) URI representing this resource through the UI.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud