published on Friday, Oct 23, 2026 by tencentcloudstack
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:
- Read:
- Update:
- Delete: RemoveNodesFromDBCustomCluster
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:
- Cluster
Id string - DB Custom cluster ID.
- Node
Id string - DB Custom node ID to add to the cluster.
- Dbdc
Node stringTo Db Custom Cluster Attachment Id - ID of the resource.
- Host
Name string - Hostname of the node. Required when
host_name_typeis1; 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 doubleType - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - Labels
List<Dbdc
Node To Db Custom Cluster Attachment Label> - Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - Login
Settings DbdcNode To Db Custom Cluster Attachment Login Settings - 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<Dbdc
Node To Db Custom Cluster Attachment Taint> - Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - Timeouts
Dbdc
Node To Db Custom Cluster Attachment Timeouts
- Cluster
Id string - DB Custom cluster ID.
- Node
Id string - DB Custom node ID to add to the cluster.
- Dbdc
Node stringTo Db Custom Cluster Attachment Id - ID of the resource.
- Host
Name string - Hostname of the node. Required when
host_name_typeis1; 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 float64Type - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - Labels
[]Dbdc
Node To Db Custom Cluster Attachment Label Args - Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - Login
Settings DbdcNode To Db Custom Cluster Attachment Login Settings Args - 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
[]Dbdc
Node To Db Custom Cluster Attachment Taint Args - Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - Timeouts
Dbdc
Node To Db Custom Cluster Attachment Timeouts Args
- cluster_
id string - DB Custom cluster ID.
- node_
id string - DB Custom node ID to add to the cluster.
- dbdc_
node_ stringto_ db_ custom_ cluster_ attachment_ id - ID of the resource.
- host_
name string - Hostname of the node. Required when
host_name_typeis1; 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_ numbertype - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - 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
ModifyDBCustomClusterNodeConfigAPI. - 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
ModifyDBCustomClusterNodeConfigAPI. - timeouts object
- cluster
Id String - DB Custom cluster ID.
- node
Id String - DB Custom node ID to add to the cluster.
- dbdc
Node StringTo Db Custom Cluster Attachment Id - ID of the resource.
- host
Name String - Hostname of the node. Required when
host_name_typeis1; 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 DoubleType - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - labels
List<Dbdc
Node To Db Custom Cluster Attachment Label> - Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - login
Settings DbdcNode To Db Custom Cluster Attachment Login Settings - 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<Dbdc
Node To Db Custom Cluster Attachment Taint> - Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - timeouts
Dbdc
Node To Db Custom Cluster Attachment Timeouts
- cluster
Id string - DB Custom cluster ID.
- node
Id string - DB Custom node ID to add to the cluster.
- dbdc
Node stringTo Db Custom Cluster Attachment Id - ID of the resource.
- host
Name string - Hostname of the node. Required when
host_name_typeis1; 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 numberType - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - labels
Dbdc
Node To Db Custom Cluster Attachment Label[] - Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - login
Settings DbdcNode To Db Custom Cluster Attachment Login Settings - 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
Dbdc
Node To Db Custom Cluster Attachment Taint[] - Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - timeouts
Dbdc
Node To Db Custom Cluster Attachment Timeouts
- cluster_
id str - DB Custom cluster ID.
- node_
id str - DB Custom node ID to add to the cluster.
- dbdc_
node_ strto_ db_ custom_ cluster_ attachment_ id - ID of the resource.
- host_
name str - Hostname of the node. Required when
host_name_typeis1; 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_ floattype - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - labels
Sequence[Dbdc
Node To Db Custom Cluster Attachment Label Args] - Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - login_
settings DbdcNode To Db Custom Cluster Attachment Login Settings Args - 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[Dbdc
Node To Db Custom Cluster Attachment Taint Args] - Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - timeouts
Dbdc
Node To Db Custom Cluster Attachment Timeouts Args
- cluster
Id String - DB Custom cluster ID.
- node
Id String - DB Custom node ID to add to the cluster.
- dbdc
Node StringTo Db Custom Cluster Attachment Id - ID of the resource.
- host
Name String - Hostname of the node. Required when
host_name_typeis1; 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 NumberType - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - 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
ModifyDBCustomClusterNodeConfigAPI. - login
Settings 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
ModifyDBCustomClusterNodeConfigAPI. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DbdcNodeToDbCustomClusterAttachment resource produces the following output properties:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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) -> DbdcNodeToDbCustomClusterAttachmentfunc 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.
- Cluster
Id string - DB Custom cluster ID.
- Dbdc
Node stringTo Db Custom Cluster Attachment Id - 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_typeis1; 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 doubleType - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - Labels
List<Dbdc
Node To Db Custom Cluster Attachment Label> - Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - Lan
Ip string - Intranet IP address of the node.
- Login
Settings DbdcNode To Db Custom Cluster Attachment Login Settings - 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<Dbdc
Node To Db Custom Cluster Attachment Taint> - Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - Timeouts
Dbdc
Node To Db Custom Cluster Attachment Timeouts - Zone string
- Availability zone that the node belongs to.
- Cluster
Id string - DB Custom cluster ID.
- Dbdc
Node stringTo Db Custom Cluster Attachment Id - 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_typeis1; 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 float64Type - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - Labels
[]Dbdc
Node To Db Custom Cluster Attachment Label Args - Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - Lan
Ip string - Intranet IP address of the node.
- Login
Settings DbdcNode To Db Custom Cluster Attachment Login Settings Args - 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
[]Dbdc
Node To Db Custom Cluster Attachment Taint Args - Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - Timeouts
Dbdc
Node To Db Custom Cluster Attachment Timeouts Args - Zone string
- Availability zone that the node belongs to.
- cluster_
id string - DB Custom cluster ID.
- dbdc_
node_ stringto_ db_ custom_ cluster_ attachment_ id - 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_typeis1; 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_ numbertype - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - 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
ModifyDBCustomClusterNodeConfigAPI. - 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
ModifyDBCustomClusterNodeConfigAPI. - timeouts object
- zone string
- Availability zone that the node belongs to.
- cluster
Id String - DB Custom cluster ID.
- dbdc
Node StringTo Db Custom Cluster Attachment Id - 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_typeis1; 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 DoubleType - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - labels
List<Dbdc
Node To Db Custom Cluster Attachment Label> - Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - lan
Ip String - Intranet IP address of the node.
- login
Settings DbdcNode To Db Custom Cluster Attachment Login Settings - 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<Dbdc
Node To Db Custom Cluster Attachment Taint> - Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - timeouts
Dbdc
Node To Db Custom Cluster Attachment Timeouts - zone String
- Availability zone that the node belongs to.
- cluster
Id string - DB Custom cluster ID.
- dbdc
Node stringTo Db Custom Cluster Attachment Id - 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_typeis1; 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 numberType - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - labels
Dbdc
Node To Db Custom Cluster Attachment Label[] - Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - lan
Ip string - Intranet IP address of the node.
- login
Settings DbdcNode To Db Custom Cluster Attachment Login Settings - 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
Dbdc
Node To Db Custom Cluster Attachment Taint[] - Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - timeouts
Dbdc
Node To Db Custom Cluster Attachment Timeouts - zone string
- Availability zone that the node belongs to.
- cluster_
id str - DB Custom cluster ID.
- dbdc_
node_ strto_ db_ custom_ cluster_ attachment_ id - 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_typeis1; 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_ floattype - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - labels
Sequence[Dbdc
Node To Db Custom Cluster Attachment Label Args] - Custom labels (Kubernetes labels) initialized after the node is added to the cluster. Up to 20 key-value pairs. Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - lan_
ip str - Intranet IP address of the node.
- login_
settings DbdcNode To Db Custom Cluster Attachment Login Settings Args - 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[Dbdc
Node To Db Custom Cluster Attachment Taint Args] - Taints (Kubernetes taints) initialized after the node is added to the cluster. Up to 5 taints. Uniqueness key is (key, effect). Mutable via the
ModifyDBCustomClusterNodeConfigAPI. - timeouts
Dbdc
Node To Db Custom Cluster Attachment Timeouts Args - zone str
- Availability zone that the node belongs to.
- cluster
Id String - DB Custom cluster ID.
- dbdc
Node StringTo Db Custom Cluster Attachment Id - 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_typeis1; 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 NumberType - Hostname source type. Valid values:
0(reuse hostname set at node creation),1(re-specify HostName, must passhost_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
DescribeDBCustomImagesAPI. - 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
ModifyDBCustomClusterNodeConfigAPI. - lan
Ip String - Intranet IP address of the node.
- login
Settings 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.
- 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<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
ModifyDBCustomClusterNodeConfigAPI. - timeouts Property Map
- zone String
- Availability zone that the node belongs to.
Supporting Types
DbdcNodeToDbCustomClusterAttachmentLabel, DbdcNodeToDbCustomClusterAttachmentLabelArgs
DbdcNodeToDbCustomClusterAttachmentLoginSettings, DbdcNodeToDbCustomClusterAttachmentLoginSettingsArgs
- Keep
Image stringLogin - 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.
- Keep
Image stringLogin - Whether to keep the original login settings of the image. Valid values:
true,false. Cannot be specified together with Password or KeyIds. - Key
Ids []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_ stringlogin - 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.
- keep
Image StringLogin - 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.
- keep
Image stringLogin - Whether to keep the original login settings of the image. Valid values:
true,false. Cannot be specified together with Password or KeyIds. - key
Ids 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_ strlogin - 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.
- keep
Image StringLogin - 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.
DbdcNodeToDbCustomClusterAttachmentTaint, DbdcNodeToDbCustomClusterAttachmentTaintArgs
DbdcNodeToDbCustomClusterAttachmentTimeouts, DbdcNodeToDbCustomClusterAttachmentTimeoutsArgs
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
tencentcloudTerraform Provider.
published on Friday, Oct 23, 2026 by tencentcloudstack