1. Packages
  2. Volcengine
  3. API Docs
  4. rds_mysql
  5. Instance
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.rds_mysql.Instance

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Provides a resource to manage rds mysql instance

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var fooZones = Volcengine.Ecs.Zones.Invoke();
    
        var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
        {
            VpcName = "acc-test-project1",
            CidrBlock = "172.16.0.0/16",
        });
    
        var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
        {
            SubnetName = "acc-subnet-test-2",
            CidrBlock = "172.16.0.0/24",
            ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
            VpcId = fooVpc.Id,
        });
    
        var fooInstance = new Volcengine.Rds_mysql.Instance("fooInstance", new()
        {
            DbEngineVersion = "MySQL_5_7",
            NodeSpec = "rds.mysql.1c2g",
            PrimaryZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
            SecondaryZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
            StorageSpace = 80,
            SubnetId = fooSubnet.Id,
            InstanceName = "acc-test",
            LowerCaseTableNames = "1",
            ChargeInfo = new Volcengine.Rds_mysql.Inputs.InstanceChargeInfoArgs
            {
                ChargeType = "PostPaid",
            },
            Parameters = new[]
            {
                new Volcengine.Rds_mysql.Inputs.InstanceParameterArgs
                {
                    ParameterName = "auto_increment_increment",
                    ParameterValue = "2",
                },
                new Volcengine.Rds_mysql.Inputs.InstanceParameterArgs
                {
                    ParameterName = "auto_increment_offset",
                    ParameterValue = "4",
                },
            },
            ProjectName = "default",
            Tags = new[]
            {
                new Volcengine.Rds_mysql.Inputs.InstanceTagArgs
                {
                    Key = "k1",
                    Value = "v1",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_mysql"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		fooZones, err := ecs.Zones(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
    			VpcName:   pulumi.String("acc-test-project1"),
    			CidrBlock: pulumi.String("172.16.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
    			SubnetName: pulumi.String("acc-subnet-test-2"),
    			CidrBlock:  pulumi.String("172.16.0.0/24"),
    			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
    			VpcId:      fooVpc.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = rds_mysql.NewInstance(ctx, "fooInstance", &rds_mysql.InstanceArgs{
    			DbEngineVersion:     pulumi.String("MySQL_5_7"),
    			NodeSpec:            pulumi.String("rds.mysql.1c2g"),
    			PrimaryZoneId:       *pulumi.String(fooZones.Zones[0].Id),
    			SecondaryZoneId:     *pulumi.String(fooZones.Zones[0].Id),
    			StorageSpace:        pulumi.Int(80),
    			SubnetId:            fooSubnet.ID(),
    			InstanceName:        pulumi.String("acc-test"),
    			LowerCaseTableNames: pulumi.String("1"),
    			ChargeInfo: &rds_mysql.InstanceChargeInfoArgs{
    				ChargeType: pulumi.String("PostPaid"),
    			},
    			Parameters: rds_mysql.InstanceParameterArray{
    				&rds_mysql.InstanceParameterArgs{
    					ParameterName:  pulumi.String("auto_increment_increment"),
    					ParameterValue: pulumi.String("2"),
    				},
    				&rds_mysql.InstanceParameterArgs{
    					ParameterName:  pulumi.String("auto_increment_offset"),
    					ParameterValue: pulumi.String("4"),
    				},
    			},
    			ProjectName: pulumi.String("default"),
    			Tags: rds_mysql.InstanceTagArray{
    				&rds_mysql.InstanceTagArgs{
    					Key:   pulumi.String("k1"),
    					Value: pulumi.String("v1"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.ecs.EcsFunctions;
    import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
    import com.pulumi.volcengine.vpc.Vpc;
    import com.pulumi.volcengine.vpc.VpcArgs;
    import com.pulumi.volcengine.vpc.Subnet;
    import com.pulumi.volcengine.vpc.SubnetArgs;
    import com.pulumi.volcengine.rds_mysql.Instance;
    import com.pulumi.volcengine.rds_mysql.InstanceArgs;
    import com.pulumi.volcengine.rds_mysql.inputs.InstanceChargeInfoArgs;
    import com.pulumi.volcengine.rds_mysql.inputs.InstanceParameterArgs;
    import com.pulumi.volcengine.rds_mysql.inputs.InstanceTagArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var fooZones = EcsFunctions.Zones();
    
            var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
                .vpcName("acc-test-project1")
                .cidrBlock("172.16.0.0/16")
                .build());
    
            var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
                .subnetName("acc-subnet-test-2")
                .cidrBlock("172.16.0.0/24")
                .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
                .vpcId(fooVpc.id())
                .build());
    
            var fooInstance = new Instance("fooInstance", InstanceArgs.builder()        
                .dbEngineVersion("MySQL_5_7")
                .nodeSpec("rds.mysql.1c2g")
                .primaryZoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
                .secondaryZoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
                .storageSpace(80)
                .subnetId(fooSubnet.id())
                .instanceName("acc-test")
                .lowerCaseTableNames("1")
                .chargeInfo(InstanceChargeInfoArgs.builder()
                    .chargeType("PostPaid")
                    .build())
                .parameters(            
                    InstanceParameterArgs.builder()
                        .parameterName("auto_increment_increment")
                        .parameterValue("2")
                        .build(),
                    InstanceParameterArgs.builder()
                        .parameterName("auto_increment_offset")
                        .parameterValue("4")
                        .build())
                .projectName("default")
                .tags(InstanceTagArgs.builder()
                    .key("k1")
                    .value("v1")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo_zones = volcengine.ecs.zones()
    foo_vpc = volcengine.vpc.Vpc("fooVpc",
        vpc_name="acc-test-project1",
        cidr_block="172.16.0.0/16")
    foo_subnet = volcengine.vpc.Subnet("fooSubnet",
        subnet_name="acc-subnet-test-2",
        cidr_block="172.16.0.0/24",
        zone_id=foo_zones.zones[0].id,
        vpc_id=foo_vpc.id)
    foo_instance = volcengine.rds_mysql.Instance("fooInstance",
        db_engine_version="MySQL_5_7",
        node_spec="rds.mysql.1c2g",
        primary_zone_id=foo_zones.zones[0].id,
        secondary_zone_id=foo_zones.zones[0].id,
        storage_space=80,
        subnet_id=foo_subnet.id,
        instance_name="acc-test",
        lower_case_table_names="1",
        charge_info=volcengine.rds_mysql.InstanceChargeInfoArgs(
            charge_type="PostPaid",
        ),
        parameters=[
            volcengine.rds_mysql.InstanceParameterArgs(
                parameter_name="auto_increment_increment",
                parameter_value="2",
            ),
            volcengine.rds_mysql.InstanceParameterArgs(
                parameter_name="auto_increment_offset",
                parameter_value="4",
            ),
        ],
        project_name="default",
        tags=[volcengine.rds_mysql.InstanceTagArgs(
            key="k1",
            value="v1",
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    import * as volcengine from "@volcengine/pulumi";
    
    const fooZones = volcengine.ecs.Zones({});
    const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
        vpcName: "acc-test-project1",
        cidrBlock: "172.16.0.0/16",
    });
    const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
        subnetName: "acc-subnet-test-2",
        cidrBlock: "172.16.0.0/24",
        zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
        vpcId: fooVpc.id,
    });
    const fooInstance = new volcengine.rds_mysql.Instance("fooInstance", {
        dbEngineVersion: "MySQL_5_7",
        nodeSpec: "rds.mysql.1c2g",
        primaryZoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
        secondaryZoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
        storageSpace: 80,
        subnetId: fooSubnet.id,
        instanceName: "acc-test",
        lowerCaseTableNames: "1",
        chargeInfo: {
            chargeType: "PostPaid",
        },
        parameters: [
            {
                parameterName: "auto_increment_increment",
                parameterValue: "2",
            },
            {
                parameterName: "auto_increment_offset",
                parameterValue: "4",
            },
        ],
        projectName: "default",
        tags: [{
            key: "k1",
            value: "v1",
        }],
    });
    
    resources:
      fooVpc:
        type: volcengine:vpc:Vpc
        properties:
          vpcName: acc-test-project1
          cidrBlock: 172.16.0.0/16
      fooSubnet:
        type: volcengine:vpc:Subnet
        properties:
          subnetName: acc-subnet-test-2
          cidrBlock: 172.16.0.0/24
          zoneId: ${fooZones.zones[0].id}
          vpcId: ${fooVpc.id}
      fooInstance:
        type: volcengine:rds_mysql:Instance
        properties:
          dbEngineVersion: MySQL_5_7
          nodeSpec: rds.mysql.1c2g
          primaryZoneId: ${fooZones.zones[0].id}
          secondaryZoneId: ${fooZones.zones[0].id}
          storageSpace: 80
          subnetId: ${fooSubnet.id}
          instanceName: acc-test
          lowerCaseTableNames: '1'
          chargeInfo:
            chargeType: PostPaid
          parameters:
            - parameterName: auto_increment_increment
              parameterValue: '2'
            - parameterName: auto_increment_offset
              parameterValue: '4'
          projectName: default
          tags:
            - key: k1
              value: v1
    variables:
      fooZones:
        fn::invoke:
          Function: volcengine:ecs:Zones
          Arguments: {}
    

    Create Instance Resource

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

    Constructor syntax

    new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
    @overload
    def Instance(resource_name: str,
                 args: InstanceArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Instance(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 node_spec: Optional[str] = None,
                 charge_info: Optional[InstanceChargeInfoArgs] = None,
                 db_engine_version: Optional[str] = None,
                 subnet_id: Optional[str] = None,
                 secondary_zone_id: Optional[str] = None,
                 primary_zone_id: Optional[str] = None,
                 db_time_zone: Optional[str] = None,
                 parameters: Optional[Sequence[InstanceParameterArgs]] = None,
                 lower_case_table_names: Optional[str] = None,
                 project_name: Optional[str] = None,
                 instance_name: Optional[str] = None,
                 storage_space: Optional[int] = None,
                 allow_list_ids: Optional[Sequence[str]] = None,
                 tags: Optional[Sequence[InstanceTagArgs]] = None)
    func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
    public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
    public Instance(String name, InstanceArgs args)
    public Instance(String name, InstanceArgs args, CustomResourceOptions options)
    
    type: volcengine:rds_mysql:Instance
    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 InstanceArgs
    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 InstanceArgs
    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 InstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceArgs
    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 exampleinstanceResourceResourceFromRds_mysqlinstance = new Volcengine.Rds_mysql.Instance("exampleinstanceResourceResourceFromRds_mysqlinstance", new()
    {
        NodeSpec = "string",
        ChargeInfo = new Volcengine.Rds_mysql.Inputs.InstanceChargeInfoArgs
        {
            ChargeType = "string",
            AutoRenew = false,
            Period = 0,
            PeriodUnit = "string",
        },
        DbEngineVersion = "string",
        SubnetId = "string",
        SecondaryZoneId = "string",
        PrimaryZoneId = "string",
        DbTimeZone = "string",
        Parameters = new[]
        {
            new Volcengine.Rds_mysql.Inputs.InstanceParameterArgs
            {
                ParameterName = "string",
                ParameterValue = "string",
            },
        },
        LowerCaseTableNames = "string",
        ProjectName = "string",
        InstanceName = "string",
        StorageSpace = 0,
        AllowListIds = new[]
        {
            "string",
        },
        Tags = new[]
        {
            new Volcengine.Rds_mysql.Inputs.InstanceTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := rds_mysql.NewInstance(ctx, "exampleinstanceResourceResourceFromRds_mysqlinstance", &rds_mysql.InstanceArgs{
    	NodeSpec: pulumi.String("string"),
    	ChargeInfo: &rds_mysql.InstanceChargeInfoArgs{
    		ChargeType: pulumi.String("string"),
    		AutoRenew:  pulumi.Bool(false),
    		Period:     pulumi.Int(0),
    		PeriodUnit: pulumi.String("string"),
    	},
    	DbEngineVersion: pulumi.String("string"),
    	SubnetId:        pulumi.String("string"),
    	SecondaryZoneId: pulumi.String("string"),
    	PrimaryZoneId:   pulumi.String("string"),
    	DbTimeZone:      pulumi.String("string"),
    	Parameters: rds_mysql.InstanceParameterArray{
    		&rds_mysql.InstanceParameterArgs{
    			ParameterName:  pulumi.String("string"),
    			ParameterValue: pulumi.String("string"),
    		},
    	},
    	LowerCaseTableNames: pulumi.String("string"),
    	ProjectName:         pulumi.String("string"),
    	InstanceName:        pulumi.String("string"),
    	StorageSpace:        pulumi.Int(0),
    	AllowListIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: rds_mysql.InstanceTagArray{
    		&rds_mysql.InstanceTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var exampleinstanceResourceResourceFromRds_mysqlinstance = new Instance("exampleinstanceResourceResourceFromRds_mysqlinstance", InstanceArgs.builder()
        .nodeSpec("string")
        .chargeInfo(InstanceChargeInfoArgs.builder()
            .chargeType("string")
            .autoRenew(false)
            .period(0)
            .periodUnit("string")
            .build())
        .dbEngineVersion("string")
        .subnetId("string")
        .secondaryZoneId("string")
        .primaryZoneId("string")
        .dbTimeZone("string")
        .parameters(InstanceParameterArgs.builder()
            .parameterName("string")
            .parameterValue("string")
            .build())
        .lowerCaseTableNames("string")
        .projectName("string")
        .instanceName("string")
        .storageSpace(0)
        .allowListIds("string")
        .tags(InstanceTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    exampleinstance_resource_resource_from_rds_mysqlinstance = volcengine.rds_mysql.Instance("exampleinstanceResourceResourceFromRds_mysqlinstance",
        node_spec="string",
        charge_info={
            "charge_type": "string",
            "auto_renew": False,
            "period": 0,
            "period_unit": "string",
        },
        db_engine_version="string",
        subnet_id="string",
        secondary_zone_id="string",
        primary_zone_id="string",
        db_time_zone="string",
        parameters=[{
            "parameter_name": "string",
            "parameter_value": "string",
        }],
        lower_case_table_names="string",
        project_name="string",
        instance_name="string",
        storage_space=0,
        allow_list_ids=["string"],
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const exampleinstanceResourceResourceFromRds_mysqlinstance = new volcengine.rds_mysql.Instance("exampleinstanceResourceResourceFromRds_mysqlinstance", {
        nodeSpec: "string",
        chargeInfo: {
            chargeType: "string",
            autoRenew: false,
            period: 0,
            periodUnit: "string",
        },
        dbEngineVersion: "string",
        subnetId: "string",
        secondaryZoneId: "string",
        primaryZoneId: "string",
        dbTimeZone: "string",
        parameters: [{
            parameterName: "string",
            parameterValue: "string",
        }],
        lowerCaseTableNames: "string",
        projectName: "string",
        instanceName: "string",
        storageSpace: 0,
        allowListIds: ["string"],
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: volcengine:rds_mysql:Instance
    properties:
        allowListIds:
            - string
        chargeInfo:
            autoRenew: false
            chargeType: string
            period: 0
            periodUnit: string
        dbEngineVersion: string
        dbTimeZone: string
        instanceName: string
        lowerCaseTableNames: string
        nodeSpec: string
        parameters:
            - parameterName: string
              parameterValue: string
        primaryZoneId: string
        projectName: string
        secondaryZoneId: string
        storageSpace: 0
        subnetId: string
        tags:
            - key: string
              value: string
    

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

    ChargeInfo InstanceChargeInfo
    Payment methods.
    DbEngineVersion string
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    NodeSpec string
    The specification of primary node and secondary node.
    PrimaryZoneId string
    The available zone of primary node.
    SecondaryZoneId string
    The available zone of secondary node.
    SubnetId string
    Subnet ID of the RDS instance.
    AllowListIds List<string>
    Allow list Ids of the RDS instance.
    DbTimeZone string
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    InstanceName string
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    LowerCaseTableNames string
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    Parameters List<InstanceParameter>
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    ProjectName string
    The project name of the RDS instance.
    StorageSpace int
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    Tags List<InstanceTag>
    Tags.
    ChargeInfo InstanceChargeInfoArgs
    Payment methods.
    DbEngineVersion string
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    NodeSpec string
    The specification of primary node and secondary node.
    PrimaryZoneId string
    The available zone of primary node.
    SecondaryZoneId string
    The available zone of secondary node.
    SubnetId string
    Subnet ID of the RDS instance.
    AllowListIds []string
    Allow list Ids of the RDS instance.
    DbTimeZone string
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    InstanceName string
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    LowerCaseTableNames string
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    Parameters []InstanceParameterArgs
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    ProjectName string
    The project name of the RDS instance.
    StorageSpace int
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    Tags []InstanceTagArgs
    Tags.
    chargeInfo InstanceChargeInfo
    Payment methods.
    dbEngineVersion String
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    nodeSpec String
    The specification of primary node and secondary node.
    primaryZoneId String
    The available zone of primary node.
    secondaryZoneId String
    The available zone of secondary node.
    subnetId String
    Subnet ID of the RDS instance.
    allowListIds List<String>
    Allow list Ids of the RDS instance.
    dbTimeZone String
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    instanceName String
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    lowerCaseTableNames String
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    parameters List<InstanceParameter>
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    projectName String
    The project name of the RDS instance.
    storageSpace Integer
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    tags List<InstanceTag>
    Tags.
    chargeInfo InstanceChargeInfo
    Payment methods.
    dbEngineVersion string
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    nodeSpec string
    The specification of primary node and secondary node.
    primaryZoneId string
    The available zone of primary node.
    secondaryZoneId string
    The available zone of secondary node.
    subnetId string
    Subnet ID of the RDS instance.
    allowListIds string[]
    Allow list Ids of the RDS instance.
    dbTimeZone string
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    instanceName string
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    lowerCaseTableNames string
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    parameters InstanceParameter[]
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    projectName string
    The project name of the RDS instance.
    storageSpace number
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    tags InstanceTag[]
    Tags.
    charge_info InstanceChargeInfoArgs
    Payment methods.
    db_engine_version str
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    node_spec str
    The specification of primary node and secondary node.
    primary_zone_id str
    The available zone of primary node.
    secondary_zone_id str
    The available zone of secondary node.
    subnet_id str
    Subnet ID of the RDS instance.
    allow_list_ids Sequence[str]
    Allow list Ids of the RDS instance.
    db_time_zone str
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    instance_name str
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    lower_case_table_names str
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    parameters Sequence[InstanceParameterArgs]
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    project_name str
    The project name of the RDS instance.
    storage_space int
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    tags Sequence[InstanceTagArgs]
    Tags.
    chargeInfo Property Map
    Payment methods.
    dbEngineVersion String
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    nodeSpec String
    The specification of primary node and secondary node.
    primaryZoneId String
    The available zone of primary node.
    secondaryZoneId String
    The available zone of secondary node.
    subnetId String
    Subnet ID of the RDS instance.
    allowListIds List<String>
    Allow list Ids of the RDS instance.
    dbTimeZone String
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    instanceName String
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    lowerCaseTableNames String
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    parameters List<Property Map>
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    projectName String
    The project name of the RDS instance.
    storageSpace Number
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    tags List<Property Map>
    Tags.

    Outputs

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

    AllowListVersion string
    The version of allow list.
    BackupUse int
    The instance has used backup space. Unit: GB.
    ChargeDetails List<InstanceChargeDetail>
    Payment methods.
    CreateTime string
    Node creation local time.
    DataSyncMode string
    Data synchronization mode.
    Endpoints List<InstanceEndpoint>
    The endpoint info of the RDS instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Instance ID.
    InstanceStatus string
    The status of the RDS instance.
    MaintenanceWindows List<InstanceMaintenanceWindow>
    Maintenance Window.
    Memory int
    Memory size in GB.
    NodeNumber int
    The number of nodes.
    Nodes List<InstanceNode>
    Instance node information.
    RegionId string
    The region of the RDS instance.
    StorageType string
    Instance storage type.
    StorageUse int
    The instance has used storage space. Unit: GB.
    TimeZone string
    Time zone.
    UpdateTime string
    The update time of the RDS instance.
    VCpu int
    CPU size.
    VpcId string
    The vpc ID of the RDS instance.
    ZoneId string
    The available zone of the RDS instance.
    AllowListVersion string
    The version of allow list.
    BackupUse int
    The instance has used backup space. Unit: GB.
    ChargeDetails []InstanceChargeDetail
    Payment methods.
    CreateTime string
    Node creation local time.
    DataSyncMode string
    Data synchronization mode.
    Endpoints []InstanceEndpoint
    The endpoint info of the RDS instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Instance ID.
    InstanceStatus string
    The status of the RDS instance.
    MaintenanceWindows []InstanceMaintenanceWindow
    Maintenance Window.
    Memory int
    Memory size in GB.
    NodeNumber int
    The number of nodes.
    Nodes []InstanceNode
    Instance node information.
    RegionId string
    The region of the RDS instance.
    StorageType string
    Instance storage type.
    StorageUse int
    The instance has used storage space. Unit: GB.
    TimeZone string
    Time zone.
    UpdateTime string
    The update time of the RDS instance.
    VCpu int
    CPU size.
    VpcId string
    The vpc ID of the RDS instance.
    ZoneId string
    The available zone of the RDS instance.
    allowListVersion String
    The version of allow list.
    backupUse Integer
    The instance has used backup space. Unit: GB.
    chargeDetails List<InstanceChargeDetail>
    Payment methods.
    createTime String
    Node creation local time.
    dataSyncMode String
    Data synchronization mode.
    endpoints List<InstanceEndpoint>
    The endpoint info of the RDS instance.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    Instance ID.
    instanceStatus String
    The status of the RDS instance.
    maintenanceWindows List<InstanceMaintenanceWindow>
    Maintenance Window.
    memory Integer
    Memory size in GB.
    nodeNumber Integer
    The number of nodes.
    nodes List<InstanceNode>
    Instance node information.
    regionId String
    The region of the RDS instance.
    storageType String
    Instance storage type.
    storageUse Integer
    The instance has used storage space. Unit: GB.
    timeZone String
    Time zone.
    updateTime String
    The update time of the RDS instance.
    vCpu Integer
    CPU size.
    vpcId String
    The vpc ID of the RDS instance.
    zoneId String
    The available zone of the RDS instance.
    allowListVersion string
    The version of allow list.
    backupUse number
    The instance has used backup space. Unit: GB.
    chargeDetails InstanceChargeDetail[]
    Payment methods.
    createTime string
    Node creation local time.
    dataSyncMode string
    Data synchronization mode.
    endpoints InstanceEndpoint[]
    The endpoint info of the RDS instance.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    Instance ID.
    instanceStatus string
    The status of the RDS instance.
    maintenanceWindows InstanceMaintenanceWindow[]
    Maintenance Window.
    memory number
    Memory size in GB.
    nodeNumber number
    The number of nodes.
    nodes InstanceNode[]
    Instance node information.
    regionId string
    The region of the RDS instance.
    storageType string
    Instance storage type.
    storageUse number
    The instance has used storage space. Unit: GB.
    timeZone string
    Time zone.
    updateTime string
    The update time of the RDS instance.
    vCpu number
    CPU size.
    vpcId string
    The vpc ID of the RDS instance.
    zoneId string
    The available zone of the RDS instance.
    allow_list_version str
    The version of allow list.
    backup_use int
    The instance has used backup space. Unit: GB.
    charge_details Sequence[InstanceChargeDetail]
    Payment methods.
    create_time str
    Node creation local time.
    data_sync_mode str
    Data synchronization mode.
    endpoints Sequence[InstanceEndpoint]
    The endpoint info of the RDS instance.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    Instance ID.
    instance_status str
    The status of the RDS instance.
    maintenance_windows Sequence[InstanceMaintenanceWindow]
    Maintenance Window.
    memory int
    Memory size in GB.
    node_number int
    The number of nodes.
    nodes Sequence[InstanceNode]
    Instance node information.
    region_id str
    The region of the RDS instance.
    storage_type str
    Instance storage type.
    storage_use int
    The instance has used storage space. Unit: GB.
    time_zone str
    Time zone.
    update_time str
    The update time of the RDS instance.
    v_cpu int
    CPU size.
    vpc_id str
    The vpc ID of the RDS instance.
    zone_id str
    The available zone of the RDS instance.
    allowListVersion String
    The version of allow list.
    backupUse Number
    The instance has used backup space. Unit: GB.
    chargeDetails List<Property Map>
    Payment methods.
    createTime String
    Node creation local time.
    dataSyncMode String
    Data synchronization mode.
    endpoints List<Property Map>
    The endpoint info of the RDS instance.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    Instance ID.
    instanceStatus String
    The status of the RDS instance.
    maintenanceWindows List<Property Map>
    Maintenance Window.
    memory Number
    Memory size in GB.
    nodeNumber Number
    The number of nodes.
    nodes List<Property Map>
    Instance node information.
    regionId String
    The region of the RDS instance.
    storageType String
    Instance storage type.
    storageUse Number
    The instance has used storage space. Unit: GB.
    timeZone String
    Time zone.
    updateTime String
    The update time of the RDS instance.
    vCpu Number
    CPU size.
    vpcId String
    The vpc ID of the RDS instance.
    zoneId String
    The available zone of the RDS instance.

    Look up Existing Instance Resource

    Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_list_ids: Optional[Sequence[str]] = None,
            allow_list_version: Optional[str] = None,
            backup_use: Optional[int] = None,
            charge_details: Optional[Sequence[InstanceChargeDetailArgs]] = None,
            charge_info: Optional[InstanceChargeInfoArgs] = None,
            create_time: Optional[str] = None,
            data_sync_mode: Optional[str] = None,
            db_engine_version: Optional[str] = None,
            db_time_zone: Optional[str] = None,
            endpoints: Optional[Sequence[InstanceEndpointArgs]] = None,
            instance_id: Optional[str] = None,
            instance_name: Optional[str] = None,
            instance_status: Optional[str] = None,
            lower_case_table_names: Optional[str] = None,
            maintenance_windows: Optional[Sequence[InstanceMaintenanceWindowArgs]] = None,
            memory: Optional[int] = None,
            node_number: Optional[int] = None,
            node_spec: Optional[str] = None,
            nodes: Optional[Sequence[InstanceNodeArgs]] = None,
            parameters: Optional[Sequence[InstanceParameterArgs]] = None,
            primary_zone_id: Optional[str] = None,
            project_name: Optional[str] = None,
            region_id: Optional[str] = None,
            secondary_zone_id: Optional[str] = None,
            storage_space: Optional[int] = None,
            storage_type: Optional[str] = None,
            storage_use: Optional[int] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Sequence[InstanceTagArgs]] = None,
            time_zone: Optional[str] = None,
            update_time: Optional[str] = None,
            v_cpu: Optional[int] = None,
            vpc_id: Optional[str] = None,
            zone_id: Optional[str] = None) -> Instance
    func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
    public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
    public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AllowListIds List<string>
    Allow list Ids of the RDS instance.
    AllowListVersion string
    The version of allow list.
    BackupUse int
    The instance has used backup space. Unit: GB.
    ChargeDetails List<InstanceChargeDetail>
    Payment methods.
    ChargeInfo InstanceChargeInfo
    Payment methods.
    CreateTime string
    Node creation local time.
    DataSyncMode string
    Data synchronization mode.
    DbEngineVersion string
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    DbTimeZone string
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    Endpoints List<InstanceEndpoint>
    The endpoint info of the RDS instance.
    InstanceId string
    Instance ID.
    InstanceName string
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    InstanceStatus string
    The status of the RDS instance.
    LowerCaseTableNames string
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    MaintenanceWindows List<InstanceMaintenanceWindow>
    Maintenance Window.
    Memory int
    Memory size in GB.
    NodeNumber int
    The number of nodes.
    NodeSpec string
    The specification of primary node and secondary node.
    Nodes List<InstanceNode>
    Instance node information.
    Parameters List<InstanceParameter>
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    PrimaryZoneId string
    The available zone of primary node.
    ProjectName string
    The project name of the RDS instance.
    RegionId string
    The region of the RDS instance.
    SecondaryZoneId string
    The available zone of secondary node.
    StorageSpace int
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    StorageType string
    Instance storage type.
    StorageUse int
    The instance has used storage space. Unit: GB.
    SubnetId string
    Subnet ID of the RDS instance.
    Tags List<InstanceTag>
    Tags.
    TimeZone string
    Time zone.
    UpdateTime string
    The update time of the RDS instance.
    VCpu int
    CPU size.
    VpcId string
    The vpc ID of the RDS instance.
    ZoneId string
    The available zone of the RDS instance.
    AllowListIds []string
    Allow list Ids of the RDS instance.
    AllowListVersion string
    The version of allow list.
    BackupUse int
    The instance has used backup space. Unit: GB.
    ChargeDetails []InstanceChargeDetailArgs
    Payment methods.
    ChargeInfo InstanceChargeInfoArgs
    Payment methods.
    CreateTime string
    Node creation local time.
    DataSyncMode string
    Data synchronization mode.
    DbEngineVersion string
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    DbTimeZone string
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    Endpoints []InstanceEndpointArgs
    The endpoint info of the RDS instance.
    InstanceId string
    Instance ID.
    InstanceName string
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    InstanceStatus string
    The status of the RDS instance.
    LowerCaseTableNames string
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    MaintenanceWindows []InstanceMaintenanceWindowArgs
    Maintenance Window.
    Memory int
    Memory size in GB.
    NodeNumber int
    The number of nodes.
    NodeSpec string
    The specification of primary node and secondary node.
    Nodes []InstanceNodeArgs
    Instance node information.
    Parameters []InstanceParameterArgs
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    PrimaryZoneId string
    The available zone of primary node.
    ProjectName string
    The project name of the RDS instance.
    RegionId string
    The region of the RDS instance.
    SecondaryZoneId string
    The available zone of secondary node.
    StorageSpace int
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    StorageType string
    Instance storage type.
    StorageUse int
    The instance has used storage space. Unit: GB.
    SubnetId string
    Subnet ID of the RDS instance.
    Tags []InstanceTagArgs
    Tags.
    TimeZone string
    Time zone.
    UpdateTime string
    The update time of the RDS instance.
    VCpu int
    CPU size.
    VpcId string
    The vpc ID of the RDS instance.
    ZoneId string
    The available zone of the RDS instance.
    allowListIds List<String>
    Allow list Ids of the RDS instance.
    allowListVersion String
    The version of allow list.
    backupUse Integer
    The instance has used backup space. Unit: GB.
    chargeDetails List<InstanceChargeDetail>
    Payment methods.
    chargeInfo InstanceChargeInfo
    Payment methods.
    createTime String
    Node creation local time.
    dataSyncMode String
    Data synchronization mode.
    dbEngineVersion String
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    dbTimeZone String
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    endpoints List<InstanceEndpoint>
    The endpoint info of the RDS instance.
    instanceId String
    Instance ID.
    instanceName String
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    instanceStatus String
    The status of the RDS instance.
    lowerCaseTableNames String
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    maintenanceWindows List<InstanceMaintenanceWindow>
    Maintenance Window.
    memory Integer
    Memory size in GB.
    nodeNumber Integer
    The number of nodes.
    nodeSpec String
    The specification of primary node and secondary node.
    nodes List<InstanceNode>
    Instance node information.
    parameters List<InstanceParameter>
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    primaryZoneId String
    The available zone of primary node.
    projectName String
    The project name of the RDS instance.
    regionId String
    The region of the RDS instance.
    secondaryZoneId String
    The available zone of secondary node.
    storageSpace Integer
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    storageType String
    Instance storage type.
    storageUse Integer
    The instance has used storage space. Unit: GB.
    subnetId String
    Subnet ID of the RDS instance.
    tags List<InstanceTag>
    Tags.
    timeZone String
    Time zone.
    updateTime String
    The update time of the RDS instance.
    vCpu Integer
    CPU size.
    vpcId String
    The vpc ID of the RDS instance.
    zoneId String
    The available zone of the RDS instance.
    allowListIds string[]
    Allow list Ids of the RDS instance.
    allowListVersion string
    The version of allow list.
    backupUse number
    The instance has used backup space. Unit: GB.
    chargeDetails InstanceChargeDetail[]
    Payment methods.
    chargeInfo InstanceChargeInfo
    Payment methods.
    createTime string
    Node creation local time.
    dataSyncMode string
    Data synchronization mode.
    dbEngineVersion string
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    dbTimeZone string
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    endpoints InstanceEndpoint[]
    The endpoint info of the RDS instance.
    instanceId string
    Instance ID.
    instanceName string
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    instanceStatus string
    The status of the RDS instance.
    lowerCaseTableNames string
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    maintenanceWindows InstanceMaintenanceWindow[]
    Maintenance Window.
    memory number
    Memory size in GB.
    nodeNumber number
    The number of nodes.
    nodeSpec string
    The specification of primary node and secondary node.
    nodes InstanceNode[]
    Instance node information.
    parameters InstanceParameter[]
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    primaryZoneId string
    The available zone of primary node.
    projectName string
    The project name of the RDS instance.
    regionId string
    The region of the RDS instance.
    secondaryZoneId string
    The available zone of secondary node.
    storageSpace number
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    storageType string
    Instance storage type.
    storageUse number
    The instance has used storage space. Unit: GB.
    subnetId string
    Subnet ID of the RDS instance.
    tags InstanceTag[]
    Tags.
    timeZone string
    Time zone.
    updateTime string
    The update time of the RDS instance.
    vCpu number
    CPU size.
    vpcId string
    The vpc ID of the RDS instance.
    zoneId string
    The available zone of the RDS instance.
    allow_list_ids Sequence[str]
    Allow list Ids of the RDS instance.
    allow_list_version str
    The version of allow list.
    backup_use int
    The instance has used backup space. Unit: GB.
    charge_details Sequence[InstanceChargeDetailArgs]
    Payment methods.
    charge_info InstanceChargeInfoArgs
    Payment methods.
    create_time str
    Node creation local time.
    data_sync_mode str
    Data synchronization mode.
    db_engine_version str
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    db_time_zone str
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    endpoints Sequence[InstanceEndpointArgs]
    The endpoint info of the RDS instance.
    instance_id str
    Instance ID.
    instance_name str
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    instance_status str
    The status of the RDS instance.
    lower_case_table_names str
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    maintenance_windows Sequence[InstanceMaintenanceWindowArgs]
    Maintenance Window.
    memory int
    Memory size in GB.
    node_number int
    The number of nodes.
    node_spec str
    The specification of primary node and secondary node.
    nodes Sequence[InstanceNodeArgs]
    Instance node information.
    parameters Sequence[InstanceParameterArgs]
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    primary_zone_id str
    The available zone of primary node.
    project_name str
    The project name of the RDS instance.
    region_id str
    The region of the RDS instance.
    secondary_zone_id str
    The available zone of secondary node.
    storage_space int
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    storage_type str
    Instance storage type.
    storage_use int
    The instance has used storage space. Unit: GB.
    subnet_id str
    Subnet ID of the RDS instance.
    tags Sequence[InstanceTagArgs]
    Tags.
    time_zone str
    Time zone.
    update_time str
    The update time of the RDS instance.
    v_cpu int
    CPU size.
    vpc_id str
    The vpc ID of the RDS instance.
    zone_id str
    The available zone of the RDS instance.
    allowListIds List<String>
    Allow list Ids of the RDS instance.
    allowListVersion String
    The version of allow list.
    backupUse Number
    The instance has used backup space. Unit: GB.
    chargeDetails List<Property Map>
    Payment methods.
    chargeInfo Property Map
    Payment methods.
    createTime String
    Node creation local time.
    dataSyncMode String
    Data synchronization mode.
    dbEngineVersion String
    Instance type. Value: MySQL_5_7 MySQL_8_0.
    dbTimeZone String
    Time zone. Support UTC -12:00 ~ +13:00. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    endpoints List<Property Map>
    The endpoint info of the RDS instance.
    instanceId String
    Instance ID.
    instanceName String
    Instance name. Cannot start with a number or a dash Can only contain Chinese characters, letters, numbers, underscores and dashes The length is limited between 1 ~ 128.
    instanceStatus String
    The status of the RDS instance.
    lowerCaseTableNames String
    Whether the table name is case sensitive, the default value is 1. Ranges: 0: Table names are stored as fixed and table names are case-sensitive. 1: Table names will be stored in lowercase and table names are not case sensitive.
    maintenanceWindows List<Property Map>
    Maintenance Window.
    memory Number
    Memory size in GB.
    nodeNumber Number
    The number of nodes.
    nodeSpec String
    The specification of primary node and secondary node.
    nodes List<Property Map>
    Instance node information.
    parameters List<Property Map>
    Parameter of the RDS instance. This field can only be added or modified. Deleting this field is invalid.
    primaryZoneId String
    The available zone of primary node.
    projectName String
    The project name of the RDS instance.
    regionId String
    The region of the RDS instance.
    secondaryZoneId String
    The available zone of secondary node.
    storageSpace Number
    Instance storage space. Value range: [20, 3000], unit: GB, increments every 100GB. Default value: 100.
    storageType String
    Instance storage type.
    storageUse Number
    The instance has used storage space. Unit: GB.
    subnetId String
    Subnet ID of the RDS instance.
    tags List<Property Map>
    Tags.
    timeZone String
    Time zone.
    updateTime String
    The update time of the RDS instance.
    vCpu Number
    CPU size.
    vpcId String
    The vpc ID of the RDS instance.
    zoneId String
    The available zone of the RDS instance.

    Supporting Types

    InstanceChargeDetail, InstanceChargeDetailArgs

    AutoRenew bool
    Whether to automatically renew in prepaid scenarios.
    ChargeEndTime string
    Billing expiry time (yearly and monthly only).
    ChargeStartTime string
    Billing start time (pay-as-you-go & monthly subscription).
    ChargeStatus string
    Pay status. Value: normal - normal overdue - overdue .
    ChargeType string
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    OverdueReclaimTime string
    Estimated release time when arrears are closed (pay-as-you-go & monthly subscription).
    OverdueTime string
    Shutdown time in arrears (pay-as-you-go & monthly subscription).
    Period int
    Purchase duration in prepaid scenarios. Default: 1.
    PeriodUnit string
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.
    AutoRenew bool
    Whether to automatically renew in prepaid scenarios.
    ChargeEndTime string
    Billing expiry time (yearly and monthly only).
    ChargeStartTime string
    Billing start time (pay-as-you-go & monthly subscription).
    ChargeStatus string
    Pay status. Value: normal - normal overdue - overdue .
    ChargeType string
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    OverdueReclaimTime string
    Estimated release time when arrears are closed (pay-as-you-go & monthly subscription).
    OverdueTime string
    Shutdown time in arrears (pay-as-you-go & monthly subscription).
    Period int
    Purchase duration in prepaid scenarios. Default: 1.
    PeriodUnit string
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.
    autoRenew Boolean
    Whether to automatically renew in prepaid scenarios.
    chargeEndTime String
    Billing expiry time (yearly and monthly only).
    chargeStartTime String
    Billing start time (pay-as-you-go & monthly subscription).
    chargeStatus String
    Pay status. Value: normal - normal overdue - overdue .
    chargeType String
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    overdueReclaimTime String
    Estimated release time when arrears are closed (pay-as-you-go & monthly subscription).
    overdueTime String
    Shutdown time in arrears (pay-as-you-go & monthly subscription).
    period Integer
    Purchase duration in prepaid scenarios. Default: 1.
    periodUnit String
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.
    autoRenew boolean
    Whether to automatically renew in prepaid scenarios.
    chargeEndTime string
    Billing expiry time (yearly and monthly only).
    chargeStartTime string
    Billing start time (pay-as-you-go & monthly subscription).
    chargeStatus string
    Pay status. Value: normal - normal overdue - overdue .
    chargeType string
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    overdueReclaimTime string
    Estimated release time when arrears are closed (pay-as-you-go & monthly subscription).
    overdueTime string
    Shutdown time in arrears (pay-as-you-go & monthly subscription).
    period number
    Purchase duration in prepaid scenarios. Default: 1.
    periodUnit string
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.
    auto_renew bool
    Whether to automatically renew in prepaid scenarios.
    charge_end_time str
    Billing expiry time (yearly and monthly only).
    charge_start_time str
    Billing start time (pay-as-you-go & monthly subscription).
    charge_status str
    Pay status. Value: normal - normal overdue - overdue .
    charge_type str
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    overdue_reclaim_time str
    Estimated release time when arrears are closed (pay-as-you-go & monthly subscription).
    overdue_time str
    Shutdown time in arrears (pay-as-you-go & monthly subscription).
    period int
    Purchase duration in prepaid scenarios. Default: 1.
    period_unit str
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.
    autoRenew Boolean
    Whether to automatically renew in prepaid scenarios.
    chargeEndTime String
    Billing expiry time (yearly and monthly only).
    chargeStartTime String
    Billing start time (pay-as-you-go & monthly subscription).
    chargeStatus String
    Pay status. Value: normal - normal overdue - overdue .
    chargeType String
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    overdueReclaimTime String
    Estimated release time when arrears are closed (pay-as-you-go & monthly subscription).
    overdueTime String
    Shutdown time in arrears (pay-as-you-go & monthly subscription).
    period Number
    Purchase duration in prepaid scenarios. Default: 1.
    periodUnit String
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.

    InstanceChargeInfo, InstanceChargeInfoArgs

    ChargeType string
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    AutoRenew bool
    Whether to automatically renew in prepaid scenarios.
    Period int
    Purchase duration in prepaid scenarios. Default: 1.
    PeriodUnit string
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.
    ChargeType string
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    AutoRenew bool
    Whether to automatically renew in prepaid scenarios.
    Period int
    Purchase duration in prepaid scenarios. Default: 1.
    PeriodUnit string
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.
    chargeType String
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    autoRenew Boolean
    Whether to automatically renew in prepaid scenarios.
    period Integer
    Purchase duration in prepaid scenarios. Default: 1.
    periodUnit String
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.
    chargeType string
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    autoRenew boolean
    Whether to automatically renew in prepaid scenarios.
    period number
    Purchase duration in prepaid scenarios. Default: 1.
    periodUnit string
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.
    charge_type str
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    auto_renew bool
    Whether to automatically renew in prepaid scenarios.
    period int
    Purchase duration in prepaid scenarios. Default: 1.
    period_unit str
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.
    chargeType String
    Payment type. Value: PostPaid - Pay-As-You-Go PrePaid - Yearly and monthly (default).
    autoRenew Boolean
    Whether to automatically renew in prepaid scenarios.
    period Number
    Purchase duration in prepaid scenarios. Default: 1.
    periodUnit String
    The purchase cycle in the prepaid scenario. Month - monthly subscription (default) Year - Package year.

    InstanceEndpoint, InstanceEndpointArgs

    Addresses List<InstanceEndpointAddress>
    Address list.
    AutoAddNewNodes string
    When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
    Description string
    Address description.
    EnableReadOnly string
    Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
    EnableReadWriteSplitting string
    Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
    EndpointId string
    Instance connection terminal ID.
    EndpointName string
    The instance connection terminal name.
    EndpointType string
    Terminal type: Cluster: The default terminal. (created by default) Primary: Primary node terminal. Custom: Custom terminal. Direct: Direct connection to the terminal. (Only the operation and maintenance side) AllNode: All node terminals. (Only the operation and maintenance side).
    NodeWeights List<InstanceEndpointNodeWeight>
    The list of nodes configured by the connection terminal and the corresponding read-only weights.
    ReadWriteMode string
    Read and write mode: ReadWrite: read and write ReadOnly: read only (default).
    Addresses []InstanceEndpointAddress
    Address list.
    AutoAddNewNodes string
    When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
    Description string
    Address description.
    EnableReadOnly string
    Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
    EnableReadWriteSplitting string
    Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
    EndpointId string
    Instance connection terminal ID.
    EndpointName string
    The instance connection terminal name.
    EndpointType string
    Terminal type: Cluster: The default terminal. (created by default) Primary: Primary node terminal. Custom: Custom terminal. Direct: Direct connection to the terminal. (Only the operation and maintenance side) AllNode: All node terminals. (Only the operation and maintenance side).
    NodeWeights []InstanceEndpointNodeWeight
    The list of nodes configured by the connection terminal and the corresponding read-only weights.
    ReadWriteMode string
    Read and write mode: ReadWrite: read and write ReadOnly: read only (default).
    addresses List<InstanceEndpointAddress>
    Address list.
    autoAddNewNodes String
    When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
    description String
    Address description.
    enableReadOnly String
    Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
    enableReadWriteSplitting String
    Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
    endpointId String
    Instance connection terminal ID.
    endpointName String
    The instance connection terminal name.
    endpointType String
    Terminal type: Cluster: The default terminal. (created by default) Primary: Primary node terminal. Custom: Custom terminal. Direct: Direct connection to the terminal. (Only the operation and maintenance side) AllNode: All node terminals. (Only the operation and maintenance side).
    nodeWeights List<InstanceEndpointNodeWeight>
    The list of nodes configured by the connection terminal and the corresponding read-only weights.
    readWriteMode String
    Read and write mode: ReadWrite: read and write ReadOnly: read only (default).
    addresses InstanceEndpointAddress[]
    Address list.
    autoAddNewNodes string
    When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
    description string
    Address description.
    enableReadOnly string
    Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
    enableReadWriteSplitting string
    Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
    endpointId string
    Instance connection terminal ID.
    endpointName string
    The instance connection terminal name.
    endpointType string
    Terminal type: Cluster: The default terminal. (created by default) Primary: Primary node terminal. Custom: Custom terminal. Direct: Direct connection to the terminal. (Only the operation and maintenance side) AllNode: All node terminals. (Only the operation and maintenance side).
    nodeWeights InstanceEndpointNodeWeight[]
    The list of nodes configured by the connection terminal and the corresponding read-only weights.
    readWriteMode string
    Read and write mode: ReadWrite: read and write ReadOnly: read only (default).
    addresses Sequence[InstanceEndpointAddress]
    Address list.
    auto_add_new_nodes str
    When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
    description str
    Address description.
    enable_read_only str
    Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
    enable_read_write_splitting str
    Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
    endpoint_id str
    Instance connection terminal ID.
    endpoint_name str
    The instance connection terminal name.
    endpoint_type str
    Terminal type: Cluster: The default terminal. (created by default) Primary: Primary node terminal. Custom: Custom terminal. Direct: Direct connection to the terminal. (Only the operation and maintenance side) AllNode: All node terminals. (Only the operation and maintenance side).
    node_weights Sequence[InstanceEndpointNodeWeight]
    The list of nodes configured by the connection terminal and the corresponding read-only weights.
    read_write_mode str
    Read and write mode: ReadWrite: read and write ReadOnly: read only (default).
    addresses List<Property Map>
    Address list.
    autoAddNewNodes String
    When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
    description String
    Address description.
    enableReadOnly String
    Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
    enableReadWriteSplitting String
    Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
    endpointId String
    Instance connection terminal ID.
    endpointName String
    The instance connection terminal name.
    endpointType String
    Terminal type: Cluster: The default terminal. (created by default) Primary: Primary node terminal. Custom: Custom terminal. Direct: Direct connection to the terminal. (Only the operation and maintenance side) AllNode: All node terminals. (Only the operation and maintenance side).
    nodeWeights List<Property Map>
    The list of nodes configured by the connection terminal and the corresponding read-only weights.
    readWriteMode String
    Read and write mode: ReadWrite: read and write ReadOnly: read only (default).

    InstanceEndpointAddress, InstanceEndpointAddressArgs

    DnsVisibility bool
    DNS Visibility.
    Domain string
    Connect domain name.
    EipId string
    The ID of the EIP, only valid for Public addresses.
    IpAddress string
    The IP Address.
    NetworkType string
    Network address type, temporarily Private, Public, PublicService.
    Port string
    The Port.
    SubnetId string
    Subnet ID of the RDS instance.
    DnsVisibility bool
    DNS Visibility.
    Domain string
    Connect domain name.
    EipId string
    The ID of the EIP, only valid for Public addresses.
    IpAddress string
    The IP Address.
    NetworkType string
    Network address type, temporarily Private, Public, PublicService.
    Port string
    The Port.
    SubnetId string
    Subnet ID of the RDS instance.
    dnsVisibility Boolean
    DNS Visibility.
    domain String
    Connect domain name.
    eipId String
    The ID of the EIP, only valid for Public addresses.
    ipAddress String
    The IP Address.
    networkType String
    Network address type, temporarily Private, Public, PublicService.
    port String
    The Port.
    subnetId String
    Subnet ID of the RDS instance.
    dnsVisibility boolean
    DNS Visibility.
    domain string
    Connect domain name.
    eipId string
    The ID of the EIP, only valid for Public addresses.
    ipAddress string
    The IP Address.
    networkType string
    Network address type, temporarily Private, Public, PublicService.
    port string
    The Port.
    subnetId string
    Subnet ID of the RDS instance.
    dns_visibility bool
    DNS Visibility.
    domain str
    Connect domain name.
    eip_id str
    The ID of the EIP, only valid for Public addresses.
    ip_address str
    The IP Address.
    network_type str
    Network address type, temporarily Private, Public, PublicService.
    port str
    The Port.
    subnet_id str
    Subnet ID of the RDS instance.
    dnsVisibility Boolean
    DNS Visibility.
    domain String
    Connect domain name.
    eipId String
    The ID of the EIP, only valid for Public addresses.
    ipAddress String
    The IP Address.
    networkType String
    Network address type, temporarily Private, Public, PublicService.
    port String
    The Port.
    subnetId String
    Subnet ID of the RDS instance.

    InstanceEndpointNodeWeight, InstanceEndpointNodeWeightArgs

    NodeId string
    Node ID.
    NodeType string
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    Weight int
    The weight of the node.
    NodeId string
    Node ID.
    NodeType string
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    Weight int
    The weight of the node.
    nodeId String
    Node ID.
    nodeType String
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    weight Integer
    The weight of the node.
    nodeId string
    Node ID.
    nodeType string
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    weight number
    The weight of the node.
    node_id str
    Node ID.
    node_type str
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    weight int
    The weight of the node.
    nodeId String
    Node ID.
    nodeType String
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    weight Number
    The weight of the node.

    InstanceMaintenanceWindow, InstanceMaintenanceWindowArgs

    DayKind string
    DayKind of maintainable window. Value: Week. Month.
    DayOfMonths List<int>
    Days of maintainable window of the month.
    DayOfWeeks List<string>
    Days of maintainable window of the week.
    MaintenanceTime string
    The maintainable time of the RDS instance.
    DayKind string
    DayKind of maintainable window. Value: Week. Month.
    DayOfMonths []int
    Days of maintainable window of the month.
    DayOfWeeks []string
    Days of maintainable window of the week.
    MaintenanceTime string
    The maintainable time of the RDS instance.
    dayKind String
    DayKind of maintainable window. Value: Week. Month.
    dayOfMonths List<Integer>
    Days of maintainable window of the month.
    dayOfWeeks List<String>
    Days of maintainable window of the week.
    maintenanceTime String
    The maintainable time of the RDS instance.
    dayKind string
    DayKind of maintainable window. Value: Week. Month.
    dayOfMonths number[]
    Days of maintainable window of the month.
    dayOfWeeks string[]
    Days of maintainable window of the week.
    maintenanceTime string
    The maintainable time of the RDS instance.
    day_kind str
    DayKind of maintainable window. Value: Week. Month.
    day_of_months Sequence[int]
    Days of maintainable window of the month.
    day_of_weeks Sequence[str]
    Days of maintainable window of the week.
    maintenance_time str
    The maintainable time of the RDS instance.
    dayKind String
    DayKind of maintainable window. Value: Week. Month.
    dayOfMonths List<Number>
    Days of maintainable window of the month.
    dayOfWeeks List<String>
    Days of maintainable window of the week.
    maintenanceTime String
    The maintainable time of the RDS instance.

    InstanceNode, InstanceNodeArgs

    CreateTime string
    Node creation local time.
    InstanceId string
    Instance ID.
    Memory int
    Memory size in GB.
    NodeId string
    Node ID.
    NodeSpec string
    The specification of primary node and secondary node.
    NodeStatus string
    Node state, value: aligned with instance state.
    NodeType string
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    RegionId string
    The region of the RDS instance.
    UpdateTime string
    The update time of the RDS instance.
    VCpu int
    CPU size.
    ZoneId string
    The available zone of the RDS instance.
    CreateTime string
    Node creation local time.
    InstanceId string
    Instance ID.
    Memory int
    Memory size in GB.
    NodeId string
    Node ID.
    NodeSpec string
    The specification of primary node and secondary node.
    NodeStatus string
    Node state, value: aligned with instance state.
    NodeType string
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    RegionId string
    The region of the RDS instance.
    UpdateTime string
    The update time of the RDS instance.
    VCpu int
    CPU size.
    ZoneId string
    The available zone of the RDS instance.
    createTime String
    Node creation local time.
    instanceId String
    Instance ID.
    memory Integer
    Memory size in GB.
    nodeId String
    Node ID.
    nodeSpec String
    The specification of primary node and secondary node.
    nodeStatus String
    Node state, value: aligned with instance state.
    nodeType String
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    regionId String
    The region of the RDS instance.
    updateTime String
    The update time of the RDS instance.
    vCpu Integer
    CPU size.
    zoneId String
    The available zone of the RDS instance.
    createTime string
    Node creation local time.
    instanceId string
    Instance ID.
    memory number
    Memory size in GB.
    nodeId string
    Node ID.
    nodeSpec string
    The specification of primary node and secondary node.
    nodeStatus string
    Node state, value: aligned with instance state.
    nodeType string
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    regionId string
    The region of the RDS instance.
    updateTime string
    The update time of the RDS instance.
    vCpu number
    CPU size.
    zoneId string
    The available zone of the RDS instance.
    create_time str
    Node creation local time.
    instance_id str
    Instance ID.
    memory int
    Memory size in GB.
    node_id str
    Node ID.
    node_spec str
    The specification of primary node and secondary node.
    node_status str
    Node state, value: aligned with instance state.
    node_type str
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    region_id str
    The region of the RDS instance.
    update_time str
    The update time of the RDS instance.
    v_cpu int
    CPU size.
    zone_id str
    The available zone of the RDS instance.
    createTime String
    Node creation local time.
    instanceId String
    Instance ID.
    memory Number
    Memory size in GB.
    nodeId String
    Node ID.
    nodeSpec String
    The specification of primary node and secondary node.
    nodeStatus String
    Node state, value: aligned with instance state.
    nodeType String
    Node type. Value: Primary: Primary node. Secondary: Standby node. ReadOnly: Read-only node.
    regionId String
    The region of the RDS instance.
    updateTime String
    The update time of the RDS instance.
    vCpu Number
    CPU size.
    zoneId String
    The available zone of the RDS instance.

    InstanceParameter, InstanceParameterArgs

    ParameterName string
    Parameter name.
    ParameterValue string
    Parameter value.
    ParameterName string
    Parameter name.
    ParameterValue string
    Parameter value.
    parameterName String
    Parameter name.
    parameterValue String
    Parameter value.
    parameterName string
    Parameter name.
    parameterValue string
    Parameter value.
    parameter_name str
    Parameter name.
    parameter_value str
    Parameter value.
    parameterName String
    Parameter name.
    parameterValue String
    Parameter value.

    InstanceTag, InstanceTagArgs

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    Import

    Rds Mysql Instance can be imported using the id, e.g.

     $ pulumi import volcengine:rds_mysql/instance:Instance default mysql-72da4258c2c7
    

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

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine