ibm.CdToolchainToolCos
Explore with Pulumi AI
Create, update, and delete cd_toolchain_tool_coss 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 cdToolchainToolCosInstance = new ibm.CdToolchainToolCos("cdToolchainToolCosInstance", {
parameters: {
name: "cos_tool_01",
authType: "apikey",
endpoint: "s3.direct.us-south.cloud-object-storage.appdomain.cloud",
},
toolchainId: ibm_cd_toolchain.cd_toolchain.id,
});
import pulumi
import pulumi_ibm as ibm
cd_toolchain_tool_cos_instance = ibm.CdToolchainToolCos("cdToolchainToolCosInstance",
parameters={
"name": "cos_tool_01",
"auth_type": "apikey",
"endpoint": "s3.direct.us-south.cloud-object-storage.appdomain.cloud",
},
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.NewCdToolchainToolCos(ctx, "cdToolchainToolCosInstance", &ibm.CdToolchainToolCosArgs{
Parameters: &ibm.CdToolchainToolCosParametersArgs{
Name: pulumi.String("cos_tool_01"),
AuthType: pulumi.String("apikey"),
Endpoint: pulumi.String("s3.direct.us-south.cloud-object-storage.appdomain.cloud"),
},
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 cdToolchainToolCosInstance = new Ibm.CdToolchainToolCos("cdToolchainToolCosInstance", new()
{
Parameters = new Ibm.Inputs.CdToolchainToolCosParametersArgs
{
Name = "cos_tool_01",
AuthType = "apikey",
Endpoint = "s3.direct.us-south.cloud-object-storage.appdomain.cloud",
},
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.CdToolchainToolCos;
import com.pulumi.ibm.CdToolchainToolCosArgs;
import com.pulumi.ibm.inputs.CdToolchainToolCosParametersArgs;
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 cdToolchainToolCosInstance = new CdToolchainToolCos("cdToolchainToolCosInstance", CdToolchainToolCosArgs.builder()
.parameters(CdToolchainToolCosParametersArgs.builder()
.name("cos_tool_01")
.authType("apikey")
.endpoint("s3.direct.us-south.cloud-object-storage.appdomain.cloud")
.build())
.toolchainId(ibm_cd_toolchain.cd_toolchain().id())
.build());
}
}
resources:
cdToolchainToolCosInstance:
type: ibm:CdToolchainToolCos
properties:
parameters:
name: cos_tool_01
authType: apikey
endpoint: s3.direct.us-south.cloud-object-storage.appdomain.cloud
toolchainId: ${ibm_cd_toolchain.cd_toolchain.id}
Create CdToolchainToolCos Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdToolchainToolCos(name: string, args: CdToolchainToolCosArgs, opts?: CustomResourceOptions);
@overload
def CdToolchainToolCos(resource_name: str,
args: CdToolchainToolCosArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CdToolchainToolCos(resource_name: str,
opts: Optional[ResourceOptions] = None,
parameters: Optional[CdToolchainToolCosParametersArgs] = None,
toolchain_id: Optional[str] = None,
cd_toolchain_tool_cos_id: Optional[str] = None,
name: Optional[str] = None)
func NewCdToolchainToolCos(ctx *Context, name string, args CdToolchainToolCosArgs, opts ...ResourceOption) (*CdToolchainToolCos, error)
public CdToolchainToolCos(string name, CdToolchainToolCosArgs args, CustomResourceOptions? opts = null)
public CdToolchainToolCos(String name, CdToolchainToolCosArgs args)
public CdToolchainToolCos(String name, CdToolchainToolCosArgs args, CustomResourceOptions options)
type: ibm:CdToolchainToolCos
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 CdToolchainToolCosArgs
- 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 CdToolchainToolCosArgs
- 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 CdToolchainToolCosArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdToolchainToolCosArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdToolchainToolCosArgs
- 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 cdToolchainToolCosResource = new Ibm.CdToolchainToolCos("cdToolchainToolCosResource", new()
{
Parameters = new Ibm.Inputs.CdToolchainToolCosParametersArgs
{
Name = "string",
AuthType = "string",
BucketName = "string",
CosApiKey = "string",
Endpoint = "string",
HmacAccessKeyId = "string",
HmacSecretAccessKey = "string",
InstanceCrn = "string",
},
ToolchainId = "string",
CdToolchainToolCosId = "string",
Name = "string",
});
example, err := ibm.NewCdToolchainToolCos(ctx, "cdToolchainToolCosResource", &ibm.CdToolchainToolCosArgs{
Parameters: &ibm.CdToolchainToolCosParametersArgs{
Name: pulumi.String("string"),
AuthType: pulumi.String("string"),
BucketName: pulumi.String("string"),
CosApiKey: pulumi.String("string"),
Endpoint: pulumi.String("string"),
HmacAccessKeyId: pulumi.String("string"),
HmacSecretAccessKey: pulumi.String("string"),
InstanceCrn: pulumi.String("string"),
},
ToolchainId: pulumi.String("string"),
CdToolchainToolCosId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var cdToolchainToolCosResource = new CdToolchainToolCos("cdToolchainToolCosResource", CdToolchainToolCosArgs.builder()
.parameters(CdToolchainToolCosParametersArgs.builder()
.name("string")
.authType("string")
.bucketName("string")
.cosApiKey("string")
.endpoint("string")
.hmacAccessKeyId("string")
.hmacSecretAccessKey("string")
.instanceCrn("string")
.build())
.toolchainId("string")
.cdToolchainToolCosId("string")
.name("string")
.build());
cd_toolchain_tool_cos_resource = ibm.CdToolchainToolCos("cdToolchainToolCosResource",
parameters={
"name": "string",
"auth_type": "string",
"bucket_name": "string",
"cos_api_key": "string",
"endpoint": "string",
"hmac_access_key_id": "string",
"hmac_secret_access_key": "string",
"instance_crn": "string",
},
toolchain_id="string",
cd_toolchain_tool_cos_id="string",
name="string")
const cdToolchainToolCosResource = new ibm.CdToolchainToolCos("cdToolchainToolCosResource", {
parameters: {
name: "string",
authType: "string",
bucketName: "string",
cosApiKey: "string",
endpoint: "string",
hmacAccessKeyId: "string",
hmacSecretAccessKey: "string",
instanceCrn: "string",
},
toolchainId: "string",
cdToolchainToolCosId: "string",
name: "string",
});
type: ibm:CdToolchainToolCos
properties:
cdToolchainToolCosId: string
name: string
parameters:
authType: string
bucketName: string
cosApiKey: string
endpoint: string
hmacAccessKeyId: string
hmacSecretAccessKey: string
instanceCrn: string
name: string
toolchainId: string
CdToolchainToolCos 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 CdToolchainToolCos resource accepts the following input properties:
- Parameters
Cd
Toolchain Tool Cos 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 Cos Id - The unique identifier of the cd_toolchain_tool_cos.
- 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 Cos 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 Cos Id - The unique identifier of the cd_toolchain_tool_cos.
- 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 Cos 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 Cos Id - The unique identifier of the cd_toolchain_tool_cos.
- 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 Cos 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 Cos Id - The unique identifier of the cd_toolchain_tool_cos.
- 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 Cos 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_ cos_ id - The unique identifier of the cd_toolchain_tool_cos.
- 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 Cos Id - The unique identifier of the cd_toolchain_tool_cos.
- 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 CdToolchainToolCos 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 Cos 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 Cos 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 Cos 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 Cos 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 Cos 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 CdToolchainToolCos Resource
Get an existing CdToolchainToolCos 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?: CdToolchainToolCosState, opts?: CustomResourceOptions): CdToolchainToolCos
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cd_toolchain_tool_cos_id: Optional[str] = None,
crn: Optional[str] = None,
href: Optional[str] = None,
name: Optional[str] = None,
parameters: Optional[CdToolchainToolCosParametersArgs] = None,
referents: Optional[Sequence[CdToolchainToolCosReferentArgs]] = 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) -> CdToolchainToolCos
func GetCdToolchainToolCos(ctx *Context, name string, id IDInput, state *CdToolchainToolCosState, opts ...ResourceOption) (*CdToolchainToolCos, error)
public static CdToolchainToolCos Get(string name, Input<string> id, CdToolchainToolCosState? state, CustomResourceOptions? opts = null)
public static CdToolchainToolCos get(String name, Output<String> id, CdToolchainToolCosState state, CustomResourceOptions options)
resources: _: type: ibm:CdToolchainToolCos 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 Cos Id - The unique identifier of the cd_toolchain_tool_cos.
- 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 Cos 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 Cos 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 Cos Id - The unique identifier of the cd_toolchain_tool_cos.
- 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 Cos 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 Cos 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 Cos Id - The unique identifier of the cd_toolchain_tool_cos.
- 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 Cos 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 Cos 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 Cos Id - The unique identifier of the cd_toolchain_tool_cos.
- 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 Cos 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 Cos 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_ cos_ id - The unique identifier of the cd_toolchain_tool_cos.
- 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 Cos 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 Cos 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 Cos Id - The unique identifier of the cd_toolchain_tool_cos.
- 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
CdToolchainToolCosParameters, CdToolchainToolCosParametersArgs
- Name string
- The name used to identify this tool integration.
- Auth
Type string - The authentication type. Options are
apikey
IBM Cloud API Key orhmac
HMAC (Hash Message Authentication Code). The default isapikey
.- Constraints: Allowable values are:
apikey
,hmac
.
- Constraints: Allowable values are:
- Bucket
Name string - The name of the Cloud Object Storage service bucket.
- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- Cos
Api stringKey - The IBM Cloud API key used to access the Cloud Object Storage service. Only relevant when using
apikey
as theauth_type
. - Endpoint string
- The Cloud Object Storage endpoint in IBM Cloud or other endpoint. For example for IBM Cloud Object Storage:
s3.direct.us-south.cloud-object-storage.appdomain.cloud
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- Hmac
Access stringKey Id - The HMAC Access Key ID which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - Hmac
Secret stringAccess Key - The HMAC Secret Access Key which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - Instance
Crn string - The CRN (Cloud Resource Name) of the IBM Cloud Object Storage service instance, only relevant when using
apikey
as theauth_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:cloud-object-storage:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
- Name string
- The name used to identify this tool integration.
- Auth
Type string - The authentication type. Options are
apikey
IBM Cloud API Key orhmac
HMAC (Hash Message Authentication Code). The default isapikey
.- Constraints: Allowable values are:
apikey
,hmac
.
- Constraints: Allowable values are:
- Bucket
Name string - The name of the Cloud Object Storage service bucket.
- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- Cos
Api stringKey - The IBM Cloud API key used to access the Cloud Object Storage service. Only relevant when using
apikey
as theauth_type
. - Endpoint string
- The Cloud Object Storage endpoint in IBM Cloud or other endpoint. For example for IBM Cloud Object Storage:
s3.direct.us-south.cloud-object-storage.appdomain.cloud
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- Hmac
Access stringKey Id - The HMAC Access Key ID which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - Hmac
Secret stringAccess Key - The HMAC Secret Access Key which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - Instance
Crn string - The CRN (Cloud Resource Name) of the IBM Cloud Object Storage service instance, only relevant when using
apikey
as theauth_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:cloud-object-storage:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
- name String
- The name used to identify this tool integration.
- auth
Type String - The authentication type. Options are
apikey
IBM Cloud API Key orhmac
HMAC (Hash Message Authentication Code). The default isapikey
.- Constraints: Allowable values are:
apikey
,hmac
.
- Constraints: Allowable values are:
- bucket
Name String - The name of the Cloud Object Storage service bucket.
- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- cos
Api StringKey - The IBM Cloud API key used to access the Cloud Object Storage service. Only relevant when using
apikey
as theauth_type
. - endpoint String
- The Cloud Object Storage endpoint in IBM Cloud or other endpoint. For example for IBM Cloud Object Storage:
s3.direct.us-south.cloud-object-storage.appdomain.cloud
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- hmac
Access StringKey Id - The HMAC Access Key ID which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - hmac
Secret StringAccess Key - The HMAC Secret Access Key which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - instance
Crn String - The CRN (Cloud Resource Name) of the IBM Cloud Object Storage service instance, only relevant when using
apikey
as theauth_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:cloud-object-storage:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
- name string
- The name used to identify this tool integration.
- auth
Type string - The authentication type. Options are
apikey
IBM Cloud API Key orhmac
HMAC (Hash Message Authentication Code). The default isapikey
.- Constraints: Allowable values are:
apikey
,hmac
.
- Constraints: Allowable values are:
- bucket
Name string - The name of the Cloud Object Storage service bucket.
- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- cos
Api stringKey - The IBM Cloud API key used to access the Cloud Object Storage service. Only relevant when using
apikey
as theauth_type
. - endpoint string
- The Cloud Object Storage endpoint in IBM Cloud or other endpoint. For example for IBM Cloud Object Storage:
s3.direct.us-south.cloud-object-storage.appdomain.cloud
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- hmac
Access stringKey Id - The HMAC Access Key ID which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - hmac
Secret stringAccess Key - The HMAC Secret Access Key which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - instance
Crn string - The CRN (Cloud Resource Name) of the IBM Cloud Object Storage service instance, only relevant when using
apikey
as theauth_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:cloud-object-storage:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
- name str
- The name used to identify this tool integration.
- auth_
type str - The authentication type. Options are
apikey
IBM Cloud API Key orhmac
HMAC (Hash Message Authentication Code). The default isapikey
.- Constraints: Allowable values are:
apikey
,hmac
.
- Constraints: Allowable values are:
- bucket_
name str - The name of the Cloud Object Storage service bucket.
- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- cos_
api_ strkey - The IBM Cloud API key used to access the Cloud Object Storage service. Only relevant when using
apikey
as theauth_type
. - endpoint str
- The Cloud Object Storage endpoint in IBM Cloud or other endpoint. For example for IBM Cloud Object Storage:
s3.direct.us-south.cloud-object-storage.appdomain.cloud
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- hmac_
access_ strkey_ id - The HMAC Access Key ID which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - hmac_
secret_ straccess_ key - The HMAC Secret Access Key which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - instance_
crn str - The CRN (Cloud Resource Name) of the IBM Cloud Object Storage service instance, only relevant when using
apikey
as theauth_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:cloud-object-storage:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
- name String
- The name used to identify this tool integration.
- auth
Type String - The authentication type. Options are
apikey
IBM Cloud API Key orhmac
HMAC (Hash Message Authentication Code). The default isapikey
.- Constraints: Allowable values are:
apikey
,hmac
.
- Constraints: Allowable values are:
- bucket
Name String - The name of the Cloud Object Storage service bucket.
- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- cos
Api StringKey - The IBM Cloud API key used to access the Cloud Object Storage service. Only relevant when using
apikey
as theauth_type
. - endpoint String
- The Cloud Object Storage endpoint in IBM Cloud or other endpoint. For example for IBM Cloud Object Storage:
s3.direct.us-south.cloud-object-storage.appdomain.cloud
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- hmac
Access StringKey Id - The HMAC Access Key ID which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - hmac
Secret StringAccess Key - The HMAC Secret Access Key which is part of an HMAC (Hash Message Authentication Code) credential set. HMAC is identified by a combination of an Access Key ID and a Secret Access Key. Only relevant when
auth_type
is set tohmac
. - instance
Crn String - The CRN (Cloud Resource Name) of the IBM Cloud Object Storage service instance, only relevant when using
apikey
as theauth_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:cloud-object-storage:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
CdToolchainToolCosReferent, CdToolchainToolCosReferentArgs
Import
You can import the ibm_cd_toolchain_tool_cos
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. Tool ID.
Syntax
```sh $ pulumi import ibm:index/cdToolchainToolCos:CdToolchainToolCos cd_toolchain_tool_cos <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.