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

ibm.CdToolchainToolSonarqube

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_sonarqubes 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 cdToolchainToolSonarqubeInstance = new ibm.CdToolchainToolSonarqube("cdToolchainToolSonarqubeInstance", {
        parameters: {
            name: "my-sonarqube",
            userLogin: "<user_login>",
            userPassword: "<user_password>",
            blindConnection: true,
            serverUrl: "https://my.sonarqube.server.com/",
        },
        toolchainId: ibm_cd_toolchain.cd_toolchain.id,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    cd_toolchain_tool_sonarqube_instance = ibm.CdToolchainToolSonarqube("cdToolchainToolSonarqubeInstance",
        parameters={
            "name": "my-sonarqube",
            "user_login": "<user_login>",
            "user_password": "<user_password>",
            "blind_connection": True,
            "server_url": "https://my.sonarqube.server.com/",
        },
        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.NewCdToolchainToolSonarqube(ctx, "cdToolchainToolSonarqubeInstance", &ibm.CdToolchainToolSonarqubeArgs{
    			Parameters: &ibm.CdToolchainToolSonarqubeParametersArgs{
    				Name:            pulumi.String("my-sonarqube"),
    				UserLogin:       pulumi.String("<user_login>"),
    				UserPassword:    pulumi.String("<user_password>"),
    				BlindConnection: pulumi.Bool(true),
    				ServerUrl:       pulumi.String("https://my.sonarqube.server.com/"),
    			},
    			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 cdToolchainToolSonarqubeInstance = new Ibm.CdToolchainToolSonarqube("cdToolchainToolSonarqubeInstance", new()
        {
            Parameters = new Ibm.Inputs.CdToolchainToolSonarqubeParametersArgs
            {
                Name = "my-sonarqube",
                UserLogin = "<user_login>",
                UserPassword = "<user_password>",
                BlindConnection = true,
                ServerUrl = "https://my.sonarqube.server.com/",
            },
            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.CdToolchainToolSonarqube;
    import com.pulumi.ibm.CdToolchainToolSonarqubeArgs;
    import com.pulumi.ibm.inputs.CdToolchainToolSonarqubeParametersArgs;
    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 cdToolchainToolSonarqubeInstance = new CdToolchainToolSonarqube("cdToolchainToolSonarqubeInstance", CdToolchainToolSonarqubeArgs.builder()
                .parameters(CdToolchainToolSonarqubeParametersArgs.builder()
                    .name("my-sonarqube")
                    .userLogin("<user_login>")
                    .userPassword("<user_password>")
                    .blindConnection(true)
                    .serverUrl("https://my.sonarqube.server.com/")
                    .build())
                .toolchainId(ibm_cd_toolchain.cd_toolchain().id())
                .build());
    
        }
    }
    
    resources:
      cdToolchainToolSonarqubeInstance:
        type: ibm:CdToolchainToolSonarqube
        properties:
          parameters:
            name: my-sonarqube
            userLogin: <user_login>
            userPassword: <user_password>
            blindConnection: true
            serverUrl: https://my.sonarqube.server.com/
          toolchainId: ${ibm_cd_toolchain.cd_toolchain.id}
    

    Create CdToolchainToolSonarqube Resource

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

    Constructor syntax

    new CdToolchainToolSonarqube(name: string, args: CdToolchainToolSonarqubeArgs, opts?: CustomResourceOptions);
    @overload
    def CdToolchainToolSonarqube(resource_name: str,
                                 args: CdToolchainToolSonarqubeArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdToolchainToolSonarqube(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 parameters: Optional[CdToolchainToolSonarqubeParametersArgs] = None,
                                 toolchain_id: Optional[str] = None,
                                 cd_toolchain_tool_sonarqube_id: Optional[str] = None,
                                 name: Optional[str] = None)
    func NewCdToolchainToolSonarqube(ctx *Context, name string, args CdToolchainToolSonarqubeArgs, opts ...ResourceOption) (*CdToolchainToolSonarqube, error)
    public CdToolchainToolSonarqube(string name, CdToolchainToolSonarqubeArgs args, CustomResourceOptions? opts = null)
    public CdToolchainToolSonarqube(String name, CdToolchainToolSonarqubeArgs args)
    public CdToolchainToolSonarqube(String name, CdToolchainToolSonarqubeArgs args, CustomResourceOptions options)
    
    type: ibm:CdToolchainToolSonarqube
    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 CdToolchainToolSonarqubeArgs
    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 CdToolchainToolSonarqubeArgs
    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 CdToolchainToolSonarqubeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdToolchainToolSonarqubeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdToolchainToolSonarqubeArgs
    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 cdToolchainToolSonarqubeResource = new Ibm.CdToolchainToolSonarqube("cdToolchainToolSonarqubeResource", new()
    {
        Parameters = new Ibm.Inputs.CdToolchainToolSonarqubeParametersArgs
        {
            Name = "string",
            ServerUrl = "string",
            BlindConnection = false,
            UserLogin = "string",
            UserPassword = "string",
        },
        ToolchainId = "string",
        CdToolchainToolSonarqubeId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewCdToolchainToolSonarqube(ctx, "cdToolchainToolSonarqubeResource", &ibm.CdToolchainToolSonarqubeArgs{
    	Parameters: &ibm.CdToolchainToolSonarqubeParametersArgs{
    		Name:            pulumi.String("string"),
    		ServerUrl:       pulumi.String("string"),
    		BlindConnection: pulumi.Bool(false),
    		UserLogin:       pulumi.String("string"),
    		UserPassword:    pulumi.String("string"),
    	},
    	ToolchainId:                pulumi.String("string"),
    	CdToolchainToolSonarqubeId: pulumi.String("string"),
    	Name:                       pulumi.String("string"),
    })
    
    var cdToolchainToolSonarqubeResource = new CdToolchainToolSonarqube("cdToolchainToolSonarqubeResource", CdToolchainToolSonarqubeArgs.builder()
        .parameters(CdToolchainToolSonarqubeParametersArgs.builder()
            .name("string")
            .serverUrl("string")
            .blindConnection(false)
            .userLogin("string")
            .userPassword("string")
            .build())
        .toolchainId("string")
        .cdToolchainToolSonarqubeId("string")
        .name("string")
        .build());
    
    cd_toolchain_tool_sonarqube_resource = ibm.CdToolchainToolSonarqube("cdToolchainToolSonarqubeResource",
        parameters={
            "name": "string",
            "server_url": "string",
            "blind_connection": False,
            "user_login": "string",
            "user_password": "string",
        },
        toolchain_id="string",
        cd_toolchain_tool_sonarqube_id="string",
        name="string")
    
    const cdToolchainToolSonarqubeResource = new ibm.CdToolchainToolSonarqube("cdToolchainToolSonarqubeResource", {
        parameters: {
            name: "string",
            serverUrl: "string",
            blindConnection: false,
            userLogin: "string",
            userPassword: "string",
        },
        toolchainId: "string",
        cdToolchainToolSonarqubeId: "string",
        name: "string",
    });
    
    type: ibm:CdToolchainToolSonarqube
    properties:
        cdToolchainToolSonarqubeId: string
        name: string
        parameters:
            blindConnection: false
            name: string
            serverUrl: string
            userLogin: string
            userPassword: string
        toolchainId: string
    

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

    Parameters CdToolchainToolSonarqubeParameters
    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}$/.
    CdToolchainToolSonarqubeId string
    The unique identifier of the cd_toolchain_tool_sonarqube.
    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 CdToolchainToolSonarqubeParametersArgs
    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}$/.
    CdToolchainToolSonarqubeId string
    The unique identifier of the cd_toolchain_tool_sonarqube.
    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 CdToolchainToolSonarqubeParameters
    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}$/.
    cdToolchainToolSonarqubeId String
    The unique identifier of the cd_toolchain_tool_sonarqube.
    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 CdToolchainToolSonarqubeParameters
    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}$/.
    cdToolchainToolSonarqubeId string
    The unique identifier of the cd_toolchain_tool_sonarqube.
    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 CdToolchainToolSonarqubeParametersArgs
    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_sonarqube_id str
    The unique identifier of the cd_toolchain_tool_sonarqube.
    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 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}$/.
    cdToolchainToolSonarqubeId String
    The unique identifier of the cd_toolchain_tool_sonarqube.
    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 CdToolchainToolSonarqube 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<CdToolchainToolSonarqubeReferent>
    (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 []CdToolchainToolSonarqubeReferent
    (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<CdToolchainToolSonarqubeReferent>
    (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 CdToolchainToolSonarqubeReferent[]
    (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[CdToolchainToolSonarqubeReferent]
    (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 CdToolchainToolSonarqube Resource

    Get an existing CdToolchainToolSonarqube 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?: CdToolchainToolSonarqubeState, opts?: CustomResourceOptions): CdToolchainToolSonarqube
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cd_toolchain_tool_sonarqube_id: Optional[str] = None,
            crn: Optional[str] = None,
            href: Optional[str] = None,
            name: Optional[str] = None,
            parameters: Optional[CdToolchainToolSonarqubeParametersArgs] = None,
            referents: Optional[Sequence[CdToolchainToolSonarqubeReferentArgs]] = 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) -> CdToolchainToolSonarqube
    func GetCdToolchainToolSonarqube(ctx *Context, name string, id IDInput, state *CdToolchainToolSonarqubeState, opts ...ResourceOption) (*CdToolchainToolSonarqube, error)
    public static CdToolchainToolSonarqube Get(string name, Input<string> id, CdToolchainToolSonarqubeState? state, CustomResourceOptions? opts = null)
    public static CdToolchainToolSonarqube get(String name, Output<String> id, CdToolchainToolSonarqubeState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CdToolchainToolSonarqube    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:
    CdToolchainToolSonarqubeId string
    The unique identifier of the cd_toolchain_tool_sonarqube.
    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    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 CdToolchainToolSonarqubeParameters
    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<CdToolchainToolSonarqubeReferent>
    (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.
    CdToolchainToolSonarqubeId string
    The unique identifier of the cd_toolchain_tool_sonarqube.
    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    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 CdToolchainToolSonarqubeParametersArgs
    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 []CdToolchainToolSonarqubeReferentArgs
    (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.
    cdToolchainToolSonarqubeId String
    The unique identifier of the cd_toolchain_tool_sonarqube.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    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 CdToolchainToolSonarqubeParameters
    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<CdToolchainToolSonarqubeReferent>
    (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.
    cdToolchainToolSonarqubeId string
    The unique identifier of the cd_toolchain_tool_sonarqube.
    crn string
    (String) Tool CRN.
    href string
    (String) URI representing the tool.
    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 CdToolchainToolSonarqubeParameters
    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 CdToolchainToolSonarqubeReferent[]
    (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_sonarqube_id str
    The unique identifier of the cd_toolchain_tool_sonarqube.
    crn str
    (String) Tool CRN.
    href str
    (String) URI representing the tool.
    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 CdToolchainToolSonarqubeParametersArgs
    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[CdToolchainToolSonarqubeReferentArgs]
    (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.
    cdToolchainToolSonarqubeId String
    The unique identifier of the cd_toolchain_tool_sonarqube.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    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

    CdToolchainToolSonarqubeParameters, CdToolchainToolSonarqubeParametersArgs

    Name string
    The name for this tool integration.
    ServerUrl string
    The URL of the SonarQube server.
    BlindConnection bool
    When set to true, instructs IBM Cloud Continuous Delivery to not validate the configuration of this integration. Set this to true if the SonarQube server is not addressable on the public internet.

    • Constraints: The default value is false.
    UserLogin string
    The user id for authenticating to the SonarQube server.
    UserPassword string
    The password or token for authenticating to the SonarQube server. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    Name string
    The name for this tool integration.
    ServerUrl string
    The URL of the SonarQube server.
    BlindConnection bool
    When set to true, instructs IBM Cloud Continuous Delivery to not validate the configuration of this integration. Set this to true if the SonarQube server is not addressable on the public internet.

    • Constraints: The default value is false.
    UserLogin string
    The user id for authenticating to the SonarQube server.
    UserPassword string
    The password or token for authenticating to the SonarQube server. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    name String
    The name for this tool integration.
    serverUrl String
    The URL of the SonarQube server.
    blindConnection Boolean
    When set to true, instructs IBM Cloud Continuous Delivery to not validate the configuration of this integration. Set this to true if the SonarQube server is not addressable on the public internet.

    • Constraints: The default value is false.
    userLogin String
    The user id for authenticating to the SonarQube server.
    userPassword String
    The password or token for authenticating to the SonarQube server. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    name string
    The name for this tool integration.
    serverUrl string
    The URL of the SonarQube server.
    blindConnection boolean
    When set to true, instructs IBM Cloud Continuous Delivery to not validate the configuration of this integration. Set this to true if the SonarQube server is not addressable on the public internet.

    • Constraints: The default value is false.
    userLogin string
    The user id for authenticating to the SonarQube server.
    userPassword string
    The password or token for authenticating to the SonarQube server. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    name str
    The name for this tool integration.
    server_url str
    The URL of the SonarQube server.
    blind_connection bool
    When set to true, instructs IBM Cloud Continuous Delivery to not validate the configuration of this integration. Set this to true if the SonarQube server is not addressable on the public internet.

    • Constraints: The default value is false.
    user_login str
    The user id for authenticating to the SonarQube server.
    user_password str
    The password or token for authenticating to the SonarQube server. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    name String
    The name for this tool integration.
    serverUrl String
    The URL of the SonarQube server.
    blindConnection Boolean
    When set to true, instructs IBM Cloud Continuous Delivery to not validate the configuration of this integration. Set this to true if the SonarQube server is not addressable on the public internet.

    • Constraints: The default value is false.
    userLogin String
    The user id for authenticating to the SonarQube server.
    userPassword String
    The password or token for authenticating to the SonarQube server. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.

    CdToolchainToolSonarqubeReferent, CdToolchainToolSonarqubeReferentArgs

    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_sonarqube 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/cdToolchainToolSonarqube:CdToolchainToolSonarqube cd_toolchain_tool_sonarqube <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