tencentcloud.TcaplusCluster
Explore with Pulumi AI
Use this resource to create 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 new tcaplus cluster instance
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const config = new pulumi.Config();
const availabilityZone = config.get("availabilityZone") || "ap-guangzhou-3";
const vpc = tencentcloud.getVpcSubnets({
isDefault: true,
availabilityZone: availabilityZone,
});
const vpcId = vpc.then(vpc => vpc.instanceLists?.[0]?.vpcId);
const subnetId = vpc.then(vpc => vpc.instanceLists?.[0]?.subnetId);
const example = new tencentcloud.TcaplusCluster("example", {
idlType: "PROTO",
clusterName: "tf_example_tcaplus_cluster",
vpcId: vpcId,
subnetId: subnetId,
password: "your_pw_123111",
oldPasswordExpireLast: 3600,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
config = pulumi.Config()
availability_zone = config.get("availabilityZone")
if availability_zone is None:
availability_zone = "ap-guangzhou-3"
vpc = tencentcloud.get_vpc_subnets(is_default=True,
availability_zone=availability_zone)
vpc_id = vpc.instance_lists[0].vpc_id
subnet_id = vpc.instance_lists[0].subnet_id
example = tencentcloud.TcaplusCluster("example",
idl_type="PROTO",
cluster_name="tf_example_tcaplus_cluster",
vpc_id=vpc_id,
subnet_id=subnet_id,
password="your_pw_123111",
old_password_expire_last=3600)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
availabilityZone := "ap-guangzhou-3"
if param := cfg.Get("availabilityZone"); param != "" {
availabilityZone = param
}
vpc, err := tencentcloud.GetVpcSubnets(ctx, &tencentcloud.GetVpcSubnetsArgs{
IsDefault: pulumi.BoolRef(true),
AvailabilityZone: pulumi.StringRef(availabilityZone),
}, nil)
if err != nil {
return err
}
vpcId := vpc.InstanceLists[0].VpcId
subnetId := vpc.InstanceLists[0].SubnetId
_, err = tencentcloud.NewTcaplusCluster(ctx, "example", &tencentcloud.TcaplusClusterArgs{
IdlType: pulumi.String("PROTO"),
ClusterName: pulumi.String("tf_example_tcaplus_cluster"),
VpcId: pulumi.String(vpcId),
SubnetId: pulumi.String(subnetId),
Password: pulumi.String("your_pw_123111"),
OldPasswordExpireLast: pulumi.Float64(3600),
})
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 config = new Config();
var availabilityZone = config.Get("availabilityZone") ?? "ap-guangzhou-3";
var vpc = Tencentcloud.GetVpcSubnets.Invoke(new()
{
IsDefault = true,
AvailabilityZone = availabilityZone,
});
var vpcId = vpc.Apply(getVpcSubnetsResult => getVpcSubnetsResult.InstanceLists[0]?.VpcId);
var subnetId = vpc.Apply(getVpcSubnetsResult => getVpcSubnetsResult.InstanceLists[0]?.SubnetId);
var example = new Tencentcloud.TcaplusCluster("example", new()
{
IdlType = "PROTO",
ClusterName = "tf_example_tcaplus_cluster",
VpcId = vpcId,
SubnetId = subnetId,
Password = "your_pw_123111",
OldPasswordExpireLast = 3600,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetVpcSubnetsArgs;
import com.pulumi.tencentcloud.TcaplusCluster;
import com.pulumi.tencentcloud.TcaplusClusterArgs;
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) {
final var config = ctx.config();
final var availabilityZone = config.get("availabilityZone").orElse("ap-guangzhou-3");
final var vpc = TencentcloudFunctions.getVpcSubnets(GetVpcSubnetsArgs.builder()
.isDefault(true)
.availabilityZone(availabilityZone)
.build());
final var vpcId = vpc.applyValue(getVpcSubnetsResult -> getVpcSubnetsResult.instanceLists()[0].vpcId());
final var subnetId = vpc.applyValue(getVpcSubnetsResult -> getVpcSubnetsResult.instanceLists()[0].subnetId());
var example = new TcaplusCluster("example", TcaplusClusterArgs.builder()
.idlType("PROTO")
.clusterName("tf_example_tcaplus_cluster")
.vpcId(vpcId)
.subnetId(subnetId)
.password("your_pw_123111")
.oldPasswordExpireLast(3600)
.build());
}
}
configuration:
availabilityZone:
type: string
default: ap-guangzhou-3
resources:
example:
type: tencentcloud:TcaplusCluster
properties:
idlType: PROTO
clusterName: tf_example_tcaplus_cluster
vpcId: ${vpcId}
subnetId: ${subnetId}
password: your_pw_123111
oldPasswordExpireLast: 3600
variables:
vpcId: ${vpc.instanceLists[0].vpcId}
subnetId: ${vpc.instanceLists[0].subnetId}
vpc:
fn::invoke:
function: tencentcloud:getVpcSubnets
arguments:
isDefault: true
availabilityZone: ${availabilityZone}
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,
old_password_expire_last: Optional[float] = 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.
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 - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- Idl
Type string - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - Password string
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- Subnet
Id string - Subnet id of the TcaplusDB cluster.
- Vpc
Id string - VPC id of the TcaplusDB cluster.
- Old
Password doubleExpire Last - Expiration time of old password after password update, unit: second.
- Tcaplus
Cluster stringId - ID of the resource.
- Cluster
Name string - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- Idl
Type string - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - Password string
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- Subnet
Id string - Subnet id of the TcaplusDB cluster.
- Vpc
Id string - VPC id of the TcaplusDB cluster.
- Old
Password float64Expire Last - Expiration time of old password after password update, unit: second.
- Tcaplus
Cluster stringId - ID of the resource.
- cluster
Name String - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- idl
Type String - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - password String
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- subnet
Id String - Subnet id of the TcaplusDB cluster.
- vpc
Id String - VPC id of the TcaplusDB cluster.
- old
Password DoubleExpire Last - Expiration time of old password after password update, unit: second.
- tcaplus
Cluster StringId - ID of the resource.
- cluster
Name string - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- idl
Type string - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - password string
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- subnet
Id string - Subnet id of the TcaplusDB cluster.
- vpc
Id string - VPC id of the TcaplusDB cluster.
- old
Password numberExpire Last - Expiration time of old password after password update, unit: second.
- tcaplus
Cluster stringId - ID of the resource.
- cluster_
name str - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- idl_
type str - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - password str
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- subnet_
id str - Subnet id of the TcaplusDB cluster.
- vpc_
id str - VPC id of the TcaplusDB cluster.
- old_
password_ floatexpire_ last - Expiration time of old password after password update, unit: second.
- tcaplus_
cluster_ strid - ID of the resource.
- cluster
Name String - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- idl
Type String - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - password String
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- subnet
Id String - Subnet id of the TcaplusDB cluster.
- vpc
Id String - VPC id of the TcaplusDB cluster.
- old
Password NumberExpire Last - Expiration time of old password after password update, unit: second.
- 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.
- 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_status
isunmodifiable
, 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.
- 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_status
isunmodifiable
, 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.
- 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_status
isunmodifiable
, 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.
- 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_status
isunmodifiable
, 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.
- 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_status
isunmodifiable
, 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.
- 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_status
isunmodifiable
, 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_name: Optional[str] = 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,
subnet_id: Optional[str] = None,
tcaplus_cluster_id: Optional[str] = None,
vpc_id: Optional[str] = None) -> TcaplusCluster
func 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}
- 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
Name string - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- Create
Time string - Create time of the TcaplusDB cluster.
- Idl
Type string - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - 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_status
isunmodifiable
, it means the old password has not yet expired. - Password string
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- 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. - Subnet
Id string - Subnet id of the TcaplusDB cluster.
- Tcaplus
Cluster stringId - ID of the resource.
- Vpc
Id string - VPC id of the TcaplusDB cluster.
- 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
Name string - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- Create
Time string - Create time of the TcaplusDB cluster.
- Idl
Type string - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - 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_status
isunmodifiable
, it means the old password has not yet expired. - Password string
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- 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. - Subnet
Id string - Subnet id of the TcaplusDB cluster.
- Tcaplus
Cluster stringId - ID of the resource.
- Vpc
Id string - VPC id of the TcaplusDB cluster.
- 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
Name String - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- create
Time String - Create time of the TcaplusDB cluster.
- idl
Type String - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - 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_status
isunmodifiable
, it means the old password has not yet expired. - password String
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- 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. - subnet
Id String - Subnet id of the TcaplusDB cluster.
- tcaplus
Cluster StringId - ID of the resource.
- vpc
Id String - VPC id of the TcaplusDB cluster.
- 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
Name string - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- create
Time string - Create time of the TcaplusDB cluster.
- idl
Type string - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - 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_status
isunmodifiable
, it means the old password has not yet expired. - password string
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- 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. - subnet
Id string - Subnet id of the TcaplusDB cluster.
- tcaplus
Cluster stringId - ID of the resource.
- vpc
Id string - VPC id of the TcaplusDB cluster.
- 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_
name str - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- create_
time str - Create time of the TcaplusDB cluster.
- idl_
type str - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - 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_status
isunmodifiable
, it means the old password has not yet expired. - password str
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- 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. - subnet_
id str - Subnet id of the TcaplusDB cluster.
- tcaplus_
cluster_ strid - ID of the resource.
- vpc_
id str - VPC id of the TcaplusDB cluster.
- 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
Name String - Name of the TcaplusDB cluster. Name length should be between 1 and 30.
- create
Time String - Create time of the TcaplusDB cluster.
- idl
Type String - IDL type of the TcaplusDB cluster. Valid values:
PROTO
andTDR
. - 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_status
isunmodifiable
, it means the old password has not yet expired. - password String
- Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a mix of uppercase letters (A-Z), lowercase letters (a-z) and numbers (0-9).
- 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. - subnet
Id String - Subnet id of the TcaplusDB cluster.
- tcaplus
Cluster StringId - ID of the resource.
- vpc
Id String - VPC id of the TcaplusDB cluster.
Import
tcaplus cluster can be imported using the id, e.g.
$ pulumi import tencentcloud:index/tcaplusCluster:TcaplusCluster example cluster_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.