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

ibm.CdToolchainToolGithubconsolidated

Explore with Pulumi AI

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

    Create, update, and delete cd_toolchain_tool_githubconsolidateds with this resource.

    See the tool integration page for more information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const cdToolchainToolGithubconsolidatedInstance = new ibm.CdToolchainToolGithubconsolidated("cdToolchainToolGithubconsolidatedInstance", {
        initialization: {
            gitId: "github",
            ownerId: "<github-user-id>",
            repoName: "myrepo",
            sourceRepoUrl: "https://github.com/source-repo-owner/source-repo",
            type: "clone",
            privateRepo: true,
        },
        parameters: {
            integrationOwner: "my-userid",
            authType: "pat",
            apiToken: "<api_token>",
            toolchainIssuesEnabled: true,
        },
        toolchainId: ibm_cd_toolchain.cd_toolchain.id,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    cd_toolchain_tool_githubconsolidated_instance = ibm.CdToolchainToolGithubconsolidated("cdToolchainToolGithubconsolidatedInstance",
        initialization={
            "git_id": "github",
            "owner_id": "<github-user-id>",
            "repo_name": "myrepo",
            "source_repo_url": "https://github.com/source-repo-owner/source-repo",
            "type": "clone",
            "private_repo": True,
        },
        parameters={
            "integration_owner": "my-userid",
            "auth_type": "pat",
            "api_token": "<api_token>",
            "toolchain_issues_enabled": True,
        },
        toolchain_id=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.NewCdToolchainToolGithubconsolidated(ctx, "cdToolchainToolGithubconsolidatedInstance", &ibm.CdToolchainToolGithubconsolidatedArgs{
    			Initialization: &ibm.CdToolchainToolGithubconsolidatedInitializationArgs{
    				GitId:         pulumi.String("github"),
    				OwnerId:       pulumi.String("<github-user-id>"),
    				RepoName:      pulumi.String("myrepo"),
    				SourceRepoUrl: pulumi.String("https://github.com/source-repo-owner/source-repo"),
    				Type:          pulumi.String("clone"),
    				PrivateRepo:   pulumi.Bool(true),
    			},
    			Parameters: &ibm.CdToolchainToolGithubconsolidatedParametersArgs{
    				IntegrationOwner:       pulumi.String("my-userid"),
    				AuthType:               pulumi.String("pat"),
    				ApiToken:               pulumi.String("<api_token>"),
    				ToolchainIssuesEnabled: pulumi.Bool(true),
    			},
    			ToolchainId: pulumi.Any(ibm_cd_toolchain.Cd_toolchain.Id),
    		})
    		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 cdToolchainToolGithubconsolidatedInstance = new Ibm.CdToolchainToolGithubconsolidated("cdToolchainToolGithubconsolidatedInstance", new()
        {
            Initialization = new Ibm.Inputs.CdToolchainToolGithubconsolidatedInitializationArgs
            {
                GitId = "github",
                OwnerId = "<github-user-id>",
                RepoName = "myrepo",
                SourceRepoUrl = "https://github.com/source-repo-owner/source-repo",
                Type = "clone",
                PrivateRepo = true,
            },
            Parameters = new Ibm.Inputs.CdToolchainToolGithubconsolidatedParametersArgs
            {
                IntegrationOwner = "my-userid",
                AuthType = "pat",
                ApiToken = "<api_token>",
                ToolchainIssuesEnabled = true,
            },
            ToolchainId = 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.CdToolchainToolGithubconsolidated;
    import com.pulumi.ibm.CdToolchainToolGithubconsolidatedArgs;
    import com.pulumi.ibm.inputs.CdToolchainToolGithubconsolidatedInitializationArgs;
    import com.pulumi.ibm.inputs.CdToolchainToolGithubconsolidatedParametersArgs;
    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 cdToolchainToolGithubconsolidatedInstance = new CdToolchainToolGithubconsolidated("cdToolchainToolGithubconsolidatedInstance", CdToolchainToolGithubconsolidatedArgs.builder()
                .initialization(CdToolchainToolGithubconsolidatedInitializationArgs.builder()
                    .gitId("github")
                    .ownerId("<github-user-id>")
                    .repoName("myrepo")
                    .sourceRepoUrl("https://github.com/source-repo-owner/source-repo")
                    .type("clone")
                    .privateRepo(true)
                    .build())
                .parameters(CdToolchainToolGithubconsolidatedParametersArgs.builder()
                    .integrationOwner("my-userid")
                    .authType("pat")
                    .apiToken("<api_token>")
                    .toolchainIssuesEnabled(true)
                    .build())
                .toolchainId(ibm_cd_toolchain.cd_toolchain().id())
                .build());
    
        }
    }
    
    resources:
      cdToolchainToolGithubconsolidatedInstance:
        type: ibm:CdToolchainToolGithubconsolidated
        properties:
          initialization:
            gitId: github
            ownerId: <github-user-id>
            repoName: myrepo
            sourceRepoUrl: https://github.com/source-repo-owner/source-repo
            type: clone
            privateRepo: true
          parameters:
            integrationOwner: my-userid
            authType: pat
            apiToken: <api_token>
            toolchainIssuesEnabled: true
          toolchainId: ${ibm_cd_toolchain.cd_toolchain.id}
    

    Create CdToolchainToolGithubconsolidated Resource

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

    Constructor syntax

    new CdToolchainToolGithubconsolidated(name: string, args: CdToolchainToolGithubconsolidatedArgs, opts?: CustomResourceOptions);
    @overload
    def CdToolchainToolGithubconsolidated(resource_name: str,
                                          args: CdToolchainToolGithubconsolidatedArgs,
                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdToolchainToolGithubconsolidated(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          initialization: Optional[CdToolchainToolGithubconsolidatedInitializationArgs] = None,
                                          parameters: Optional[CdToolchainToolGithubconsolidatedParametersArgs] = None,
                                          toolchain_id: Optional[str] = None,
                                          cd_toolchain_tool_githubconsolidated_id: Optional[str] = None,
                                          name: Optional[str] = None)
    func NewCdToolchainToolGithubconsolidated(ctx *Context, name string, args CdToolchainToolGithubconsolidatedArgs, opts ...ResourceOption) (*CdToolchainToolGithubconsolidated, error)
    public CdToolchainToolGithubconsolidated(string name, CdToolchainToolGithubconsolidatedArgs args, CustomResourceOptions? opts = null)
    public CdToolchainToolGithubconsolidated(String name, CdToolchainToolGithubconsolidatedArgs args)
    public CdToolchainToolGithubconsolidated(String name, CdToolchainToolGithubconsolidatedArgs args, CustomResourceOptions options)
    
    type: ibm:CdToolchainToolGithubconsolidated
    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 CdToolchainToolGithubconsolidatedArgs
    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 CdToolchainToolGithubconsolidatedArgs
    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 CdToolchainToolGithubconsolidatedArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdToolchainToolGithubconsolidatedArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdToolchainToolGithubconsolidatedArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cdToolchainToolGithubconsolidatedResource = new Ibm.CdToolchainToolGithubconsolidated("cdToolchainToolGithubconsolidatedResource", new()
    {
        Initialization = new Ibm.Inputs.CdToolchainToolGithubconsolidatedInitializationArgs
        {
            Type = "string",
            AutoInit = false,
            BlindConnection = false,
            GitId = "string",
            OwnerId = "string",
            PrivateRepo = false,
            RepoName = "string",
            RepoUrl = "string",
            RootUrl = "string",
            SourceRepoUrl = "string",
            Title = "string",
        },
        Parameters = new Ibm.Inputs.CdToolchainToolGithubconsolidatedParametersArgs
        {
            ApiRootUrl = "string",
            ApiToken = "string",
            AuthType = "string",
            AutoInit = false,
            BlindConnection = false,
            DefaultBranch = "string",
            EnableTraceability = false,
            GitId = "string",
            IntegrationOwner = "string",
            OwnerId = "string",
            PrivateRepo = false,
            RepoId = "string",
            RepoName = "string",
            RepoUrl = "string",
            RootUrl = "string",
            SourceRepoUrl = "string",
            Title = "string",
            TokenUrl = "string",
            ToolchainIssuesEnabled = false,
            Type = "string",
        },
        ToolchainId = "string",
        CdToolchainToolGithubconsolidatedId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewCdToolchainToolGithubconsolidated(ctx, "cdToolchainToolGithubconsolidatedResource", &ibm.CdToolchainToolGithubconsolidatedArgs{
    	Initialization: &ibm.CdToolchainToolGithubconsolidatedInitializationArgs{
    		Type:            pulumi.String("string"),
    		AutoInit:        pulumi.Bool(false),
    		BlindConnection: pulumi.Bool(false),
    		GitId:           pulumi.String("string"),
    		OwnerId:         pulumi.String("string"),
    		PrivateRepo:     pulumi.Bool(false),
    		RepoName:        pulumi.String("string"),
    		RepoUrl:         pulumi.String("string"),
    		RootUrl:         pulumi.String("string"),
    		SourceRepoUrl:   pulumi.String("string"),
    		Title:           pulumi.String("string"),
    	},
    	Parameters: &ibm.CdToolchainToolGithubconsolidatedParametersArgs{
    		ApiRootUrl:             pulumi.String("string"),
    		ApiToken:               pulumi.String("string"),
    		AuthType:               pulumi.String("string"),
    		AutoInit:               pulumi.Bool(false),
    		BlindConnection:        pulumi.Bool(false),
    		DefaultBranch:          pulumi.String("string"),
    		EnableTraceability:     pulumi.Bool(false),
    		GitId:                  pulumi.String("string"),
    		IntegrationOwner:       pulumi.String("string"),
    		OwnerId:                pulumi.String("string"),
    		PrivateRepo:            pulumi.Bool(false),
    		RepoId:                 pulumi.String("string"),
    		RepoName:               pulumi.String("string"),
    		RepoUrl:                pulumi.String("string"),
    		RootUrl:                pulumi.String("string"),
    		SourceRepoUrl:          pulumi.String("string"),
    		Title:                  pulumi.String("string"),
    		TokenUrl:               pulumi.String("string"),
    		ToolchainIssuesEnabled: pulumi.Bool(false),
    		Type:                   pulumi.String("string"),
    	},
    	ToolchainId:                         pulumi.String("string"),
    	CdToolchainToolGithubconsolidatedId: pulumi.String("string"),
    	Name:                                pulumi.String("string"),
    })
    
    var cdToolchainToolGithubconsolidatedResource = new CdToolchainToolGithubconsolidated("cdToolchainToolGithubconsolidatedResource", CdToolchainToolGithubconsolidatedArgs.builder()
        .initialization(CdToolchainToolGithubconsolidatedInitializationArgs.builder()
            .type("string")
            .autoInit(false)
            .blindConnection(false)
            .gitId("string")
            .ownerId("string")
            .privateRepo(false)
            .repoName("string")
            .repoUrl("string")
            .rootUrl("string")
            .sourceRepoUrl("string")
            .title("string")
            .build())
        .parameters(CdToolchainToolGithubconsolidatedParametersArgs.builder()
            .apiRootUrl("string")
            .apiToken("string")
            .authType("string")
            .autoInit(false)
            .blindConnection(false)
            .defaultBranch("string")
            .enableTraceability(false)
            .gitId("string")
            .integrationOwner("string")
            .ownerId("string")
            .privateRepo(false)
            .repoId("string")
            .repoName("string")
            .repoUrl("string")
            .rootUrl("string")
            .sourceRepoUrl("string")
            .title("string")
            .tokenUrl("string")
            .toolchainIssuesEnabled(false)
            .type("string")
            .build())
        .toolchainId("string")
        .cdToolchainToolGithubconsolidatedId("string")
        .name("string")
        .build());
    
    cd_toolchain_tool_githubconsolidated_resource = ibm.CdToolchainToolGithubconsolidated("cdToolchainToolGithubconsolidatedResource",
        initialization={
            "type": "string",
            "auto_init": False,
            "blind_connection": False,
            "git_id": "string",
            "owner_id": "string",
            "private_repo": False,
            "repo_name": "string",
            "repo_url": "string",
            "root_url": "string",
            "source_repo_url": "string",
            "title": "string",
        },
        parameters={
            "api_root_url": "string",
            "api_token": "string",
            "auth_type": "string",
            "auto_init": False,
            "blind_connection": False,
            "default_branch": "string",
            "enable_traceability": False,
            "git_id": "string",
            "integration_owner": "string",
            "owner_id": "string",
            "private_repo": False,
            "repo_id": "string",
            "repo_name": "string",
            "repo_url": "string",
            "root_url": "string",
            "source_repo_url": "string",
            "title": "string",
            "token_url": "string",
            "toolchain_issues_enabled": False,
            "type": "string",
        },
        toolchain_id="string",
        cd_toolchain_tool_githubconsolidated_id="string",
        name="string")
    
    const cdToolchainToolGithubconsolidatedResource = new ibm.CdToolchainToolGithubconsolidated("cdToolchainToolGithubconsolidatedResource", {
        initialization: {
            type: "string",
            autoInit: false,
            blindConnection: false,
            gitId: "string",
            ownerId: "string",
            privateRepo: false,
            repoName: "string",
            repoUrl: "string",
            rootUrl: "string",
            sourceRepoUrl: "string",
            title: "string",
        },
        parameters: {
            apiRootUrl: "string",
            apiToken: "string",
            authType: "string",
            autoInit: false,
            blindConnection: false,
            defaultBranch: "string",
            enableTraceability: false,
            gitId: "string",
            integrationOwner: "string",
            ownerId: "string",
            privateRepo: false,
            repoId: "string",
            repoName: "string",
            repoUrl: "string",
            rootUrl: "string",
            sourceRepoUrl: "string",
            title: "string",
            tokenUrl: "string",
            toolchainIssuesEnabled: false,
            type: "string",
        },
        toolchainId: "string",
        cdToolchainToolGithubconsolidatedId: "string",
        name: "string",
    });
    
    type: ibm:CdToolchainToolGithubconsolidated
    properties:
        cdToolchainToolGithubconsolidatedId: string
        initialization:
            autoInit: false
            blindConnection: false
            gitId: string
            ownerId: string
            privateRepo: false
            repoName: string
            repoUrl: string
            rootUrl: string
            sourceRepoUrl: string
            title: string
            type: string
        name: string
        parameters:
            apiRootUrl: string
            apiToken: string
            authType: string
            autoInit: false
            blindConnection: false
            defaultBranch: string
            enableTraceability: false
            gitId: string
            integrationOwner: string
            ownerId: string
            privateRepo: false
            repoId: string
            repoName: string
            repoUrl: string
            rootUrl: string
            sourceRepoUrl: string
            title: string
            tokenUrl: string
            toolchainIssuesEnabled: false
            type: string
        toolchainId: string
    

    CdToolchainToolGithubconsolidated Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CdToolchainToolGithubconsolidated resource accepts the following input properties:

    Initialization CdToolchainToolGithubconsolidatedInitialization
    Nested schema for initialization:
    Parameters CdToolchainToolGithubconsolidatedParameters
    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:
    ToolchainId string
    ID of the toolchain to bind the tool to.

    • 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}$/.
    CdToolchainToolGithubconsolidatedId string
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    Name 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-._ ])+$/.
    Initialization CdToolchainToolGithubconsolidatedInitializationArgs
    Nested schema for initialization:
    Parameters CdToolchainToolGithubconsolidatedParametersArgs
    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:
    ToolchainId string
    ID of the toolchain to bind the tool to.

    • 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}$/.
    CdToolchainToolGithubconsolidatedId string
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    Name 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-._ ])+$/.
    initialization CdToolchainToolGithubconsolidatedInitialization
    Nested schema for initialization:
    parameters CdToolchainToolGithubconsolidatedParameters
    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:
    toolchainId String
    ID of the toolchain to bind the tool to.

    • 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}$/.
    cdToolchainToolGithubconsolidatedId String
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    name 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-._ ])+$/.
    initialization CdToolchainToolGithubconsolidatedInitialization
    Nested schema for initialization:
    parameters CdToolchainToolGithubconsolidatedParameters
    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:
    toolchainId string
    ID of the toolchain to bind the tool to.

    • 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}$/.
    cdToolchainToolGithubconsolidatedId string
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    name 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-._ ])+$/.
    initialization CdToolchainToolGithubconsolidatedInitializationArgs
    Nested schema for initialization:
    parameters CdToolchainToolGithubconsolidatedParametersArgs
    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:
    toolchain_id str
    ID of the toolchain to bind the tool to.

    • 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}$/.
    cd_toolchain_tool_githubconsolidated_id str
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    name str
    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-._ ])+$/.
    initialization Property Map
    Nested schema for initialization:
    parameters Property Map
    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:
    toolchainId String
    ID of the toolchain to bind the tool to.

    • 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}$/.
    cdToolchainToolGithubconsolidatedId String
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    name 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-._ ])+$/.

    Outputs

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

    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    Id string
    The provider-assigned unique ID for this managed resource.
    Referents List<CdToolchainToolGithubconsolidatedReferent>
    (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
    (String) Tool ID.

    • 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}$/.
    ToolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    UpdatedAt string
    (String) Latest tool update timestamp.
    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    Id string
    The provider-assigned unique ID for this managed resource.
    Referents []CdToolchainToolGithubconsolidatedReferent
    (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
    (String) Tool ID.

    • 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}$/.
    ToolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    UpdatedAt string
    (String) Latest tool update timestamp.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    id String
    The provider-assigned unique ID for this managed resource.
    referents List<CdToolchainToolGithubconsolidatedReferent>
    (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
    (String) Tool ID.

    • 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}$/.
    toolchainCrn String
    (String) CRN of toolchain which the tool is bound to.
    updatedAt String
    (String) Latest tool update timestamp.
    crn string
    (String) Tool CRN.
    href string
    (String) URI representing the tool.
    id string
    The provider-assigned unique ID for this managed resource.
    referents CdToolchainToolGithubconsolidatedReferent[]
    (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
    (String) Tool ID.

    • 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}$/.
    toolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    updatedAt string
    (String) Latest tool update timestamp.
    crn str
    (String) Tool CRN.
    href str
    (String) URI representing the tool.
    id str
    The provider-assigned unique ID for this managed resource.
    referents Sequence[CdToolchainToolGithubconsolidatedReferent]
    (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
    (String) Tool ID.

    • 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_crn str
    (String) CRN of toolchain which the tool is bound to.
    updated_at str
    (String) Latest tool update timestamp.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    id String
    The provider-assigned unique ID for this managed resource.
    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
    (String) Tool ID.

    • 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}$/.
    toolchainCrn String
    (String) CRN of toolchain which the tool is bound to.
    updatedAt String
    (String) Latest tool update timestamp.

    Look up Existing CdToolchainToolGithubconsolidated Resource

    Get an existing CdToolchainToolGithubconsolidated 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?: CdToolchainToolGithubconsolidatedState, opts?: CustomResourceOptions): CdToolchainToolGithubconsolidated
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cd_toolchain_tool_githubconsolidated_id: Optional[str] = None,
            crn: Optional[str] = None,
            href: Optional[str] = None,
            initialization: Optional[CdToolchainToolGithubconsolidatedInitializationArgs] = None,
            name: Optional[str] = None,
            parameters: Optional[CdToolchainToolGithubconsolidatedParametersArgs] = None,
            referents: Optional[Sequence[CdToolchainToolGithubconsolidatedReferentArgs]] = None,
            resource_group_id: Optional[str] = None,
            state: Optional[str] = None,
            tool_id: Optional[str] = None,
            toolchain_crn: Optional[str] = None,
            toolchain_id: Optional[str] = None,
            updated_at: Optional[str] = None) -> CdToolchainToolGithubconsolidated
    func GetCdToolchainToolGithubconsolidated(ctx *Context, name string, id IDInput, state *CdToolchainToolGithubconsolidatedState, opts ...ResourceOption) (*CdToolchainToolGithubconsolidated, error)
    public static CdToolchainToolGithubconsolidated Get(string name, Input<string> id, CdToolchainToolGithubconsolidatedState? state, CustomResourceOptions? opts = null)
    public static CdToolchainToolGithubconsolidated get(String name, Output<String> id, CdToolchainToolGithubconsolidatedState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CdToolchainToolGithubconsolidated    get:      id: ${id}
    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:
    CdToolchainToolGithubconsolidatedId string
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    Initialization CdToolchainToolGithubconsolidatedInitialization
    Nested schema for initialization:
    Name 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 CdToolchainToolGithubconsolidatedParameters
    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<CdToolchainToolGithubconsolidatedReferent>
    (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
    (String) Tool ID.

    • 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}$/.
    ToolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    ToolchainId string
    ID of the toolchain to bind the tool to.

    • 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}$/.
    UpdatedAt string
    (String) Latest tool update timestamp.
    CdToolchainToolGithubconsolidatedId string
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    Initialization CdToolchainToolGithubconsolidatedInitializationArgs
    Nested schema for initialization:
    Name 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 CdToolchainToolGithubconsolidatedParametersArgs
    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 []CdToolchainToolGithubconsolidatedReferentArgs
    (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
    (String) Tool ID.

    • 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}$/.
    ToolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    ToolchainId string
    ID of the toolchain to bind the tool to.

    • 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}$/.
    UpdatedAt string
    (String) Latest tool update timestamp.
    cdToolchainToolGithubconsolidatedId String
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    initialization CdToolchainToolGithubconsolidatedInitialization
    Nested schema for initialization:
    name 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 CdToolchainToolGithubconsolidatedParameters
    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<CdToolchainToolGithubconsolidatedReferent>
    (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
    (String) Tool ID.

    • 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}$/.
    toolchainCrn String
    (String) CRN of toolchain which the tool is bound to.
    toolchainId String
    ID of the toolchain to bind the tool to.

    • 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}$/.
    updatedAt String
    (String) Latest tool update timestamp.
    cdToolchainToolGithubconsolidatedId string
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    crn string
    (String) Tool CRN.
    href string
    (String) URI representing the tool.
    initialization CdToolchainToolGithubconsolidatedInitialization
    Nested schema for initialization:
    name 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 CdToolchainToolGithubconsolidatedParameters
    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 CdToolchainToolGithubconsolidatedReferent[]
    (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
    (String) Tool ID.

    • 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}$/.
    toolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    toolchainId string
    ID of the toolchain to bind the tool to.

    • 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}$/.
    updatedAt string
    (String) Latest tool update timestamp.
    cd_toolchain_tool_githubconsolidated_id str
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    crn str
    (String) Tool CRN.
    href str
    (String) URI representing the tool.
    initialization CdToolchainToolGithubconsolidatedInitializationArgs
    Nested schema for initialization:
    name str
    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 CdToolchainToolGithubconsolidatedParametersArgs
    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[CdToolchainToolGithubconsolidatedReferentArgs]
    (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
    (String) Tool ID.

    • 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_crn str
    (String) CRN of toolchain which the tool is bound to.
    toolchain_id str
    ID of the toolchain to bind the tool to.

    • 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}$/.
    updated_at str
    (String) Latest tool update timestamp.
    cdToolchainToolGithubconsolidatedId String
    The unique identifier of the cd_toolchain_tool_githubconsolidated.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    initialization Property Map
    Nested schema for initialization:
    name 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 Property Map
    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
    (String) Tool ID.

    • 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}$/.
    toolchainCrn String
    (String) CRN of toolchain which the tool is bound to.
    toolchainId String
    ID of the toolchain to bind the tool to.

    • 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}$/.
    updatedAt String
    (String) Latest tool update timestamp.

    Supporting Types

    CdToolchainToolGithubconsolidatedInitialization, CdToolchainToolGithubconsolidatedInitializationArgs

    Type 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.
    AutoInit bool
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    BlindConnection bool
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    GitId string
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    OwnerId string
    The GitHub user or organization 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
    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.
    RepoName string
    The name of the new GitHub 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
    The URL of the GitHub 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.
    RootUrl string
    The Root URL of the server. e.g. https://github.example.com.
    SourceRepoUrl 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.
    Title string
    The title of the server. e.g. My GitHub Enterprise Server.
    Type 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.
    AutoInit bool
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    BlindConnection bool
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    GitId string
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    OwnerId string
    The GitHub user or organization 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
    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.
    RepoName string
    The name of the new GitHub 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
    The URL of the GitHub 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.
    RootUrl string
    The Root URL of the server. e.g. https://github.example.com.
    SourceRepoUrl 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.
    Title string
    The title of the server. e.g. My GitHub Enterprise Server.
    type 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.
    autoInit Boolean
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    blindConnection Boolean
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    gitId String
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    ownerId String
    The GitHub user or organization 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
    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.
    repoName String
    The name of the new GitHub 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
    The URL of the GitHub 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.
    rootUrl String
    The Root URL of the server. e.g. https://github.example.com.
    sourceRepoUrl 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.
    title String
    The title of the server. e.g. My GitHub Enterprise Server.
    type 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.
    autoInit boolean
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    blindConnection boolean
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    gitId string
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    ownerId string
    The GitHub user or organization 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
    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.
    repoName string
    The name of the new GitHub 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
    The URL of the GitHub 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.
    rootUrl string
    The Root URL of the server. e.g. https://github.example.com.
    sourceRepoUrl 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.
    title string
    The title of the server. e.g. My GitHub Enterprise Server.
    type str
    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.
    auto_init bool
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    blind_connection bool
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    git_id str
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    owner_id str
    The GitHub user or organization 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
    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_name str
    The name of the new GitHub 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
    The URL of the GitHub 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.
    root_url str
    The Root URL of the server. e.g. https://github.example.com.
    source_repo_url str
    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.
    title str
    The title of the server. e.g. My GitHub Enterprise Server.
    type 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.
    autoInit Boolean
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    blindConnection Boolean
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    gitId String
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    ownerId String
    The GitHub user or organization 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
    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.
    repoName String
    The name of the new GitHub 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
    The URL of the GitHub 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.
    rootUrl String
    The Root URL of the server. e.g. https://github.example.com.
    sourceRepoUrl 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.
    title String
    The title of the server. e.g. My GitHub Enterprise Server.

    CdToolchainToolGithubconsolidatedParameters, CdToolchainToolGithubconsolidatedParametersArgs

    ApiRootUrl string
    The API root URL for the GitHub server.
    ApiToken string
    Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
    AuthType string
    Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.

    • Constraints: Allowable values are: oauth, pat.
    AutoInit bool
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    BlindConnection bool
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    DefaultBranch string
    The default branch of the git repository.
    EnableTraceability bool
    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
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    IntegrationOwner string
    Select the user which git operations will be performed as.
    OwnerId string
    The GitHub user or organization 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
    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
    The ID of the GitHub repository.
    RepoName string
    The name of the new GitHub 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
    The URL of the GitHub 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.
    RootUrl string
    The Root URL of the server. e.g. https://github.example.com.
    SourceRepoUrl 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.
    Title string
    The title of the server. e.g. My GitHub Enterprise Server.
    TokenUrl string
    The token URL used for authorizing with the GitHub server.
    ToolchainIssuesEnabled bool
    Setting this value to true will enable issues on the GitHub 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 GitHub repository itself.

    • Constraints: The default value is true.
    Type 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
    The API root URL for the GitHub server.
    ApiToken string
    Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
    AuthType string
    Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.

    • Constraints: Allowable values are: oauth, pat.
    AutoInit bool
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    BlindConnection bool
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    DefaultBranch string
    The default branch of the git repository.
    EnableTraceability bool
    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
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    IntegrationOwner string
    Select the user which git operations will be performed as.
    OwnerId string
    The GitHub user or organization 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
    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
    The ID of the GitHub repository.
    RepoName string
    The name of the new GitHub 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
    The URL of the GitHub 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.
    RootUrl string
    The Root URL of the server. e.g. https://github.example.com.
    SourceRepoUrl 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.
    Title string
    The title of the server. e.g. My GitHub Enterprise Server.
    TokenUrl string
    The token URL used for authorizing with the GitHub server.
    ToolchainIssuesEnabled bool
    Setting this value to true will enable issues on the GitHub 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 GitHub repository itself.

    • Constraints: The default value is true.
    Type 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
    The API root URL for the GitHub server.
    apiToken String
    Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
    authType String
    Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.

    • Constraints: Allowable values are: oauth, pat.
    autoInit Boolean
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    blindConnection Boolean
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    defaultBranch String
    The default branch of the git repository.
    enableTraceability 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
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    integrationOwner String
    Select the user which git operations will be performed as.
    ownerId String
    The GitHub user or organization 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
    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
    The ID of the GitHub repository.
    repoName String
    The name of the new GitHub 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
    The URL of the GitHub 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.
    rootUrl String
    The Root URL of the server. e.g. https://github.example.com.
    sourceRepoUrl 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.
    title String
    The title of the server. e.g. My GitHub Enterprise Server.
    tokenUrl String
    The token URL used for authorizing with the GitHub server.
    toolchainIssuesEnabled Boolean
    Setting this value to true will enable issues on the GitHub 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 GitHub repository itself.

    • Constraints: The default value is true.
    type 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
    The API root URL for the GitHub server.
    apiToken string
    Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
    authType string
    Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.

    • Constraints: Allowable values are: oauth, pat.
    autoInit boolean
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    blindConnection boolean
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    defaultBranch string
    The default branch of the git repository.
    enableTraceability 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
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    integrationOwner string
    Select the user which git operations will be performed as.
    ownerId string
    The GitHub user or organization 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
    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
    The ID of the GitHub repository.
    repoName string
    The name of the new GitHub 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
    The URL of the GitHub 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.
    rootUrl string
    The Root URL of the server. e.g. https://github.example.com.
    sourceRepoUrl 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.
    title string
    The title of the server. e.g. My GitHub Enterprise Server.
    tokenUrl string
    The token URL used for authorizing with the GitHub server.
    toolchainIssuesEnabled boolean
    Setting this value to true will enable issues on the GitHub 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 GitHub repository itself.

    • Constraints: The default value is true.
    type 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
    The API root URL for the GitHub server.
    api_token str
    Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
    auth_type str
    Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.

    • Constraints: Allowable values are: oauth, pat.
    auto_init bool
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    blind_connection bool
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    default_branch str
    The default branch of the git repository.
    enable_traceability bool
    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
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    integration_owner str
    Select the user which git operations will be performed as.
    owner_id str
    The GitHub user or organization 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
    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
    The ID of the GitHub repository.
    repo_name str
    The name of the new GitHub 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
    The URL of the GitHub 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.
    root_url str
    The Root URL of the server. e.g. https://github.example.com.
    source_repo_url str
    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.
    title str
    The title of the server. e.g. My GitHub Enterprise Server.
    token_url str
    The token URL used for authorizing with the GitHub server.
    toolchain_issues_enabled bool
    Setting this value to true will enable issues on the GitHub 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 GitHub repository itself.

    • Constraints: The default value is true.
    type str
    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
    The API root URL for the GitHub server.
    apiToken String
    Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
    authType String
    Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.

    • Constraints: Allowable values are: oauth, pat.
    autoInit Boolean
    Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.

    • Constraints: The default value is false.
    blindConnection Boolean
    Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.

    • Constraints: The default value is false.
    defaultBranch String
    The default branch of the git repository.
    enableTraceability 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
    Set this value to 'github' for github.com, or 'githubcustom' for a custom GitHub Enterprise server.
    integrationOwner String
    Select the user which git operations will be performed as.
    ownerId String
    The GitHub user or organization 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
    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
    The ID of the GitHub repository.
    repoName String
    The name of the new GitHub 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
    The URL of the GitHub 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.
    rootUrl String
    The Root URL of the server. e.g. https://github.example.com.
    sourceRepoUrl 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.
    title String
    The title of the server. e.g. My GitHub Enterprise Server.
    tokenUrl String
    The token URL used for authorizing with the GitHub server.
    toolchainIssuesEnabled Boolean
    Setting this value to true will enable issues on the GitHub 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 GitHub repository itself.

    • Constraints: The default value is true.
    type 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.

    CdToolchainToolGithubconsolidatedReferent, CdToolchainToolGithubconsolidatedReferentArgs

    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.

    Import

    You can import the ibm_cd_toolchain_tool_githubconsolidated resource by using id.

    The id property can be formed from toolchain_id, and tool_id in the following format:

    <toolchain_id>/<tool_id>

    • toolchain_id: A string. ID of the toolchain to bind the tool to.

    • tool_id: A string. ID of the tool bound to the toolchain.

    Syntax

    $ pulumi import ibm:index/cdToolchainToolGithubconsolidated:CdToolchainToolGithubconsolidated cd_toolchain_tool_githubconsolidated <toolchain_id>/<tool_id>
    

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

    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