ibm.CdToolchainToolSlack
Explore with Pulumi AI
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
Cd
Toolchain Tool Slack Parameters - 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 string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Cd
Toolchain stringTool Slack Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- Parameters
Cd
Toolchain Tool Slack Parameters Args - 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 string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Cd
Toolchain stringTool Slack Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Slack Parameters - 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 String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- cd
Toolchain StringTool Slack Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Slack Parameters - 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 string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- cd
Toolchain stringTool Slack Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Slack Parameters Args - 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 is36
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}$/
.
- Constraints: The maximum length is
- cd_
toolchain_ strtool_ slack_ id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- 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:
- toolchain
Id String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- cd
Toolchain StringTool Slack Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
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<Cd
Toolchain Tool Slack Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (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
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Updated
At 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
[]Cd
Toolchain Tool Slack Referent - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (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
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Updated
At 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<Cd
Toolchain Tool Slack Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group StringId - (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
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- updated
At 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
Cd
Toolchain Tool Slack Referent[] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group stringId - (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
.
- Constraints: Allowable values are:
- tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- updated
At 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[Cd
Toolchain Tool Slack Referent] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource_
group_ strid - (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
.
- Constraints: Allowable values are:
- tool_
id str - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- 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:
- resource
Group StringId - (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
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- updated
At 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.
- Cd
Toolchain stringTool Slack Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- Parameters
Cd
Toolchain Tool Slack Parameters - 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<Cd
Toolchain Tool Slack Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (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
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Updated
At string - (String) Latest tool update timestamp.
- Cd
Toolchain stringTool Slack Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- Parameters
Cd
Toolchain Tool Slack Parameters Args - 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
[]Cd
Toolchain Tool Slack Referent Args - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (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
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Updated
At string - (String) Latest tool update timestamp.
- cd
Toolchain StringTool Slack Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Slack Parameters - 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<Cd
Toolchain Tool Slack Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group StringId - (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
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- updated
At String - (String) Latest tool update timestamp.
- cd
Toolchain stringTool Slack Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Slack Parameters - 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
Cd
Toolchain Tool Slack Referent[] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group stringId - (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
.
- Constraints: Allowable values are:
- tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- updated
At string - (String) Latest tool update timestamp.
- cd_
toolchain_ strtool_ slack_ id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Slack Parameters Args - 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[Cd
Toolchain Tool Slack Referent Args] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource_
group_ strid - (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
.
- Constraints: Allowable values are:
- tool_
id str - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- 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 is36
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}$/
.
- Constraints: The maximum length is
- updated_
at str - (String) Latest tool update timestamp.
- cd
Toolchain StringTool Slack Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- 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:
- resource
Group StringId - (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
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- updated
At String - (String) Latest tool update timestamp.
Supporting Types
CdToolchainToolSlackParameters, CdToolchainToolSlackParametersArgs
- Channel
Name 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.
- Pipeline
Fail bool - Generate
pipeline failed
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- Pipeline
Start bool - Generate
pipeline start
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- Pipeline
Success bool - Generate
pipeline succeeded
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- Team
Name string - 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
.
- Constraints: The default value is
- Toolchain
Unbind bool - Generate
tool removed from toolchain
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- Channel
Name 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.
- Pipeline
Fail bool - Generate
pipeline failed
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- Pipeline
Start bool - Generate
pipeline start
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- Pipeline
Success bool - Generate
pipeline succeeded
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- Team
Name string - 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
.
- Constraints: The default value is
- Toolchain
Unbind bool - Generate
tool removed from toolchain
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- channel
Name 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.
- pipeline
Fail Boolean - Generate
pipeline failed
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- pipeline
Start Boolean - Generate
pipeline start
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- pipeline
Success Boolean - Generate
pipeline succeeded
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- team
Name String - The Slack team name, which is the word or phrase before .slack.com in the team URL.
- toolchain
Bind Boolean - Generate
tool added to toolchain
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- toolchain
Unbind Boolean - Generate
tool removed from toolchain
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- channel
Name 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.
- pipeline
Fail boolean - Generate
pipeline failed
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- pipeline
Start boolean - Generate
pipeline start
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- pipeline
Success boolean - Generate
pipeline succeeded
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- team
Name string - The Slack team name, which is the word or phrase before .slack.com in the team URL.
- toolchain
Bind boolean - Generate
tool added to toolchain
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- toolchain
Unbind boolean - Generate
tool removed from toolchain
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- 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
.
- Constraints: The default value is
- pipeline_
start bool - Generate
pipeline start
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- pipeline_
success bool - Generate
pipeline succeeded
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- 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
.
- Constraints: The default value is
- toolchain_
unbind bool - Generate
tool removed from toolchain
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- channel
Name 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.
- pipeline
Fail Boolean - Generate
pipeline failed
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- pipeline
Start Boolean - Generate
pipeline start
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- pipeline
Success Boolean - Generate
pipeline succeeded
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- team
Name String - The Slack team name, which is the word or phrase before .slack.com in the team URL.
- toolchain
Bind Boolean - Generate
tool added to toolchain
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
- toolchain
Unbind Boolean - Generate
tool removed from toolchain
notifications.- Constraints: The default value is
true
.
- Constraints: The default value is
CdToolchainToolSlackReferent, CdToolchainToolSlackReferentArgs
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.