1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. DbdcNodeToDbCustomClusterAttachment
Viewing docs for tencentcloud 1.83.38
published on Friday, Oct 23, 2026 by tencentcloudstack
tencentcloud
Viewing docs for tencentcloud 1.83.38
published on Friday, Oct 23, 2026 by tencentcloudstack

    Provides a resource to create a DBDC node to db custom cluster attachment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    // create cluster
    const example = new tencentcloud.DbdcDbCustomCluster("example", {
        clusterName: "tf-example",
        clusterDescription: "cluster description.",
        containerNetwork: {
            vpcId: "vpc-py7mlxqm",
            subnetIds: [
                "subnet-qd4upp83",
                "subnet-g7vmz57f",
                "subnet-hqbm5bwx",
            ],
        },
        apiServerNetwork: {
            vpcId: "vpc-b4zgfr3a",
            subnetId: "subnet-cp3juq8r",
        },
        tags: {
            createBy: "Terraform",
        },
    });
    const exampleDbdcDbCustomNode = new tencentcloud.DbdcDbCustomNode("example", {
        zone: "ap-shanghai-5",
        imageId: "img-rm13akp3",
        vpcId: "vpc-py7mlxqm",
        subnetId: "subnet-qd4upp83",
        nodeType: "DB.AT5.8XLARGE128",
        period: 1,
        autoRenew: 2,
        nodeName: "tf-example",
        loginSettings: {
            password: "Password@2026",
        },
        tags: {
            createBy: "Terraform",
        },
    });
    const exampleDbdcNodeToDbCustomClusterAttachment = new tencentcloud.DbdcNodeToDbCustomClusterAttachment("example", {
        clusterId: example.dbdcDbCustomClusterId,
        nodeId: exampleDbdcDbCustomNode.dbdcDbCustomNodeId,
        imageId: "img-rm13akp3",
        loginSettings: {
            password: "Passw0rd@2026",
        },
        labels: [{
            key: "env",
            value: "prod",
        }],
        taints: [{
            key: "key",
            effect: "NoSchedule",
            value: "value",
        }],
        hostName: "host-name",
        hostNameType: 1,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    # create cluster
    example = tencentcloud.DbdcDbCustomCluster("example",
        cluster_name="tf-example",
        cluster_description="cluster description.",
        container_network={
            "vpc_id": "vpc-py7mlxqm",
            "subnet_ids": [
                "subnet-qd4upp83",
                "subnet-g7vmz57f",
                "subnet-hqbm5bwx",
            ],
        },
        api_server_network={
            "vpc_id": "vpc-b4zgfr3a",
            "subnet_id": "subnet-cp3juq8r",
        },
        tags={
            "createBy": "Terraform",
        })
    example_dbdc_db_custom_node = tencentcloud.DbdcDbCustomNode("example",
        zone="ap-shanghai-5",
        image_id="img-rm13akp3",
        vpc_id="vpc-py7mlxqm",
        subnet_id="subnet-qd4upp83",
        node_type="DB.AT5.8XLARGE128",
        period=1,
        auto_renew=2,
        node_name="tf-example",
        login_settings={
            "password": "Password@2026",
        },
        tags={
            "createBy": "Terraform",
        })
    example_dbdc_node_to_db_custom_cluster_attachment = tencentcloud.DbdcNodeToDbCustomClusterAttachment("example",
        cluster_id=example.dbdc_db_custom_cluster_id,
        node_id=example_dbdc_db_custom_node.dbdc_db_custom_node_id,
        image_id="img-rm13akp3",
        login_settings={
            "password": "Passw0rd@2026",
        },
        labels=[{
            "key": "env",
            "value": "prod",
        }],
        taints=[{
            "key": "key",
            "effect": "NoSchedule",
            "value": "value",
        }],
        host_name="host-name",
        host_name_type=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// create cluster
    		example, err := tencentcloud.NewDbdcDbCustomCluster(ctx, "example", &tencentcloud.DbdcDbCustomClusterArgs{
    			ClusterName:        pulumi.String("tf-example"),
    			ClusterDescription: pulumi.String("cluster description."),
    			ContainerNetwork: &tencentcloud.DbdcDbCustomClusterContainerNetworkArgs{
    				VpcId: pulumi.String("vpc-py7mlxqm"),
    				SubnetIds: pulumi.StringArray{
    					pulumi.String("subnet-qd4upp83"),
    					pulumi.String("subnet-g7vmz57f"),
    					pulumi.String("subnet-hqbm5bwx"),
    				},
    			},
    			ApiServerNetwork: &tencentcloud.DbdcDbCustomClusterApiServerNetworkArgs{
    				VpcId:    pulumi.String("vpc-b4zgfr3a"),
    				SubnetId: pulumi.String("subnet-cp3juq8r"),
    			},
    			Tags: pulumi.StringMap{
    				"createBy": pulumi.String("Terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleDbdcDbCustomNode, err := tencentcloud.NewDbdcDbCustomNode(ctx, "example", &tencentcloud.DbdcDbCustomNodeArgs{
    			Zone:      pulumi.String("ap-shanghai-5"),
    			ImageId:   pulumi.String("img-rm13akp3"),
    			VpcId:     pulumi.String("vpc-py7mlxqm"),
    			SubnetId:  pulumi.String("subnet-qd4upp83"),
    			NodeType:  pulumi.String("DB.AT5.8XLARGE128"),
    			Period:    pulumi.Float64(1),
    			AutoRenew: pulumi.Float64(2),
    			NodeName:  pulumi.String("tf-example"),
    			LoginSettings: &tencentcloud.DbdcDbCustomNodeLoginSettingsArgs{
    				Password: pulumi.String("Password@2026"),
    			},
    			Tags: pulumi.StringMap{
    				"createBy": pulumi.String("Terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewDbdcNodeToDbCustomClusterAttachment(ctx, "example", &tencentcloud.DbdcNodeToDbCustomClusterAttachmentArgs{
    			ClusterId: example.DbdcDbCustomClusterId,
    			NodeId:    exampleDbdcDbCustomNode.DbdcDbCustomNodeId,
    			ImageId:   pulumi.String("img-rm13akp3"),
    			LoginSettings: &tencentcloud.DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs{
    				Password: pulumi.String("Passw0rd@2026"),
    			},
    			Labels: tencentcloud.DbdcNodeToDbCustomClusterAttachmentLabelArray{
    				&tencentcloud.DbdcNodeToDbCustomClusterAttachmentLabelArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("prod"),
    				},
    			},
    			Taints: tencentcloud.DbdcNodeToDbCustomClusterAttachmentTaintArray{
    				&tencentcloud.DbdcNodeToDbCustomClusterAttachmentTaintArgs{
    					Key:    pulumi.String("key"),
    					Effect: pulumi.String("NoSchedule"),
    					Value:  pulumi.String("value"),
    				},
    			},
    			HostName:     pulumi.String("host-name"),
    			HostNameType: pulumi.Float64(1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        // create cluster
        var example = new Tencentcloud.DbdcDbCustomCluster("example", new()
        {
            ClusterName = "tf-example",
            ClusterDescription = "cluster description.",
            ContainerNetwork = new Tencentcloud.Inputs.DbdcDbCustomClusterContainerNetworkArgs
            {
                VpcId = "vpc-py7mlxqm",
                SubnetIds = new[]
                {
                    "subnet-qd4upp83",
                    "subnet-g7vmz57f",
                    "subnet-hqbm5bwx",
                },
            },
            ApiServerNetwork = new Tencentcloud.Inputs.DbdcDbCustomClusterApiServerNetworkArgs
            {
                VpcId = "vpc-b4zgfr3a",
                SubnetId = "subnet-cp3juq8r",
            },
            Tags = 
            {
                { "createBy", "Terraform" },
            },
        });
    
        var exampleDbdcDbCustomNode = new Tencentcloud.DbdcDbCustomNode("example", new()
        {
            Zone = "ap-shanghai-5",
            ImageId = "img-rm13akp3",
            VpcId = "vpc-py7mlxqm",
            SubnetId = "subnet-qd4upp83",
            NodeType = "DB.AT5.8XLARGE128",
            Period = 1,
            AutoRenew = 2,
            NodeName = "tf-example",
            LoginSettings = new Tencentcloud.Inputs.DbdcDbCustomNodeLoginSettingsArgs
            {
                Password = "Password@2026",
            },
            Tags = 
            {
                { "createBy", "Terraform" },
            },
        });
    
        var exampleDbdcNodeToDbCustomClusterAttachment = new Tencentcloud.DbdcNodeToDbCustomClusterAttachment("example", new()
        {
            ClusterId = example.DbdcDbCustomClusterId,
            NodeId = exampleDbdcDbCustomNode.DbdcDbCustomNodeId,
            ImageId = "img-rm13akp3",
            LoginSettings = new Tencentcloud.Inputs.DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs
            {
                Password = "Passw0rd@2026",
            },
            Labels = new[]
            {
                new Tencentcloud.Inputs.DbdcNodeToDbCustomClusterAttachmentLabelArgs
                {
                    Key = "env",
                    Value = "prod",
                },
            },
            Taints = new[]
            {
                new Tencentcloud.Inputs.DbdcNodeToDbCustomClusterAttachmentTaintArgs
                {
                    Key = "key",
                    Effect = "NoSchedule",
                    Value = "value",
                },
            },
            HostName = "host-name",
            HostNameType = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DbdcDbCustomCluster;
    import com.pulumi.tencentcloud.DbdcDbCustomClusterArgs;
    import com.pulumi.tencentcloud.inputs.DbdcDbCustomClusterContainerNetworkArgs;
    import com.pulumi.tencentcloud.inputs.DbdcDbCustomClusterApiServerNetworkArgs;
    import com.pulumi.tencentcloud.DbdcDbCustomNode;
    import com.pulumi.tencentcloud.DbdcDbCustomNodeArgs;
    import com.pulumi.tencentcloud.inputs.DbdcDbCustomNodeLoginSettingsArgs;
    import com.pulumi.tencentcloud.DbdcNodeToDbCustomClusterAttachment;
    import com.pulumi.tencentcloud.DbdcNodeToDbCustomClusterAttachmentArgs;
    import com.pulumi.tencentcloud.inputs.DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs;
    import com.pulumi.tencentcloud.inputs.DbdcNodeToDbCustomClusterAttachmentLabelArgs;
    import com.pulumi.tencentcloud.inputs.DbdcNodeToDbCustomClusterAttachmentTaintArgs;
    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) {
            // create cluster
            var example = new DbdcDbCustomCluster("example", DbdcDbCustomClusterArgs.builder()
                .clusterName("tf-example")
                .clusterDescription("cluster description.")
                .containerNetwork(DbdcDbCustomClusterContainerNetworkArgs.builder()
                    .vpcId("vpc-py7mlxqm")
                    .subnetIds(                
                        "subnet-qd4upp83",
                        "subnet-g7vmz57f",
                        "subnet-hqbm5bwx")
                    .build())
                .apiServerNetwork(DbdcDbCustomClusterApiServerNetworkArgs.builder()
                    .vpcId("vpc-b4zgfr3a")
                    .subnetId("subnet-cp3juq8r")
                    .build())
                .tags(Map.of("createBy", "Terraform"))
                .build());
    
            var exampleDbdcDbCustomNode = new DbdcDbCustomNode("exampleDbdcDbCustomNode", DbdcDbCustomNodeArgs.builder()
                .zone("ap-shanghai-5")
                .imageId("img-rm13akp3")
                .vpcId("vpc-py7mlxqm")
                .subnetId("subnet-qd4upp83")
                .nodeType("DB.AT5.8XLARGE128")
                .period(1.0)
                .autoRenew(2.0)
                .nodeName("tf-example")
                .loginSettings(DbdcDbCustomNodeLoginSettingsArgs.builder()
                    .password("Password@2026")
                    .build())
                .tags(Map.of("createBy", "Terraform"))
                .build());
    
            var exampleDbdcNodeToDbCustomClusterAttachment = new DbdcNodeToDbCustomClusterAttachment("exampleDbdcNodeToDbCustomClusterAttachment", DbdcNodeToDbCustomClusterAttachmentArgs.builder()
                .clusterId(example.dbdcDbCustomClusterId())
                .nodeId(exampleDbdcDbCustomNode.dbdcDbCustomNodeId())
                .imageId("img-rm13akp3")
                .loginSettings(DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs.builder()
                    .password("Passw0rd@2026")
                    .build())
                .labels(DbdcNodeToDbCustomClusterAttachmentLabelArgs.builder()
                    .key("env")
                    .value("prod")
                    .build())
                .taints(DbdcNodeToDbCustomClusterAttachmentTaintArgs.builder()
                    .key("key")
                    .effect("NoSchedule")
                    .value("value")
                    .build())
                .hostName("host-name")
                .hostNameType(1.0)
                .build());
    
        }
    }
    
    resources:
      # create cluster
      example:
        type: tencentcloud:DbdcDbCustomCluster
        properties:
          clusterName: tf-example
          clusterDescription: cluster description.
          containerNetwork:
            vpcId: vpc-py7mlxqm
            subnetIds:
              - subnet-qd4upp83
              - subnet-g7vmz57f
              - subnet-hqbm5bwx
          apiServerNetwork:
            vpcId: vpc-b4zgfr3a
            subnetId: subnet-cp3juq8r
          tags:
            createBy: Terraform
      exampleDbdcDbCustomNode:
        type: tencentcloud:DbdcDbCustomNode
        name: example
        properties:
          zone: ap-shanghai-5
          imageId: img-rm13akp3
          vpcId: vpc-py7mlxqm
          subnetId: subnet-qd4upp83
          nodeType: DB.AT5.8XLARGE128
          period: 1
          autoRenew: 2
          nodeName: tf-example
          loginSettings:
            password: Password@2026
          tags:
            createBy: Terraform
      exampleDbdcNodeToDbCustomClusterAttachment:
        type: tencentcloud:DbdcNodeToDbCustomClusterAttachment
        name: example
        properties:
          clusterId: ${example.dbdcDbCustomClusterId}
          nodeId: ${exampleDbdcDbCustomNode.dbdcDbCustomNodeId}
          imageId: img-rm13akp3
          loginSettings:
            password: Passw0rd@2026
          labels:
            - key: env
              value: prod
          taints:
            - key: key
              effect: NoSchedule
              value: value
          hostName: host-name
          hostNameType: 1
    
    Example coming soon!
    

    API Reference

    This resource interacts with the following TencentCloud APIs:

    Create DbdcNodeToDbCustomClusterAttachment Resource

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

    Constructor syntax

    new DbdcNodeToDbCustomClusterAttachment(name: string, args: DbdcNodeToDbCustomClusterAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def DbdcNodeToDbCustomClusterAttachment(resource_name: str,
                                            args: DbdcNodeToDbCustomClusterAttachmentArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbdcNodeToDbCustomClusterAttachment(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            cluster_id: Optional[str] = None,
                                            node_id: Optional[str] = None,
                                            dbdc_node_to_db_custom_cluster_attachment_id: Optional[str] = None,
                                            host_name: Optional[str] = None,
                                            host_name_type: Optional[float] = None,
                                            image_id: Optional[str] = None,
                                            labels: Optional[Sequence[DbdcNodeToDbCustomClusterAttachmentLabelArgs]] = None,
                                            login_settings: Optional[DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs] = None,
                                            taints: Optional[Sequence[DbdcNodeToDbCustomClusterAttachmentTaintArgs]] = None,
                                            timeouts: Optional[DbdcNodeToDbCustomClusterAttachmentTimeoutsArgs] = None)
    func NewDbdcNodeToDbCustomClusterAttachment(ctx *Context, name string, args DbdcNodeToDbCustomClusterAttachmentArgs, opts ...ResourceOption) (*DbdcNodeToDbCustomClusterAttachment, error)
    public DbdcNodeToDbCustomClusterAttachment(string name, DbdcNodeToDbCustomClusterAttachmentArgs args, CustomResourceOptions? opts = null)
    public DbdcNodeToDbCustomClusterAttachment(String name, DbdcNodeToDbCustomClusterAttachmentArgs args)
    public DbdcNodeToDbCustomClusterAttachment(String name, DbdcNodeToDbCustomClusterAttachmentArgs args, CustomResourceOptions options)
    
    type: tencentcloud:DbdcNodeToDbCustomClusterAttachment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_dbdc_node_to_db_custom_cluster_attachment" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DbdcNodeToDbCustomClusterAttachmentArgs
    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 DbdcNodeToDbCustomClusterAttachmentArgs
    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 DbdcNodeToDbCustomClusterAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbdcNodeToDbCustomClusterAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbdcNodeToDbCustomClusterAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    ClusterId string
    DB Custom cluster ID.
    NodeId string
    DB Custom node ID to add to the cluster.
    DbdcNodeToDbCustomClusterAttachmentId string
    ID of the resource.
    HostName string
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    HostNameType double
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    ImageId string
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    Labels List<DbdcNodeToDbCustomClusterAttachmentLabel>
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    LoginSettings DbdcNodeToDbCustomClusterAttachmentLoginSettings
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    Taints List<DbdcNodeToDbCustomClusterAttachmentTaint>
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    Timeouts DbdcNodeToDbCustomClusterAttachmentTimeouts
    ClusterId string
    DB Custom cluster ID.
    NodeId string
    DB Custom node ID to add to the cluster.
    DbdcNodeToDbCustomClusterAttachmentId string
    ID of the resource.
    HostName string
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    HostNameType float64
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    ImageId string
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    Labels []DbdcNodeToDbCustomClusterAttachmentLabelArgs
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    LoginSettings DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    Taints []DbdcNodeToDbCustomClusterAttachmentTaintArgs
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    Timeouts DbdcNodeToDbCustomClusterAttachmentTimeoutsArgs
    cluster_id string
    DB Custom cluster ID.
    node_id string
    DB Custom node ID to add to the cluster.
    dbdc_node_to_db_custom_cluster_attachment_id string
    ID of the resource.
    host_name string
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    host_name_type number
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    image_id string
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    labels list(object)
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    login_settings object
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    taints list(object)
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    timeouts object
    clusterId String
    DB Custom cluster ID.
    nodeId String
    DB Custom node ID to add to the cluster.
    dbdcNodeToDbCustomClusterAttachmentId String
    ID of the resource.
    hostName String
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    hostNameType Double
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    imageId String
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    labels List<DbdcNodeToDbCustomClusterAttachmentLabel>
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    loginSettings DbdcNodeToDbCustomClusterAttachmentLoginSettings
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    taints List<DbdcNodeToDbCustomClusterAttachmentTaint>
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    timeouts DbdcNodeToDbCustomClusterAttachmentTimeouts
    clusterId string
    DB Custom cluster ID.
    nodeId string
    DB Custom node ID to add to the cluster.
    dbdcNodeToDbCustomClusterAttachmentId string
    ID of the resource.
    hostName string
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    hostNameType number
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    imageId string
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    labels DbdcNodeToDbCustomClusterAttachmentLabel[]
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    loginSettings DbdcNodeToDbCustomClusterAttachmentLoginSettings
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    taints DbdcNodeToDbCustomClusterAttachmentTaint[]
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    timeouts DbdcNodeToDbCustomClusterAttachmentTimeouts
    cluster_id str
    DB Custom cluster ID.
    node_id str
    DB Custom node ID to add to the cluster.
    dbdc_node_to_db_custom_cluster_attachment_id str
    ID of the resource.
    host_name str
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    host_name_type float
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    image_id str
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    labels Sequence[DbdcNodeToDbCustomClusterAttachmentLabelArgs]
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    login_settings DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    taints Sequence[DbdcNodeToDbCustomClusterAttachmentTaintArgs]
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    timeouts DbdcNodeToDbCustomClusterAttachmentTimeoutsArgs
    clusterId String
    DB Custom cluster ID.
    nodeId String
    DB Custom node ID to add to the cluster.
    dbdcNodeToDbCustomClusterAttachmentId String
    ID of the resource.
    hostName String
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    hostNameType Number
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    imageId String
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    labels List<Property Map>
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    loginSettings Property Map
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    taints List<Property Map>
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DbdcNodeToDbCustomClusterAttachment resource produces the following output properties:

    EniIp string
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    Id string
    The provider-assigned unique ID for this managed resource.
    LanIp string
    Intranet IP address of the node.
    NetworkMode string
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    NodeName string
    Node name.
    NodeType string
    Node spec.
    SshEndpoint string
    SSH endpoint to access the node, in the format IP:Port.
    Status string
    Instance status of the node in the cluster.
    Zone string
    Availability zone that the node belongs to.
    EniIp string
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    Id string
    The provider-assigned unique ID for this managed resource.
    LanIp string
    Intranet IP address of the node.
    NetworkMode string
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    NodeName string
    Node name.
    NodeType string
    Node spec.
    SshEndpoint string
    SSH endpoint to access the node, in the format IP:Port.
    Status string
    Instance status of the node in the cluster.
    Zone string
    Availability zone that the node belongs to.
    eni_ip string
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    id string
    The provider-assigned unique ID for this managed resource.
    lan_ip string
    Intranet IP address of the node.
    network_mode string
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    node_name string
    Node name.
    node_type string
    Node spec.
    ssh_endpoint string
    SSH endpoint to access the node, in the format IP:Port.
    status string
    Instance status of the node in the cluster.
    zone string
    Availability zone that the node belongs to.
    eniIp String
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    id String
    The provider-assigned unique ID for this managed resource.
    lanIp String
    Intranet IP address of the node.
    networkMode String
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    nodeName String
    Node name.
    nodeType String
    Node spec.
    sshEndpoint String
    SSH endpoint to access the node, in the format IP:Port.
    status String
    Instance status of the node in the cluster.
    zone String
    Availability zone that the node belongs to.
    eniIp string
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    id string
    The provider-assigned unique ID for this managed resource.
    lanIp string
    Intranet IP address of the node.
    networkMode string
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    nodeName string
    Node name.
    nodeType string
    Node spec.
    sshEndpoint string
    SSH endpoint to access the node, in the format IP:Port.
    status string
    Instance status of the node in the cluster.
    zone string
    Availability zone that the node belongs to.
    eni_ip str
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    id str
    The provider-assigned unique ID for this managed resource.
    lan_ip str
    Intranet IP address of the node.
    network_mode str
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    node_name str
    Node name.
    node_type str
    Node spec.
    ssh_endpoint str
    SSH endpoint to access the node, in the format IP:Port.
    status str
    Instance status of the node in the cluster.
    zone str
    Availability zone that the node belongs to.
    eniIp String
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    id String
    The provider-assigned unique ID for this managed resource.
    lanIp String
    Intranet IP address of the node.
    networkMode String
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    nodeName String
    Node name.
    nodeType String
    Node spec.
    sshEndpoint String
    SSH endpoint to access the node, in the format IP:Port.
    status String
    Instance status of the node in the cluster.
    zone String
    Availability zone that the node belongs to.

    Look up Existing DbdcNodeToDbCustomClusterAttachment Resource

    Get an existing DbdcNodeToDbCustomClusterAttachment 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?: DbdcNodeToDbCustomClusterAttachmentState, opts?: CustomResourceOptions): DbdcNodeToDbCustomClusterAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            dbdc_node_to_db_custom_cluster_attachment_id: Optional[str] = None,
            eni_ip: Optional[str] = None,
            host_name: Optional[str] = None,
            host_name_type: Optional[float] = None,
            image_id: Optional[str] = None,
            labels: Optional[Sequence[DbdcNodeToDbCustomClusterAttachmentLabelArgs]] = None,
            lan_ip: Optional[str] = None,
            login_settings: Optional[DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs] = None,
            network_mode: Optional[str] = None,
            node_id: Optional[str] = None,
            node_name: Optional[str] = None,
            node_type: Optional[str] = None,
            ssh_endpoint: Optional[str] = None,
            status: Optional[str] = None,
            taints: Optional[Sequence[DbdcNodeToDbCustomClusterAttachmentTaintArgs]] = None,
            timeouts: Optional[DbdcNodeToDbCustomClusterAttachmentTimeoutsArgs] = None,
            zone: Optional[str] = None) -> DbdcNodeToDbCustomClusterAttachment
    func GetDbdcNodeToDbCustomClusterAttachment(ctx *Context, name string, id IDInput, state *DbdcNodeToDbCustomClusterAttachmentState, opts ...ResourceOption) (*DbdcNodeToDbCustomClusterAttachment, error)
    public static DbdcNodeToDbCustomClusterAttachment Get(string name, Input<string> id, DbdcNodeToDbCustomClusterAttachmentState? state, CustomResourceOptions? opts = null)
    public static DbdcNodeToDbCustomClusterAttachment get(String name, Output<String> id, DbdcNodeToDbCustomClusterAttachmentState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DbdcNodeToDbCustomClusterAttachment    get:      id: ${id}
    import {
      to = tencentcloud_dbdc_node_to_db_custom_cluster_attachment.example
      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:
    ClusterId string
    DB Custom cluster ID.
    DbdcNodeToDbCustomClusterAttachmentId string
    ID of the resource.
    EniIp string
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    HostName string
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    HostNameType double
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    ImageId string
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    Labels List<DbdcNodeToDbCustomClusterAttachmentLabel>
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    LanIp string
    Intranet IP address of the node.
    LoginSettings DbdcNodeToDbCustomClusterAttachmentLoginSettings
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    NetworkMode string
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    NodeId string
    DB Custom node ID to add to the cluster.
    NodeName string
    Node name.
    NodeType string
    Node spec.
    SshEndpoint string
    SSH endpoint to access the node, in the format IP:Port.
    Status string
    Instance status of the node in the cluster.
    Taints List<DbdcNodeToDbCustomClusterAttachmentTaint>
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    Timeouts DbdcNodeToDbCustomClusterAttachmentTimeouts
    Zone string
    Availability zone that the node belongs to.
    ClusterId string
    DB Custom cluster ID.
    DbdcNodeToDbCustomClusterAttachmentId string
    ID of the resource.
    EniIp string
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    HostName string
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    HostNameType float64
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    ImageId string
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    Labels []DbdcNodeToDbCustomClusterAttachmentLabelArgs
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    LanIp string
    Intranet IP address of the node.
    LoginSettings DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    NetworkMode string
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    NodeId string
    DB Custom node ID to add to the cluster.
    NodeName string
    Node name.
    NodeType string
    Node spec.
    SshEndpoint string
    SSH endpoint to access the node, in the format IP:Port.
    Status string
    Instance status of the node in the cluster.
    Taints []DbdcNodeToDbCustomClusterAttachmentTaintArgs
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    Timeouts DbdcNodeToDbCustomClusterAttachmentTimeoutsArgs
    Zone string
    Availability zone that the node belongs to.
    cluster_id string
    DB Custom cluster ID.
    dbdc_node_to_db_custom_cluster_attachment_id string
    ID of the resource.
    eni_ip string
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    host_name string
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    host_name_type number
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    image_id string
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    labels list(object)
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    lan_ip string
    Intranet IP address of the node.
    login_settings object
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    network_mode string
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    node_id string
    DB Custom node ID to add to the cluster.
    node_name string
    Node name.
    node_type string
    Node spec.
    ssh_endpoint string
    SSH endpoint to access the node, in the format IP:Port.
    status string
    Instance status of the node in the cluster.
    taints list(object)
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    timeouts object
    zone string
    Availability zone that the node belongs to.
    clusterId String
    DB Custom cluster ID.
    dbdcNodeToDbCustomClusterAttachmentId String
    ID of the resource.
    eniIp String
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    hostName String
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    hostNameType Double
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    imageId String
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    labels List<DbdcNodeToDbCustomClusterAttachmentLabel>
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    lanIp String
    Intranet IP address of the node.
    loginSettings DbdcNodeToDbCustomClusterAttachmentLoginSettings
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    networkMode String
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    nodeId String
    DB Custom node ID to add to the cluster.
    nodeName String
    Node name.
    nodeType String
    Node spec.
    sshEndpoint String
    SSH endpoint to access the node, in the format IP:Port.
    status String
    Instance status of the node in the cluster.
    taints List<DbdcNodeToDbCustomClusterAttachmentTaint>
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    timeouts DbdcNodeToDbCustomClusterAttachmentTimeouts
    zone String
    Availability zone that the node belongs to.
    clusterId string
    DB Custom cluster ID.
    dbdcNodeToDbCustomClusterAttachmentId string
    ID of the resource.
    eniIp string
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    hostName string
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    hostNameType number
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    imageId string
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    labels DbdcNodeToDbCustomClusterAttachmentLabel[]
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    lanIp string
    Intranet IP address of the node.
    loginSettings DbdcNodeToDbCustomClusterAttachmentLoginSettings
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    networkMode string
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    nodeId string
    DB Custom node ID to add to the cluster.
    nodeName string
    Node name.
    nodeType string
    Node spec.
    sshEndpoint string
    SSH endpoint to access the node, in the format IP:Port.
    status string
    Instance status of the node in the cluster.
    taints DbdcNodeToDbCustomClusterAttachmentTaint[]
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    timeouts DbdcNodeToDbCustomClusterAttachmentTimeouts
    zone string
    Availability zone that the node belongs to.
    cluster_id str
    DB Custom cluster ID.
    dbdc_node_to_db_custom_cluster_attachment_id str
    ID of the resource.
    eni_ip str
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    host_name str
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    host_name_type float
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    image_id str
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    labels Sequence[DbdcNodeToDbCustomClusterAttachmentLabelArgs]
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    lan_ip str
    Intranet IP address of the node.
    login_settings DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    network_mode str
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    node_id str
    DB Custom node ID to add to the cluster.
    node_name str
    Node name.
    node_type str
    Node spec.
    ssh_endpoint str
    SSH endpoint to access the node, in the format IP:Port.
    status str
    Instance status of the node in the cluster.
    taints Sequence[DbdcNodeToDbCustomClusterAttachmentTaintArgs]
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    timeouts DbdcNodeToDbCustomClusterAttachmentTimeoutsArgs
    zone str
    Availability zone that the node belongs to.
    clusterId String
    DB Custom cluster ID.
    dbdcNodeToDbCustomClusterAttachmentId String
    ID of the resource.
    eniIp String
    When the network mode is cross_tenant_eni, this IP address is the user-accessible address.
    hostName String
    Hostname of the node. Required when host_name_type is 1; ignored otherwise. Uppercase letters and underscores (_) are not allowed; dots (.) and hyphens (-) cannot be the first/last character or used consecutively. Windows: 2-15 chars (letters, digits, -, no .); Linux/others: 2-60 chars (dot-separated segments). Supports pattern strings {R:x}, {R:x,F:y}, {IP}.
    hostNameType Number
    Hostname source type. Valid values: 0 (reuse hostname set at node creation), 1 (re-specify HostName, must pass host_name), 2 (system auto-assign using NodeId).
    imageId String
    OS image ID to reset the node to after it is added to the cluster. Obtainable via the DescribeDBCustomImages API.
    labels List<Property Map>
    Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the ModifyDBCustomClusterNodeConfig API.
    lanIp String
    Intranet IP address of the node.
    loginSettings Property Map
    Instance login settings. You can set the login method to password, key, or keep the original image login settings. Only one method can be set; for the key method, only a single key ID is supported.
    networkMode String
    Network mode. Valid values: privatelink (four-layer network connectivity), cross_tenant_eni (three-layer network connectivity, dual-NIC mode).
    nodeId String
    DB Custom node ID to add to the cluster.
    nodeName String
    Node name.
    nodeType String
    Node spec.
    sshEndpoint String
    SSH endpoint to access the node, in the format IP:Port.
    status String
    Instance status of the node in the cluster.
    taints List<Property Map>
    Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the ModifyDBCustomClusterNodeConfig API.
    timeouts Property Map
    zone String
    Availability zone that the node belongs to.

    Supporting Types

    DbdcNodeToDbCustomClusterAttachmentLabel, DbdcNodeToDbCustomClusterAttachmentLabelArgs

    Key string
    Label key.
    Value string
    Label value.
    Key string
    Label key.
    Value string
    Label value.
    key string
    Label key.
    value string
    Label value.
    key String
    Label key.
    value String
    Label value.
    key string
    Label key.
    value string
    Label value.
    key str
    Label key.
    value str
    Label value.
    key String
    Label key.
    value String
    Label value.

    DbdcNodeToDbCustomClusterAttachmentLoginSettings, DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs

    KeepImageLogin string
    Whether to keep the original login settings of the image. Valid values: true, false. Cannot be specified together with Password or KeyIds.
    KeyIds List<string>
    Key pair ID list. Only a single ID is supported currently. Password and key cannot be specified at the same time.
    Password string
    Instance login password. Password complexity limits vary by operating system type.
    KeepImageLogin string
    Whether to keep the original login settings of the image. Valid values: true, false. Cannot be specified together with Password or KeyIds.
    KeyIds []string
    Key pair ID list. Only a single ID is supported currently. Password and key cannot be specified at the same time.
    Password string
    Instance login password. Password complexity limits vary by operating system type.
    keep_image_login string
    Whether to keep the original login settings of the image. Valid values: true, false. Cannot be specified together with Password or KeyIds.
    key_ids list(string)
    Key pair ID list. Only a single ID is supported currently. Password and key cannot be specified at the same time.
    password string
    Instance login password. Password complexity limits vary by operating system type.
    keepImageLogin String
    Whether to keep the original login settings of the image. Valid values: true, false. Cannot be specified together with Password or KeyIds.
    keyIds List<String>
    Key pair ID list. Only a single ID is supported currently. Password and key cannot be specified at the same time.
    password String
    Instance login password. Password complexity limits vary by operating system type.
    keepImageLogin string
    Whether to keep the original login settings of the image. Valid values: true, false. Cannot be specified together with Password or KeyIds.
    keyIds string[]
    Key pair ID list. Only a single ID is supported currently. Password and key cannot be specified at the same time.
    password string
    Instance login password. Password complexity limits vary by operating system type.
    keep_image_login str
    Whether to keep the original login settings of the image. Valid values: true, false. Cannot be specified together with Password or KeyIds.
    key_ids Sequence[str]
    Key pair ID list. Only a single ID is supported currently. Password and key cannot be specified at the same time.
    password str
    Instance login password. Password complexity limits vary by operating system type.
    keepImageLogin String
    Whether to keep the original login settings of the image. Valid values: true, false. Cannot be specified together with Password or KeyIds.
    keyIds List<String>
    Key pair ID list. Only a single ID is supported currently. Password and key cannot be specified at the same time.
    password String
    Instance login password. Password complexity limits vary by operating system type.

    DbdcNodeToDbCustomClusterAttachmentTaint, DbdcNodeToDbCustomClusterAttachmentTaintArgs

    Key string
    Taint key.
    Effect string
    Taint effect. Valid values: NoSchedule, PreferNoSchedule, NoExecute.
    Value string
    Taint value.
    Key string
    Taint key.
    Effect string
    Taint effect. Valid values: NoSchedule, PreferNoSchedule, NoExecute.
    Value string
    Taint value.
    key string
    Taint key.
    effect string
    Taint effect. Valid values: NoSchedule, PreferNoSchedule, NoExecute.
    value string
    Taint value.
    key String
    Taint key.
    effect String
    Taint effect. Valid values: NoSchedule, PreferNoSchedule, NoExecute.
    value String
    Taint value.
    key string
    Taint key.
    effect string
    Taint effect. Valid values: NoSchedule, PreferNoSchedule, NoExecute.
    value string
    Taint value.
    key str
    Taint key.
    effect str
    Taint effect. Valid values: NoSchedule, PreferNoSchedule, NoExecute.
    value str
    Taint value.
    key String
    Taint key.
    effect String
    Taint effect. Valid values: NoSchedule, PreferNoSchedule, NoExecute.
    value String
    Taint value.

    DbdcNodeToDbCustomClusterAttachmentTimeouts, DbdcNodeToDbCustomClusterAttachmentTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create string
    delete string
    update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    DBDC node to db custom cluster attachment can be imported using the clusterId#nodeId, e.g.

    $ pulumi import tencentcloud:index/dbdcNodeToDbCustomClusterAttachment:DbdcNodeToDbCustomClusterAttachment example dbcc-7uh7ludb#dbcn-ttiyh58n
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud
    Viewing docs for tencentcloud 1.83.38
    published on Friday, Oct 23, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial