published on Monday, Sep 21, 2026 by tencentcloudstack
published on Monday, Sep 21, 2026 by tencentcloudstack
Provides a resource to create a TcaplusDB cluster.
NOTE: TcaplusDB now only supports the following regions:
ap-shanghai,ap-hongkong,na-siliconvalley,ap-singapore,ap-seoul,ap-tokyo,eu-frankfurt,and na-ashburn.
Example Usage
Create a tcaplus cluster instance with cluster_type is 1
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.TcaplusCluster("example", {
idlType: "MIX",
clusterName: "tf_example",
vpcId: "vpc-jll1dzwr",
subnetId: "subnet-ef14ogeu",
password: "Password@2026",
oldPasswordExpireLast: 3600,
clusterType: 1,
resourceTags: [{
tagKey: "createBy",
tagValue: "Terraform",
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.TcaplusCluster("example",
idl_type="MIX",
cluster_name="tf_example",
vpc_id="vpc-jll1dzwr",
subnet_id="subnet-ef14ogeu",
password="Password@2026",
old_password_expire_last=3600,
cluster_type=1,
resource_tags=[{
"tag_key": "createBy",
"tag_value": "Terraform",
}])
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 {
_, err := tencentcloud.NewTcaplusCluster(ctx, "example", &tencentcloud.TcaplusClusterArgs{
IdlType: pulumi.String("MIX"),
ClusterName: pulumi.String("tf_example"),
VpcId: pulumi.String("vpc-jll1dzwr"),
SubnetId: pulumi.String("subnet-ef14ogeu"),
Password: pulumi.String("Password@2026"),
OldPasswordExpireLast: pulumi.Float64(3600),
ClusterType: pulumi.Float64(1),
ResourceTags: tencentcloud.TcaplusClusterResourceTagArray{
&tencentcloud.TcaplusClusterResourceTagArgs{
TagKey: pulumi.String("createBy"),
TagValue: pulumi.String("Terraform"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.TcaplusCluster("example", new()
{
IdlType = "MIX",
ClusterName = "tf_example",
VpcId = "vpc-jll1dzwr",
SubnetId = "subnet-ef14ogeu",
Password = "Password@2026",
OldPasswordExpireLast = 3600,
ClusterType = 1,
ResourceTags = new[]
{
new Tencentcloud.Inputs.TcaplusClusterResourceTagArgs
{
TagKey = "createBy",
TagValue = "Terraform",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TcaplusCluster;
import com.pulumi.tencentcloud.TcaplusClusterArgs;
import com.pulumi.tencentcloud.inputs.TcaplusClusterResourceTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new TcaplusCluster("example", TcaplusClusterArgs.builder()
.idlType("MIX")
.clusterName("tf_example")
.vpcId("vpc-jll1dzwr")
.subnetId("subnet-ef14ogeu")
.password("Password@2026")
.oldPasswordExpireLast(3600.0)
.clusterType(1.0)
.resourceTags(TcaplusClusterResourceTagArgs.builder()
.tagKey("createBy")
.tagValue("Terraform")
.build())
.build());
}
}
resources:
example:
type: tencentcloud:TcaplusCluster
properties:
idlType: MIX
clusterName: tf_example
vpcId: vpc-jll1dzwr
subnetId: subnet-ef14ogeu
password: Password@2026
oldPasswordExpireLast: 3600
clusterType: 1
resourceTags:
- tagKey: createBy
tagValue: Terraform
Example coming soon!
Create a tcaplus cluster instance with cluster_type is 2
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.TcaplusCluster("example", {
idlType: "MIX",
clusterName: "tf_example",
vpcId: "vpc-qtzga3pm",
subnetId: "subnet-c063n9el",
password: "Password@2026",
oldPasswordExpireLast: 3600,
clusterType: 2,
serverLists: [{
machineType: "T1",
machineNum: 4,
}],
proxyLists: [{
machineType: "T1",
machineNum: 2,
}],
resourceTags: [{
tagKey: "createBy",
tagValue: "Terraform",
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.TcaplusCluster("example",
idl_type="MIX",
cluster_name="tf_example",
vpc_id="vpc-qtzga3pm",
subnet_id="subnet-c063n9el",
password="Password@2026",
old_password_expire_last=3600,
cluster_type=2,
server_lists=[{
"machine_type": "T1",
"machine_num": 4,
}],
proxy_lists=[{
"machine_type": "T1",
"machine_num": 2,
}],
resource_tags=[{
"tag_key": "createBy",
"tag_value": "Terraform",
}])
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 {
_, err := tencentcloud.NewTcaplusCluster(ctx, "example", &tencentcloud.TcaplusClusterArgs{
IdlType: pulumi.String("MIX"),
ClusterName: pulumi.String("tf_example"),
VpcId: pulumi.String("vpc-qtzga3pm"),
SubnetId: pulumi.String("subnet-c063n9el"),
Password: pulumi.String("Password@2026"),
OldPasswordExpireLast: pulumi.Float64(3600),
ClusterType: pulumi.Float64(2),
ServerLists: tencentcloud.TcaplusClusterServerListArray{
&tencentcloud.TcaplusClusterServerListArgs{
MachineType: pulumi.String("T1"),
MachineNum: pulumi.Float64(4),
},
},
ProxyLists: tencentcloud.TcaplusClusterProxyListArray{
&tencentcloud.TcaplusClusterProxyListArgs{
MachineType: pulumi.String("T1"),
MachineNum: pulumi.Float64(2),
},
},
ResourceTags: tencentcloud.TcaplusClusterResourceTagArray{
&tencentcloud.TcaplusClusterResourceTagArgs{
TagKey: pulumi.String("createBy"),
TagValue: pulumi.String("Terraform"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.TcaplusCluster("example", new()
{
IdlType = "MIX",
ClusterName = "tf_example",
VpcId = "vpc-qtzga3pm",
SubnetId = "subnet-c063n9el",
Password = "Password@2026",
OldPasswordExpireLast = 3600,
ClusterType = 2,
ServerLists = new[]
{
new Tencentcloud.Inputs.TcaplusClusterServerListArgs
{
MachineType = "T1",
MachineNum = 4,
},
},
ProxyLists = new[]
{
new Tencentcloud.Inputs.TcaplusClusterProxyListArgs
{
MachineType = "T1",
MachineNum = 2,
},
},
ResourceTags = new[]
{
new Tencentcloud.Inputs.TcaplusClusterResourceTagArgs
{
TagKey = "createBy",
TagValue = "Terraform",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TcaplusCluster;
import com.pulumi.tencentcloud.TcaplusClusterArgs;
import com.pulumi.tencentcloud.inputs.TcaplusClusterServerListArgs;
import com.pulumi.tencentcloud.inputs.TcaplusClusterProxyListArgs;
import com.pulumi.tencentcloud.inputs.TcaplusClusterResourceTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new TcaplusCluster("example", TcaplusClusterArgs.builder()
.idlType("MIX")
.clusterName("tf_example")
.vpcId("vpc-qtzga3pm")
.subnetId("subnet-c063n9el")
.password("Password@2026")
.oldPasswordExpireLast(3600.0)
.clusterType(2.0)
.serverLists(TcaplusClusterServerListArgs.builder()
.machineType("T1")
.machineNum(4.0)
.build())
.proxyLists(TcaplusClusterProxyListArgs.builder()
.machineType("T1")
.machineNum(2.0)
.build())
.resourceTags(TcaplusClusterResourceTagArgs.builder()
.tagKey("createBy")
.tagValue("Terraform")
.build())
.build());
}
}
resources:
example:
type: tencentcloud:TcaplusCluster
properties:
idlType: MIX
clusterName: tf_example
vpcId: vpc-qtzga3pm
subnetId: subnet-c063n9el
password: Password@2026
oldPasswordExpireLast: 3600
clusterType: 2
serverLists:
- machineType: T1
machineNum: 4
proxyLists:
- machineType: T1
machineNum: 2
resourceTags:
- tagKey: createBy
tagValue: Terraform
Example coming soon!
Create TcaplusCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TcaplusCluster(name: string, args: TcaplusClusterArgs, opts?: CustomResourceOptions);@overload
def TcaplusCluster(resource_name: str,
args: TcaplusClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TcaplusCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
idl_type: Optional[str] = None,
password: Optional[str] = None,
subnet_id: Optional[str] = None,
vpc_id: Optional[str] = None,
cluster_type: Optional[float] = None,
old_password_expire_last: Optional[float] = None,
proxy_lists: Optional[Sequence[TcaplusClusterProxyListArgs]] = None,
resource_tags: Optional[Sequence[TcaplusClusterResourceTagArgs]] = None,
server_lists: Optional[Sequence[TcaplusClusterServerListArgs]] = None,
tcaplus_cluster_id: Optional[str] = None)func NewTcaplusCluster(ctx *Context, name string, args TcaplusClusterArgs, opts ...ResourceOption) (*TcaplusCluster, error)public TcaplusCluster(string name, TcaplusClusterArgs args, CustomResourceOptions? opts = null)
public TcaplusCluster(String name, TcaplusClusterArgs args)
public TcaplusCluster(String name, TcaplusClusterArgs args, CustomResourceOptions options)
type: tencentcloud:TcaplusCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "tencentcloud_tcaplus_cluster" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TcaplusClusterArgs
- 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 TcaplusClusterArgs
- 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 TcaplusClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TcaplusClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TcaplusClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TcaplusCluster 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 TcaplusCluster resource accepts the following input properties:
- Cluster
Name string - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- Idl
Type string - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - Password string
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - Subnet
Id string - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - Vpc
Id string - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z. - Cluster
Type double - Cluster type:
1shared,2dedicated. - Old
Password doubleExpire Last - Expiration time of old password after password update, unit: second.
- Proxy
Lists List<TcaplusCluster Proxy List> - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. -
List<Tcaplus
Cluster Resource Tag> - Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- Server
Lists List<TcaplusCluster Server List> - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - Tcaplus
Cluster stringId - ID of the resource.
- Cluster
Name string - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- Idl
Type string - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - Password string
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - Subnet
Id string - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - Vpc
Id string - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z. - Cluster
Type float64 - Cluster type:
1shared,2dedicated. - Old
Password float64Expire Last - Expiration time of old password after password update, unit: second.
- Proxy
Lists []TcaplusCluster Proxy List Args - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. -
[]Tcaplus
Cluster Resource Tag Args - Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- Server
Lists []TcaplusCluster Server List Args - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - Tcaplus
Cluster stringId - ID of the resource.
- cluster_
name string - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- idl_
type string - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - password string
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - subnet_
id string - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - vpc_
id string - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z. - cluster_
type number - Cluster type:
1shared,2dedicated. - old_
password_ numberexpire_ last - Expiration time of old password after password update, unit: second.
- proxy_
lists list(object) - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - list(object)
- Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- server_
lists list(object) - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - tcaplus_
cluster_ stringid - ID of the resource.
- cluster
Name String - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- idl
Type String - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - password String
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - subnet
Id String - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - vpc
Id String - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z. - cluster
Type Double - Cluster type:
1shared,2dedicated. - old
Password DoubleExpire Last - Expiration time of old password after password update, unit: second.
- proxy
Lists List<TcaplusCluster Proxy List> - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. -
List<Tcaplus
Cluster Resource Tag> - Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- server
Lists List<TcaplusCluster Server List> - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - tcaplus
Cluster StringId - ID of the resource.
- cluster
Name string - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- idl
Type string - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - password string
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - subnet
Id string - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - vpc
Id string - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z. - cluster
Type number - Cluster type:
1shared,2dedicated. - old
Password numberExpire Last - Expiration time of old password after password update, unit: second.
- proxy
Lists TcaplusCluster Proxy List[] - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. -
Tcaplus
Cluster Resource Tag[] - Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- server
Lists TcaplusCluster Server List[] - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - tcaplus
Cluster stringId - ID of the resource.
- cluster_
name str - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- idl_
type str - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - password str
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - subnet_
id str - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - vpc_
id str - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z. - cluster_
type float - Cluster type:
1shared,2dedicated. - old_
password_ floatexpire_ last - Expiration time of old password after password update, unit: second.
- proxy_
lists Sequence[TcaplusCluster Proxy List Args] - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. -
Sequence[Tcaplus
Cluster Resource Tag Args] - Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- server_
lists Sequence[TcaplusCluster Server List Args] - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - tcaplus_
cluster_ strid - ID of the resource.
- cluster
Name String - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- idl
Type String - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - password String
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - subnet
Id String - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - vpc
Id String - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z. - cluster
Type Number - Cluster type:
1shared,2dedicated. - old
Password NumberExpire Last - Expiration time of old password after password update, unit: second.
- proxy
Lists List<Property Map> - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - List<Property Map>
- Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- server
Lists List<Property Map> - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - tcaplus
Cluster StringId - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TcaplusCluster resource produces the following output properties:
- Api
Access stringId - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Api
Access stringIp - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Api
Access doublePort - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Cluster
Id string - Cluster ID.
- Create
Time string - Create time of the TcaplusDB cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Type string - Network type of the TcaplusDB cluster.
- Old
Password stringExpire Time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - Password
Status string - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment.
- Api
Access stringId - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Api
Access stringIp - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Api
Access float64Port - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Cluster
Id string - Cluster ID.
- Create
Time string - Create time of the TcaplusDB cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Type string - Network type of the TcaplusDB cluster.
- Old
Password stringExpire Time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - Password
Status string - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment.
- api_
access_ stringid - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api_
access_ stringip - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api_
access_ numberport - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- cluster_
id string - Cluster ID.
- create_
time string - Create time of the TcaplusDB cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- network_
type string - Network type of the TcaplusDB cluster.
- old_
password_ stringexpire_ time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - password_
status string - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment.
- api
Access StringId - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access StringIp - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access DoublePort - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- cluster
Id String - Cluster ID.
- create
Time String - Create time of the TcaplusDB cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Type String - Network type of the TcaplusDB cluster.
- old
Password StringExpire Time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - password
Status String - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment.
- api
Access stringId - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access stringIp - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access numberPort - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- cluster
Id string - Cluster ID.
- create
Time string - Create time of the TcaplusDB cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- network
Type string - Network type of the TcaplusDB cluster.
- old
Password stringExpire Time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - password
Status string - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment.
- api_
access_ strid - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api_
access_ strip - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api_
access_ floatport - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- cluster_
id str - Cluster ID.
- create_
time str - Create time of the TcaplusDB cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- network_
type str - Network type of the TcaplusDB cluster.
- old_
password_ strexpire_ time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - password_
status str - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment.
- api
Access StringId - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access StringIp - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access NumberPort - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- cluster
Id String - Cluster ID.
- create
Time String - Create time of the TcaplusDB cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Type String - Network type of the TcaplusDB cluster.
- old
Password StringExpire Time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - password
Status String - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment.
Look up Existing TcaplusCluster Resource
Get an existing TcaplusCluster 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?: TcaplusClusterState, opts?: CustomResourceOptions): TcaplusCluster@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_access_id: Optional[str] = None,
api_access_ip: Optional[str] = None,
api_access_port: Optional[float] = None,
cluster_id: Optional[str] = None,
cluster_name: Optional[str] = None,
cluster_type: Optional[float] = None,
create_time: Optional[str] = None,
idl_type: Optional[str] = None,
network_type: Optional[str] = None,
old_password_expire_last: Optional[float] = None,
old_password_expire_time: Optional[str] = None,
password: Optional[str] = None,
password_status: Optional[str] = None,
proxy_lists: Optional[Sequence[TcaplusClusterProxyListArgs]] = None,
resource_tags: Optional[Sequence[TcaplusClusterResourceTagArgs]] = None,
server_lists: Optional[Sequence[TcaplusClusterServerListArgs]] = None,
subnet_id: Optional[str] = None,
tcaplus_cluster_id: Optional[str] = None,
vpc_id: Optional[str] = None) -> TcaplusClusterfunc GetTcaplusCluster(ctx *Context, name string, id IDInput, state *TcaplusClusterState, opts ...ResourceOption) (*TcaplusCluster, error)public static TcaplusCluster Get(string name, Input<string> id, TcaplusClusterState? state, CustomResourceOptions? opts = null)public static TcaplusCluster get(String name, Output<String> id, TcaplusClusterState state, CustomResourceOptions options)resources: _: type: tencentcloud:TcaplusCluster get: id: ${id}import {
to = tencentcloud_tcaplus_cluster.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.
- Api
Access stringId - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Api
Access stringIp - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Api
Access doublePort - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Cluster
Id string - Cluster ID.
- Cluster
Name string - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- Cluster
Type double - Cluster type:
1shared,2dedicated. - Create
Time string - Create time of the TcaplusDB cluster.
- Idl
Type string - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - Network
Type string - Network type of the TcaplusDB cluster.
- Old
Password doubleExpire Last - Expiration time of old password after password update, unit: second.
- Old
Password stringExpire Time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - Password string
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - Password
Status string - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment. - Proxy
Lists List<TcaplusCluster Proxy List> - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. -
List<Tcaplus
Cluster Resource Tag> - Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- Server
Lists List<TcaplusCluster Server List> - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - Subnet
Id string - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - Tcaplus
Cluster stringId - ID of the resource.
- Vpc
Id string - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z.
- Api
Access stringId - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Api
Access stringIp - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Api
Access float64Port - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- Cluster
Id string - Cluster ID.
- Cluster
Name string - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- Cluster
Type float64 - Cluster type:
1shared,2dedicated. - Create
Time string - Create time of the TcaplusDB cluster.
- Idl
Type string - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - Network
Type string - Network type of the TcaplusDB cluster.
- Old
Password float64Expire Last - Expiration time of old password after password update, unit: second.
- Old
Password stringExpire Time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - Password string
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - Password
Status string - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment. - Proxy
Lists []TcaplusCluster Proxy List Args - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. -
[]Tcaplus
Cluster Resource Tag Args - Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- Server
Lists []TcaplusCluster Server List Args - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - Subnet
Id string - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - Tcaplus
Cluster stringId - ID of the resource.
- Vpc
Id string - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z.
- api_
access_ stringid - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api_
access_ stringip - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api_
access_ numberport - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- cluster_
id string - Cluster ID.
- cluster_
name string - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- cluster_
type number - Cluster type:
1shared,2dedicated. - create_
time string - Create time of the TcaplusDB cluster.
- idl_
type string - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - network_
type string - Network type of the TcaplusDB cluster.
- old_
password_ numberexpire_ last - Expiration time of old password after password update, unit: second.
- old_
password_ stringexpire_ time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - password string
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - password_
status string - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment. - proxy_
lists list(object) - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - list(object)
- Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- server_
lists list(object) - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - subnet_
id string - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - tcaplus_
cluster_ stringid - ID of the resource.
- vpc_
id string - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z.
- api
Access StringId - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access StringIp - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access DoublePort - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- cluster
Id String - Cluster ID.
- cluster
Name String - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- cluster
Type Double - Cluster type:
1shared,2dedicated. - create
Time String - Create time of the TcaplusDB cluster.
- idl
Type String - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - network
Type String - Network type of the TcaplusDB cluster.
- old
Password DoubleExpire Last - Expiration time of old password after password update, unit: second.
- old
Password StringExpire Time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - password String
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - password
Status String - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment. - proxy
Lists List<TcaplusCluster Proxy List> - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. -
List<Tcaplus
Cluster Resource Tag> - Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- server
Lists List<TcaplusCluster Server List> - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - subnet
Id String - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - tcaplus
Cluster StringId - ID of the resource.
- vpc
Id String - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z.
- api
Access stringId - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access stringIp - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access numberPort - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- cluster
Id string - Cluster ID.
- cluster
Name string - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- cluster
Type number - Cluster type:
1shared,2dedicated. - create
Time string - Create time of the TcaplusDB cluster.
- idl
Type string - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - network
Type string - Network type of the TcaplusDB cluster.
- old
Password numberExpire Last - Expiration time of old password after password update, unit: second.
- old
Password stringExpire Time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - password string
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - password
Status string - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment. - proxy
Lists TcaplusCluster Proxy List[] - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. -
Tcaplus
Cluster Resource Tag[] - Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- server
Lists TcaplusCluster Server List[] - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - subnet
Id string - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - tcaplus
Cluster stringId - ID of the resource.
- vpc
Id string - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z.
- api_
access_ strid - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api_
access_ strip - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api_
access_ floatport - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- cluster_
id str - Cluster ID.
- cluster_
name str - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- cluster_
type float - Cluster type:
1shared,2dedicated. - create_
time str - Create time of the TcaplusDB cluster.
- idl_
type str - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - network_
type str - Network type of the TcaplusDB cluster.
- old_
password_ floatexpire_ last - Expiration time of old password after password update, unit: second.
- old_
password_ strexpire_ time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - password str
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - password_
status str - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment. - proxy_
lists Sequence[TcaplusCluster Proxy List Args] - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. -
Sequence[Tcaplus
Cluster Resource Tag Args] - Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- server_
lists Sequence[TcaplusCluster Server List Args] - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - subnet_
id str - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - tcaplus_
cluster_ strid - ID of the resource.
- vpc_
id str - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z.
- api
Access StringId - Access ID of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access StringIp - Access IP of the TcaplusDB cluster. For TcaplusDB SDK connect.
- api
Access NumberPort - Access port of the TcaplusDB cluster. For TcaplusDB SDK connect.
- cluster
Id String - Cluster ID.
- cluster
Name String - Cluster name, Chinese or English characters can be used, maximum length is 32 characters.
- cluster
Type Number - Cluster type:
1shared,2dedicated. - create
Time String - Create time of the TcaplusDB cluster.
- idl
Type String - Cluster data description language type, uniformly filled with
MIX, enumeration value:MIX: supports bothPROTOandTDRtables. - network
Type String - Network type of the TcaplusDB cluster.
- old
Password NumberExpire Last - Expiration time of old password after password update, unit: second.
- old
Password StringExpire Time - Expiration time of the old password. If
password_statusisunmodifiable, it means the old password has not yet expired. - password String
- Cluster access password, must be
a-zA-Z0-9characters, and must contain numbers, uppercase and lowercase letters. - password
Status String - Password status of the TcaplusDB cluster. Valid values:
unmodifiable,modifiable.unmodifiable. which means the password can not be changed in this moment;modifiable, which means the password can be changed in this moment. - proxy
Lists List<Property Map> - Dedicated cluster occupied proxy machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - List<Property Map>
- Cluster tag set. Note: this field cannot be modified after cluster creation via CreateCluster, but can be modified via ModifyClusterTags. Tags will be refreshed on Read via DescribeClusterTags.
- server
Lists List<Property Map> - Dedicated cluster occupied svr machines. Only valid when
cluster_typeis2(dedicated cluster). For creation, each element exposesmachine_typeandmachine_num. - subnet
Id String - The subnet instance ID bound to the cluster, such as:
subnet-pxir56ns. - tcaplus
Cluster StringId - ID of the resource.
- vpc
Id String - The private network instance ID bound to the cluster, such as:
vpc-f49l6u0z.
Supporting Types
TcaplusClusterProxyList, TcaplusClusterProxyListArgs
- Machine
Num double - Machine quantity.
- Machine
Type string - Machine type.
- Machine
Num float64 - Machine quantity.
- Machine
Type string - Machine type.
- machine_
num number - Machine quantity.
- machine_
type string - Machine type.
- machine
Num Double - Machine quantity.
- machine
Type String - Machine type.
- machine
Num number - Machine quantity.
- machine
Type string - Machine type.
- machine_
num float - Machine quantity.
- machine_
type str - Machine type.
- machine
Num Number - Machine quantity.
- machine
Type String - Machine type.
TcaplusClusterResourceTag, TcaplusClusterResourceTagArgs
TcaplusClusterServerList, TcaplusClusterServerListArgs
- Machine
Num double - Machine quantity.
- Machine
Type string - Machine type.
- Machine
Num float64 - Machine quantity.
- Machine
Type string - Machine type.
- machine_
num number - Machine quantity.
- machine_
type string - Machine type.
- machine
Num Double - Machine quantity.
- machine
Type String - Machine type.
- machine
Num number - Machine quantity.
- machine
Type string - Machine type.
- machine_
num float - Machine quantity.
- machine_
type str - Machine type.
- machine
Num Number - Machine quantity.
- machine
Type String - Machine type.
Import
TcaplusDB cluster can be imported using the id, e.g.
$ pulumi import tencentcloud:index/tcaplusCluster:TcaplusCluster example 35402666774
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 Monday, Sep 21, 2026 by tencentcloudstack