1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. TaurusdbMysqlInstanceV3
opentelekomcloud 1.36.48 published on Thursday, Sep 18, 2025 by opentelekomcloud

opentelekomcloud.TaurusdbMysqlInstanceV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.48 published on Thursday, Sep 18, 2025 by opentelekomcloud

    TaurusDB mysql instance management within OpenTelekomCloud.

    Example Usage

    create a basic instance

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const instance1 = new opentelekomcloud.TaurusdbMysqlInstanceV3("instance1", {
        password: _var.password,
        flavor: "gaussdb.mysql.4xlarge.x86.4",
        vpcId: _var.vpc_id,
        subnetId: _var.subnet_id,
        securityGroupId: _var.secgroup_id,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    instance1 = opentelekomcloud.TaurusdbMysqlInstanceV3("instance1",
        password=var["password"],
        flavor="gaussdb.mysql.4xlarge.x86.4",
        vpc_id=var["vpc_id"],
        subnet_id=var["subnet_id"],
        security_group_id=var["secgroup_id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.NewTaurusdbMysqlInstanceV3(ctx, "instance1", &opentelekomcloud.TaurusdbMysqlInstanceV3Args{
    			Password:        pulumi.Any(_var.Password),
    			Flavor:          pulumi.String("gaussdb.mysql.4xlarge.x86.4"),
    			VpcId:           pulumi.Any(_var.Vpc_id),
    			SubnetId:        pulumi.Any(_var.Subnet_id),
    			SecurityGroupId: pulumi.Any(_var.Secgroup_id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var instance1 = new Opentelekomcloud.TaurusdbMysqlInstanceV3("instance1", new()
        {
            Password = @var.Password,
            Flavor = "gaussdb.mysql.4xlarge.x86.4",
            VpcId = @var.Vpc_id,
            SubnetId = @var.Subnet_id,
            SecurityGroupId = @var.Secgroup_id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.TaurusdbMysqlInstanceV3;
    import com.pulumi.opentelekomcloud.TaurusdbMysqlInstanceV3Args;
    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 instance1 = new TaurusdbMysqlInstanceV3("instance1", TaurusdbMysqlInstanceV3Args.builder()
                .password(var_.password())
                .flavor("gaussdb.mysql.4xlarge.x86.4")
                .vpcId(var_.vpc_id())
                .subnetId(var_.subnet_id())
                .securityGroupId(var_.secgroup_id())
                .build());
    
        }
    }
    
    resources:
      instance1:
        type: opentelekomcloud:TaurusdbMysqlInstanceV3
        properties:
          password: ${var.password}
          flavor: gaussdb.mysql.4xlarge.x86.4
          vpcId: ${var.vpc_id}
          subnetId: ${var.subnet_id}
          securityGroupId: ${var.secgroup_id}
    

    create a taurusdb mysql instance with backup strategy

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const instance1 = new opentelekomcloud.TaurusdbMysqlInstanceV3("instance1", {
        password: _var.password,
        flavor: "gaussdb.mysql.4xlarge.x86.4",
        vpcId: _var.vpc_id,
        subnetId: _var.subnet_id,
        securityGroupId: _var.secgroup_id,
        backupStrategy: {
            startTime: "03:00-04:00",
            keepDays: 7,
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    instance1 = opentelekomcloud.TaurusdbMysqlInstanceV3("instance1",
        password=var["password"],
        flavor="gaussdb.mysql.4xlarge.x86.4",
        vpc_id=var["vpc_id"],
        subnet_id=var["subnet_id"],
        security_group_id=var["secgroup_id"],
        backup_strategy={
            "start_time": "03:00-04:00",
            "keep_days": 7,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.NewTaurusdbMysqlInstanceV3(ctx, "instance1", &opentelekomcloud.TaurusdbMysqlInstanceV3Args{
    			Password:        pulumi.Any(_var.Password),
    			Flavor:          pulumi.String("gaussdb.mysql.4xlarge.x86.4"),
    			VpcId:           pulumi.Any(_var.Vpc_id),
    			SubnetId:        pulumi.Any(_var.Subnet_id),
    			SecurityGroupId: pulumi.Any(_var.Secgroup_id),
    			BackupStrategy: &opentelekomcloud.TaurusdbMysqlInstanceV3BackupStrategyArgs{
    				StartTime: pulumi.String("03:00-04:00"),
    				KeepDays:  pulumi.Float64(7),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var instance1 = new Opentelekomcloud.TaurusdbMysqlInstanceV3("instance1", new()
        {
            Password = @var.Password,
            Flavor = "gaussdb.mysql.4xlarge.x86.4",
            VpcId = @var.Vpc_id,
            SubnetId = @var.Subnet_id,
            SecurityGroupId = @var.Secgroup_id,
            BackupStrategy = new Opentelekomcloud.Inputs.TaurusdbMysqlInstanceV3BackupStrategyArgs
            {
                StartTime = "03:00-04:00",
                KeepDays = 7,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.TaurusdbMysqlInstanceV3;
    import com.pulumi.opentelekomcloud.TaurusdbMysqlInstanceV3Args;
    import com.pulumi.opentelekomcloud.inputs.TaurusdbMysqlInstanceV3BackupStrategyArgs;
    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 instance1 = new TaurusdbMysqlInstanceV3("instance1", TaurusdbMysqlInstanceV3Args.builder()
                .password(var_.password())
                .flavor("gaussdb.mysql.4xlarge.x86.4")
                .vpcId(var_.vpc_id())
                .subnetId(var_.subnet_id())
                .securityGroupId(var_.secgroup_id())
                .backupStrategy(TaurusdbMysqlInstanceV3BackupStrategyArgs.builder()
                    .startTime("03:00-04:00")
                    .keepDays(7)
                    .build())
                .build());
    
        }
    }
    
    resources:
      instance1:
        type: opentelekomcloud:TaurusdbMysqlInstanceV3
        properties:
          password: ${var.password}
          flavor: gaussdb.mysql.4xlarge.x86.4
          vpcId: ${var.vpc_id}
          subnetId: ${var.subnet_id}
          securityGroupId: ${var.secgroup_id}
          backupStrategy:
            startTime: 03:00-04:00
            keepDays: 7
    

    Create TaurusdbMysqlInstanceV3 Resource

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

    Constructor syntax

    new TaurusdbMysqlInstanceV3(name: string, args: TaurusdbMysqlInstanceV3Args, opts?: CustomResourceOptions);
    @overload
    def TaurusdbMysqlInstanceV3(resource_name: str,
                                args: TaurusdbMysqlInstanceV3Args,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def TaurusdbMysqlInstanceV3(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                flavor: Optional[str] = None,
                                vpc_id: Optional[str] = None,
                                subnet_id: Optional[str] = None,
                                password: Optional[str] = None,
                                enterprise_project_id: Optional[str] = None,
                                seconds_level_monitoring_period: Optional[float] = None,
                                dedicated_resource_id: Optional[str] = None,
                                master_availability_zone: Optional[str] = None,
                                name: Optional[str] = None,
                                datastore: Optional[TaurusdbMysqlInstanceV3DatastoreArgs] = None,
                                port: Optional[float] = None,
                                read_replicas: Optional[float] = None,
                                seconds_level_monitoring_enabled: Optional[bool] = None,
                                availability_zone_mode: Optional[str] = None,
                                security_group_id: Optional[str] = None,
                                configuration_id: Optional[str] = None,
                                table_name_case_sensitivity: Optional[bool] = None,
                                taurusdb_mysql_instance_v3_id: Optional[str] = None,
                                time_zone: Optional[str] = None,
                                timeouts: Optional[TaurusdbMysqlInstanceV3TimeoutsArgs] = None,
                                volume_size: Optional[float] = None,
                                backup_strategy: Optional[TaurusdbMysqlInstanceV3BackupStrategyArgs] = None)
    func NewTaurusdbMysqlInstanceV3(ctx *Context, name string, args TaurusdbMysqlInstanceV3Args, opts ...ResourceOption) (*TaurusdbMysqlInstanceV3, error)
    public TaurusdbMysqlInstanceV3(string name, TaurusdbMysqlInstanceV3Args args, CustomResourceOptions? opts = null)
    public TaurusdbMysqlInstanceV3(String name, TaurusdbMysqlInstanceV3Args args)
    public TaurusdbMysqlInstanceV3(String name, TaurusdbMysqlInstanceV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:TaurusdbMysqlInstanceV3
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var taurusdbMysqlInstanceV3Resource = new Opentelekomcloud.TaurusdbMysqlInstanceV3("taurusdbMysqlInstanceV3Resource", new()
    {
        Flavor = "string",
        VpcId = "string",
        SubnetId = "string",
        Password = "string",
        EnterpriseProjectId = "string",
        SecondsLevelMonitoringPeriod = 0,
        DedicatedResourceId = "string",
        MasterAvailabilityZone = "string",
        Name = "string",
        Datastore = new Opentelekomcloud.Inputs.TaurusdbMysqlInstanceV3DatastoreArgs
        {
            Engine = "string",
            Version = "string",
        },
        Port = 0,
        ReadReplicas = 0,
        SecondsLevelMonitoringEnabled = false,
        AvailabilityZoneMode = "string",
        SecurityGroupId = "string",
        ConfigurationId = "string",
        TableNameCaseSensitivity = false,
        TaurusdbMysqlInstanceV3Id = "string",
        TimeZone = "string",
        Timeouts = new Opentelekomcloud.Inputs.TaurusdbMysqlInstanceV3TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        VolumeSize = 0,
        BackupStrategy = new Opentelekomcloud.Inputs.TaurusdbMysqlInstanceV3BackupStrategyArgs
        {
            StartTime = "string",
            KeepDays = 0,
        },
    });
    
    example, err := opentelekomcloud.NewTaurusdbMysqlInstanceV3(ctx, "taurusdbMysqlInstanceV3Resource", &opentelekomcloud.TaurusdbMysqlInstanceV3Args{
    	Flavor:                       pulumi.String("string"),
    	VpcId:                        pulumi.String("string"),
    	SubnetId:                     pulumi.String("string"),
    	Password:                     pulumi.String("string"),
    	EnterpriseProjectId:          pulumi.String("string"),
    	SecondsLevelMonitoringPeriod: pulumi.Float64(0),
    	DedicatedResourceId:          pulumi.String("string"),
    	MasterAvailabilityZone:       pulumi.String("string"),
    	Name:                         pulumi.String("string"),
    	Datastore: &opentelekomcloud.TaurusdbMysqlInstanceV3DatastoreArgs{
    		Engine:  pulumi.String("string"),
    		Version: pulumi.String("string"),
    	},
    	Port:                          pulumi.Float64(0),
    	ReadReplicas:                  pulumi.Float64(0),
    	SecondsLevelMonitoringEnabled: pulumi.Bool(false),
    	AvailabilityZoneMode:          pulumi.String("string"),
    	SecurityGroupId:               pulumi.String("string"),
    	ConfigurationId:               pulumi.String("string"),
    	TableNameCaseSensitivity:      pulumi.Bool(false),
    	TaurusdbMysqlInstanceV3Id:     pulumi.String("string"),
    	TimeZone:                      pulumi.String("string"),
    	Timeouts: &opentelekomcloud.TaurusdbMysqlInstanceV3TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	VolumeSize: pulumi.Float64(0),
    	BackupStrategy: &opentelekomcloud.TaurusdbMysqlInstanceV3BackupStrategyArgs{
    		StartTime: pulumi.String("string"),
    		KeepDays:  pulumi.Float64(0),
    	},
    })
    
    var taurusdbMysqlInstanceV3Resource = new TaurusdbMysqlInstanceV3("taurusdbMysqlInstanceV3Resource", TaurusdbMysqlInstanceV3Args.builder()
        .flavor("string")
        .vpcId("string")
        .subnetId("string")
        .password("string")
        .enterpriseProjectId("string")
        .secondsLevelMonitoringPeriod(0.0)
        .dedicatedResourceId("string")
        .masterAvailabilityZone("string")
        .name("string")
        .datastore(TaurusdbMysqlInstanceV3DatastoreArgs.builder()
            .engine("string")
            .version("string")
            .build())
        .port(0.0)
        .readReplicas(0.0)
        .secondsLevelMonitoringEnabled(false)
        .availabilityZoneMode("string")
        .securityGroupId("string")
        .configurationId("string")
        .tableNameCaseSensitivity(false)
        .taurusdbMysqlInstanceV3Id("string")
        .timeZone("string")
        .timeouts(TaurusdbMysqlInstanceV3TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .volumeSize(0.0)
        .backupStrategy(TaurusdbMysqlInstanceV3BackupStrategyArgs.builder()
            .startTime("string")
            .keepDays(0.0)
            .build())
        .build());
    
    taurusdb_mysql_instance_v3_resource = opentelekomcloud.TaurusdbMysqlInstanceV3("taurusdbMysqlInstanceV3Resource",
        flavor="string",
        vpc_id="string",
        subnet_id="string",
        password="string",
        enterprise_project_id="string",
        seconds_level_monitoring_period=0,
        dedicated_resource_id="string",
        master_availability_zone="string",
        name="string",
        datastore={
            "engine": "string",
            "version": "string",
        },
        port=0,
        read_replicas=0,
        seconds_level_monitoring_enabled=False,
        availability_zone_mode="string",
        security_group_id="string",
        configuration_id="string",
        table_name_case_sensitivity=False,
        taurusdb_mysql_instance_v3_id="string",
        time_zone="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        volume_size=0,
        backup_strategy={
            "start_time": "string",
            "keep_days": 0,
        })
    
    const taurusdbMysqlInstanceV3Resource = new opentelekomcloud.TaurusdbMysqlInstanceV3("taurusdbMysqlInstanceV3Resource", {
        flavor: "string",
        vpcId: "string",
        subnetId: "string",
        password: "string",
        enterpriseProjectId: "string",
        secondsLevelMonitoringPeriod: 0,
        dedicatedResourceId: "string",
        masterAvailabilityZone: "string",
        name: "string",
        datastore: {
            engine: "string",
            version: "string",
        },
        port: 0,
        readReplicas: 0,
        secondsLevelMonitoringEnabled: false,
        availabilityZoneMode: "string",
        securityGroupId: "string",
        configurationId: "string",
        tableNameCaseSensitivity: false,
        taurusdbMysqlInstanceV3Id: "string",
        timeZone: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        volumeSize: 0,
        backupStrategy: {
            startTime: "string",
            keepDays: 0,
        },
    });
    
    type: opentelekomcloud:TaurusdbMysqlInstanceV3
    properties:
        availabilityZoneMode: string
        backupStrategy:
            keepDays: 0
            startTime: string
        configurationId: string
        datastore:
            engine: string
            version: string
        dedicatedResourceId: string
        enterpriseProjectId: string
        flavor: string
        masterAvailabilityZone: string
        name: string
        password: string
        port: 0
        readReplicas: 0
        secondsLevelMonitoringEnabled: false
        secondsLevelMonitoringPeriod: 0
        securityGroupId: string
        subnetId: string
        tableNameCaseSensitivity: false
        taurusdbMysqlInstanceV3Id: string
        timeZone: string
        timeouts:
            create: string
            delete: string
            update: string
        volumeSize: 0
        vpcId: string
    

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

    Flavor string
    Specifies the instance specifications.
    Password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    SubnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    VpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    AvailabilityZoneMode string
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    BackupStrategy TaurusdbMysqlInstanceV3BackupStrategy
    Specifies the advanced backup policy. Structure is documented below.
    ConfigurationId string
    Specifies the configuration ID.
    Datastore TaurusdbMysqlInstanceV3Datastore
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    DedicatedResourceId string
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    EnterpriseProjectId string
    Specifies the enterprise project id. Required if EPS enabled.
    MasterAvailabilityZone string
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    Port double
    Specifies the database port.
    ReadReplicas double
    Specifies the count of read replicas. Defaults to 1.
    SecondsLevelMonitoringEnabled bool
    Specifies whether to enable seconds level monitoring.
    SecondsLevelMonitoringPeriod double
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    SecurityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    TableNameCaseSensitivity bool
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    TaurusdbMysqlInstanceV3Id string
    Indicates the node ID.
    TimeZone string
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    Timeouts TaurusdbMysqlInstanceV3Timeouts
    VolumeSize double
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.
    Flavor string
    Specifies the instance specifications.
    Password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    SubnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    VpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    AvailabilityZoneMode string
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    BackupStrategy TaurusdbMysqlInstanceV3BackupStrategyArgs
    Specifies the advanced backup policy. Structure is documented below.
    ConfigurationId string
    Specifies the configuration ID.
    Datastore TaurusdbMysqlInstanceV3DatastoreArgs
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    DedicatedResourceId string
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    EnterpriseProjectId string
    Specifies the enterprise project id. Required if EPS enabled.
    MasterAvailabilityZone string
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    Port float64
    Specifies the database port.
    ReadReplicas float64
    Specifies the count of read replicas. Defaults to 1.
    SecondsLevelMonitoringEnabled bool
    Specifies whether to enable seconds level monitoring.
    SecondsLevelMonitoringPeriod float64
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    SecurityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    TableNameCaseSensitivity bool
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    TaurusdbMysqlInstanceV3Id string
    Indicates the node ID.
    TimeZone string
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    Timeouts TaurusdbMysqlInstanceV3TimeoutsArgs
    VolumeSize float64
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.
    flavor String
    Specifies the instance specifications.
    password String
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    subnetId String
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    vpcId String
    Specifies the VPC ID. Changing this parameter will create a new resource.
    availabilityZoneMode String
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    backupStrategy TaurusdbMysqlInstanceV3BackupStrategy
    Specifies the advanced backup policy. Structure is documented below.
    configurationId String
    Specifies the configuration ID.
    datastore TaurusdbMysqlInstanceV3Datastore
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    dedicatedResourceId String
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    enterpriseProjectId String
    Specifies the enterprise project id. Required if EPS enabled.
    masterAvailabilityZone String
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    port Double
    Specifies the database port.
    readReplicas Double
    Specifies the count of read replicas. Defaults to 1.
    secondsLevelMonitoringEnabled Boolean
    Specifies whether to enable seconds level monitoring.
    secondsLevelMonitoringPeriod Double
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    securityGroupId String
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    tableNameCaseSensitivity Boolean
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    taurusdbMysqlInstanceV3Id String
    Indicates the node ID.
    timeZone String
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    timeouts TaurusdbMysqlInstanceV3Timeouts
    volumeSize Double
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.
    flavor string
    Specifies the instance specifications.
    password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    subnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    vpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    availabilityZoneMode string
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    backupStrategy TaurusdbMysqlInstanceV3BackupStrategy
    Specifies the advanced backup policy. Structure is documented below.
    configurationId string
    Specifies the configuration ID.
    datastore TaurusdbMysqlInstanceV3Datastore
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    dedicatedResourceId string
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    enterpriseProjectId string
    Specifies the enterprise project id. Required if EPS enabled.
    masterAvailabilityZone string
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    port number
    Specifies the database port.
    readReplicas number
    Specifies the count of read replicas. Defaults to 1.
    secondsLevelMonitoringEnabled boolean
    Specifies whether to enable seconds level monitoring.
    secondsLevelMonitoringPeriod number
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    securityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    tableNameCaseSensitivity boolean
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    taurusdbMysqlInstanceV3Id string
    Indicates the node ID.
    timeZone string
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    timeouts TaurusdbMysqlInstanceV3Timeouts
    volumeSize number
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.
    flavor str
    Specifies the instance specifications.
    password str
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    subnet_id str
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    vpc_id str
    Specifies the VPC ID. Changing this parameter will create a new resource.
    availability_zone_mode str
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    backup_strategy TaurusdbMysqlInstanceV3BackupStrategyArgs
    Specifies the advanced backup policy. Structure is documented below.
    configuration_id str
    Specifies the configuration ID.
    datastore TaurusdbMysqlInstanceV3DatastoreArgs
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    dedicated_resource_id str
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    enterprise_project_id str
    Specifies the enterprise project id. Required if EPS enabled.
    master_availability_zone str
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    name str
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    port float
    Specifies the database port.
    read_replicas float
    Specifies the count of read replicas. Defaults to 1.
    seconds_level_monitoring_enabled bool
    Specifies whether to enable seconds level monitoring.
    seconds_level_monitoring_period float
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    security_group_id str
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    table_name_case_sensitivity bool
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    taurusdb_mysql_instance_v3_id str
    Indicates the node ID.
    time_zone str
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    timeouts TaurusdbMysqlInstanceV3TimeoutsArgs
    volume_size float
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.
    flavor String
    Specifies the instance specifications.
    password String
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    subnetId String
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    vpcId String
    Specifies the VPC ID. Changing this parameter will create a new resource.
    availabilityZoneMode String
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    backupStrategy Property Map
    Specifies the advanced backup policy. Structure is documented below.
    configurationId String
    Specifies the configuration ID.
    datastore Property Map
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    dedicatedResourceId String
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    enterpriseProjectId String
    Specifies the enterprise project id. Required if EPS enabled.
    masterAvailabilityZone String
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    port Number
    Specifies the database port.
    readReplicas Number
    Specifies the count of read replicas. Defaults to 1.
    secondsLevelMonitoringEnabled Boolean
    Specifies whether to enable seconds level monitoring.
    secondsLevelMonitoringPeriod Number
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    securityGroupId String
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    tableNameCaseSensitivity Boolean
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    taurusdbMysqlInstanceV3Id String
    Indicates the node ID.
    timeZone String
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    timeouts Property Map
    volumeSize Number
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.

    Outputs

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

    CreatedAt string
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    DbUserName string
    Indicates the default username.
    Id string
    The provider-assigned unique ID for this managed resource.
    Mode string
    Indicates the instance mode.
    Nodes List<TaurusdbMysqlInstanceV3Node>
    Indicates the instance nodes information. The nodes structure is documented below.
    PrivateDnsName string
    Indicates the private domain name.
    PrivateWriteIp string
    Indicates the private IP address of the DB instance.
    Region string
    Indicates the DB instance region.
    Status string
    Indicates the node status.
    UpdatedAt string
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.
    CreatedAt string
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    DbUserName string
    Indicates the default username.
    Id string
    The provider-assigned unique ID for this managed resource.
    Mode string
    Indicates the instance mode.
    Nodes []TaurusdbMysqlInstanceV3Node
    Indicates the instance nodes information. The nodes structure is documented below.
    PrivateDnsName string
    Indicates the private domain name.
    PrivateWriteIp string
    Indicates the private IP address of the DB instance.
    Region string
    Indicates the DB instance region.
    Status string
    Indicates the node status.
    UpdatedAt string
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.
    createdAt String
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    dbUserName String
    Indicates the default username.
    id String
    The provider-assigned unique ID for this managed resource.
    mode String
    Indicates the instance mode.
    nodes List<TaurusdbMysqlInstanceV3Node>
    Indicates the instance nodes information. The nodes structure is documented below.
    privateDnsName String
    Indicates the private domain name.
    privateWriteIp String
    Indicates the private IP address of the DB instance.
    region String
    Indicates the DB instance region.
    status String
    Indicates the node status.
    updatedAt String
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.
    createdAt string
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    dbUserName string
    Indicates the default username.
    id string
    The provider-assigned unique ID for this managed resource.
    mode string
    Indicates the instance mode.
    nodes TaurusdbMysqlInstanceV3Node[]
    Indicates the instance nodes information. The nodes structure is documented below.
    privateDnsName string
    Indicates the private domain name.
    privateWriteIp string
    Indicates the private IP address of the DB instance.
    region string
    Indicates the DB instance region.
    status string
    Indicates the node status.
    updatedAt string
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.
    created_at str
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    db_user_name str
    Indicates the default username.
    id str
    The provider-assigned unique ID for this managed resource.
    mode str
    Indicates the instance mode.
    nodes Sequence[TaurusdbMysqlInstanceV3Node]
    Indicates the instance nodes information. The nodes structure is documented below.
    private_dns_name str
    Indicates the private domain name.
    private_write_ip str
    Indicates the private IP address of the DB instance.
    region str
    Indicates the DB instance region.
    status str
    Indicates the node status.
    updated_at str
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.
    createdAt String
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    dbUserName String
    Indicates the default username.
    id String
    The provider-assigned unique ID for this managed resource.
    mode String
    Indicates the instance mode.
    nodes List<Property Map>
    Indicates the instance nodes information. The nodes structure is documented below.
    privateDnsName String
    Indicates the private domain name.
    privateWriteIp String
    Indicates the private IP address of the DB instance.
    region String
    Indicates the DB instance region.
    status String
    Indicates the node status.
    updatedAt String
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.

    Look up Existing TaurusdbMysqlInstanceV3 Resource

    Get an existing TaurusdbMysqlInstanceV3 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?: TaurusdbMysqlInstanceV3State, opts?: CustomResourceOptions): TaurusdbMysqlInstanceV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_zone_mode: Optional[str] = None,
            backup_strategy: Optional[TaurusdbMysqlInstanceV3BackupStrategyArgs] = None,
            configuration_id: Optional[str] = None,
            created_at: Optional[str] = None,
            datastore: Optional[TaurusdbMysqlInstanceV3DatastoreArgs] = None,
            db_user_name: Optional[str] = None,
            dedicated_resource_id: Optional[str] = None,
            enterprise_project_id: Optional[str] = None,
            flavor: Optional[str] = None,
            master_availability_zone: Optional[str] = None,
            mode: Optional[str] = None,
            name: Optional[str] = None,
            nodes: Optional[Sequence[TaurusdbMysqlInstanceV3NodeArgs]] = None,
            password: Optional[str] = None,
            port: Optional[float] = None,
            private_dns_name: Optional[str] = None,
            private_write_ip: Optional[str] = None,
            read_replicas: Optional[float] = None,
            region: Optional[str] = None,
            seconds_level_monitoring_enabled: Optional[bool] = None,
            seconds_level_monitoring_period: Optional[float] = None,
            security_group_id: Optional[str] = None,
            status: Optional[str] = None,
            subnet_id: Optional[str] = None,
            table_name_case_sensitivity: Optional[bool] = None,
            taurusdb_mysql_instance_v3_id: Optional[str] = None,
            time_zone: Optional[str] = None,
            timeouts: Optional[TaurusdbMysqlInstanceV3TimeoutsArgs] = None,
            updated_at: Optional[str] = None,
            volume_size: Optional[float] = None,
            vpc_id: Optional[str] = None) -> TaurusdbMysqlInstanceV3
    func GetTaurusdbMysqlInstanceV3(ctx *Context, name string, id IDInput, state *TaurusdbMysqlInstanceV3State, opts ...ResourceOption) (*TaurusdbMysqlInstanceV3, error)
    public static TaurusdbMysqlInstanceV3 Get(string name, Input<string> id, TaurusdbMysqlInstanceV3State? state, CustomResourceOptions? opts = null)
    public static TaurusdbMysqlInstanceV3 get(String name, Output<String> id, TaurusdbMysqlInstanceV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:TaurusdbMysqlInstanceV3    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AvailabilityZoneMode string
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    BackupStrategy TaurusdbMysqlInstanceV3BackupStrategy
    Specifies the advanced backup policy. Structure is documented below.
    ConfigurationId string
    Specifies the configuration ID.
    CreatedAt string
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    Datastore TaurusdbMysqlInstanceV3Datastore
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    DbUserName string
    Indicates the default username.
    DedicatedResourceId string
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    EnterpriseProjectId string
    Specifies the enterprise project id. Required if EPS enabled.
    Flavor string
    Specifies the instance specifications.
    MasterAvailabilityZone string
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    Mode string
    Indicates the instance mode.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    Nodes List<TaurusdbMysqlInstanceV3Node>
    Indicates the instance nodes information. The nodes structure is documented below.
    Password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    Port double
    Specifies the database port.
    PrivateDnsName string
    Indicates the private domain name.
    PrivateWriteIp string
    Indicates the private IP address of the DB instance.
    ReadReplicas double
    Specifies the count of read replicas. Defaults to 1.
    Region string
    Indicates the DB instance region.
    SecondsLevelMonitoringEnabled bool
    Specifies whether to enable seconds level monitoring.
    SecondsLevelMonitoringPeriod double
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    SecurityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    Status string
    Indicates the node status.
    SubnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    TableNameCaseSensitivity bool
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    TaurusdbMysqlInstanceV3Id string
    Indicates the node ID.
    TimeZone string
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    Timeouts TaurusdbMysqlInstanceV3Timeouts
    UpdatedAt string
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.
    VolumeSize double
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.
    VpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    AvailabilityZoneMode string
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    BackupStrategy TaurusdbMysqlInstanceV3BackupStrategyArgs
    Specifies the advanced backup policy. Structure is documented below.
    ConfigurationId string
    Specifies the configuration ID.
    CreatedAt string
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    Datastore TaurusdbMysqlInstanceV3DatastoreArgs
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    DbUserName string
    Indicates the default username.
    DedicatedResourceId string
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    EnterpriseProjectId string
    Specifies the enterprise project id. Required if EPS enabled.
    Flavor string
    Specifies the instance specifications.
    MasterAvailabilityZone string
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    Mode string
    Indicates the instance mode.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    Nodes []TaurusdbMysqlInstanceV3NodeArgs
    Indicates the instance nodes information. The nodes structure is documented below.
    Password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    Port float64
    Specifies the database port.
    PrivateDnsName string
    Indicates the private domain name.
    PrivateWriteIp string
    Indicates the private IP address of the DB instance.
    ReadReplicas float64
    Specifies the count of read replicas. Defaults to 1.
    Region string
    Indicates the DB instance region.
    SecondsLevelMonitoringEnabled bool
    Specifies whether to enable seconds level monitoring.
    SecondsLevelMonitoringPeriod float64
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    SecurityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    Status string
    Indicates the node status.
    SubnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    TableNameCaseSensitivity bool
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    TaurusdbMysqlInstanceV3Id string
    Indicates the node ID.
    TimeZone string
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    Timeouts TaurusdbMysqlInstanceV3TimeoutsArgs
    UpdatedAt string
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.
    VolumeSize float64
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.
    VpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    availabilityZoneMode String
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    backupStrategy TaurusdbMysqlInstanceV3BackupStrategy
    Specifies the advanced backup policy. Structure is documented below.
    configurationId String
    Specifies the configuration ID.
    createdAt String
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    datastore TaurusdbMysqlInstanceV3Datastore
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    dbUserName String
    Indicates the default username.
    dedicatedResourceId String
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    enterpriseProjectId String
    Specifies the enterprise project id. Required if EPS enabled.
    flavor String
    Specifies the instance specifications.
    masterAvailabilityZone String
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    mode String
    Indicates the instance mode.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    nodes List<TaurusdbMysqlInstanceV3Node>
    Indicates the instance nodes information. The nodes structure is documented below.
    password String
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    port Double
    Specifies the database port.
    privateDnsName String
    Indicates the private domain name.
    privateWriteIp String
    Indicates the private IP address of the DB instance.
    readReplicas Double
    Specifies the count of read replicas. Defaults to 1.
    region String
    Indicates the DB instance region.
    secondsLevelMonitoringEnabled Boolean
    Specifies whether to enable seconds level monitoring.
    secondsLevelMonitoringPeriod Double
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    securityGroupId String
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    status String
    Indicates the node status.
    subnetId String
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    tableNameCaseSensitivity Boolean
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    taurusdbMysqlInstanceV3Id String
    Indicates the node ID.
    timeZone String
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    timeouts TaurusdbMysqlInstanceV3Timeouts
    updatedAt String
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.
    volumeSize Double
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.
    vpcId String
    Specifies the VPC ID. Changing this parameter will create a new resource.
    availabilityZoneMode string
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    backupStrategy TaurusdbMysqlInstanceV3BackupStrategy
    Specifies the advanced backup policy. Structure is documented below.
    configurationId string
    Specifies the configuration ID.
    createdAt string
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    datastore TaurusdbMysqlInstanceV3Datastore
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    dbUserName string
    Indicates the default username.
    dedicatedResourceId string
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    enterpriseProjectId string
    Specifies the enterprise project id. Required if EPS enabled.
    flavor string
    Specifies the instance specifications.
    masterAvailabilityZone string
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    mode string
    Indicates the instance mode.
    name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    nodes TaurusdbMysqlInstanceV3Node[]
    Indicates the instance nodes information. The nodes structure is documented below.
    password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    port number
    Specifies the database port.
    privateDnsName string
    Indicates the private domain name.
    privateWriteIp string
    Indicates the private IP address of the DB instance.
    readReplicas number
    Specifies the count of read replicas. Defaults to 1.
    region string
    Indicates the DB instance region.
    secondsLevelMonitoringEnabled boolean
    Specifies whether to enable seconds level monitoring.
    secondsLevelMonitoringPeriod number
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    securityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    status string
    Indicates the node status.
    subnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    tableNameCaseSensitivity boolean
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    taurusdbMysqlInstanceV3Id string
    Indicates the node ID.
    timeZone string
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    timeouts TaurusdbMysqlInstanceV3Timeouts
    updatedAt string
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.
    volumeSize number
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.
    vpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    availability_zone_mode str
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    backup_strategy TaurusdbMysqlInstanceV3BackupStrategyArgs
    Specifies the advanced backup policy. Structure is documented below.
    configuration_id str
    Specifies the configuration ID.
    created_at str
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    datastore TaurusdbMysqlInstanceV3DatastoreArgs
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    db_user_name str
    Indicates the default username.
    dedicated_resource_id str
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    enterprise_project_id str
    Specifies the enterprise project id. Required if EPS enabled.
    flavor str
    Specifies the instance specifications.
    master_availability_zone str
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    mode str
    Indicates the instance mode.
    name str
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    nodes Sequence[TaurusdbMysqlInstanceV3NodeArgs]
    Indicates the instance nodes information. The nodes structure is documented below.
    password str
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    port float
    Specifies the database port.
    private_dns_name str
    Indicates the private domain name.
    private_write_ip str
    Indicates the private IP address of the DB instance.
    read_replicas float
    Specifies the count of read replicas. Defaults to 1.
    region str
    Indicates the DB instance region.
    seconds_level_monitoring_enabled bool
    Specifies whether to enable seconds level monitoring.
    seconds_level_monitoring_period float
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    security_group_id str
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    status str
    Indicates the node status.
    subnet_id str
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    table_name_case_sensitivity bool
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    taurusdb_mysql_instance_v3_id str
    Indicates the node ID.
    time_zone str
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    timeouts TaurusdbMysqlInstanceV3TimeoutsArgs
    updated_at str
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.
    volume_size float
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.
    vpc_id str
    Specifies the VPC ID. Changing this parameter will create a new resource.
    availabilityZoneMode String
    Specifies the availability zone mode: "single" or "multi". Defaults to "single". Changing this parameter will create a new resource.
    backupStrategy Property Map
    Specifies the advanced backup policy. Structure is documented below.
    configurationId String
    Specifies the configuration ID.
    createdAt String
    Indicates the creation time in the yyyy-mm-ddThh:mm:ssZ format.
    datastore Property Map
    Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
    dbUserName String
    Indicates the default username.
    dedicatedResourceId String
    Specifies the dedicated resource ID. Changing this parameter will create a new resource.
    enterpriseProjectId String
    Specifies the enterprise project id. Required if EPS enabled.
    flavor String
    Specifies the instance specifications.
    masterAvailabilityZone String
    Specifies the availability zone where the master node resides. The parameter is required in multi availability zone mode. Changing this parameter will create a new resource.
    mode String
    Indicates the instance mode.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    nodes List<Property Map>
    Indicates the instance nodes information. The nodes structure is documented below.
    password String
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+?
    port Number
    Specifies the database port.
    privateDnsName String
    Indicates the private domain name.
    privateWriteIp String
    Indicates the private IP address of the DB instance.
    readReplicas Number
    Specifies the count of read replicas. Defaults to 1.
    region String
    Indicates the DB instance region.
    secondsLevelMonitoringEnabled Boolean
    Specifies whether to enable seconds level monitoring.
    secondsLevelMonitoringPeriod Number
    Specifies the seconds level collection period.

    • This parameter is valid only when seconds_level_monitoring_enabled is set to true.
    • This parameter can not be specified when seconds_level_monitoring_enabled is set to false.
    • Value options:
    • 1: The collection period is 1s.
    • 5 (default value): The collection period is 5s.
    securityGroupId String
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    status String
    Indicates the node status.
    subnetId String
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    tableNameCaseSensitivity Boolean
    Whether the kernel table name is case sensitive. The value can be true (case sensitive) and false (case insensitive). Defaults to false. This parameter only works during creation.
    taurusdbMysqlInstanceV3Id String
    Indicates the node ID.
    timeZone String
    Specifies the time zone. Defaults to "UTC+08:00". Changing this parameter will create a new resource.
    timeouts Property Map
    updatedAt String
    Indicates the Update time in the yyyy-mm-ddThh:mm:ssZ format.
    volumeSize Number
    Specifies the volume size of the instance. The new storage space must be greater than the current storage and must be a multiple of 10 GB. Only valid when in prePaid mode.
    vpcId String
    Specifies the VPC ID. Changing this parameter will create a new resource.

    Supporting Types

    TaurusdbMysqlInstanceV3BackupStrategy, TaurusdbMysqlInstanceV3BackupStrategyArgs

    StartTime string
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    KeepDays double
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
    StartTime string
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    KeepDays float64
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
    startTime String
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    keepDays Double
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
    startTime string
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    keepDays number
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
    start_time str
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    keep_days float
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
    startTime String
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    keepDays Number
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.

    TaurusdbMysqlInstanceV3Datastore, TaurusdbMysqlInstanceV3DatastoreArgs

    Engine string
    Specifies the database engine. Only "gaussdb-mysql" is supported now. Changing this parameter will create a new resource.
    Version string
    Specifies the database version. Only "8.0" is supported now. Changing this parameter will create a new resource.
    Engine string
    Specifies the database engine. Only "gaussdb-mysql" is supported now. Changing this parameter will create a new resource.
    Version string
    Specifies the database version. Only "8.0" is supported now. Changing this parameter will create a new resource.
    engine String
    Specifies the database engine. Only "gaussdb-mysql" is supported now. Changing this parameter will create a new resource.
    version String
    Specifies the database version. Only "8.0" is supported now. Changing this parameter will create a new resource.
    engine string
    Specifies the database engine. Only "gaussdb-mysql" is supported now. Changing this parameter will create a new resource.
    version string
    Specifies the database version. Only "8.0" is supported now. Changing this parameter will create a new resource.
    engine str
    Specifies the database engine. Only "gaussdb-mysql" is supported now. Changing this parameter will create a new resource.
    version str
    Specifies the database version. Only "8.0" is supported now. Changing this parameter will create a new resource.
    engine String
    Specifies the database engine. Only "gaussdb-mysql" is supported now. Changing this parameter will create a new resource.
    version String
    Specifies the database version. Only "8.0" is supported now. Changing this parameter will create a new resource.

    TaurusdbMysqlInstanceV3Node, TaurusdbMysqlInstanceV3NodeArgs

    AvailabilityZone string
    Indicates the availability zone where the node resides.
    Id string
    Indicates the node ID.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    PrivateReadIp string
    Indicates the private IP address of a node.
    Status string
    Indicates the node status.
    Type string
    Indicates the node type: master or slave.
    AvailabilityZone string
    Indicates the availability zone where the node resides.
    Id string
    Indicates the node ID.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    PrivateReadIp string
    Indicates the private IP address of a node.
    Status string
    Indicates the node status.
    Type string
    Indicates the node type: master or slave.
    availabilityZone String
    Indicates the availability zone where the node resides.
    id String
    Indicates the node ID.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    privateReadIp String
    Indicates the private IP address of a node.
    status String
    Indicates the node status.
    type String
    Indicates the node type: master or slave.
    availabilityZone string
    Indicates the availability zone where the node resides.
    id string
    Indicates the node ID.
    name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    privateReadIp string
    Indicates the private IP address of a node.
    status string
    Indicates the node status.
    type string
    Indicates the node type: master or slave.
    availability_zone str
    Indicates the availability zone where the node resides.
    id str
    Indicates the node ID.
    name str
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    private_read_ip str
    Indicates the private IP address of a node.
    status str
    Indicates the node status.
    type str
    Indicates the node type: master or slave.
    availabilityZone String
    Indicates the availability zone where the node resides.
    id String
    Indicates the node ID.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    privateReadIp String
    Indicates the private IP address of a node.
    status String
    Indicates the node status.
    type String
    Indicates the node type: master or slave.

    TaurusdbMysqlInstanceV3Timeouts, TaurusdbMysqlInstanceV3TimeoutsArgs

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

    Import

    TaurusDB instance can be imported using the id, e.g.

    bash

    $ pulumi import opentelekomcloud:index/taurusdbMysqlInstanceV3:TaurusdbMysqlInstanceV3 test <id>
    

    Note that the imported state may not be identical to your resource definition, due to the attribute missing from the

    API response. The missing attribute is: table_name_case_sensitivity, enterprise_project_id, password.

    It is generally recommended running pulumi preview after importing

    a TaurusDB MySQL instance. You can then decide if changes should be applied to the TaurusDB MySQL instance, or the resource

    definition should be updated to align with the TaurusDB MySQL instance. Also you can ignore changes as below.

    hcl

    resource “opentelekomcloud_taurusdb_mysql_instance_v3” “test” {

    lifecycle {

    ignore_changes = [
    
      table_name_case_sensitivity, enterprise_project_id, password
    
    ]
    

    }

    }

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

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.48 published on Thursday, Sep 18, 2025 by opentelekomcloud