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

ibm.CdToolchainToolArtifactory

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_artifactorys 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 cdToolchainToolArtifactoryInstance = new ibm.CdToolchainToolArtifactory("cdToolchainToolArtifactoryInstance", {
        parameters: {
            name: "artifactory-tool-01",
            dashboardUrl: "https://mycompany.example.jfrog.io",
            type: "docker",
            userId: "<user_id>",
            token: "<token>",
            repositoryName: "default-docker-local",
            repositoryUrl: "https://mycompany.example.jfrog.io/artifactory/default-docker-local",
        },
        toolchainId: ibm_cd_toolchain.cd_toolchain.id,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    cd_toolchain_tool_artifactory_instance = ibm.CdToolchainToolArtifactory("cdToolchainToolArtifactoryInstance",
        parameters={
            "name": "artifactory-tool-01",
            "dashboard_url": "https://mycompany.example.jfrog.io",
            "type": "docker",
            "user_id": "<user_id>",
            "token": "<token>",
            "repository_name": "default-docker-local",
            "repository_url": "https://mycompany.example.jfrog.io/artifactory/default-docker-local",
        },
        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.NewCdToolchainToolArtifactory(ctx, "cdToolchainToolArtifactoryInstance", &ibm.CdToolchainToolArtifactoryArgs{
    			Parameters: &ibm.CdToolchainToolArtifactoryParametersArgs{
    				Name:           pulumi.String("artifactory-tool-01"),
    				DashboardUrl:   pulumi.String("https://mycompany.example.jfrog.io"),
    				Type:           pulumi.String("docker"),
    				UserId:         pulumi.String("<user_id>"),
    				Token:          pulumi.String("<token>"),
    				RepositoryName: pulumi.String("default-docker-local"),
    				RepositoryUrl:  pulumi.String("https://mycompany.example.jfrog.io/artifactory/default-docker-local"),
    			},
    			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 cdToolchainToolArtifactoryInstance = new Ibm.CdToolchainToolArtifactory("cdToolchainToolArtifactoryInstance", new()
        {
            Parameters = new Ibm.Inputs.CdToolchainToolArtifactoryParametersArgs
            {
                Name = "artifactory-tool-01",
                DashboardUrl = "https://mycompany.example.jfrog.io",
                Type = "docker",
                UserId = "<user_id>",
                Token = "<token>",
                RepositoryName = "default-docker-local",
                RepositoryUrl = "https://mycompany.example.jfrog.io/artifactory/default-docker-local",
            },
            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.CdToolchainToolArtifactory;
    import com.pulumi.ibm.CdToolchainToolArtifactoryArgs;
    import com.pulumi.ibm.inputs.CdToolchainToolArtifactoryParametersArgs;
    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 cdToolchainToolArtifactoryInstance = new CdToolchainToolArtifactory("cdToolchainToolArtifactoryInstance", CdToolchainToolArtifactoryArgs.builder()
                .parameters(CdToolchainToolArtifactoryParametersArgs.builder()
                    .name("artifactory-tool-01")
                    .dashboardUrl("https://mycompany.example.jfrog.io")
                    .type("docker")
                    .userId("<user_id>")
                    .token("<token>")
                    .repositoryName("default-docker-local")
                    .repositoryUrl("https://mycompany.example.jfrog.io/artifactory/default-docker-local")
                    .build())
                .toolchainId(ibm_cd_toolchain.cd_toolchain().id())
                .build());
    
        }
    }
    
    resources:
      cdToolchainToolArtifactoryInstance:
        type: ibm:CdToolchainToolArtifactory
        properties:
          parameters:
            name: artifactory-tool-01
            dashboardUrl: https://mycompany.example.jfrog.io
            type: docker
            userId: <user_id>
            token: <token>
            repositoryName: default-docker-local
            repositoryUrl: https://mycompany.example.jfrog.io/artifactory/default-docker-local
          toolchainId: ${ibm_cd_toolchain.cd_toolchain.id}
    

    Create CdToolchainToolArtifactory Resource

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

    Constructor syntax

    new CdToolchainToolArtifactory(name: string, args: CdToolchainToolArtifactoryArgs, opts?: CustomResourceOptions);
    @overload
    def CdToolchainToolArtifactory(resource_name: str,
                                   args: CdToolchainToolArtifactoryArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdToolchainToolArtifactory(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   parameters: Optional[CdToolchainToolArtifactoryParametersArgs] = None,
                                   toolchain_id: Optional[str] = None,
                                   cd_toolchain_tool_artifactory_id: Optional[str] = None,
                                   name: Optional[str] = None)
    func NewCdToolchainToolArtifactory(ctx *Context, name string, args CdToolchainToolArtifactoryArgs, opts ...ResourceOption) (*CdToolchainToolArtifactory, error)
    public CdToolchainToolArtifactory(string name, CdToolchainToolArtifactoryArgs args, CustomResourceOptions? opts = null)
    public CdToolchainToolArtifactory(String name, CdToolchainToolArtifactoryArgs args)
    public CdToolchainToolArtifactory(String name, CdToolchainToolArtifactoryArgs args, CustomResourceOptions options)
    
    type: ibm:CdToolchainToolArtifactory
    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 CdToolchainToolArtifactoryArgs
    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 CdToolchainToolArtifactoryArgs
    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 CdToolchainToolArtifactoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdToolchainToolArtifactoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdToolchainToolArtifactoryArgs
    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 cdToolchainToolArtifactoryResource = new Ibm.CdToolchainToolArtifactory("cdToolchainToolArtifactoryResource", new()
    {
        Parameters = new Ibm.Inputs.CdToolchainToolArtifactoryParametersArgs
        {
            Name = "string",
            Type = "string",
            DashboardUrl = "string",
            MirrorUrl = "string",
            ReleaseUrl = "string",
            RepositoryName = "string",
            RepositoryUrl = "string",
            SnapshotUrl = "string",
            Token = "string",
            UserId = "string",
        },
        ToolchainId = "string",
        CdToolchainToolArtifactoryId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewCdToolchainToolArtifactory(ctx, "cdToolchainToolArtifactoryResource", &ibm.CdToolchainToolArtifactoryArgs{
    	Parameters: &ibm.CdToolchainToolArtifactoryParametersArgs{
    		Name:           pulumi.String("string"),
    		Type:           pulumi.String("string"),
    		DashboardUrl:   pulumi.String("string"),
    		MirrorUrl:      pulumi.String("string"),
    		ReleaseUrl:     pulumi.String("string"),
    		RepositoryName: pulumi.String("string"),
    		RepositoryUrl:  pulumi.String("string"),
    		SnapshotUrl:    pulumi.String("string"),
    		Token:          pulumi.String("string"),
    		UserId:         pulumi.String("string"),
    	},
    	ToolchainId:                  pulumi.String("string"),
    	CdToolchainToolArtifactoryId: pulumi.String("string"),
    	Name:                         pulumi.String("string"),
    })
    
    var cdToolchainToolArtifactoryResource = new CdToolchainToolArtifactory("cdToolchainToolArtifactoryResource", CdToolchainToolArtifactoryArgs.builder()
        .parameters(CdToolchainToolArtifactoryParametersArgs.builder()
            .name("string")
            .type("string")
            .dashboardUrl("string")
            .mirrorUrl("string")
            .releaseUrl("string")
            .repositoryName("string")
            .repositoryUrl("string")
            .snapshotUrl("string")
            .token("string")
            .userId("string")
            .build())
        .toolchainId("string")
        .cdToolchainToolArtifactoryId("string")
        .name("string")
        .build());
    
    cd_toolchain_tool_artifactory_resource = ibm.CdToolchainToolArtifactory("cdToolchainToolArtifactoryResource",
        parameters={
            "name": "string",
            "type": "string",
            "dashboard_url": "string",
            "mirror_url": "string",
            "release_url": "string",
            "repository_name": "string",
            "repository_url": "string",
            "snapshot_url": "string",
            "token": "string",
            "user_id": "string",
        },
        toolchain_id="string",
        cd_toolchain_tool_artifactory_id="string",
        name="string")
    
    const cdToolchainToolArtifactoryResource = new ibm.CdToolchainToolArtifactory("cdToolchainToolArtifactoryResource", {
        parameters: {
            name: "string",
            type: "string",
            dashboardUrl: "string",
            mirrorUrl: "string",
            releaseUrl: "string",
            repositoryName: "string",
            repositoryUrl: "string",
            snapshotUrl: "string",
            token: "string",
            userId: "string",
        },
        toolchainId: "string",
        cdToolchainToolArtifactoryId: "string",
        name: "string",
    });
    
    type: ibm:CdToolchainToolArtifactory
    properties:
        cdToolchainToolArtifactoryId: string
        name: string
        parameters:
            dashboardUrl: string
            mirrorUrl: string
            name: string
            releaseUrl: string
            repositoryName: string
            repositoryUrl: string
            snapshotUrl: string
            token: string
            type: string
            userId: string
        toolchainId: string
    

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

    Parameters CdToolchainToolArtifactoryParameters
    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}$/.
    CdToolchainToolArtifactoryId string
    The unique identifier of the cd_toolchain_tool_artifactory.
    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 CdToolchainToolArtifactoryParametersArgs
    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}$/.
    CdToolchainToolArtifactoryId string
    The unique identifier of the cd_toolchain_tool_artifactory.
    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 CdToolchainToolArtifactoryParameters
    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}$/.
    cdToolchainToolArtifactoryId String
    The unique identifier of the cd_toolchain_tool_artifactory.
    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 CdToolchainToolArtifactoryParameters
    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}$/.
    cdToolchainToolArtifactoryId string
    The unique identifier of the cd_toolchain_tool_artifactory.
    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 CdToolchainToolArtifactoryParametersArgs
    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_artifactory_id str
    The unique identifier of the cd_toolchain_tool_artifactory.
    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}$/.
    cdToolchainToolArtifactoryId String
    The unique identifier of the cd_toolchain_tool_artifactory.
    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 CdToolchainToolArtifactory 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<CdToolchainToolArtifactoryReferent>
    (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 []CdToolchainToolArtifactoryReferent
    (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<CdToolchainToolArtifactoryReferent>
    (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 CdToolchainToolArtifactoryReferent[]
    (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[CdToolchainToolArtifactoryReferent]
    (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 CdToolchainToolArtifactory Resource

    Get an existing CdToolchainToolArtifactory 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?: CdToolchainToolArtifactoryState, opts?: CustomResourceOptions): CdToolchainToolArtifactory
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cd_toolchain_tool_artifactory_id: Optional[str] = None,
            crn: Optional[str] = None,
            href: Optional[str] = None,
            name: Optional[str] = None,
            parameters: Optional[CdToolchainToolArtifactoryParametersArgs] = None,
            referents: Optional[Sequence[CdToolchainToolArtifactoryReferentArgs]] = 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) -> CdToolchainToolArtifactory
    func GetCdToolchainToolArtifactory(ctx *Context, name string, id IDInput, state *CdToolchainToolArtifactoryState, opts ...ResourceOption) (*CdToolchainToolArtifactory, error)
    public static CdToolchainToolArtifactory Get(string name, Input<string> id, CdToolchainToolArtifactoryState? state, CustomResourceOptions? opts = null)
    public static CdToolchainToolArtifactory get(String name, Output<String> id, CdToolchainToolArtifactoryState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CdToolchainToolArtifactory    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:
    CdToolchainToolArtifactoryId string
    The unique identifier of the cd_toolchain_tool_artifactory.
    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 CdToolchainToolArtifactoryParameters
    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<CdToolchainToolArtifactoryReferent>
    (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.
    CdToolchainToolArtifactoryId string
    The unique identifier of the cd_toolchain_tool_artifactory.
    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 CdToolchainToolArtifactoryParametersArgs
    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 []CdToolchainToolArtifactoryReferentArgs
    (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.
    cdToolchainToolArtifactoryId String
    The unique identifier of the cd_toolchain_tool_artifactory.
    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 CdToolchainToolArtifactoryParameters
    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<CdToolchainToolArtifactoryReferent>
    (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.
    cdToolchainToolArtifactoryId string
    The unique identifier of the cd_toolchain_tool_artifactory.
    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 CdToolchainToolArtifactoryParameters
    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 CdToolchainToolArtifactoryReferent[]
    (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_artifactory_id str
    The unique identifier of the cd_toolchain_tool_artifactory.
    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 CdToolchainToolArtifactoryParametersArgs
    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[CdToolchainToolArtifactoryReferentArgs]
    (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.
    cdToolchainToolArtifactoryId String
    The unique identifier of the cd_toolchain_tool_artifactory.
    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

    CdToolchainToolArtifactoryParameters, CdToolchainToolArtifactoryParametersArgs

    Name string
    The name for this tool integration.
    Type string
    The type of repository for your Artifactory integration.

    • Constraints: Allowable values are: npm, maven, docker.
    DashboardUrl string
    The URL of the Artifactory server dashboard for this integration. In the graphical UI, this is the dashboard that the browser will navigate to when you click the Artifactory integration tile.
    MirrorUrl string
    The URL for your Artifactory virtual repository, which is a repository that can see your private repositories and a cache of the public repositories.
    ReleaseUrl string
    The URL for your Artifactory release repository.
    RepositoryName string
    The name of your Artifactory repository where your docker images are located.
    RepositoryUrl string
    The URL of your Artifactory repository where your docker images are located.
    SnapshotUrl string
    The URL for your Artifactory snapshot repository.
    Token string
    The Access token for your Artifactory repository. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    UserId string
    The User ID or email for your Artifactory repository.
    Name string
    The name for this tool integration.
    Type string
    The type of repository for your Artifactory integration.

    • Constraints: Allowable values are: npm, maven, docker.
    DashboardUrl string
    The URL of the Artifactory server dashboard for this integration. In the graphical UI, this is the dashboard that the browser will navigate to when you click the Artifactory integration tile.
    MirrorUrl string
    The URL for your Artifactory virtual repository, which is a repository that can see your private repositories and a cache of the public repositories.
    ReleaseUrl string
    The URL for your Artifactory release repository.
    RepositoryName string
    The name of your Artifactory repository where your docker images are located.
    RepositoryUrl string
    The URL of your Artifactory repository where your docker images are located.
    SnapshotUrl string
    The URL for your Artifactory snapshot repository.
    Token string
    The Access token for your Artifactory repository. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    UserId string
    The User ID or email for your Artifactory repository.
    name String
    The name for this tool integration.
    type String
    The type of repository for your Artifactory integration.

    • Constraints: Allowable values are: npm, maven, docker.
    dashboardUrl String
    The URL of the Artifactory server dashboard for this integration. In the graphical UI, this is the dashboard that the browser will navigate to when you click the Artifactory integration tile.
    mirrorUrl String
    The URL for your Artifactory virtual repository, which is a repository that can see your private repositories and a cache of the public repositories.
    releaseUrl String
    The URL for your Artifactory release repository.
    repositoryName String
    The name of your Artifactory repository where your docker images are located.
    repositoryUrl String
    The URL of your Artifactory repository where your docker images are located.
    snapshotUrl String
    The URL for your Artifactory snapshot repository.
    token String
    The Access token for your Artifactory repository. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    userId String
    The User ID or email for your Artifactory repository.
    name string
    The name for this tool integration.
    type string
    The type of repository for your Artifactory integration.

    • Constraints: Allowable values are: npm, maven, docker.
    dashboardUrl string
    The URL of the Artifactory server dashboard for this integration. In the graphical UI, this is the dashboard that the browser will navigate to when you click the Artifactory integration tile.
    mirrorUrl string
    The URL for your Artifactory virtual repository, which is a repository that can see your private repositories and a cache of the public repositories.
    releaseUrl string
    The URL for your Artifactory release repository.
    repositoryName string
    The name of your Artifactory repository where your docker images are located.
    repositoryUrl string
    The URL of your Artifactory repository where your docker images are located.
    snapshotUrl string
    The URL for your Artifactory snapshot repository.
    token string
    The Access token for your Artifactory repository. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    userId string
    The User ID or email for your Artifactory repository.
    name str
    The name for this tool integration.
    type str
    The type of repository for your Artifactory integration.

    • Constraints: Allowable values are: npm, maven, docker.
    dashboard_url str
    The URL of the Artifactory server dashboard for this integration. In the graphical UI, this is the dashboard that the browser will navigate to when you click the Artifactory integration tile.
    mirror_url str
    The URL for your Artifactory virtual repository, which is a repository that can see your private repositories and a cache of the public repositories.
    release_url str
    The URL for your Artifactory release repository.
    repository_name str
    The name of your Artifactory repository where your docker images are located.
    repository_url str
    The URL of your Artifactory repository where your docker images are located.
    snapshot_url str
    The URL for your Artifactory snapshot repository.
    token str
    The Access token for your Artifactory repository. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    user_id str
    The User ID or email for your Artifactory repository.
    name String
    The name for this tool integration.
    type String
    The type of repository for your Artifactory integration.

    • Constraints: Allowable values are: npm, maven, docker.
    dashboardUrl String
    The URL of the Artifactory server dashboard for this integration. In the graphical UI, this is the dashboard that the browser will navigate to when you click the Artifactory integration tile.
    mirrorUrl String
    The URL for your Artifactory virtual repository, which is a repository that can see your private repositories and a cache of the public repositories.
    releaseUrl String
    The URL for your Artifactory release repository.
    repositoryName String
    The name of your Artifactory repository where your docker images are located.
    repositoryUrl String
    The URL of your Artifactory repository where your docker images are located.
    snapshotUrl String
    The URL for your Artifactory snapshot repository.
    token String
    The Access token for your Artifactory repository. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    userId String
    The User ID or email for your Artifactory repository.

    CdToolchainToolArtifactoryReferent, CdToolchainToolArtifactoryReferentArgs

    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_artifactory 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/cdToolchainToolArtifactory:CdToolchainToolArtifactory cd_toolchain_tool_artifactory <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