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

ibm.CdToolchainToolSlack

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_slacks 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 cdToolchainToolSlackInstance = new ibm.CdToolchainToolSlack("cdToolchainToolSlackInstance", {
        parameters: {
            channelName: "#my_channel",
            pipelineStart: true,
            pipelineSuccess: true,
            pipelineFail: true,
            toolchainBind: true,
            toolchainUnbind: true,
            webhook: "https://hooks.slack.com/services/A5EWRN5WK/A726ZQWT68G/TsdTjp6q4i6wFQTICTasjkE8",
            teamName: "my_team",
        },
        toolchainId: ibm_cd_toolchain.cd_toolchain.id,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    cd_toolchain_tool_slack_instance = ibm.CdToolchainToolSlack("cdToolchainToolSlackInstance",
        parameters={
            "channel_name": "#my_channel",
            "pipeline_start": True,
            "pipeline_success": True,
            "pipeline_fail": True,
            "toolchain_bind": True,
            "toolchain_unbind": True,
            "webhook": "https://hooks.slack.com/services/A5EWRN5WK/A726ZQWT68G/TsdTjp6q4i6wFQTICTasjkE8",
            "team_name": "my_team",
        },
        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.NewCdToolchainToolSlack(ctx, "cdToolchainToolSlackInstance", &ibm.CdToolchainToolSlackArgs{
    			Parameters: &ibm.CdToolchainToolSlackParametersArgs{
    				ChannelName:     pulumi.String("#my_channel"),
    				PipelineStart:   pulumi.Bool(true),
    				PipelineSuccess: pulumi.Bool(true),
    				PipelineFail:    pulumi.Bool(true),
    				ToolchainBind:   pulumi.Bool(true),
    				ToolchainUnbind: pulumi.Bool(true),
    				Webhook:         pulumi.String("https://hooks.slack.com/services/A5EWRN5WK/A726ZQWT68G/TsdTjp6q4i6wFQTICTasjkE8"),
    				TeamName:        pulumi.String("my_team"),
    			},
    			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 cdToolchainToolSlackInstance = new Ibm.CdToolchainToolSlack("cdToolchainToolSlackInstance", new()
        {
            Parameters = new Ibm.Inputs.CdToolchainToolSlackParametersArgs
            {
                ChannelName = "#my_channel",
                PipelineStart = true,
                PipelineSuccess = true,
                PipelineFail = true,
                ToolchainBind = true,
                ToolchainUnbind = true,
                Webhook = "https://hooks.slack.com/services/A5EWRN5WK/A726ZQWT68G/TsdTjp6q4i6wFQTICTasjkE8",
                TeamName = "my_team",
            },
            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.CdToolchainToolSlack;
    import com.pulumi.ibm.CdToolchainToolSlackArgs;
    import com.pulumi.ibm.inputs.CdToolchainToolSlackParametersArgs;
    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 cdToolchainToolSlackInstance = new CdToolchainToolSlack("cdToolchainToolSlackInstance", CdToolchainToolSlackArgs.builder()
                .parameters(CdToolchainToolSlackParametersArgs.builder()
                    .channelName("#my_channel")
                    .pipelineStart(true)
                    .pipelineSuccess(true)
                    .pipelineFail(true)
                    .toolchainBind(true)
                    .toolchainUnbind(true)
                    .webhook("https://hooks.slack.com/services/A5EWRN5WK/A726ZQWT68G/TsdTjp6q4i6wFQTICTasjkE8")
                    .teamName("my_team")
                    .build())
                .toolchainId(ibm_cd_toolchain.cd_toolchain().id())
                .build());
    
        }
    }
    
    resources:
      cdToolchainToolSlackInstance:
        type: ibm:CdToolchainToolSlack
        properties:
          parameters:
            channelName: '#my_channel'
            pipelineStart: true
            pipelineSuccess: true
            pipelineFail: true
            toolchainBind: true
            toolchainUnbind: true
            webhook: https://hooks.slack.com/services/A5EWRN5WK/A726ZQWT68G/TsdTjp6q4i6wFQTICTasjkE8
            teamName: my_team
          toolchainId: ${ibm_cd_toolchain.cd_toolchain.id}
    

    Create CdToolchainToolSlack Resource

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

    Constructor syntax

    new CdToolchainToolSlack(name: string, args: CdToolchainToolSlackArgs, opts?: CustomResourceOptions);
    @overload
    def CdToolchainToolSlack(resource_name: str,
                             args: CdToolchainToolSlackArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdToolchainToolSlack(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             parameters: Optional[CdToolchainToolSlackParametersArgs] = None,
                             toolchain_id: Optional[str] = None,
                             cd_toolchain_tool_slack_id: Optional[str] = None,
                             name: Optional[str] = None)
    func NewCdToolchainToolSlack(ctx *Context, name string, args CdToolchainToolSlackArgs, opts ...ResourceOption) (*CdToolchainToolSlack, error)
    public CdToolchainToolSlack(string name, CdToolchainToolSlackArgs args, CustomResourceOptions? opts = null)
    public CdToolchainToolSlack(String name, CdToolchainToolSlackArgs args)
    public CdToolchainToolSlack(String name, CdToolchainToolSlackArgs args, CustomResourceOptions options)
    
    type: ibm:CdToolchainToolSlack
    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 CdToolchainToolSlackArgs
    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 CdToolchainToolSlackArgs
    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 CdToolchainToolSlackArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdToolchainToolSlackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdToolchainToolSlackArgs
    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 cdToolchainToolSlackResource = new Ibm.CdToolchainToolSlack("cdToolchainToolSlackResource", new()
    {
        Parameters = new Ibm.Inputs.CdToolchainToolSlackParametersArgs
        {
            ChannelName = "string",
            Webhook = "string",
            PipelineFail = false,
            PipelineStart = false,
            PipelineSuccess = false,
            TeamName = "string",
            ToolchainBind = false,
            ToolchainUnbind = false,
        },
        ToolchainId = "string",
        CdToolchainToolSlackId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewCdToolchainToolSlack(ctx, "cdToolchainToolSlackResource", &ibm.CdToolchainToolSlackArgs{
    	Parameters: &ibm.CdToolchainToolSlackParametersArgs{
    		ChannelName:     pulumi.String("string"),
    		Webhook:         pulumi.String("string"),
    		PipelineFail:    pulumi.Bool(false),
    		PipelineStart:   pulumi.Bool(false),
    		PipelineSuccess: pulumi.Bool(false),
    		TeamName:        pulumi.String("string"),
    		ToolchainBind:   pulumi.Bool(false),
    		ToolchainUnbind: pulumi.Bool(false),
    	},
    	ToolchainId:            pulumi.String("string"),
    	CdToolchainToolSlackId: pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    })
    
    var cdToolchainToolSlackResource = new CdToolchainToolSlack("cdToolchainToolSlackResource", CdToolchainToolSlackArgs.builder()
        .parameters(CdToolchainToolSlackParametersArgs.builder()
            .channelName("string")
            .webhook("string")
            .pipelineFail(false)
            .pipelineStart(false)
            .pipelineSuccess(false)
            .teamName("string")
            .toolchainBind(false)
            .toolchainUnbind(false)
            .build())
        .toolchainId("string")
        .cdToolchainToolSlackId("string")
        .name("string")
        .build());
    
    cd_toolchain_tool_slack_resource = ibm.CdToolchainToolSlack("cdToolchainToolSlackResource",
        parameters={
            "channel_name": "string",
            "webhook": "string",
            "pipeline_fail": False,
            "pipeline_start": False,
            "pipeline_success": False,
            "team_name": "string",
            "toolchain_bind": False,
            "toolchain_unbind": False,
        },
        toolchain_id="string",
        cd_toolchain_tool_slack_id="string",
        name="string")
    
    const cdToolchainToolSlackResource = new ibm.CdToolchainToolSlack("cdToolchainToolSlackResource", {
        parameters: {
            channelName: "string",
            webhook: "string",
            pipelineFail: false,
            pipelineStart: false,
            pipelineSuccess: false,
            teamName: "string",
            toolchainBind: false,
            toolchainUnbind: false,
        },
        toolchainId: "string",
        cdToolchainToolSlackId: "string",
        name: "string",
    });
    
    type: ibm:CdToolchainToolSlack
    properties:
        cdToolchainToolSlackId: string
        name: string
        parameters:
            channelName: string
            pipelineFail: false
            pipelineStart: false
            pipelineSuccess: false
            teamName: string
            toolchainBind: false
            toolchainUnbind: false
            webhook: string
        toolchainId: string
    

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

    Parameters CdToolchainToolSlackParameters
    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}$/.
    CdToolchainToolSlackId string
    The unique identifier of the cd_toolchain_tool_slack.
    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 CdToolchainToolSlackParametersArgs
    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}$/.
    CdToolchainToolSlackId string
    The unique identifier of the cd_toolchain_tool_slack.
    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 CdToolchainToolSlackParameters
    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}$/.
    cdToolchainToolSlackId String
    The unique identifier of the cd_toolchain_tool_slack.
    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 CdToolchainToolSlackParameters
    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}$/.
    cdToolchainToolSlackId string
    The unique identifier of the cd_toolchain_tool_slack.
    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 CdToolchainToolSlackParametersArgs
    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_slack_id str
    The unique identifier of the cd_toolchain_tool_slack.
    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}$/.
    cdToolchainToolSlackId String
    The unique identifier of the cd_toolchain_tool_slack.
    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 CdToolchainToolSlack 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<CdToolchainToolSlackReferent>
    (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 []CdToolchainToolSlackReferent
    (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<CdToolchainToolSlackReferent>
    (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 CdToolchainToolSlackReferent[]
    (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[CdToolchainToolSlackReferent]
    (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 CdToolchainToolSlack Resource

    Get an existing CdToolchainToolSlack 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?: CdToolchainToolSlackState, opts?: CustomResourceOptions): CdToolchainToolSlack
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cd_toolchain_tool_slack_id: Optional[str] = None,
            crn: Optional[str] = None,
            href: Optional[str] = None,
            name: Optional[str] = None,
            parameters: Optional[CdToolchainToolSlackParametersArgs] = None,
            referents: Optional[Sequence[CdToolchainToolSlackReferentArgs]] = 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) -> CdToolchainToolSlack
    func GetCdToolchainToolSlack(ctx *Context, name string, id IDInput, state *CdToolchainToolSlackState, opts ...ResourceOption) (*CdToolchainToolSlack, error)
    public static CdToolchainToolSlack Get(string name, Input<string> id, CdToolchainToolSlackState? state, CustomResourceOptions? opts = null)
    public static CdToolchainToolSlack get(String name, Output<String> id, CdToolchainToolSlackState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CdToolchainToolSlack    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:
    CdToolchainToolSlackId string
    The unique identifier of the cd_toolchain_tool_slack.
    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 CdToolchainToolSlackParameters
    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<CdToolchainToolSlackReferent>
    (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.
    CdToolchainToolSlackId string
    The unique identifier of the cd_toolchain_tool_slack.
    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 CdToolchainToolSlackParametersArgs
    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 []CdToolchainToolSlackReferentArgs
    (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.
    cdToolchainToolSlackId String
    The unique identifier of the cd_toolchain_tool_slack.
    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 CdToolchainToolSlackParameters
    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<CdToolchainToolSlackReferent>
    (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.
    cdToolchainToolSlackId string
    The unique identifier of the cd_toolchain_tool_slack.
    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 CdToolchainToolSlackParameters
    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 CdToolchainToolSlackReferent[]
    (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_slack_id str
    The unique identifier of the cd_toolchain_tool_slack.
    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 CdToolchainToolSlackParametersArgs
    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[CdToolchainToolSlackReferentArgs]
    (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.
    cdToolchainToolSlackId String
    The unique identifier of the cd_toolchain_tool_slack.
    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

    CdToolchainToolSlackParameters, CdToolchainToolSlackParametersArgs

    ChannelName string
    The Slack channel that notifications will be posted to.
    Webhook string
    The incoming webhook used by Slack to receive events. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    PipelineFail bool
    Generate pipeline failed notifications.

    • Constraints: The default value is true.
    PipelineStart bool
    Generate pipeline start notifications.

    • Constraints: The default value is true.
    PipelineSuccess bool
    Generate pipeline succeeded notifications.

    • Constraints: The default value is true.
    TeamName string
    The Slack team name, which is the word or phrase before .slack.com in the team URL.
    ToolchainBind bool
    Generate tool added to toolchain notifications.

    • Constraints: The default value is true.
    ToolchainUnbind bool
    Generate tool removed from toolchain notifications.

    • Constraints: The default value is true.
    ChannelName string
    The Slack channel that notifications will be posted to.
    Webhook string
    The incoming webhook used by Slack to receive events. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    PipelineFail bool
    Generate pipeline failed notifications.

    • Constraints: The default value is true.
    PipelineStart bool
    Generate pipeline start notifications.

    • Constraints: The default value is true.
    PipelineSuccess bool
    Generate pipeline succeeded notifications.

    • Constraints: The default value is true.
    TeamName string
    The Slack team name, which is the word or phrase before .slack.com in the team URL.
    ToolchainBind bool
    Generate tool added to toolchain notifications.

    • Constraints: The default value is true.
    ToolchainUnbind bool
    Generate tool removed from toolchain notifications.

    • Constraints: The default value is true.
    channelName String
    The Slack channel that notifications will be posted to.
    webhook String
    The incoming webhook used by Slack to receive events. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    pipelineFail Boolean
    Generate pipeline failed notifications.

    • Constraints: The default value is true.
    pipelineStart Boolean
    Generate pipeline start notifications.

    • Constraints: The default value is true.
    pipelineSuccess Boolean
    Generate pipeline succeeded notifications.

    • Constraints: The default value is true.
    teamName String
    The Slack team name, which is the word or phrase before .slack.com in the team URL.
    toolchainBind Boolean
    Generate tool added to toolchain notifications.

    • Constraints: The default value is true.
    toolchainUnbind Boolean
    Generate tool removed from toolchain notifications.

    • Constraints: The default value is true.
    channelName string
    The Slack channel that notifications will be posted to.
    webhook string
    The incoming webhook used by Slack to receive events. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    pipelineFail boolean
    Generate pipeline failed notifications.

    • Constraints: The default value is true.
    pipelineStart boolean
    Generate pipeline start notifications.

    • Constraints: The default value is true.
    pipelineSuccess boolean
    Generate pipeline succeeded notifications.

    • Constraints: The default value is true.
    teamName string
    The Slack team name, which is the word or phrase before .slack.com in the team URL.
    toolchainBind boolean
    Generate tool added to toolchain notifications.

    • Constraints: The default value is true.
    toolchainUnbind boolean
    Generate tool removed from toolchain notifications.

    • Constraints: The default value is true.
    channel_name str
    The Slack channel that notifications will be posted to.
    webhook str
    The incoming webhook used by Slack to receive events. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    pipeline_fail bool
    Generate pipeline failed notifications.

    • Constraints: The default value is true.
    pipeline_start bool
    Generate pipeline start notifications.

    • Constraints: The default value is true.
    pipeline_success bool
    Generate pipeline succeeded notifications.

    • Constraints: The default value is true.
    team_name str
    The Slack team name, which is the word or phrase before .slack.com in the team URL.
    toolchain_bind bool
    Generate tool added to toolchain notifications.

    • Constraints: The default value is true.
    toolchain_unbind bool
    Generate tool removed from toolchain notifications.

    • Constraints: The default value is true.
    channelName String
    The Slack channel that notifications will be posted to.
    webhook String
    The incoming webhook used by Slack to receive events. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    pipelineFail Boolean
    Generate pipeline failed notifications.

    • Constraints: The default value is true.
    pipelineStart Boolean
    Generate pipeline start notifications.

    • Constraints: The default value is true.
    pipelineSuccess Boolean
    Generate pipeline succeeded notifications.

    • Constraints: The default value is true.
    teamName String
    The Slack team name, which is the word or phrase before .slack.com in the team URL.
    toolchainBind Boolean
    Generate tool added to toolchain notifications.

    • Constraints: The default value is true.
    toolchainUnbind Boolean
    Generate tool removed from toolchain notifications.

    • Constraints: The default value is true.

    CdToolchainToolSlackReferent, CdToolchainToolSlackReferentArgs

    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_slack 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/cdToolchainToolSlack:CdToolchainToolSlack cd_toolchain_tool_slack <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