1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. CynosdbClusterV2
Viewing docs for tencentcloud 1.83.15
published on Friday, Jul 24, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.15
published on Friday, Jul 24, 2026 by tencentcloudstack

    Provide a resource to create a CynosDB cluster.

    NOTE: Compared to Resource tencentcloud.CynosdbCluster, Resource tencentcloud.CynosdbClusterV2 places greater emphasis on optimizing security group configurations for read-only groups and read-only instances, making them more precise and efficient. rw_group_sg represents the read-write instance security group, ro_group_sg represents the read-only group security group, and single_ro_group_sg represents the read-only instance security group. notably, to configure ro_group_sg, ``open_ro_groupmust be settruefirst. If you need to configurero_group_sgorsingle_ro_group_sgsecurity group, please use Resourcetencentcloud.CynosdbClusterV2`.

    NOTE: params instance_count and instance_init_infos only choose one. If neither parameter is set, the CynosDB cluster is created with parameter instance_count set to 2 by default(one RW instance + one Ro instance). If you only need to create a master instance, explicitly set the instance_count field to 1, or configure the RW instance information in the instance_init_infos field.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.CynosdbClusterV2("example", {
        availableZone: "ap-guangzhou-6",
        vpcId: "vpc-i5yyodl9",
        subnetId: "subnet-hhi88a58",
        dbMode: "NORMAL",
        dbType: "MYSQL",
        dbVersion: "5.7",
        port: 3306,
        clusterName: "tf-example",
        password: "cynosDB@123",
        instanceMaintainDuration: 7200,
        instanceMaintainStartTime: 10800,
        instanceCpuCore: 2,
        instanceMemorySize: 4,
        openRoGroup: true,
        forceDelete: true,
        instanceMaintainWeekdays: [
            "Fri",
            "Mon",
            "Sat",
            "Sun",
            "Thu",
            "Wed",
            "Tue",
        ],
        rwGroupSgs: [
            "sg-7pnojfur",
            "sg-37tigqat",
        ],
        roGroupSgs: [
            "sg-7pnojfur",
            "sg-37tigqat",
            "sg-08cqf7d5",
        ],
        singleRoGroupSgs: [
            "sg-7pnojfur",
            "sg-37tigqat",
            "sg-08cqf7d5",
            "sg-l1txcqtj",
        ],
        paramItems: [
            {
                name: "character_set_server",
                currentValue: "utf8mb4",
            },
            {
                name: "lower_case_table_names",
                currentValue: "0",
            },
        ],
        tags: {
            createBy: "terraform",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.CynosdbClusterV2("example",
        available_zone="ap-guangzhou-6",
        vpc_id="vpc-i5yyodl9",
        subnet_id="subnet-hhi88a58",
        db_mode="NORMAL",
        db_type="MYSQL",
        db_version="5.7",
        port=3306,
        cluster_name="tf-example",
        password="cynosDB@123",
        instance_maintain_duration=7200,
        instance_maintain_start_time=10800,
        instance_cpu_core=2,
        instance_memory_size=4,
        open_ro_group=True,
        force_delete=True,
        instance_maintain_weekdays=[
            "Fri",
            "Mon",
            "Sat",
            "Sun",
            "Thu",
            "Wed",
            "Tue",
        ],
        rw_group_sgs=[
            "sg-7pnojfur",
            "sg-37tigqat",
        ],
        ro_group_sgs=[
            "sg-7pnojfur",
            "sg-37tigqat",
            "sg-08cqf7d5",
        ],
        single_ro_group_sgs=[
            "sg-7pnojfur",
            "sg-37tigqat",
            "sg-08cqf7d5",
            "sg-l1txcqtj",
        ],
        param_items=[
            {
                "name": "character_set_server",
                "current_value": "utf8mb4",
            },
            {
                "name": "lower_case_table_names",
                "current_value": "0",
            },
        ],
        tags={
            "createBy": "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.NewCynosdbClusterV2(ctx, "example", &tencentcloud.CynosdbClusterV2Args{
    			AvailableZone:             pulumi.String("ap-guangzhou-6"),
    			VpcId:                     pulumi.String("vpc-i5yyodl9"),
    			SubnetId:                  pulumi.String("subnet-hhi88a58"),
    			DbMode:                    pulumi.String("NORMAL"),
    			DbType:                    pulumi.String("MYSQL"),
    			DbVersion:                 pulumi.String("5.7"),
    			Port:                      pulumi.Float64(3306),
    			ClusterName:               pulumi.String("tf-example"),
    			Password:                  pulumi.String("cynosDB@123"),
    			InstanceMaintainDuration:  pulumi.Float64(7200),
    			InstanceMaintainStartTime: pulumi.Float64(10800),
    			InstanceCpuCore:           pulumi.Float64(2),
    			InstanceMemorySize:        pulumi.Float64(4),
    			OpenRoGroup:               pulumi.Bool(true),
    			ForceDelete:               pulumi.Bool(true),
    			InstanceMaintainWeekdays: pulumi.StringArray{
    				pulumi.String("Fri"),
    				pulumi.String("Mon"),
    				pulumi.String("Sat"),
    				pulumi.String("Sun"),
    				pulumi.String("Thu"),
    				pulumi.String("Wed"),
    				pulumi.String("Tue"),
    			},
    			RwGroupSgs: pulumi.StringArray{
    				pulumi.String("sg-7pnojfur"),
    				pulumi.String("sg-37tigqat"),
    			},
    			RoGroupSgs: pulumi.StringArray{
    				pulumi.String("sg-7pnojfur"),
    				pulumi.String("sg-37tigqat"),
    				pulumi.String("sg-08cqf7d5"),
    			},
    			SingleRoGroupSgs: pulumi.StringArray{
    				pulumi.String("sg-7pnojfur"),
    				pulumi.String("sg-37tigqat"),
    				pulumi.String("sg-08cqf7d5"),
    				pulumi.String("sg-l1txcqtj"),
    			},
    			ParamItems: tencentcloud.CynosdbClusterV2ParamItemArray{
    				&tencentcloud.CynosdbClusterV2ParamItemArgs{
    					Name:         pulumi.String("character_set_server"),
    					CurrentValue: pulumi.String("utf8mb4"),
    				},
    				&tencentcloud.CynosdbClusterV2ParamItemArgs{
    					Name:         pulumi.String("lower_case_table_names"),
    					CurrentValue: pulumi.String("0"),
    				},
    			},
    			Tags: pulumi.StringMap{
    				"createBy": 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.CynosdbClusterV2("example", new()
        {
            AvailableZone = "ap-guangzhou-6",
            VpcId = "vpc-i5yyodl9",
            SubnetId = "subnet-hhi88a58",
            DbMode = "NORMAL",
            DbType = "MYSQL",
            DbVersion = "5.7",
            Port = 3306,
            ClusterName = "tf-example",
            Password = "cynosDB@123",
            InstanceMaintainDuration = 7200,
            InstanceMaintainStartTime = 10800,
            InstanceCpuCore = 2,
            InstanceMemorySize = 4,
            OpenRoGroup = true,
            ForceDelete = true,
            InstanceMaintainWeekdays = new[]
            {
                "Fri",
                "Mon",
                "Sat",
                "Sun",
                "Thu",
                "Wed",
                "Tue",
            },
            RwGroupSgs = new[]
            {
                "sg-7pnojfur",
                "sg-37tigqat",
            },
            RoGroupSgs = new[]
            {
                "sg-7pnojfur",
                "sg-37tigqat",
                "sg-08cqf7d5",
            },
            SingleRoGroupSgs = new[]
            {
                "sg-7pnojfur",
                "sg-37tigqat",
                "sg-08cqf7d5",
                "sg-l1txcqtj",
            },
            ParamItems = new[]
            {
                new Tencentcloud.Inputs.CynosdbClusterV2ParamItemArgs
                {
                    Name = "character_set_server",
                    CurrentValue = "utf8mb4",
                },
                new Tencentcloud.Inputs.CynosdbClusterV2ParamItemArgs
                {
                    Name = "lower_case_table_names",
                    CurrentValue = "0",
                },
            },
            Tags = 
            {
                { "createBy", "terraform" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CynosdbClusterV2;
    import com.pulumi.tencentcloud.CynosdbClusterV2Args;
    import com.pulumi.tencentcloud.inputs.CynosdbClusterV2ParamItemArgs;
    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 CynosdbClusterV2("example", CynosdbClusterV2Args.builder()
                .availableZone("ap-guangzhou-6")
                .vpcId("vpc-i5yyodl9")
                .subnetId("subnet-hhi88a58")
                .dbMode("NORMAL")
                .dbType("MYSQL")
                .dbVersion("5.7")
                .port(3306.0)
                .clusterName("tf-example")
                .password("cynosDB@123")
                .instanceMaintainDuration(7200.0)
                .instanceMaintainStartTime(10800.0)
                .instanceCpuCore(2.0)
                .instanceMemorySize(4.0)
                .openRoGroup(true)
                .forceDelete(true)
                .instanceMaintainWeekdays(            
                    "Fri",
                    "Mon",
                    "Sat",
                    "Sun",
                    "Thu",
                    "Wed",
                    "Tue")
                .rwGroupSgs(            
                    "sg-7pnojfur",
                    "sg-37tigqat")
                .roGroupSgs(            
                    "sg-7pnojfur",
                    "sg-37tigqat",
                    "sg-08cqf7d5")
                .singleRoGroupSgs(            
                    "sg-7pnojfur",
                    "sg-37tigqat",
                    "sg-08cqf7d5",
                    "sg-l1txcqtj")
                .paramItems(            
                    CynosdbClusterV2ParamItemArgs.builder()
                        .name("character_set_server")
                        .currentValue("utf8mb4")
                        .build(),
                    CynosdbClusterV2ParamItemArgs.builder()
                        .name("lower_case_table_names")
                        .currentValue("0")
                        .build())
                .tags(Map.of("createBy", "terraform"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:CynosdbClusterV2
        properties:
          availableZone: ap-guangzhou-6
          vpcId: vpc-i5yyodl9
          subnetId: subnet-hhi88a58
          dbMode: NORMAL
          dbType: MYSQL
          dbVersion: '5.7'
          port: 3306
          clusterName: tf-example
          password: cynosDB@123
          instanceMaintainDuration: 7200
          instanceMaintainStartTime: 10800
          instanceCpuCore: 2
          instanceMemorySize: 4
          openRoGroup: true
          forceDelete: true
          instanceMaintainWeekdays:
            - Fri
            - Mon
            - Sat
            - Sun
            - Thu
            - Wed
            - Tue
          rwGroupSgs:
            - sg-7pnojfur
            - sg-37tigqat
          roGroupSgs:
            - sg-7pnojfur
            - sg-37tigqat
            - sg-08cqf7d5
          singleRoGroupSgs:
            - sg-7pnojfur
            - sg-37tigqat
            - sg-08cqf7d5
            - sg-l1txcqtj
          paramItems:
            - name: character_set_server
              currentValue: utf8mb4
            - name: lower_case_table_names
              currentValue: '0'
          tags:
            createBy: terraform
    
    Example coming soon!
    

    Create CynosdbClusterV2 Resource

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

    Constructor syntax

    new CynosdbClusterV2(name: string, args: CynosdbClusterV2Args, opts?: CustomResourceOptions);
    @overload
    def CynosdbClusterV2(resource_name: str,
                         args: CynosdbClusterV2Args,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def CynosdbClusterV2(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         db_type: Optional[str] = None,
                         vpc_id: Optional[str] = None,
                         subnet_id: Optional[str] = None,
                         available_zone: Optional[str] = None,
                         password: Optional[str] = None,
                         cluster_name: Optional[str] = None,
                         db_version: Optional[str] = None,
                         max_cpu: Optional[float] = None,
                         param_items: Optional[Sequence[CynosdbClusterV2ParamItemArgs]] = None,
                         cynosdb_cluster_v2_id: Optional[str] = None,
                         cynos_version: Optional[str] = None,
                         force_delete: Optional[bool] = None,
                         instance_count: Optional[float] = None,
                         instance_cpu_core: Optional[float] = None,
                         instance_init_infos: Optional[Sequence[CynosdbClusterV2InstanceInitInfoArgs]] = None,
                         instance_maintain_duration: Optional[float] = None,
                         instance_maintain_start_time: Optional[float] = None,
                         instance_maintain_weekdays: Optional[Sequence[str]] = None,
                         instance_memory_size: Optional[float] = None,
                         instance_name: Optional[str] = None,
                         auto_pause: Optional[str] = None,
                         min_cpu: Optional[float] = None,
                         old_ip_reserve_hours: Optional[float] = None,
                         open_ro_group: Optional[bool] = None,
                         db_mode: Optional[str] = None,
                         param_template_id: Optional[float] = None,
                         charge_type: Optional[str] = None,
                         port: Optional[float] = None,
                         prarm_template_id: Optional[float] = None,
                         prepaid_period: Optional[float] = None,
                         project_id: Optional[float] = None,
                         ro_group_sgs: Optional[Sequence[str]] = None,
                         rw_group_sgs: Optional[Sequence[str]] = None,
                         serverless_status_flag: Optional[str] = None,
                         single_ro_group_sgs: Optional[Sequence[str]] = None,
                         slave_zone: Optional[str] = None,
                         storage_limit: Optional[float] = None,
                         storage_pay_mode: Optional[float] = None,
                         auto_renew_flag: Optional[float] = None,
                         tags: Optional[Mapping[str, str]] = None,
                         auto_pause_delay: Optional[float] = None)
    func NewCynosdbClusterV2(ctx *Context, name string, args CynosdbClusterV2Args, opts ...ResourceOption) (*CynosdbClusterV2, error)
    public CynosdbClusterV2(string name, CynosdbClusterV2Args args, CustomResourceOptions? opts = null)
    public CynosdbClusterV2(String name, CynosdbClusterV2Args args)
    public CynosdbClusterV2(String name, CynosdbClusterV2Args args, CustomResourceOptions options)
    
    type: tencentcloud:CynosdbClusterV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_cynosdb_cluster_v2" "name" {
        # resource properties
    }

    Parameters

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

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

    AvailableZone string
    The available zone of the CynosDB Cluster.
    ClusterName string
    Name of CynosDB cluster.
    DbType string
    Type of CynosDB, and available values include MYSQL.
    DbVersion string
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    Password string
    Password of root account.
    SubnetId string
    ID of the subnet within this VPC.
    VpcId string
    ID of the VPC.
    AutoPause string
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    AutoPauseDelay double
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    AutoRenewFlag double
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    ChargeType string
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    CynosVersion string
    Kernel minor version, like 3.1.16.002.
    CynosdbClusterV2Id string
    ID of the resource.
    DbMode string
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    ForceDelete bool
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    InstanceCount double
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    InstanceCpuCore double
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    InstanceInitInfos List<CynosdbClusterV2InstanceInitInfo>
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    InstanceMaintainDuration double
    Duration time for maintenance, unit in second. 3600 by default.
    InstanceMaintainStartTime double
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    InstanceMaintainWeekdays List<string>
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    InstanceMemorySize double
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    InstanceName string
    Name of instance. Only supported when modifying.
    MaxCpu double
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    MinCpu double
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    OldIpReserveHours double
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    OpenRoGroup bool
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    ParamItems List<CynosdbClusterV2ParamItem>
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    ParamTemplateId double
    The ID of the parameter template.
    Port double
    Port of CynosDB cluster.
    PrarmTemplateId double
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    PrepaidPeriod double
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    ProjectId double
    ID of the project. 0 by default.
    RoGroupSgs List<string>
    IDs of security group for ro_group. Only work for open_ro_group is true.
    RwGroupSgs List<string>
    IDs of security group for rw_group.
    ServerlessStatusFlag string
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    SingleRoGroupSgs List<string>
    IDs of security group for single_ro_group.
    SlaveZone string
    Multi zone Addresses of the CynosDB Cluster.
    StorageLimit double
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    StoragePayMode double
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    Tags Dictionary<string, string>
    The tags of the CynosDB cluster.
    AvailableZone string
    The available zone of the CynosDB Cluster.
    ClusterName string
    Name of CynosDB cluster.
    DbType string
    Type of CynosDB, and available values include MYSQL.
    DbVersion string
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    Password string
    Password of root account.
    SubnetId string
    ID of the subnet within this VPC.
    VpcId string
    ID of the VPC.
    AutoPause string
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    AutoPauseDelay float64
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    AutoRenewFlag float64
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    ChargeType string
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    CynosVersion string
    Kernel minor version, like 3.1.16.002.
    CynosdbClusterV2Id string
    ID of the resource.
    DbMode string
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    ForceDelete bool
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    InstanceCount float64
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    InstanceCpuCore float64
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    InstanceInitInfos []CynosdbClusterV2InstanceInitInfoArgs
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    InstanceMaintainDuration float64
    Duration time for maintenance, unit in second. 3600 by default.
    InstanceMaintainStartTime float64
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    InstanceMaintainWeekdays []string
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    InstanceMemorySize float64
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    InstanceName string
    Name of instance. Only supported when modifying.
    MaxCpu float64
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    MinCpu float64
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    OldIpReserveHours float64
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    OpenRoGroup bool
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    ParamItems []CynosdbClusterV2ParamItemArgs
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    ParamTemplateId float64
    The ID of the parameter template.
    Port float64
    Port of CynosDB cluster.
    PrarmTemplateId float64
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    PrepaidPeriod float64
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    ProjectId float64
    ID of the project. 0 by default.
    RoGroupSgs []string
    IDs of security group for ro_group. Only work for open_ro_group is true.
    RwGroupSgs []string
    IDs of security group for rw_group.
    ServerlessStatusFlag string
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    SingleRoGroupSgs []string
    IDs of security group for single_ro_group.
    SlaveZone string
    Multi zone Addresses of the CynosDB Cluster.
    StorageLimit float64
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    StoragePayMode float64
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    Tags map[string]string
    The tags of the CynosDB cluster.
    available_zone string
    The available zone of the CynosDB Cluster.
    cluster_name string
    Name of CynosDB cluster.
    db_type string
    Type of CynosDB, and available values include MYSQL.
    db_version string
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    password string
    Password of root account.
    subnet_id string
    ID of the subnet within this VPC.
    vpc_id string
    ID of the VPC.
    auto_pause string
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    auto_pause_delay number
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    auto_renew_flag number
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    charge_type string
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    cynos_version string
    Kernel minor version, like 3.1.16.002.
    cynosdb_cluster_v2_id string
    ID of the resource.
    db_mode string
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    force_delete bool
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    instance_count number
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    instance_cpu_core number
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instance_init_infos list(object)
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    instance_maintain_duration number
    Duration time for maintenance, unit in second. 3600 by default.
    instance_maintain_start_time number
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    instance_maintain_weekdays list(string)
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    instance_memory_size number
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instance_name string
    Name of instance. Only supported when modifying.
    max_cpu number
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    min_cpu number
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    old_ip_reserve_hours number
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    open_ro_group bool
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    param_items list(object)
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    param_template_id number
    The ID of the parameter template.
    port number
    Port of CynosDB cluster.
    prarm_template_id number
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    prepaid_period number
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    project_id number
    ID of the project. 0 by default.
    ro_group_sgs list(string)
    IDs of security group for ro_group. Only work for open_ro_group is true.
    rw_group_sgs list(string)
    IDs of security group for rw_group.
    serverless_status_flag string
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    single_ro_group_sgs list(string)
    IDs of security group for single_ro_group.
    slave_zone string
    Multi zone Addresses of the CynosDB Cluster.
    storage_limit number
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    storage_pay_mode number
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    tags map(string)
    The tags of the CynosDB cluster.
    availableZone String
    The available zone of the CynosDB Cluster.
    clusterName String
    Name of CynosDB cluster.
    dbType String
    Type of CynosDB, and available values include MYSQL.
    dbVersion String
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    password String
    Password of root account.
    subnetId String
    ID of the subnet within this VPC.
    vpcId String
    ID of the VPC.
    autoPause String
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    autoPauseDelay Double
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    autoRenewFlag Double
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    chargeType String
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    cynosVersion String
    Kernel minor version, like 3.1.16.002.
    cynosdbClusterV2Id String
    ID of the resource.
    dbMode String
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    forceDelete Boolean
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    instanceCount Double
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    instanceCpuCore Double
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceInitInfos List<CynosdbClusterV2InstanceInitInfo>
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    instanceMaintainDuration Double
    Duration time for maintenance, unit in second. 3600 by default.
    instanceMaintainStartTime Double
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    instanceMaintainWeekdays List<String>
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    instanceMemorySize Double
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceName String
    Name of instance. Only supported when modifying.
    maxCpu Double
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    minCpu Double
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    oldIpReserveHours Double
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    openRoGroup Boolean
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    paramItems List<CynosdbClusterV2ParamItem>
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    paramTemplateId Double
    The ID of the parameter template.
    port Double
    Port of CynosDB cluster.
    prarmTemplateId Double
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    prepaidPeriod Double
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    projectId Double
    ID of the project. 0 by default.
    roGroupSgs List<String>
    IDs of security group for ro_group. Only work for open_ro_group is true.
    rwGroupSgs List<String>
    IDs of security group for rw_group.
    serverlessStatusFlag String
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    singleRoGroupSgs List<String>
    IDs of security group for single_ro_group.
    slaveZone String
    Multi zone Addresses of the CynosDB Cluster.
    storageLimit Double
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    storagePayMode Double
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    tags Map<String,String>
    The tags of the CynosDB cluster.
    availableZone string
    The available zone of the CynosDB Cluster.
    clusterName string
    Name of CynosDB cluster.
    dbType string
    Type of CynosDB, and available values include MYSQL.
    dbVersion string
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    password string
    Password of root account.
    subnetId string
    ID of the subnet within this VPC.
    vpcId string
    ID of the VPC.
    autoPause string
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    autoPauseDelay number
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    autoRenewFlag number
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    chargeType string
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    cynosVersion string
    Kernel minor version, like 3.1.16.002.
    cynosdbClusterV2Id string
    ID of the resource.
    dbMode string
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    forceDelete boolean
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    instanceCount number
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    instanceCpuCore number
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceInitInfos CynosdbClusterV2InstanceInitInfo[]
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    instanceMaintainDuration number
    Duration time for maintenance, unit in second. 3600 by default.
    instanceMaintainStartTime number
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    instanceMaintainWeekdays string[]
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    instanceMemorySize number
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceName string
    Name of instance. Only supported when modifying.
    maxCpu number
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    minCpu number
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    oldIpReserveHours number
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    openRoGroup boolean
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    paramItems CynosdbClusterV2ParamItem[]
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    paramTemplateId number
    The ID of the parameter template.
    port number
    Port of CynosDB cluster.
    prarmTemplateId number
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    prepaidPeriod number
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    projectId number
    ID of the project. 0 by default.
    roGroupSgs string[]
    IDs of security group for ro_group. Only work for open_ro_group is true.
    rwGroupSgs string[]
    IDs of security group for rw_group.
    serverlessStatusFlag string
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    singleRoGroupSgs string[]
    IDs of security group for single_ro_group.
    slaveZone string
    Multi zone Addresses of the CynosDB Cluster.
    storageLimit number
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    storagePayMode number
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    tags {[key: string]: string}
    The tags of the CynosDB cluster.
    available_zone str
    The available zone of the CynosDB Cluster.
    cluster_name str
    Name of CynosDB cluster.
    db_type str
    Type of CynosDB, and available values include MYSQL.
    db_version str
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    password str
    Password of root account.
    subnet_id str
    ID of the subnet within this VPC.
    vpc_id str
    ID of the VPC.
    auto_pause str
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    auto_pause_delay float
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    auto_renew_flag float
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    charge_type str
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    cynos_version str
    Kernel minor version, like 3.1.16.002.
    cynosdb_cluster_v2_id str
    ID of the resource.
    db_mode str
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    force_delete bool
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    instance_count float
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    instance_cpu_core float
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instance_init_infos Sequence[CynosdbClusterV2InstanceInitInfoArgs]
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    instance_maintain_duration float
    Duration time for maintenance, unit in second. 3600 by default.
    instance_maintain_start_time float
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    instance_maintain_weekdays Sequence[str]
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    instance_memory_size float
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instance_name str
    Name of instance. Only supported when modifying.
    max_cpu float
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    min_cpu float
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    old_ip_reserve_hours float
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    open_ro_group bool
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    param_items Sequence[CynosdbClusterV2ParamItemArgs]
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    param_template_id float
    The ID of the parameter template.
    port float
    Port of CynosDB cluster.
    prarm_template_id float
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    prepaid_period float
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    project_id float
    ID of the project. 0 by default.
    ro_group_sgs Sequence[str]
    IDs of security group for ro_group. Only work for open_ro_group is true.
    rw_group_sgs Sequence[str]
    IDs of security group for rw_group.
    serverless_status_flag str
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    single_ro_group_sgs Sequence[str]
    IDs of security group for single_ro_group.
    slave_zone str
    Multi zone Addresses of the CynosDB Cluster.
    storage_limit float
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    storage_pay_mode float
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    tags Mapping[str, str]
    The tags of the CynosDB cluster.
    availableZone String
    The available zone of the CynosDB Cluster.
    clusterName String
    Name of CynosDB cluster.
    dbType String
    Type of CynosDB, and available values include MYSQL.
    dbVersion String
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    password String
    Password of root account.
    subnetId String
    ID of the subnet within this VPC.
    vpcId String
    ID of the VPC.
    autoPause String
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    autoPauseDelay Number
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    autoRenewFlag Number
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    chargeType String
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    cynosVersion String
    Kernel minor version, like 3.1.16.002.
    cynosdbClusterV2Id String
    ID of the resource.
    dbMode String
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    forceDelete Boolean
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    instanceCount Number
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    instanceCpuCore Number
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceInitInfos List<Property Map>
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    instanceMaintainDuration Number
    Duration time for maintenance, unit in second. 3600 by default.
    instanceMaintainStartTime Number
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    instanceMaintainWeekdays List<String>
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    instanceMemorySize Number
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceName String
    Name of instance. Only supported when modifying.
    maxCpu Number
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    minCpu Number
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    oldIpReserveHours Number
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    openRoGroup Boolean
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    paramItems List<Property Map>
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    paramTemplateId Number
    The ID of the parameter template.
    port Number
    Port of CynosDB cluster.
    prarmTemplateId Number
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    prepaidPeriod Number
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    projectId Number
    ID of the project. 0 by default.
    roGroupSgs List<String>
    IDs of security group for ro_group. Only work for open_ro_group is true.
    rwGroupSgs List<String>
    IDs of security group for rw_group.
    serverlessStatusFlag String
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    singleRoGroupSgs List<String>
    IDs of security group for single_ro_group.
    slaveZone String
    Multi zone Addresses of the CynosDB Cluster.
    storageLimit Number
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    storagePayMode Number
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    tags Map<String>
    The tags of the CynosDB cluster.

    Outputs

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

    Charset string
    Charset used by CynosDB cluster.
    ClusterStatus string
    Status of the Cynosdb cluster.
    CreateTime string
    Creation time of the CynosDB cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    ID of instance.
    InstanceStatus string
    Status of the instance.
    InstanceStorageSize double
    Storage size of the instance, unit in GB.
    RoGroupAddrs List<CynosdbClusterV2RoGroupAddr>
    Readonly addresses. Each element contains the following attributes:
    RoGroupId string
    ID of read-only instance group.
    RoGroupInstances List<CynosdbClusterV2RoGroupInstance>
    List of instances in the read-only instance group.
    RwGroupAddrs List<CynosdbClusterV2RwGroupAddr>
    Read-write addresses. Each element contains the following attributes:
    RwGroupId string
    ID of read-write instance group.
    RwGroupInstances List<CynosdbClusterV2RwGroupInstance>
    List of instances in the read-write instance group.
    ServerlessStatus string
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    SingleRoGroupInfos List<CynosdbClusterV2SingleRoGroupInfo>
    List of single-read-only instance group.
    StorageUsed double
    Used storage of CynosDB cluster, unit in MB.
    Charset string
    Charset used by CynosDB cluster.
    ClusterStatus string
    Status of the Cynosdb cluster.
    CreateTime string
    Creation time of the CynosDB cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    ID of instance.
    InstanceStatus string
    Status of the instance.
    InstanceStorageSize float64
    Storage size of the instance, unit in GB.
    RoGroupAddrs []CynosdbClusterV2RoGroupAddr
    Readonly addresses. Each element contains the following attributes:
    RoGroupId string
    ID of read-only instance group.
    RoGroupInstances []CynosdbClusterV2RoGroupInstance
    List of instances in the read-only instance group.
    RwGroupAddrs []CynosdbClusterV2RwGroupAddr
    Read-write addresses. Each element contains the following attributes:
    RwGroupId string
    ID of read-write instance group.
    RwGroupInstances []CynosdbClusterV2RwGroupInstance
    List of instances in the read-write instance group.
    ServerlessStatus string
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    SingleRoGroupInfos []CynosdbClusterV2SingleRoGroupInfo
    List of single-read-only instance group.
    StorageUsed float64
    Used storage of CynosDB cluster, unit in MB.
    charset string
    Charset used by CynosDB cluster.
    cluster_status string
    Status of the Cynosdb cluster.
    create_time string
    Creation time of the CynosDB cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    instance_id string
    ID of instance.
    instance_status string
    Status of the instance.
    instance_storage_size number
    Storage size of the instance, unit in GB.
    ro_group_addrs list(object)
    Readonly addresses. Each element contains the following attributes:
    ro_group_id string
    ID of read-only instance group.
    ro_group_instances list(object)
    List of instances in the read-only instance group.
    rw_group_addrs list(object)
    Read-write addresses. Each element contains the following attributes:
    rw_group_id string
    ID of read-write instance group.
    rw_group_instances list(object)
    List of instances in the read-write instance group.
    serverless_status string
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    single_ro_group_infos list(object)
    List of single-read-only instance group.
    storage_used number
    Used storage of CynosDB cluster, unit in MB.
    charset String
    Charset used by CynosDB cluster.
    clusterStatus String
    Status of the Cynosdb cluster.
    createTime String
    Creation time of the CynosDB cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    ID of instance.
    instanceStatus String
    Status of the instance.
    instanceStorageSize Double
    Storage size of the instance, unit in GB.
    roGroupAddrs List<CynosdbClusterV2RoGroupAddr>
    Readonly addresses. Each element contains the following attributes:
    roGroupId String
    ID of read-only instance group.
    roGroupInstances List<CynosdbClusterV2RoGroupInstance>
    List of instances in the read-only instance group.
    rwGroupAddrs List<CynosdbClusterV2RwGroupAddr>
    Read-write addresses. Each element contains the following attributes:
    rwGroupId String
    ID of read-write instance group.
    rwGroupInstances List<CynosdbClusterV2RwGroupInstance>
    List of instances in the read-write instance group.
    serverlessStatus String
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    singleRoGroupInfos List<CynosdbClusterV2SingleRoGroupInfo>
    List of single-read-only instance group.
    storageUsed Double
    Used storage of CynosDB cluster, unit in MB.
    charset string
    Charset used by CynosDB cluster.
    clusterStatus string
    Status of the Cynosdb cluster.
    createTime string
    Creation time of the CynosDB cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    ID of instance.
    instanceStatus string
    Status of the instance.
    instanceStorageSize number
    Storage size of the instance, unit in GB.
    roGroupAddrs CynosdbClusterV2RoGroupAddr[]
    Readonly addresses. Each element contains the following attributes:
    roGroupId string
    ID of read-only instance group.
    roGroupInstances CynosdbClusterV2RoGroupInstance[]
    List of instances in the read-only instance group.
    rwGroupAddrs CynosdbClusterV2RwGroupAddr[]
    Read-write addresses. Each element contains the following attributes:
    rwGroupId string
    ID of read-write instance group.
    rwGroupInstances CynosdbClusterV2RwGroupInstance[]
    List of instances in the read-write instance group.
    serverlessStatus string
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    singleRoGroupInfos CynosdbClusterV2SingleRoGroupInfo[]
    List of single-read-only instance group.
    storageUsed number
    Used storage of CynosDB cluster, unit in MB.
    charset str
    Charset used by CynosDB cluster.
    cluster_status str
    Status of the Cynosdb cluster.
    create_time str
    Creation time of the CynosDB cluster.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    ID of instance.
    instance_status str
    Status of the instance.
    instance_storage_size float
    Storage size of the instance, unit in GB.
    ro_group_addrs Sequence[CynosdbClusterV2RoGroupAddr]
    Readonly addresses. Each element contains the following attributes:
    ro_group_id str
    ID of read-only instance group.
    ro_group_instances Sequence[CynosdbClusterV2RoGroupInstance]
    List of instances in the read-only instance group.
    rw_group_addrs Sequence[CynosdbClusterV2RwGroupAddr]
    Read-write addresses. Each element contains the following attributes:
    rw_group_id str
    ID of read-write instance group.
    rw_group_instances Sequence[CynosdbClusterV2RwGroupInstance]
    List of instances in the read-write instance group.
    serverless_status str
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    single_ro_group_infos Sequence[CynosdbClusterV2SingleRoGroupInfo]
    List of single-read-only instance group.
    storage_used float
    Used storage of CynosDB cluster, unit in MB.
    charset String
    Charset used by CynosDB cluster.
    clusterStatus String
    Status of the Cynosdb cluster.
    createTime String
    Creation time of the CynosDB cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    ID of instance.
    instanceStatus String
    Status of the instance.
    instanceStorageSize Number
    Storage size of the instance, unit in GB.
    roGroupAddrs List<Property Map>
    Readonly addresses. Each element contains the following attributes:
    roGroupId String
    ID of read-only instance group.
    roGroupInstances List<Property Map>
    List of instances in the read-only instance group.
    rwGroupAddrs List<Property Map>
    Read-write addresses. Each element contains the following attributes:
    rwGroupId String
    ID of read-write instance group.
    rwGroupInstances List<Property Map>
    List of instances in the read-write instance group.
    serverlessStatus String
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    singleRoGroupInfos List<Property Map>
    List of single-read-only instance group.
    storageUsed Number
    Used storage of CynosDB cluster, unit in MB.

    Look up Existing CynosdbClusterV2 Resource

    Get an existing CynosdbClusterV2 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?: CynosdbClusterV2State, opts?: CustomResourceOptions): CynosdbClusterV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_pause: Optional[str] = None,
            auto_pause_delay: Optional[float] = None,
            auto_renew_flag: Optional[float] = None,
            available_zone: Optional[str] = None,
            charge_type: Optional[str] = None,
            charset: Optional[str] = None,
            cluster_name: Optional[str] = None,
            cluster_status: Optional[str] = None,
            create_time: Optional[str] = None,
            cynos_version: Optional[str] = None,
            cynosdb_cluster_v2_id: Optional[str] = None,
            db_mode: Optional[str] = None,
            db_type: Optional[str] = None,
            db_version: Optional[str] = None,
            force_delete: Optional[bool] = None,
            instance_count: Optional[float] = None,
            instance_cpu_core: Optional[float] = None,
            instance_id: Optional[str] = None,
            instance_init_infos: Optional[Sequence[CynosdbClusterV2InstanceInitInfoArgs]] = None,
            instance_maintain_duration: Optional[float] = None,
            instance_maintain_start_time: Optional[float] = None,
            instance_maintain_weekdays: Optional[Sequence[str]] = None,
            instance_memory_size: Optional[float] = None,
            instance_name: Optional[str] = None,
            instance_status: Optional[str] = None,
            instance_storage_size: Optional[float] = None,
            max_cpu: Optional[float] = None,
            min_cpu: Optional[float] = None,
            old_ip_reserve_hours: Optional[float] = None,
            open_ro_group: Optional[bool] = None,
            param_items: Optional[Sequence[CynosdbClusterV2ParamItemArgs]] = None,
            param_template_id: Optional[float] = None,
            password: Optional[str] = None,
            port: Optional[float] = None,
            prarm_template_id: Optional[float] = None,
            prepaid_period: Optional[float] = None,
            project_id: Optional[float] = None,
            ro_group_addrs: Optional[Sequence[CynosdbClusterV2RoGroupAddrArgs]] = None,
            ro_group_id: Optional[str] = None,
            ro_group_instances: Optional[Sequence[CynosdbClusterV2RoGroupInstanceArgs]] = None,
            ro_group_sgs: Optional[Sequence[str]] = None,
            rw_group_addrs: Optional[Sequence[CynosdbClusterV2RwGroupAddrArgs]] = None,
            rw_group_id: Optional[str] = None,
            rw_group_instances: Optional[Sequence[CynosdbClusterV2RwGroupInstanceArgs]] = None,
            rw_group_sgs: Optional[Sequence[str]] = None,
            serverless_status: Optional[str] = None,
            serverless_status_flag: Optional[str] = None,
            single_ro_group_infos: Optional[Sequence[CynosdbClusterV2SingleRoGroupInfoArgs]] = None,
            single_ro_group_sgs: Optional[Sequence[str]] = None,
            slave_zone: Optional[str] = None,
            storage_limit: Optional[float] = None,
            storage_pay_mode: Optional[float] = None,
            storage_used: Optional[float] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            vpc_id: Optional[str] = None) -> CynosdbClusterV2
    func GetCynosdbClusterV2(ctx *Context, name string, id IDInput, state *CynosdbClusterV2State, opts ...ResourceOption) (*CynosdbClusterV2, error)
    public static CynosdbClusterV2 Get(string name, Input<string> id, CynosdbClusterV2State? state, CustomResourceOptions? opts = null)
    public static CynosdbClusterV2 get(String name, Output<String> id, CynosdbClusterV2State state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CynosdbClusterV2    get:      id: ${id}
    import {
      to = tencentcloud_cynosdb_cluster_v2.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoPause string
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    AutoPauseDelay double
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    AutoRenewFlag double
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    AvailableZone string
    The available zone of the CynosDB Cluster.
    ChargeType string
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    Charset string
    Charset used by CynosDB cluster.
    ClusterName string
    Name of CynosDB cluster.
    ClusterStatus string
    Status of the Cynosdb cluster.
    CreateTime string
    Creation time of the CynosDB cluster.
    CynosVersion string
    Kernel minor version, like 3.1.16.002.
    CynosdbClusterV2Id string
    ID of the resource.
    DbMode string
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    DbType string
    Type of CynosDB, and available values include MYSQL.
    DbVersion string
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    ForceDelete bool
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    InstanceCount double
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    InstanceCpuCore double
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    InstanceId string
    ID of instance.
    InstanceInitInfos List<CynosdbClusterV2InstanceInitInfo>
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    InstanceMaintainDuration double
    Duration time for maintenance, unit in second. 3600 by default.
    InstanceMaintainStartTime double
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    InstanceMaintainWeekdays List<string>
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    InstanceMemorySize double
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    InstanceName string
    Name of instance. Only supported when modifying.
    InstanceStatus string
    Status of the instance.
    InstanceStorageSize double
    Storage size of the instance, unit in GB.
    MaxCpu double
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    MinCpu double
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    OldIpReserveHours double
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    OpenRoGroup bool
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    ParamItems List<CynosdbClusterV2ParamItem>
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    ParamTemplateId double
    The ID of the parameter template.
    Password string
    Password of root account.
    Port double
    Port of CynosDB cluster.
    PrarmTemplateId double
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    PrepaidPeriod double
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    ProjectId double
    ID of the project. 0 by default.
    RoGroupAddrs List<CynosdbClusterV2RoGroupAddr>
    Readonly addresses. Each element contains the following attributes:
    RoGroupId string
    ID of read-only instance group.
    RoGroupInstances List<CynosdbClusterV2RoGroupInstance>
    List of instances in the read-only instance group.
    RoGroupSgs List<string>
    IDs of security group for ro_group. Only work for open_ro_group is true.
    RwGroupAddrs List<CynosdbClusterV2RwGroupAddr>
    Read-write addresses. Each element contains the following attributes:
    RwGroupId string
    ID of read-write instance group.
    RwGroupInstances List<CynosdbClusterV2RwGroupInstance>
    List of instances in the read-write instance group.
    RwGroupSgs List<string>
    IDs of security group for rw_group.
    ServerlessStatus string
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    ServerlessStatusFlag string
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    SingleRoGroupInfos List<CynosdbClusterV2SingleRoGroupInfo>
    List of single-read-only instance group.
    SingleRoGroupSgs List<string>
    IDs of security group for single_ro_group.
    SlaveZone string
    Multi zone Addresses of the CynosDB Cluster.
    StorageLimit double
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    StoragePayMode double
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    StorageUsed double
    Used storage of CynosDB cluster, unit in MB.
    SubnetId string
    ID of the subnet within this VPC.
    Tags Dictionary<string, string>
    The tags of the CynosDB cluster.
    VpcId string
    ID of the VPC.
    AutoPause string
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    AutoPauseDelay float64
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    AutoRenewFlag float64
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    AvailableZone string
    The available zone of the CynosDB Cluster.
    ChargeType string
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    Charset string
    Charset used by CynosDB cluster.
    ClusterName string
    Name of CynosDB cluster.
    ClusterStatus string
    Status of the Cynosdb cluster.
    CreateTime string
    Creation time of the CynosDB cluster.
    CynosVersion string
    Kernel minor version, like 3.1.16.002.
    CynosdbClusterV2Id string
    ID of the resource.
    DbMode string
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    DbType string
    Type of CynosDB, and available values include MYSQL.
    DbVersion string
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    ForceDelete bool
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    InstanceCount float64
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    InstanceCpuCore float64
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    InstanceId string
    ID of instance.
    InstanceInitInfos []CynosdbClusterV2InstanceInitInfoArgs
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    InstanceMaintainDuration float64
    Duration time for maintenance, unit in second. 3600 by default.
    InstanceMaintainStartTime float64
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    InstanceMaintainWeekdays []string
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    InstanceMemorySize float64
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    InstanceName string
    Name of instance. Only supported when modifying.
    InstanceStatus string
    Status of the instance.
    InstanceStorageSize float64
    Storage size of the instance, unit in GB.
    MaxCpu float64
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    MinCpu float64
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    OldIpReserveHours float64
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    OpenRoGroup bool
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    ParamItems []CynosdbClusterV2ParamItemArgs
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    ParamTemplateId float64
    The ID of the parameter template.
    Password string
    Password of root account.
    Port float64
    Port of CynosDB cluster.
    PrarmTemplateId float64
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    PrepaidPeriod float64
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    ProjectId float64
    ID of the project. 0 by default.
    RoGroupAddrs []CynosdbClusterV2RoGroupAddrArgs
    Readonly addresses. Each element contains the following attributes:
    RoGroupId string
    ID of read-only instance group.
    RoGroupInstances []CynosdbClusterV2RoGroupInstanceArgs
    List of instances in the read-only instance group.
    RoGroupSgs []string
    IDs of security group for ro_group. Only work for open_ro_group is true.
    RwGroupAddrs []CynosdbClusterV2RwGroupAddrArgs
    Read-write addresses. Each element contains the following attributes:
    RwGroupId string
    ID of read-write instance group.
    RwGroupInstances []CynosdbClusterV2RwGroupInstanceArgs
    List of instances in the read-write instance group.
    RwGroupSgs []string
    IDs of security group for rw_group.
    ServerlessStatus string
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    ServerlessStatusFlag string
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    SingleRoGroupInfos []CynosdbClusterV2SingleRoGroupInfoArgs
    List of single-read-only instance group.
    SingleRoGroupSgs []string
    IDs of security group for single_ro_group.
    SlaveZone string
    Multi zone Addresses of the CynosDB Cluster.
    StorageLimit float64
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    StoragePayMode float64
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    StorageUsed float64
    Used storage of CynosDB cluster, unit in MB.
    SubnetId string
    ID of the subnet within this VPC.
    Tags map[string]string
    The tags of the CynosDB cluster.
    VpcId string
    ID of the VPC.
    auto_pause string
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    auto_pause_delay number
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    auto_renew_flag number
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    available_zone string
    The available zone of the CynosDB Cluster.
    charge_type string
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    charset string
    Charset used by CynosDB cluster.
    cluster_name string
    Name of CynosDB cluster.
    cluster_status string
    Status of the Cynosdb cluster.
    create_time string
    Creation time of the CynosDB cluster.
    cynos_version string
    Kernel minor version, like 3.1.16.002.
    cynosdb_cluster_v2_id string
    ID of the resource.
    db_mode string
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    db_type string
    Type of CynosDB, and available values include MYSQL.
    db_version string
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    force_delete bool
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    instance_count number
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    instance_cpu_core number
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instance_id string
    ID of instance.
    instance_init_infos list(object)
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    instance_maintain_duration number
    Duration time for maintenance, unit in second. 3600 by default.
    instance_maintain_start_time number
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    instance_maintain_weekdays list(string)
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    instance_memory_size number
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instance_name string
    Name of instance. Only supported when modifying.
    instance_status string
    Status of the instance.
    instance_storage_size number
    Storage size of the instance, unit in GB.
    max_cpu number
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    min_cpu number
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    old_ip_reserve_hours number
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    open_ro_group bool
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    param_items list(object)
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    param_template_id number
    The ID of the parameter template.
    password string
    Password of root account.
    port number
    Port of CynosDB cluster.
    prarm_template_id number
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    prepaid_period number
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    project_id number
    ID of the project. 0 by default.
    ro_group_addrs list(object)
    Readonly addresses. Each element contains the following attributes:
    ro_group_id string
    ID of read-only instance group.
    ro_group_instances list(object)
    List of instances in the read-only instance group.
    ro_group_sgs list(string)
    IDs of security group for ro_group. Only work for open_ro_group is true.
    rw_group_addrs list(object)
    Read-write addresses. Each element contains the following attributes:
    rw_group_id string
    ID of read-write instance group.
    rw_group_instances list(object)
    List of instances in the read-write instance group.
    rw_group_sgs list(string)
    IDs of security group for rw_group.
    serverless_status string
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    serverless_status_flag string
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    single_ro_group_infos list(object)
    List of single-read-only instance group.
    single_ro_group_sgs list(string)
    IDs of security group for single_ro_group.
    slave_zone string
    Multi zone Addresses of the CynosDB Cluster.
    storage_limit number
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    storage_pay_mode number
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    storage_used number
    Used storage of CynosDB cluster, unit in MB.
    subnet_id string
    ID of the subnet within this VPC.
    tags map(string)
    The tags of the CynosDB cluster.
    vpc_id string
    ID of the VPC.
    autoPause String
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    autoPauseDelay Double
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    autoRenewFlag Double
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    availableZone String
    The available zone of the CynosDB Cluster.
    chargeType String
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    charset String
    Charset used by CynosDB cluster.
    clusterName String
    Name of CynosDB cluster.
    clusterStatus String
    Status of the Cynosdb cluster.
    createTime String
    Creation time of the CynosDB cluster.
    cynosVersion String
    Kernel minor version, like 3.1.16.002.
    cynosdbClusterV2Id String
    ID of the resource.
    dbMode String
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    dbType String
    Type of CynosDB, and available values include MYSQL.
    dbVersion String
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    forceDelete Boolean
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    instanceCount Double
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    instanceCpuCore Double
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceId String
    ID of instance.
    instanceInitInfos List<CynosdbClusterV2InstanceInitInfo>
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    instanceMaintainDuration Double
    Duration time for maintenance, unit in second. 3600 by default.
    instanceMaintainStartTime Double
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    instanceMaintainWeekdays List<String>
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    instanceMemorySize Double
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceName String
    Name of instance. Only supported when modifying.
    instanceStatus String
    Status of the instance.
    instanceStorageSize Double
    Storage size of the instance, unit in GB.
    maxCpu Double
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    minCpu Double
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    oldIpReserveHours Double
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    openRoGroup Boolean
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    paramItems List<CynosdbClusterV2ParamItem>
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    paramTemplateId Double
    The ID of the parameter template.
    password String
    Password of root account.
    port Double
    Port of CynosDB cluster.
    prarmTemplateId Double
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    prepaidPeriod Double
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    projectId Double
    ID of the project. 0 by default.
    roGroupAddrs List<CynosdbClusterV2RoGroupAddr>
    Readonly addresses. Each element contains the following attributes:
    roGroupId String
    ID of read-only instance group.
    roGroupInstances List<CynosdbClusterV2RoGroupInstance>
    List of instances in the read-only instance group.
    roGroupSgs List<String>
    IDs of security group for ro_group. Only work for open_ro_group is true.
    rwGroupAddrs List<CynosdbClusterV2RwGroupAddr>
    Read-write addresses. Each element contains the following attributes:
    rwGroupId String
    ID of read-write instance group.
    rwGroupInstances List<CynosdbClusterV2RwGroupInstance>
    List of instances in the read-write instance group.
    rwGroupSgs List<String>
    IDs of security group for rw_group.
    serverlessStatus String
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    serverlessStatusFlag String
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    singleRoGroupInfos List<CynosdbClusterV2SingleRoGroupInfo>
    List of single-read-only instance group.
    singleRoGroupSgs List<String>
    IDs of security group for single_ro_group.
    slaveZone String
    Multi zone Addresses of the CynosDB Cluster.
    storageLimit Double
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    storagePayMode Double
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    storageUsed Double
    Used storage of CynosDB cluster, unit in MB.
    subnetId String
    ID of the subnet within this VPC.
    tags Map<String,String>
    The tags of the CynosDB cluster.
    vpcId String
    ID of the VPC.
    autoPause string
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    autoPauseDelay number
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    autoRenewFlag number
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    availableZone string
    The available zone of the CynosDB Cluster.
    chargeType string
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    charset string
    Charset used by CynosDB cluster.
    clusterName string
    Name of CynosDB cluster.
    clusterStatus string
    Status of the Cynosdb cluster.
    createTime string
    Creation time of the CynosDB cluster.
    cynosVersion string
    Kernel minor version, like 3.1.16.002.
    cynosdbClusterV2Id string
    ID of the resource.
    dbMode string
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    dbType string
    Type of CynosDB, and available values include MYSQL.
    dbVersion string
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    forceDelete boolean
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    instanceCount number
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    instanceCpuCore number
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceId string
    ID of instance.
    instanceInitInfos CynosdbClusterV2InstanceInitInfo[]
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    instanceMaintainDuration number
    Duration time for maintenance, unit in second. 3600 by default.
    instanceMaintainStartTime number
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    instanceMaintainWeekdays string[]
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    instanceMemorySize number
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceName string
    Name of instance. Only supported when modifying.
    instanceStatus string
    Status of the instance.
    instanceStorageSize number
    Storage size of the instance, unit in GB.
    maxCpu number
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    minCpu number
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    oldIpReserveHours number
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    openRoGroup boolean
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    paramItems CynosdbClusterV2ParamItem[]
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    paramTemplateId number
    The ID of the parameter template.
    password string
    Password of root account.
    port number
    Port of CynosDB cluster.
    prarmTemplateId number
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    prepaidPeriod number
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    projectId number
    ID of the project. 0 by default.
    roGroupAddrs CynosdbClusterV2RoGroupAddr[]
    Readonly addresses. Each element contains the following attributes:
    roGroupId string
    ID of read-only instance group.
    roGroupInstances CynosdbClusterV2RoGroupInstance[]
    List of instances in the read-only instance group.
    roGroupSgs string[]
    IDs of security group for ro_group. Only work for open_ro_group is true.
    rwGroupAddrs CynosdbClusterV2RwGroupAddr[]
    Read-write addresses. Each element contains the following attributes:
    rwGroupId string
    ID of read-write instance group.
    rwGroupInstances CynosdbClusterV2RwGroupInstance[]
    List of instances in the read-write instance group.
    rwGroupSgs string[]
    IDs of security group for rw_group.
    serverlessStatus string
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    serverlessStatusFlag string
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    singleRoGroupInfos CynosdbClusterV2SingleRoGroupInfo[]
    List of single-read-only instance group.
    singleRoGroupSgs string[]
    IDs of security group for single_ro_group.
    slaveZone string
    Multi zone Addresses of the CynosDB Cluster.
    storageLimit number
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    storagePayMode number
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    storageUsed number
    Used storage of CynosDB cluster, unit in MB.
    subnetId string
    ID of the subnet within this VPC.
    tags {[key: string]: string}
    The tags of the CynosDB cluster.
    vpcId string
    ID of the VPC.
    auto_pause str
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    auto_pause_delay float
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    auto_renew_flag float
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    available_zone str
    The available zone of the CynosDB Cluster.
    charge_type str
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    charset str
    Charset used by CynosDB cluster.
    cluster_name str
    Name of CynosDB cluster.
    cluster_status str
    Status of the Cynosdb cluster.
    create_time str
    Creation time of the CynosDB cluster.
    cynos_version str
    Kernel minor version, like 3.1.16.002.
    cynosdb_cluster_v2_id str
    ID of the resource.
    db_mode str
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    db_type str
    Type of CynosDB, and available values include MYSQL.
    db_version str
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    force_delete bool
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    instance_count float
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    instance_cpu_core float
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instance_id str
    ID of instance.
    instance_init_infos Sequence[CynosdbClusterV2InstanceInitInfoArgs]
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    instance_maintain_duration float
    Duration time for maintenance, unit in second. 3600 by default.
    instance_maintain_start_time float
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    instance_maintain_weekdays Sequence[str]
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    instance_memory_size float
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instance_name str
    Name of instance. Only supported when modifying.
    instance_status str
    Status of the instance.
    instance_storage_size float
    Storage size of the instance, unit in GB.
    max_cpu float
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    min_cpu float
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    old_ip_reserve_hours float
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    open_ro_group bool
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    param_items Sequence[CynosdbClusterV2ParamItemArgs]
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    param_template_id float
    The ID of the parameter template.
    password str
    Password of root account.
    port float
    Port of CynosDB cluster.
    prarm_template_id float
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    prepaid_period float
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    project_id float
    ID of the project. 0 by default.
    ro_group_addrs Sequence[CynosdbClusterV2RoGroupAddrArgs]
    Readonly addresses. Each element contains the following attributes:
    ro_group_id str
    ID of read-only instance group.
    ro_group_instances Sequence[CynosdbClusterV2RoGroupInstanceArgs]
    List of instances in the read-only instance group.
    ro_group_sgs Sequence[str]
    IDs of security group for ro_group. Only work for open_ro_group is true.
    rw_group_addrs Sequence[CynosdbClusterV2RwGroupAddrArgs]
    Read-write addresses. Each element contains the following attributes:
    rw_group_id str
    ID of read-write instance group.
    rw_group_instances Sequence[CynosdbClusterV2RwGroupInstanceArgs]
    List of instances in the read-write instance group.
    rw_group_sgs Sequence[str]
    IDs of security group for rw_group.
    serverless_status str
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    serverless_status_flag str
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    single_ro_group_infos Sequence[CynosdbClusterV2SingleRoGroupInfoArgs]
    List of single-read-only instance group.
    single_ro_group_sgs Sequence[str]
    IDs of security group for single_ro_group.
    slave_zone str
    Multi zone Addresses of the CynosDB Cluster.
    storage_limit float
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    storage_pay_mode float
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    storage_used float
    Used storage of CynosDB cluster, unit in MB.
    subnet_id str
    ID of the subnet within this VPC.
    tags Mapping[str, str]
    The tags of the CynosDB cluster.
    vpc_id str
    ID of the VPC.
    autoPause String
    Specify whether the cluster can auto-pause while db_mode is SERVERLESS. Values: yes (default), no.
    autoPauseDelay Number
    Specify auto-pause delay in second while db_mode is SERVERLESS. Value range: [600, 691200]. Default: 600.
    autoRenewFlag Number
    Auto renew flag. Valid values are 0(MANUAL_RENEW), 1(AUTO_RENEW). Default value is 0. Only works for PREPAID cluster.
    availableZone String
    The available zone of the CynosDB Cluster.
    chargeType String
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. Default value is POSTPAID_BY_HOUR.
    charset String
    Charset used by CynosDB cluster.
    clusterName String
    Name of CynosDB cluster.
    clusterStatus String
    Status of the Cynosdb cluster.
    createTime String
    Creation time of the CynosDB cluster.
    cynosVersion String
    Kernel minor version, like 3.1.16.002.
    cynosdbClusterV2Id String
    ID of the resource.
    dbMode String
    Specify DB mode, only available when db_type is MYSQL. Values: NORMAL (Default), SERVERLESS.
    dbType String
    Type of CynosDB, and available values include MYSQL.
    dbVersion String
    Version of CynosDB, which is related to db_type. For MYSQL, available value is 5.7, 8.0.
    forceDelete Boolean
    Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its All RELATED INSTANCES will be deleted instead of staying recycle bin. Note: works for both PREPAID and POSTPAID_BY_HOUR cluster.
    instanceCount Number
    The number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos.
    instanceCpuCore Number
    The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceId String
    ID of instance.
    instanceInitInfos List<Property Map>
    Instance initialization configuration information, mainly used to select instances of different specifications when purchasing a cluster.
    instanceMaintainDuration Number
    Duration time for maintenance, unit in second. 3600 by default.
    instanceMaintainStartTime Number
    Offset time from 00:00, unit in second. For example, 03:00am should be 10800. 10800 by default.
    instanceMaintainWeekdays List<String>
    Weekdays for maintenance. ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] by default.
    instanceMemorySize Number
    Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console.
    instanceName String
    Name of instance. Only supported when modifying.
    instanceStatus String
    Status of the instance.
    instanceStorageSize Number
    Storage size of the instance, unit in GB.
    maxCpu Number
    Maximum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    minCpu Number
    Minimum CPU core count, required while db_mode is SERVERLESS, request DescribeServerlessInstanceSpecs for more reference.
    oldIpReserveHours Number
    Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc.
    openRoGroup Boolean
    Indicate whether to open read-only group or not. Once activated, it cannot be turned off. Default is false.
    paramItems List<Property Map>
    Specify parameter list of database. It is valid when param_template_id is set in create cluster. Use data.tencentcloud_mysql_default_params to query available parameter details.
    paramTemplateId Number
    The ID of the parameter template.
    password String
    Password of root account.
    port Number
    Port of CynosDB cluster.
    prarmTemplateId Number
    It will be deprecated. Use param_template_id instead. The ID of the parameter template.

    Deprecated: Deprecated

    prepaidPeriod Number
    The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to PREPAID.
    projectId Number
    ID of the project. 0 by default.
    roGroupAddrs List<Property Map>
    Readonly addresses. Each element contains the following attributes:
    roGroupId String
    ID of read-only instance group.
    roGroupInstances List<Property Map>
    List of instances in the read-only instance group.
    roGroupSgs List<String>
    IDs of security group for ro_group. Only work for open_ro_group is true.
    rwGroupAddrs List<Property Map>
    Read-write addresses. Each element contains the following attributes:
    rwGroupId String
    ID of read-write instance group.
    rwGroupInstances List<Property Map>
    List of instances in the read-write instance group.
    rwGroupSgs List<String>
    IDs of security group for rw_group.
    serverlessStatus String
    Serverless cluster status. NOTE: This is a readonly attribute, to modify, please set serverless_status_flag.
    serverlessStatusFlag String
    Specify whether to pause or resume serverless cluster. values: resume, pause.
    singleRoGroupInfos List<Property Map>
    List of single-read-only instance group.
    singleRoGroupSgs List<String>
    IDs of security group for single_ro_group.
    slaveZone String
    Multi zone Addresses of the CynosDB Cluster.
    storageLimit Number
    Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is MYSQL and charge_type is PREPAID, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is order and pay. when charge_type is POSTPAID_BY_HOUR, this argument is unnecessary.
    storagePayMode Number
    Cluster storage billing mode, pay-as-you-go: 0-yearly/monthly: 1-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage.
    storageUsed Number
    Used storage of CynosDB cluster, unit in MB.
    subnetId String
    ID of the subnet within this VPC.
    tags Map<String>
    The tags of the CynosDB cluster.
    vpcId String
    ID of the VPC.

    Supporting Types

    CynosdbClusterV2InstanceInitInfo, CynosdbClusterV2InstanceInitInfoArgs

    Cpu double
    CPU of instance.
    InstanceCount double
    Instance count. Range: [1, 15].
    InstanceType string
    Instance type. Value: rw, ro.
    Memory double
    Memory of instance.
    DeviceType string
    Instance machine type. Values: common, exclusive.
    MaxRoCount double
    Maximum number of Serverless instances. Range [1,15].
    MaxRoCpu double
    Maximum Serverless Instance Specifications.
    MinRoCount double
    Minimum number of Serverless instances. Range [1,15].
    MinRoCpu double
    Minimum Serverless Instance Specifications.
    Cpu float64
    CPU of instance.
    InstanceCount float64
    Instance count. Range: [1, 15].
    InstanceType string
    Instance type. Value: rw, ro.
    Memory float64
    Memory of instance.
    DeviceType string
    Instance machine type. Values: common, exclusive.
    MaxRoCount float64
    Maximum number of Serverless instances. Range [1,15].
    MaxRoCpu float64
    Maximum Serverless Instance Specifications.
    MinRoCount float64
    Minimum number of Serverless instances. Range [1,15].
    MinRoCpu float64
    Minimum Serverless Instance Specifications.
    cpu number
    CPU of instance.
    instance_count number
    Instance count. Range: [1, 15].
    instance_type string
    Instance type. Value: rw, ro.
    memory number
    Memory of instance.
    device_type string
    Instance machine type. Values: common, exclusive.
    max_ro_count number
    Maximum number of Serverless instances. Range [1,15].
    max_ro_cpu number
    Maximum Serverless Instance Specifications.
    min_ro_count number
    Minimum number of Serverless instances. Range [1,15].
    min_ro_cpu number
    Minimum Serverless Instance Specifications.
    cpu Double
    CPU of instance.
    instanceCount Double
    Instance count. Range: [1, 15].
    instanceType String
    Instance type. Value: rw, ro.
    memory Double
    Memory of instance.
    deviceType String
    Instance machine type. Values: common, exclusive.
    maxRoCount Double
    Maximum number of Serverless instances. Range [1,15].
    maxRoCpu Double
    Maximum Serverless Instance Specifications.
    minRoCount Double
    Minimum number of Serverless instances. Range [1,15].
    minRoCpu Double
    Minimum Serverless Instance Specifications.
    cpu number
    CPU of instance.
    instanceCount number
    Instance count. Range: [1, 15].
    instanceType string
    Instance type. Value: rw, ro.
    memory number
    Memory of instance.
    deviceType string
    Instance machine type. Values: common, exclusive.
    maxRoCount number
    Maximum number of Serverless instances. Range [1,15].
    maxRoCpu number
    Maximum Serverless Instance Specifications.
    minRoCount number
    Minimum number of Serverless instances. Range [1,15].
    minRoCpu number
    Minimum Serverless Instance Specifications.
    cpu float
    CPU of instance.
    instance_count float
    Instance count. Range: [1, 15].
    instance_type str
    Instance type. Value: rw, ro.
    memory float
    Memory of instance.
    device_type str
    Instance machine type. Values: common, exclusive.
    max_ro_count float
    Maximum number of Serverless instances. Range [1,15].
    max_ro_cpu float
    Maximum Serverless Instance Specifications.
    min_ro_count float
    Minimum number of Serverless instances. Range [1,15].
    min_ro_cpu float
    Minimum Serverless Instance Specifications.
    cpu Number
    CPU of instance.
    instanceCount Number
    Instance count. Range: [1, 15].
    instanceType String
    Instance type. Value: rw, ro.
    memory Number
    Memory of instance.
    deviceType String
    Instance machine type. Values: common, exclusive.
    maxRoCount Number
    Maximum number of Serverless instances. Range [1,15].
    maxRoCpu Number
    Maximum Serverless Instance Specifications.
    minRoCount Number
    Minimum number of Serverless instances. Range [1,15].
    minRoCpu Number
    Minimum Serverless Instance Specifications.

    CynosdbClusterV2ParamItem, CynosdbClusterV2ParamItemArgs

    CurrentValue string
    Param expected value to set.
    Name string
    Name of param, e.g. character_set_server.
    OldValue string
    Param old value, indicates the value which already set, this value is required when modifying current_value.
    CurrentValue string
    Param expected value to set.
    Name string
    Name of param, e.g. character_set_server.
    OldValue string
    Param old value, indicates the value which already set, this value is required when modifying current_value.
    current_value string
    Param expected value to set.
    name string
    Name of param, e.g. character_set_server.
    old_value string
    Param old value, indicates the value which already set, this value is required when modifying current_value.
    currentValue String
    Param expected value to set.
    name String
    Name of param, e.g. character_set_server.
    oldValue String
    Param old value, indicates the value which already set, this value is required when modifying current_value.
    currentValue string
    Param expected value to set.
    name string
    Name of param, e.g. character_set_server.
    oldValue string
    Param old value, indicates the value which already set, this value is required when modifying current_value.
    current_value str
    Param expected value to set.
    name str
    Name of param, e.g. character_set_server.
    old_value str
    Param old value, indicates the value which already set, this value is required when modifying current_value.
    currentValue String
    Param expected value to set.
    name String
    Name of param, e.g. character_set_server.
    oldValue String
    Param old value, indicates the value which already set, this value is required when modifying current_value.

    CynosdbClusterV2RoGroupAddr, CynosdbClusterV2RoGroupAddrArgs

    Ip string
    IP address for single-readonly connection.
    Port double
    Port of CynosDB cluster.
    Ip string
    IP address for single-readonly connection.
    Port float64
    Port of CynosDB cluster.
    ip string
    IP address for single-readonly connection.
    port number
    Port of CynosDB cluster.
    ip String
    IP address for single-readonly connection.
    port Double
    Port of CynosDB cluster.
    ip string
    IP address for single-readonly connection.
    port number
    Port of CynosDB cluster.
    ip str
    IP address for single-readonly connection.
    port float
    Port of CynosDB cluster.
    ip String
    IP address for single-readonly connection.
    port Number
    Port of CynosDB cluster.

    CynosdbClusterV2RoGroupInstance, CynosdbClusterV2RoGroupInstanceArgs

    InstanceId string
    ID of instance.
    InstanceName string
    Name of instance. Only supported when modifying.
    InstanceId string
    ID of instance.
    InstanceName string
    Name of instance. Only supported when modifying.
    instance_id string
    ID of instance.
    instance_name string
    Name of instance. Only supported when modifying.
    instanceId String
    ID of instance.
    instanceName String
    Name of instance. Only supported when modifying.
    instanceId string
    ID of instance.
    instanceName string
    Name of instance. Only supported when modifying.
    instance_id str
    ID of instance.
    instance_name str
    Name of instance. Only supported when modifying.
    instanceId String
    ID of instance.
    instanceName String
    Name of instance. Only supported when modifying.

    CynosdbClusterV2RwGroupAddr, CynosdbClusterV2RwGroupAddrArgs

    Ip string
    IP address for single-readonly connection.
    Port double
    Port of CynosDB cluster.
    Ip string
    IP address for single-readonly connection.
    Port float64
    Port of CynosDB cluster.
    ip string
    IP address for single-readonly connection.
    port number
    Port of CynosDB cluster.
    ip String
    IP address for single-readonly connection.
    port Double
    Port of CynosDB cluster.
    ip string
    IP address for single-readonly connection.
    port number
    Port of CynosDB cluster.
    ip str
    IP address for single-readonly connection.
    port float
    Port of CynosDB cluster.
    ip String
    IP address for single-readonly connection.
    port Number
    Port of CynosDB cluster.

    CynosdbClusterV2RwGroupInstance, CynosdbClusterV2RwGroupInstanceArgs

    InstanceId string
    ID of instance.
    InstanceName string
    Name of instance. Only supported when modifying.
    InstanceId string
    ID of instance.
    InstanceName string
    Name of instance. Only supported when modifying.
    instance_id string
    ID of instance.
    instance_name string
    Name of instance. Only supported when modifying.
    instanceId String
    ID of instance.
    instanceName String
    Name of instance. Only supported when modifying.
    instanceId string
    ID of instance.
    instanceName string
    Name of instance. Only supported when modifying.
    instance_id str
    ID of instance.
    instance_name str
    Name of instance. Only supported when modifying.
    instanceId String
    ID of instance.
    instanceName String
    Name of instance. Only supported when modifying.

    CynosdbClusterV2SingleRoGroupInfo, CynosdbClusterV2SingleRoGroupInfoArgs

    SingleRoGroupAddrs List<CynosdbClusterV2SingleRoGroupInfoSingleRoGroupAddr>
    Single-readonly addresses. Each element contains the following attributes:
    SingleRoGroupId string
    ID list of single-read-only instance group.
    SingleRoGroupInstances List<CynosdbClusterV2SingleRoGroupInfoSingleRoGroupInstance>
    List of instances in the single-read-only instance group.
    SingleRoGroupAddrs []CynosdbClusterV2SingleRoGroupInfoSingleRoGroupAddr
    Single-readonly addresses. Each element contains the following attributes:
    SingleRoGroupId string
    ID list of single-read-only instance group.
    SingleRoGroupInstances []CynosdbClusterV2SingleRoGroupInfoSingleRoGroupInstance
    List of instances in the single-read-only instance group.
    single_ro_group_addrs list(object)
    Single-readonly addresses. Each element contains the following attributes:
    single_ro_group_id string
    ID list of single-read-only instance group.
    single_ro_group_instances list(object)
    List of instances in the single-read-only instance group.
    singleRoGroupAddrs List<CynosdbClusterV2SingleRoGroupInfoSingleRoGroupAddr>
    Single-readonly addresses. Each element contains the following attributes:
    singleRoGroupId String
    ID list of single-read-only instance group.
    singleRoGroupInstances List<CynosdbClusterV2SingleRoGroupInfoSingleRoGroupInstance>
    List of instances in the single-read-only instance group.
    singleRoGroupAddrs CynosdbClusterV2SingleRoGroupInfoSingleRoGroupAddr[]
    Single-readonly addresses. Each element contains the following attributes:
    singleRoGroupId string
    ID list of single-read-only instance group.
    singleRoGroupInstances CynosdbClusterV2SingleRoGroupInfoSingleRoGroupInstance[]
    List of instances in the single-read-only instance group.
    single_ro_group_addrs Sequence[CynosdbClusterV2SingleRoGroupInfoSingleRoGroupAddr]
    Single-readonly addresses. Each element contains the following attributes:
    single_ro_group_id str
    ID list of single-read-only instance group.
    single_ro_group_instances Sequence[CynosdbClusterV2SingleRoGroupInfoSingleRoGroupInstance]
    List of instances in the single-read-only instance group.
    singleRoGroupAddrs List<Property Map>
    Single-readonly addresses. Each element contains the following attributes:
    singleRoGroupId String
    ID list of single-read-only instance group.
    singleRoGroupInstances List<Property Map>
    List of instances in the single-read-only instance group.

    CynosdbClusterV2SingleRoGroupInfoSingleRoGroupAddr, CynosdbClusterV2SingleRoGroupInfoSingleRoGroupAddrArgs

    Ip string
    IP address for single-readonly connection.
    Port double
    Port of CynosDB cluster.
    Ip string
    IP address for single-readonly connection.
    Port float64
    Port of CynosDB cluster.
    ip string
    IP address for single-readonly connection.
    port number
    Port of CynosDB cluster.
    ip String
    IP address for single-readonly connection.
    port Double
    Port of CynosDB cluster.
    ip string
    IP address for single-readonly connection.
    port number
    Port of CynosDB cluster.
    ip str
    IP address for single-readonly connection.
    port float
    Port of CynosDB cluster.
    ip String
    IP address for single-readonly connection.
    port Number
    Port of CynosDB cluster.

    CynosdbClusterV2SingleRoGroupInfoSingleRoGroupInstance, CynosdbClusterV2SingleRoGroupInfoSingleRoGroupInstanceArgs

    InstanceId string
    ID of instance.
    InstanceName string
    Name of instance. Only supported when modifying.
    InstanceId string
    ID of instance.
    InstanceName string
    Name of instance. Only supported when modifying.
    instance_id string
    ID of instance.
    instance_name string
    Name of instance. Only supported when modifying.
    instanceId String
    ID of instance.
    instanceName String
    Name of instance. Only supported when modifying.
    instanceId string
    ID of instance.
    instanceName string
    Name of instance. Only supported when modifying.
    instance_id str
    ID of instance.
    instance_name str
    Name of instance. Only supported when modifying.
    instanceId String
    ID of instance.
    instanceName String
    Name of instance. Only supported when modifying.

    Import

    CynosDB cluster can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/cynosdbClusterV2:CynosdbClusterV2 example cynosdbmysql-im25yazt
    

    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.
    Viewing docs for tencentcloud 1.83.15
    published on Friday, Jul 24, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial