published on Thursday, Jul 9, 2026 by Volcengine
published on Thursday, Jul 9, 2026 by Volcengine
Volcano Engine Cloud Database MySQL Edition is an elastic and reliable online relational database service built on the open-source MySQL database. MySQL instances are deployed using cloud-native methods and local SSD storage, delivering high-performance read and write capabilities. The service is fully compatible with the MySQL engine and offers a complete suite of solutions, including instance management, backup and recovery, log management, monitoring and alerts, and data migration. This helps enterprises simplify complex database management and operations, allowing them to focus more time and resources on their core business.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const rDSMySQLInstanceDemo = new volcenginecc.rdsmysql.Instance("RDSMySQLInstanceDemo", {
deletionProtection: "Disabled",
dbEngineVersion: "MySQL_5_7",
nodes: [
{
zone_id: "cn-beijing-a",
node_spec: "rds.mysql.c.s.1c2g",
node_type: "Primary",
},
{
zone_id: "cn-beijing-a",
node_spec: "rds.mysql.c.s.1c2g",
node_type: "Secondary",
},
{
zone_id: "cn-beijing-a",
node_spec: "rds.mysql.c.s.1c2g",
node_type: "ReadOnly",
},
],
storageType: "CloudESSD_PL0",
storageSpace: 100,
instanceType: "DoubleNode",
vpcId: "vpc-rrco37ovjq4gv0x58xxxxx",
subnetId: "subnet-rrwqhg3qzxfkv0x57xxxxx",
instanceName: "RDSMySQLInstanceDemo",
superAccountName: "test_account",
superAccountPassword: "***********",
lowerCaseTableNames: "1",
dbTimeZone: "UTC +08:00",
chargeDetail: {
charge_type: "PostPaid",
auto_renew: false,
number: 1,
},
allowListIds: [
"acl-8cde5e16f44143788234ca4489xxxxx",
"acl-31f6053bd6be4cff88c1b205d20xxxxx",
],
port: 3306,
maintenanceWindow: {
day_kind: "Week",
day_of_week: ["Monday"],
maintenance_time: "18:00Z-21:59Z",
},
autoStorageScalingConfig: {
enable_storage_auto_scale: true,
storage_threshold: 10,
storage_upper_bound: 3000,
},
projectName: "default",
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
r_ds_my_sql_instance_demo = volcenginecc.rdsmysql.Instance("RDSMySQLInstanceDemo",
deletion_protection="Disabled",
db_engine_version="MySQL_5_7",
nodes=[
{
"zone_id": "cn-beijing-a",
"node_spec": "rds.mysql.c.s.1c2g",
"node_type": "Primary",
},
{
"zone_id": "cn-beijing-a",
"node_spec": "rds.mysql.c.s.1c2g",
"node_type": "Secondary",
},
{
"zone_id": "cn-beijing-a",
"node_spec": "rds.mysql.c.s.1c2g",
"node_type": "ReadOnly",
},
],
storage_type="CloudESSD_PL0",
storage_space=100,
instance_type="DoubleNode",
vpc_id="vpc-rrco37ovjq4gv0x58xxxxx",
subnet_id="subnet-rrwqhg3qzxfkv0x57xxxxx",
instance_name="RDSMySQLInstanceDemo",
super_account_name="test_account",
super_account_password="***********",
lower_case_table_names="1",
db_time_zone="UTC +08:00",
charge_detail={
"charge_type": "PostPaid",
"auto_renew": False,
"number": 1,
},
allow_list_ids=[
"acl-8cde5e16f44143788234ca4489xxxxx",
"acl-31f6053bd6be4cff88c1b205d20xxxxx",
],
port=3306,
maintenance_window={
"day_kind": "Week",
"day_of_week": ["Monday"],
"maintenance_time": "18:00Z-21:59Z",
},
auto_storage_scaling_config={
"enable_storage_auto_scale": True,
"storage_threshold": 10,
"storage_upper_bound": 3000,
},
project_name="default",
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/rdsmysql"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rdsmysql.NewInstance(ctx, "RDSMySQLInstanceDemo", &rdsmysql.InstanceArgs{
DeletionProtection: pulumi.String("Disabled"),
DbEngineVersion: pulumi.String("MySQL_5_7"),
Nodes: rdsmysql.InstanceNodeArray{
&rdsmysql.InstanceNodeArgs{
Zone_id: "cn-beijing-a",
Node_spec: "rds.mysql.c.s.1c2g",
Node_type: "Primary",
},
&rdsmysql.InstanceNodeArgs{
Zone_id: "cn-beijing-a",
Node_spec: "rds.mysql.c.s.1c2g",
Node_type: "Secondary",
},
&rdsmysql.InstanceNodeArgs{
Zone_id: "cn-beijing-a",
Node_spec: "rds.mysql.c.s.1c2g",
Node_type: "ReadOnly",
},
},
StorageType: pulumi.String("CloudESSD_PL0"),
StorageSpace: pulumi.Int(100),
InstanceType: pulumi.String("DoubleNode"),
VpcId: pulumi.String("vpc-rrco37ovjq4gv0x58xxxxx"),
SubnetId: pulumi.String("subnet-rrwqhg3qzxfkv0x57xxxxx"),
InstanceName: pulumi.String("RDSMySQLInstanceDemo"),
SuperAccountName: pulumi.String("test_account"),
SuperAccountPassword: pulumi.String("***********"),
LowerCaseTableNames: pulumi.String("1"),
DbTimeZone: pulumi.String("UTC +08:00"),
ChargeDetail: &rdsmysql.InstanceChargeDetailArgs{
Charge_type: "PostPaid",
Auto_renew: false,
Number: pulumi.Int(1),
},
AllowListIds: pulumi.StringArray{
pulumi.String("acl-8cde5e16f44143788234ca4489xxxxx"),
pulumi.String("acl-31f6053bd6be4cff88c1b205d20xxxxx"),
},
Port: pulumi.Int(3306),
MaintenanceWindow: &rdsmysql.InstanceMaintenanceWindowArgs{
Day_kind: "Week",
Day_of_week: []string{
"Monday",
},
Maintenance_time: "18:00Z-21:59Z",
},
AutoStorageScalingConfig: &rdsmysql.InstanceAutoStorageScalingConfigArgs{
Enable_storage_auto_scale: true,
Storage_threshold: 10,
Storage_upper_bound: 3000,
},
ProjectName: pulumi.String("default"),
Tags: rdsmysql.InstanceTagArray{
&rdsmysql.InstanceTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var rDSMySQLInstanceDemo = new Volcenginecc.Rdsmysql.Instance("RDSMySQLInstanceDemo", new()
{
DeletionProtection = "Disabled",
DbEngineVersion = "MySQL_5_7",
Nodes = new[]
{
new Volcenginecc.Rdsmysql.Inputs.InstanceNodeArgs
{
Zone_id = "cn-beijing-a",
Node_spec = "rds.mysql.c.s.1c2g",
Node_type = "Primary",
},
new Volcenginecc.Rdsmysql.Inputs.InstanceNodeArgs
{
Zone_id = "cn-beijing-a",
Node_spec = "rds.mysql.c.s.1c2g",
Node_type = "Secondary",
},
new Volcenginecc.Rdsmysql.Inputs.InstanceNodeArgs
{
Zone_id = "cn-beijing-a",
Node_spec = "rds.mysql.c.s.1c2g",
Node_type = "ReadOnly",
},
},
StorageType = "CloudESSD_PL0",
StorageSpace = 100,
InstanceType = "DoubleNode",
VpcId = "vpc-rrco37ovjq4gv0x58xxxxx",
SubnetId = "subnet-rrwqhg3qzxfkv0x57xxxxx",
InstanceName = "RDSMySQLInstanceDemo",
SuperAccountName = "test_account",
SuperAccountPassword = "***********",
LowerCaseTableNames = "1",
DbTimeZone = "UTC +08:00",
ChargeDetail = new Volcenginecc.Rdsmysql.Inputs.InstanceChargeDetailArgs
{
Charge_type = "PostPaid",
Auto_renew = false,
Number = 1,
},
AllowListIds = new[]
{
"acl-8cde5e16f44143788234ca4489xxxxx",
"acl-31f6053bd6be4cff88c1b205d20xxxxx",
},
Port = 3306,
MaintenanceWindow = new Volcenginecc.Rdsmysql.Inputs.InstanceMaintenanceWindowArgs
{
Day_kind = "Week",
Day_of_week = new[]
{
"Monday",
},
Maintenance_time = "18:00Z-21:59Z",
},
AutoStorageScalingConfig = new Volcenginecc.Rdsmysql.Inputs.InstanceAutoStorageScalingConfigArgs
{
Enable_storage_auto_scale = true,
Storage_threshold = 10,
Storage_upper_bound = 3000,
},
ProjectName = "default",
Tags = new[]
{
new Volcenginecc.Rdsmysql.Inputs.InstanceTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.rdsmysql.Instance;
import com.volcengine.volcenginecc.rdsmysql.InstanceArgs;
import com.pulumi.volcenginecc.rdsmysql.inputs.InstanceNodeArgs;
import com.pulumi.volcenginecc.rdsmysql.inputs.InstanceChargeDetailArgs;
import com.pulumi.volcenginecc.rdsmysql.inputs.InstanceMaintenanceWindowArgs;
import com.pulumi.volcenginecc.rdsmysql.inputs.InstanceAutoStorageScalingConfigArgs;
import com.pulumi.volcenginecc.rdsmysql.inputs.InstanceTagArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 rDSMySQLInstanceDemo = new Instance("rDSMySQLInstanceDemo", InstanceArgs.builder()
.deletionProtection("Disabled")
.dbEngineVersion("MySQL_5_7")
.nodes(
InstanceNodeArgs.builder()
.zone_id("cn-beijing-a")
.node_spec("rds.mysql.c.s.1c2g")
.node_type("Primary")
.build(),
InstanceNodeArgs.builder()
.zone_id("cn-beijing-a")
.node_spec("rds.mysql.c.s.1c2g")
.node_type("Secondary")
.build(),
InstanceNodeArgs.builder()
.zone_id("cn-beijing-a")
.node_spec("rds.mysql.c.s.1c2g")
.node_type("ReadOnly")
.build())
.storageType("CloudESSD_PL0")
.storageSpace(100)
.instanceType("DoubleNode")
.vpcId("vpc-rrco37ovjq4gv0x58xxxxx")
.subnetId("subnet-rrwqhg3qzxfkv0x57xxxxx")
.instanceName("RDSMySQLInstanceDemo")
.superAccountName("test_account")
.superAccountPassword("***********")
.lowerCaseTableNames("1")
.dbTimeZone("UTC +08:00")
.chargeDetail(InstanceChargeDetailArgs.builder()
.charge_type("PostPaid")
.auto_renew(false)
.number(1)
.build())
.allowListIds(
"acl-8cde5e16f44143788234ca4489xxxxx",
"acl-31f6053bd6be4cff88c1b205d20xxxxx")
.port(3306)
.maintenanceWindow(InstanceMaintenanceWindowArgs.builder()
.day_kind("Week")
.day_of_week(Arrays.asList("Monday"))
.maintenance_time("18:00Z-21:59Z")
.build())
.autoStorageScalingConfig(InstanceAutoStorageScalingConfigArgs.builder()
.enable_storage_auto_scale(true)
.storage_threshold(10)
.storage_upper_bound(3000)
.build())
.projectName("default")
.tags(InstanceTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
rDSMySQLInstanceDemo:
type: volcenginecc:rdsmysql:Instance
name: RDSMySQLInstanceDemo
properties:
deletionProtection: Disabled
dbEngineVersion: MySQL_5_7
nodes:
- zone_id: cn-beijing-a
node_spec: rds.mysql.c.s.1c2g
node_type: Primary
- zone_id: cn-beijing-a
node_spec: rds.mysql.c.s.1c2g
node_type: Secondary
- zone_id: cn-beijing-a
node_spec: rds.mysql.c.s.1c2g
node_type: ReadOnly
storageType: CloudESSD_PL0
storageSpace: 100
instanceType: DoubleNode
vpcId: vpc-rrco37ovjq4gv0x58xxxxx
subnetId: subnet-rrwqhg3qzxfkv0x57xxxxx
instanceName: RDSMySQLInstanceDemo
superAccountName: test_account
superAccountPassword: '***********'
lowerCaseTableNames: '1'
dbTimeZone: UTC +08:00
chargeDetail:
charge_type: PostPaid
auto_renew: false
number: 1
allowListIds:
- acl-8cde5e16f44143788234ca4489xxxxx
- acl-31f6053bd6be4cff88c1b205d20xxxxx
port: 3306
maintenanceWindow:
day_kind: Week
day_of_week:
- Monday
maintenance_time: 18:00Z-21:59Z
autoStorageScalingConfig:
enable_storage_auto_scale: true
storage_threshold: 10
storage_upper_bound: 3000
projectName: default
tags:
- key: env
value: test
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_rdsmysql_instance" "RDSMySQLInstanceDemo" {
deletion_protection = "Disabled"
db_engine_version = "MySQL_5_7"
nodes {
zone_id = "cn-beijing-a"
node_spec = "rds.mysql.c.s.1c2g"
node_type = "Primary"
}
nodes {
zone_id = "cn-beijing-a"
node_spec = "rds.mysql.c.s.1c2g"
node_type = "Secondary"
}
nodes {
zone_id = "cn-beijing-a"
node_spec = "rds.mysql.c.s.1c2g"
node_type = "ReadOnly"
}
storage_type = "CloudESSD_PL0"
storage_space = 100
instance_type = "DoubleNode"
vpc_id = "vpc-rrco37ovjq4gv0x58xxxxx"
subnet_id = "subnet-rrwqhg3qzxfkv0x57xxxxx"
instance_name = "RDSMySQLInstanceDemo"
super_account_name = "test_account"
super_account_password = "***********"
lower_case_table_names = "1"
db_time_zone = "UTC +08:00"
charge_detail = {
charge_type = "PostPaid"
auto_renew = false
number = 1
}
allow_list_ids = ["acl-8cde5e16f44143788234ca4489xxxxx", "acl-31f6053bd6be4cff88c1b205d20xxxxx"]
port = 3306
maintenance_window = {
day_kind = "Week"
day_of_week = ["Monday"]
maintenance_time = "18:00Z-21:59Z"
}
auto_storage_scaling_config = {
enable_storage_auto_scale = true
storage_threshold = 10
storage_upper_bound = 3000
}
project_name = "default"
tags {
key = "env"
value = "test"
}
}
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,
nodes: Optional[Sequence[InstanceNodeArgs]] = None,
vpc_id: Optional[str] = None,
subnet_id: Optional[str] = None,
storage_type: Optional[str] = None,
charge_detail: Optional[InstanceChargeDetailArgs] = None,
storage_space: Optional[int] = None,
db_engine_version: Optional[str] = None,
lower_case_table_names: Optional[str] = None,
parameter_template_id: Optional[str] = None,
deletion_protection: Optional[str] = None,
engine_type: Optional[str] = None,
global_read_only: Optional[bool] = None,
instance_name: Optional[str] = None,
instance_type: Optional[str] = None,
allow_list_ids: Optional[Sequence[str]] = None,
maintenance_window: Optional[InstanceMaintenanceWindowArgs] = None,
node_spec: Optional[str] = None,
db_param_group_id: Optional[str] = None,
db_time_zone: Optional[str] = None,
port: Optional[int] = None,
private_ip_address: Optional[str] = None,
project_name: Optional[str] = None,
cpu_num: Optional[int] = None,
backup_policy: Optional[InstanceBackupPolicyArgs] = None,
auto_upgrade_minor_version: Optional[str] = None,
super_account_name: Optional[str] = None,
super_account_password: Optional[str] = None,
sync_mode: Optional[str] = None,
tags: Optional[Sequence[InstanceTagArgs]] = None,
auto_storage_scaling_config: Optional[InstanceAutoStorageScalingConfigArgs] = 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: volcenginecc:rdsmysql:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_rdsmysql_instance" "name" {
# resource properties
}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 exampleinstanceResourceResourceFromRdsmysqlinstance = new Volcenginecc.Rdsmysql.Instance("exampleinstanceResourceResourceFromRdsmysqlinstance", new()
{
Nodes = new[]
{
new Volcenginecc.Rdsmysql.Inputs.InstanceNodeArgs
{
NodeSpec = "string",
NodeType = "string",
ZoneId = "string",
},
},
VpcId = "string",
SubnetId = "string",
StorageType = "string",
ChargeDetail = new Volcenginecc.Rdsmysql.Inputs.InstanceChargeDetailArgs
{
ChargeType = "string",
AutoRenew = false,
ChargeEndTime = "string",
ChargeStartTime = "string",
ChargeStatus = "string",
Number = 0,
OverdueReclaimTime = "string",
OverdueTime = "string",
Period = 0,
PeriodUnit = "string",
TempModifyEndTime = "string",
TempModifyStartTime = "string",
},
StorageSpace = 0,
DbEngineVersion = "string",
LowerCaseTableNames = "string",
ParameterTemplateId = "string",
DeletionProtection = "string",
EngineType = "string",
GlobalReadOnly = false,
InstanceName = "string",
InstanceType = "string",
AllowListIds = new[]
{
"string",
},
MaintenanceWindow = new Volcenginecc.Rdsmysql.Inputs.InstanceMaintenanceWindowArgs
{
DayKind = "string",
DayOfWeeks = new[]
{
"string",
},
MaintenanceTime = "string",
},
NodeSpec = "string",
DbParamGroupId = "string",
DbTimeZone = "string",
Port = 0,
PrivateIpAddress = "string",
ProjectName = "string",
CpuNum = 0,
BackupPolicy = new Volcenginecc.Rdsmysql.Inputs.InstanceBackupPolicyArgs
{
AvailableCrossRegions = new[]
{
"string",
},
BackupPolicyBase = new Volcenginecc.Rdsmysql.Inputs.InstanceBackupPolicyBackupPolicyBaseArgs
{
BinlogBackupAllRetention = false,
BinlogBackupEnabled = false,
BinlogBackupEncryptionEnabled = false,
BinlogFileCountsEnable = false,
BinlogLimitCount = 0,
BinlogLocalRetentionHour = 0,
BinlogSpaceLimitEnable = false,
BinlogStoragePercentage = 0,
DataBackupAllRetention = false,
DataBackupEncryptionEnabled = false,
DataBackupRetentionDay = 0,
DataFullBackupPeriods = new[]
{
"string",
},
DataFullBackupStartUtcHour = 0,
DataFullBackupTime = "string",
DataIncrBackupPeriods = new[]
{
"string",
},
DataKeepDaysAfterReleased = 0,
DataKeepPolicyAfterReleased = "string",
HighFrequencySnapshotBackupEnable = false,
HighFrequencySnapshotBackupSecondPeriod = 0,
HourlyIncrBackupEnable = false,
IncrBackupHourPeriod = 0,
KeepCrossBackupEnableAfterReleased = false,
LockDdlTime = 0,
LockDdlTimeSecond = 0,
LogBackupRetentionDay = 0,
PublicDownloadEnable = false,
RetentionPolicySynced = false,
},
CrossBackupPolicy = new Volcenginecc.Rdsmysql.Inputs.InstanceBackupPolicyCrossBackupPolicyArgs
{
BackupEnabled = false,
CrossBackupAllRetention = false,
CrossBackupRegion = "string",
LogBackupEnabled = false,
Retention = 0,
},
},
AutoUpgradeMinorVersion = "string",
SuperAccountName = "string",
SuperAccountPassword = "string",
SyncMode = "string",
Tags = new[]
{
new Volcenginecc.Rdsmysql.Inputs.InstanceTagArgs
{
Key = "string",
Value = "string",
},
},
AutoStorageScalingConfig = new Volcenginecc.Rdsmysql.Inputs.InstanceAutoStorageScalingConfigArgs
{
EnableStorageAutoScale = false,
ScalingDetectNode = "string",
StorageThreshold = 0,
StorageUpperBound = 0,
},
});
example, err := rdsmysql.NewInstance(ctx, "exampleinstanceResourceResourceFromRdsmysqlinstance", &rdsmysql.InstanceArgs{
Nodes: rdsmysql.InstanceNodeArray{
&rdsmysql.InstanceNodeArgs{
NodeSpec: pulumi.String("string"),
NodeType: pulumi.String("string"),
ZoneId: pulumi.String("string"),
},
},
VpcId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
StorageType: pulumi.String("string"),
ChargeDetail: &rdsmysql.InstanceChargeDetailArgs{
ChargeType: pulumi.String("string"),
AutoRenew: pulumi.Bool(false),
ChargeEndTime: pulumi.String("string"),
ChargeStartTime: pulumi.String("string"),
ChargeStatus: pulumi.String("string"),
Number: pulumi.Int(0),
OverdueReclaimTime: pulumi.String("string"),
OverdueTime: pulumi.String("string"),
Period: pulumi.Int(0),
PeriodUnit: pulumi.String("string"),
TempModifyEndTime: pulumi.String("string"),
TempModifyStartTime: pulumi.String("string"),
},
StorageSpace: pulumi.Int(0),
DbEngineVersion: pulumi.String("string"),
LowerCaseTableNames: pulumi.String("string"),
ParameterTemplateId: pulumi.String("string"),
DeletionProtection: pulumi.String("string"),
EngineType: pulumi.String("string"),
GlobalReadOnly: pulumi.Bool(false),
InstanceName: pulumi.String("string"),
InstanceType: pulumi.String("string"),
AllowListIds: pulumi.StringArray{
pulumi.String("string"),
},
MaintenanceWindow: &rdsmysql.InstanceMaintenanceWindowArgs{
DayKind: pulumi.String("string"),
DayOfWeeks: pulumi.StringArray{
pulumi.String("string"),
},
MaintenanceTime: pulumi.String("string"),
},
NodeSpec: pulumi.String("string"),
DbParamGroupId: pulumi.String("string"),
DbTimeZone: pulumi.String("string"),
Port: pulumi.Int(0),
PrivateIpAddress: pulumi.String("string"),
ProjectName: pulumi.String("string"),
CpuNum: pulumi.Int(0),
BackupPolicy: &rdsmysql.InstanceBackupPolicyArgs{
AvailableCrossRegions: pulumi.StringArray{
pulumi.String("string"),
},
BackupPolicyBase: &rdsmysql.InstanceBackupPolicyBackupPolicyBaseArgs{
BinlogBackupAllRetention: pulumi.Bool(false),
BinlogBackupEnabled: pulumi.Bool(false),
BinlogBackupEncryptionEnabled: pulumi.Bool(false),
BinlogFileCountsEnable: pulumi.Bool(false),
BinlogLimitCount: pulumi.Int(0),
BinlogLocalRetentionHour: pulumi.Int(0),
BinlogSpaceLimitEnable: pulumi.Bool(false),
BinlogStoragePercentage: pulumi.Int(0),
DataBackupAllRetention: pulumi.Bool(false),
DataBackupEncryptionEnabled: pulumi.Bool(false),
DataBackupRetentionDay: pulumi.Int(0),
DataFullBackupPeriods: pulumi.StringArray{
pulumi.String("string"),
},
DataFullBackupStartUtcHour: pulumi.Int(0),
DataFullBackupTime: pulumi.String("string"),
DataIncrBackupPeriods: pulumi.StringArray{
pulumi.String("string"),
},
DataKeepDaysAfterReleased: pulumi.Int(0),
DataKeepPolicyAfterReleased: pulumi.String("string"),
HighFrequencySnapshotBackupEnable: pulumi.Bool(false),
HighFrequencySnapshotBackupSecondPeriod: pulumi.Int(0),
HourlyIncrBackupEnable: pulumi.Bool(false),
IncrBackupHourPeriod: pulumi.Int(0),
KeepCrossBackupEnableAfterReleased: pulumi.Bool(false),
LockDdlTime: pulumi.Int(0),
LockDdlTimeSecond: pulumi.Int(0),
LogBackupRetentionDay: pulumi.Int(0),
PublicDownloadEnable: pulumi.Bool(false),
RetentionPolicySynced: pulumi.Bool(false),
},
CrossBackupPolicy: &rdsmysql.InstanceBackupPolicyCrossBackupPolicyArgs{
BackupEnabled: pulumi.Bool(false),
CrossBackupAllRetention: pulumi.Bool(false),
CrossBackupRegion: pulumi.String("string"),
LogBackupEnabled: pulumi.Bool(false),
Retention: pulumi.Int(0),
},
},
AutoUpgradeMinorVersion: pulumi.String("string"),
SuperAccountName: pulumi.String("string"),
SuperAccountPassword: pulumi.String("string"),
SyncMode: pulumi.String("string"),
Tags: rdsmysql.InstanceTagArray{
&rdsmysql.InstanceTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
AutoStorageScalingConfig: &rdsmysql.InstanceAutoStorageScalingConfigArgs{
EnableStorageAutoScale: pulumi.Bool(false),
ScalingDetectNode: pulumi.String("string"),
StorageThreshold: pulumi.Int(0),
StorageUpperBound: pulumi.Int(0),
},
})
resource "volcenginecc_rdsmysql_instance" "exampleinstanceResourceResourceFromRdsmysqlinstance" {
nodes {
node_spec = "string"
node_type = "string"
zone_id = "string"
}
vpc_id = "string"
subnet_id = "string"
storage_type = "string"
charge_detail = {
charge_type = "string"
auto_renew = false
charge_end_time = "string"
charge_start_time = "string"
charge_status = "string"
number = 0
overdue_reclaim_time = "string"
overdue_time = "string"
period = 0
period_unit = "string"
temp_modify_end_time = "string"
temp_modify_start_time = "string"
}
storage_space = 0
db_engine_version = "string"
lower_case_table_names = "string"
parameter_template_id = "string"
deletion_protection = "string"
engine_type = "string"
global_read_only = false
instance_name = "string"
instance_type = "string"
allow_list_ids = ["string"]
maintenance_window = {
day_kind = "string"
day_of_weeks = ["string"]
maintenance_time = "string"
}
node_spec = "string"
db_param_group_id = "string"
db_time_zone = "string"
port = 0
private_ip_address = "string"
project_name = "string"
cpu_num = 0
backup_policy = {
available_cross_regions = ["string"]
backup_policy_base = {
binlog_backup_all_retention = false
binlog_backup_enabled = false
binlog_backup_encryption_enabled = false
binlog_file_counts_enable = false
binlog_limit_count = 0
binlog_local_retention_hour = 0
binlog_space_limit_enable = false
binlog_storage_percentage = 0
data_backup_all_retention = false
data_backup_encryption_enabled = false
data_backup_retention_day = 0
data_full_backup_periods = ["string"]
data_full_backup_start_utc_hour = 0
data_full_backup_time = "string"
data_incr_backup_periods = ["string"]
data_keep_days_after_released = 0
data_keep_policy_after_released = "string"
high_frequency_snapshot_backup_enable = false
high_frequency_snapshot_backup_second_period = 0
hourly_incr_backup_enable = false
incr_backup_hour_period = 0
keep_cross_backup_enable_after_released = false
lock_ddl_time = 0
lock_ddl_time_second = 0
log_backup_retention_day = 0
public_download_enable = false
retention_policy_synced = false
}
cross_backup_policy = {
backup_enabled = false
cross_backup_all_retention = false
cross_backup_region = "string"
log_backup_enabled = false
retention = 0
}
}
auto_upgrade_minor_version = "string"
super_account_name = "string"
super_account_password = "string"
sync_mode = "string"
tags {
key = "string"
value = "string"
}
auto_storage_scaling_config = {
enable_storage_auto_scale = false
scaling_detect_node = "string"
storage_threshold = 0
storage_upper_bound = 0
}
}
var exampleinstanceResourceResourceFromRdsmysqlinstance = new com.volcengine.volcenginecc.rdsmysql.Instance("exampleinstanceResourceResourceFromRdsmysqlinstance", com.volcengine.volcenginecc.rdsmysql.InstanceArgs.builder()
.nodes(com.pulumi.volcenginecc.rdsmysql.inputs.InstanceNodeArgs.builder()
.nodeSpec("string")
.nodeType("string")
.zoneId("string")
.build())
.vpcId("string")
.subnetId("string")
.storageType("string")
.chargeDetail(com.pulumi.volcenginecc.rdsmysql.inputs.InstanceChargeDetailArgs.builder()
.chargeType("string")
.autoRenew(false)
.chargeEndTime("string")
.chargeStartTime("string")
.chargeStatus("string")
.number(0)
.overdueReclaimTime("string")
.overdueTime("string")
.period(0)
.periodUnit("string")
.tempModifyEndTime("string")
.tempModifyStartTime("string")
.build())
.storageSpace(0)
.dbEngineVersion("string")
.lowerCaseTableNames("string")
.parameterTemplateId("string")
.deletionProtection("string")
.engineType("string")
.globalReadOnly(false)
.instanceName("string")
.instanceType("string")
.allowListIds("string")
.maintenanceWindow(com.pulumi.volcenginecc.rdsmysql.inputs.InstanceMaintenanceWindowArgs.builder()
.dayKind("string")
.dayOfWeeks("string")
.maintenanceTime("string")
.build())
.nodeSpec("string")
.dbParamGroupId("string")
.dbTimeZone("string")
.port(0)
.privateIpAddress("string")
.projectName("string")
.cpuNum(0)
.backupPolicy(InstanceBackupPolicyArgs.builder()
.availableCrossRegions("string")
.backupPolicyBase(InstanceBackupPolicyBackupPolicyBaseArgs.builder()
.binlogBackupAllRetention(false)
.binlogBackupEnabled(false)
.binlogBackupEncryptionEnabled(false)
.binlogFileCountsEnable(false)
.binlogLimitCount(0)
.binlogLocalRetentionHour(0)
.binlogSpaceLimitEnable(false)
.binlogStoragePercentage(0)
.dataBackupAllRetention(false)
.dataBackupEncryptionEnabled(false)
.dataBackupRetentionDay(0)
.dataFullBackupPeriods("string")
.dataFullBackupStartUtcHour(0)
.dataFullBackupTime("string")
.dataIncrBackupPeriods("string")
.dataKeepDaysAfterReleased(0)
.dataKeepPolicyAfterReleased("string")
.highFrequencySnapshotBackupEnable(false)
.highFrequencySnapshotBackupSecondPeriod(0)
.hourlyIncrBackupEnable(false)
.incrBackupHourPeriod(0)
.keepCrossBackupEnableAfterReleased(false)
.lockDdlTime(0)
.lockDdlTimeSecond(0)
.logBackupRetentionDay(0)
.publicDownloadEnable(false)
.retentionPolicySynced(false)
.build())
.crossBackupPolicy(InstanceBackupPolicyCrossBackupPolicyArgs.builder()
.backupEnabled(false)
.crossBackupAllRetention(false)
.crossBackupRegion("string")
.logBackupEnabled(false)
.retention(0)
.build())
.build())
.autoUpgradeMinorVersion("string")
.superAccountName("string")
.superAccountPassword("string")
.syncMode("string")
.tags(com.pulumi.volcenginecc.rdsmysql.inputs.InstanceTagArgs.builder()
.key("string")
.value("string")
.build())
.autoStorageScalingConfig(InstanceAutoStorageScalingConfigArgs.builder()
.enableStorageAutoScale(false)
.scalingDetectNode("string")
.storageThreshold(0)
.storageUpperBound(0)
.build())
.build());
exampleinstance_resource_resource_from_rdsmysqlinstance = volcenginecc.rdsmysql.Instance("exampleinstanceResourceResourceFromRdsmysqlinstance",
nodes=[{
"node_spec": "string",
"node_type": "string",
"zone_id": "string",
}],
vpc_id="string",
subnet_id="string",
storage_type="string",
charge_detail={
"charge_type": "string",
"auto_renew": False,
"charge_end_time": "string",
"charge_start_time": "string",
"charge_status": "string",
"number": 0,
"overdue_reclaim_time": "string",
"overdue_time": "string",
"period": 0,
"period_unit": "string",
"temp_modify_end_time": "string",
"temp_modify_start_time": "string",
},
storage_space=0,
db_engine_version="string",
lower_case_table_names="string",
parameter_template_id="string",
deletion_protection="string",
engine_type="string",
global_read_only=False,
instance_name="string",
instance_type="string",
allow_list_ids=["string"],
maintenance_window={
"day_kind": "string",
"day_of_weeks": ["string"],
"maintenance_time": "string",
},
node_spec="string",
db_param_group_id="string",
db_time_zone="string",
port=0,
private_ip_address="string",
project_name="string",
cpu_num=0,
backup_policy={
"available_cross_regions": ["string"],
"backup_policy_base": {
"binlog_backup_all_retention": False,
"binlog_backup_enabled": False,
"binlog_backup_encryption_enabled": False,
"binlog_file_counts_enable": False,
"binlog_limit_count": 0,
"binlog_local_retention_hour": 0,
"binlog_space_limit_enable": False,
"binlog_storage_percentage": 0,
"data_backup_all_retention": False,
"data_backup_encryption_enabled": False,
"data_backup_retention_day": 0,
"data_full_backup_periods": ["string"],
"data_full_backup_start_utc_hour": 0,
"data_full_backup_time": "string",
"data_incr_backup_periods": ["string"],
"data_keep_days_after_released": 0,
"data_keep_policy_after_released": "string",
"high_frequency_snapshot_backup_enable": False,
"high_frequency_snapshot_backup_second_period": 0,
"hourly_incr_backup_enable": False,
"incr_backup_hour_period": 0,
"keep_cross_backup_enable_after_released": False,
"lock_ddl_time": 0,
"lock_ddl_time_second": 0,
"log_backup_retention_day": 0,
"public_download_enable": False,
"retention_policy_synced": False,
},
"cross_backup_policy": {
"backup_enabled": False,
"cross_backup_all_retention": False,
"cross_backup_region": "string",
"log_backup_enabled": False,
"retention": 0,
},
},
auto_upgrade_minor_version="string",
super_account_name="string",
super_account_password="string",
sync_mode="string",
tags=[{
"key": "string",
"value": "string",
}],
auto_storage_scaling_config={
"enable_storage_auto_scale": False,
"scaling_detect_node": "string",
"storage_threshold": 0,
"storage_upper_bound": 0,
})
const exampleinstanceResourceResourceFromRdsmysqlinstance = new volcenginecc.rdsmysql.Instance("exampleinstanceResourceResourceFromRdsmysqlinstance", {
nodes: [{
nodeSpec: "string",
nodeType: "string",
zoneId: "string",
}],
vpcId: "string",
subnetId: "string",
storageType: "string",
chargeDetail: {
chargeType: "string",
autoRenew: false,
chargeEndTime: "string",
chargeStartTime: "string",
chargeStatus: "string",
number: 0,
overdueReclaimTime: "string",
overdueTime: "string",
period: 0,
periodUnit: "string",
tempModifyEndTime: "string",
tempModifyStartTime: "string",
},
storageSpace: 0,
dbEngineVersion: "string",
lowerCaseTableNames: "string",
parameterTemplateId: "string",
deletionProtection: "string",
engineType: "string",
globalReadOnly: false,
instanceName: "string",
instanceType: "string",
allowListIds: ["string"],
maintenanceWindow: {
dayKind: "string",
dayOfWeeks: ["string"],
maintenanceTime: "string",
},
nodeSpec: "string",
dbParamGroupId: "string",
dbTimeZone: "string",
port: 0,
privateIpAddress: "string",
projectName: "string",
cpuNum: 0,
backupPolicy: {
availableCrossRegions: ["string"],
backupPolicyBase: {
binlogBackupAllRetention: false,
binlogBackupEnabled: false,
binlogBackupEncryptionEnabled: false,
binlogFileCountsEnable: false,
binlogLimitCount: 0,
binlogLocalRetentionHour: 0,
binlogSpaceLimitEnable: false,
binlogStoragePercentage: 0,
dataBackupAllRetention: false,
dataBackupEncryptionEnabled: false,
dataBackupRetentionDay: 0,
dataFullBackupPeriods: ["string"],
dataFullBackupStartUtcHour: 0,
dataFullBackupTime: "string",
dataIncrBackupPeriods: ["string"],
dataKeepDaysAfterReleased: 0,
dataKeepPolicyAfterReleased: "string",
highFrequencySnapshotBackupEnable: false,
highFrequencySnapshotBackupSecondPeriod: 0,
hourlyIncrBackupEnable: false,
incrBackupHourPeriod: 0,
keepCrossBackupEnableAfterReleased: false,
lockDdlTime: 0,
lockDdlTimeSecond: 0,
logBackupRetentionDay: 0,
publicDownloadEnable: false,
retentionPolicySynced: false,
},
crossBackupPolicy: {
backupEnabled: false,
crossBackupAllRetention: false,
crossBackupRegion: "string",
logBackupEnabled: false,
retention: 0,
},
},
autoUpgradeMinorVersion: "string",
superAccountName: "string",
superAccountPassword: "string",
syncMode: "string",
tags: [{
key: "string",
value: "string",
}],
autoStorageScalingConfig: {
enableStorageAutoScale: false,
scalingDetectNode: "string",
storageThreshold: 0,
storageUpperBound: 0,
},
});
type: volcenginecc:rdsmysql:Instance
properties:
allowListIds:
- string
autoStorageScalingConfig:
enableStorageAutoScale: false
scalingDetectNode: string
storageThreshold: 0
storageUpperBound: 0
autoUpgradeMinorVersion: string
backupPolicy:
availableCrossRegions:
- string
backupPolicyBase:
binlogBackupAllRetention: false
binlogBackupEnabled: false
binlogBackupEncryptionEnabled: false
binlogFileCountsEnable: false
binlogLimitCount: 0
binlogLocalRetentionHour: 0
binlogSpaceLimitEnable: false
binlogStoragePercentage: 0
dataBackupAllRetention: false
dataBackupEncryptionEnabled: false
dataBackupRetentionDay: 0
dataFullBackupPeriods:
- string
dataFullBackupStartUtcHour: 0
dataFullBackupTime: string
dataIncrBackupPeriods:
- string
dataKeepDaysAfterReleased: 0
dataKeepPolicyAfterReleased: string
highFrequencySnapshotBackupEnable: false
highFrequencySnapshotBackupSecondPeriod: 0
hourlyIncrBackupEnable: false
incrBackupHourPeriod: 0
keepCrossBackupEnableAfterReleased: false
lockDdlTime: 0
lockDdlTimeSecond: 0
logBackupRetentionDay: 0
publicDownloadEnable: false
retentionPolicySynced: false
crossBackupPolicy:
backupEnabled: false
crossBackupAllRetention: false
crossBackupRegion: string
logBackupEnabled: false
retention: 0
chargeDetail:
autoRenew: false
chargeEndTime: string
chargeStartTime: string
chargeStatus: string
chargeType: string
number: 0
overdueReclaimTime: string
overdueTime: string
period: 0
periodUnit: string
tempModifyEndTime: string
tempModifyStartTime: string
cpuNum: 0
dbEngineVersion: string
dbParamGroupId: string
dbTimeZone: string
deletionProtection: string
engineType: string
globalReadOnly: false
instanceName: string
instanceType: string
lowerCaseTableNames: string
maintenanceWindow:
dayKind: string
dayOfWeeks:
- string
maintenanceTime: string
nodeSpec: string
nodes:
- nodeSpec: string
nodeType: string
zoneId: string
parameterTemplateId: string
port: 0
privateIpAddress: string
projectName: string
storageSpace: 0
storageType: string
subnetId: string
superAccountName: string
superAccountPassword: string
syncMode: string
tags:
- key: string
value: string
vpcId: 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:
- Charge
Detail Volcengine.Instance Charge Detail - Billing method
- Db
Engine stringVersion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- Nodes
List<Volcengine.
Instance Node> - Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Storage
Space int - Total storage space of the instance, in GB
- Storage
Type string - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- Subnet
Id string - Subnet ID.
- Vpc
Id string - VPC (Virtual Private Cloud) ID.
- Allow
List List<string>Ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- Auto
Storage Volcengine.Scaling Config Instance Auto Storage Scaling Config - Auto scaling configuration
- Auto
Upgrade stringMinor Version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- Backup
Policy Volcengine.Instance Backup Policy - Instance backup policy configuration.
- Cpu
Num int - Number of CPU cores for the database proxy service of the instance
- Db
Param stringGroup Id - Parameter template ID. Default value is the default parameter template for the database engine version
- Db
Time stringZone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- Deletion
Protection string - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- Engine
Type string - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- Global
Read boolOnly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- Instance
Name string - Instance name.
- Instance
Type string - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- Lower
Case stringTable Names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- Maintenance
Window Volcengine.Instance Maintenance Window - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- Node
Spec string - Node specifications.
- Parameter
Template stringId - Parameter template ID.
- Port int
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- Private
Ip stringAddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- Project
Name string - Project.
- Super
Account stringName - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- Super
Account stringPassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- Sync
Mode string - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
-
List<Volcengine.
Instance Tag> - RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Charge
Detail InstanceCharge Detail Args - Billing method
- Db
Engine stringVersion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- Nodes
[]Instance
Node Args - Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Storage
Space int - Total storage space of the instance, in GB
- Storage
Type string - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- Subnet
Id string - Subnet ID.
- Vpc
Id string - VPC (Virtual Private Cloud) ID.
- Allow
List []stringIds - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- Auto
Storage InstanceScaling Config Auto Storage Scaling Config Args - Auto scaling configuration
- Auto
Upgrade stringMinor Version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- Backup
Policy InstanceBackup Policy Args - Instance backup policy configuration.
- Cpu
Num int - Number of CPU cores for the database proxy service of the instance
- Db
Param stringGroup Id - Parameter template ID. Default value is the default parameter template for the database engine version
- Db
Time stringZone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- Deletion
Protection string - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- Engine
Type string - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- Global
Read boolOnly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- Instance
Name string - Instance name.
- Instance
Type string - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- Lower
Case stringTable Names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- Maintenance
Window InstanceMaintenance Window Args - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- Node
Spec string - Node specifications.
- Parameter
Template stringId - Parameter template ID.
- Port int
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- Private
Ip stringAddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- Project
Name string - Project.
- Super
Account stringName - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- Super
Account stringPassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- Sync
Mode string - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
-
[]Instance
Tag Args - RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- charge_
detail object - Billing method
- db_
engine_ stringversion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- nodes list(object)
- Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- storage_
space number - Total storage space of the instance, in GB
- storage_
type string - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- subnet_
id string - Subnet ID.
- vpc_
id string - VPC (Virtual Private Cloud) ID.
- allow_
list_ list(string)ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- auto_
storage_ objectscaling_ config - Auto scaling configuration
- auto_
upgrade_ stringminor_ version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- backup_
policy object - Instance backup policy configuration.
- cpu_
num number - Number of CPU cores for the database proxy service of the instance
- db_
param_ stringgroup_ id - Parameter template ID. Default value is the default parameter template for the database engine version
- db_
time_ stringzone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- deletion_
protection string - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- engine_
type string - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- global_
read_ boolonly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- instance_
name string - Instance name.
- instance_
type string - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- lower_
case_ stringtable_ names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- maintenance_
window object - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- node_
spec string - Node specifications.
- parameter_
template_ stringid - Parameter template ID.
- port number
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- private_
ip_ stringaddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- project_
name string - Project.
- super_
account_ stringname - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- super_
account_ stringpassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- sync_
mode string - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
- list(object)
- RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- charge
Detail InstanceCharge Detail - Billing method
- db
Engine StringVersion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- nodes
List<Instance
Node> - Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- storage
Space Integer - Total storage space of the instance, in GB
- storage
Type String - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- subnet
Id String - Subnet ID.
- vpc
Id String - VPC (Virtual Private Cloud) ID.
- allow
List List<String>Ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- auto
Storage InstanceScaling Config Auto Storage Scaling Config - Auto scaling configuration
- auto
Upgrade StringMinor Version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- backup
Policy InstanceBackup Policy - Instance backup policy configuration.
- cpu
Num Integer - Number of CPU cores for the database proxy service of the instance
- db
Param StringGroup Id - Parameter template ID. Default value is the default parameter template for the database engine version
- db
Time StringZone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- deletion
Protection String - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- engine
Type String - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- global
Read BooleanOnly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- instance
Name String - Instance name.
- instance
Type String - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- lower
Case StringTable Names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- maintenance
Window InstanceMaintenance Window - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- node
Spec String - Node specifications.
- parameter
Template StringId - Parameter template ID.
- port Integer
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- private
Ip StringAddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- project
Name String - Project.
- super
Account StringName - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- super
Account StringPassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- sync
Mode String - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
-
List<Instance
Tag> - RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- charge
Detail InstanceCharge Detail - Billing method
- db
Engine stringVersion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- nodes
Instance
Node[] - Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- storage
Space number - Total storage space of the instance, in GB
- storage
Type string - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- subnet
Id string - Subnet ID.
- vpc
Id string - VPC (Virtual Private Cloud) ID.
- allow
List string[]Ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- auto
Storage InstanceScaling Config Auto Storage Scaling Config - Auto scaling configuration
- auto
Upgrade stringMinor Version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- backup
Policy InstanceBackup Policy - Instance backup policy configuration.
- cpu
Num number - Number of CPU cores for the database proxy service of the instance
- db
Param stringGroup Id - Parameter template ID. Default value is the default parameter template for the database engine version
- db
Time stringZone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- deletion
Protection string - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- engine
Type string - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- global
Read booleanOnly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- instance
Name string - Instance name.
- instance
Type string - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- lower
Case stringTable Names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- maintenance
Window InstanceMaintenance Window - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- node
Spec string - Node specifications.
- parameter
Template stringId - Parameter template ID.
- port number
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- private
Ip stringAddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- project
Name string - Project.
- super
Account stringName - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- super
Account stringPassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- sync
Mode string - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
-
Instance
Tag[] - RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- charge_
detail InstanceCharge Detail Args - Billing method
- db_
engine_ strversion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- nodes
Sequence[Instance
Node Args] - Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- storage_
space int - Total storage space of the instance, in GB
- storage_
type str - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- subnet_
id str - Subnet ID.
- vpc_
id str - VPC (Virtual Private Cloud) ID.
- allow_
list_ Sequence[str]ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- auto_
storage_ Instancescaling_ config Auto Storage Scaling Config Args - Auto scaling configuration
- auto_
upgrade_ strminor_ version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- backup_
policy InstanceBackup Policy Args - Instance backup policy configuration.
- cpu_
num int - Number of CPU cores for the database proxy service of the instance
- db_
param_ strgroup_ id - Parameter template ID. Default value is the default parameter template for the database engine version
- db_
time_ strzone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- deletion_
protection str - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- engine_
type str - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- global_
read_ boolonly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- instance_
name str - Instance name.
- instance_
type str - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- lower_
case_ strtable_ names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- maintenance_
window InstanceMaintenance Window Args - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- node_
spec str - Node specifications.
- parameter_
template_ strid - Parameter template ID.
- port int
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- private_
ip_ straddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- project_
name str - Project.
- super_
account_ strname - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- super_
account_ strpassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- sync_
mode str - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
-
Sequence[Instance
Tag Args] - RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- charge
Detail Property Map - Billing method
- db
Engine StringVersion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- nodes List<Property Map>
- Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- storage
Space Number - Total storage space of the instance, in GB
- storage
Type String - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- subnet
Id String - Subnet ID.
- vpc
Id String - VPC (Virtual Private Cloud) ID.
- allow
List List<String>Ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- auto
Storage Property MapScaling Config - Auto scaling configuration
- auto
Upgrade StringMinor Version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- backup
Policy Property Map - Instance backup policy configuration.
- cpu
Num Number - Number of CPU cores for the database proxy service of the instance
- db
Param StringGroup Id - Parameter template ID. Default value is the default parameter template for the database engine version
- db
Time StringZone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- deletion
Protection String - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- engine
Type String - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- global
Read BooleanOnly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- instance
Name String - Instance name.
- instance
Type String - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- lower
Case StringTable Names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- maintenance
Window Property Map - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- node
Spec String - Node specifications.
- parameter
Template StringId - Parameter template ID.
- port Number
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- private
Ip StringAddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- project
Name String - Project.
- super
Account StringName - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- super
Account StringPassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- sync
Mode String - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
- List<Property Map>
- RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Address
Objects List<Volcengine.Instance Address Object> - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Allow
List stringVersion - Allowlist version
- Backup
Audit intLog Size - Space used by audit logs in backup.
- Backup
Bin intLog Size - Space used by binlog logs in backup.
- Backup
Data intSize - Space used by data in backup.
- Backup
Error intLog Size - Space used by error logs in backups.
- Backup
Free intQuota Size - Free backup storage space, in GB
- Backup
Log intSize - Space used by logs in backups.
- Backup
Slow intLog Size - Space used by slow logs in backups.
- Backup
Use double - Backup space used by the instance, in GB
- Basic
Backup intBinlog Size - Space used by Binlog logs in basic backups.
- Basic
Backup intData Size - Space used by data in the base backup
- Created
Time string - Instance creation local time.
- Current
Kernel stringVersion - Instance kernel minor version.
- Disaster
Recovery List<Volcengine.Instances Instance Disaster Recovery Instance> - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Dr
Dts stringTask Id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- Dr
Dts stringTask Name - Name of synchronization tasks between primary and disaster recovery instances.
- Dr
Dts stringTask Status - Status of synchronization tasks between primary and disaster recovery instances.
- Dr
Seconds intBehind Master - Latency between the disaster recovery instance and the primary instance.
- Endpoints
List<Volcengine.
Instance Endpoint> - Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Has
Disaster boolRecovery Instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- Has
Green boolInstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Instance ID.
- Instance
Status string - Instance status.
- Master
Instance stringId - Primary instance ID
- Master
Instance stringName - Primary instance name.
- Memory int
- Memory size. Unit: GB.
- Node
Cpu doubleUsed Percentage - Average CPU usage of the primary node in the instance over the past minute.
- Node
Memory doubleUsed Percentage - Average memory usage of the primary node over the past minute
- Node
Number string - Number of nodes.
- Node
Space doubleUsed Percentage - Average disk usage of the primary node over the past minute
- Proxy
Detail Volcengine.Instance Proxy Detail - proxy information
- Storage
Audit intLog Size - Space used by audit logs in instance storage
- Storage
Bin intLog Size - Binlog space usage in the instance storage
- Storage
Data intSize - Space used by data in instance storage.
- Storage
Error intLog Size - Space used by error logs in instance storage.
- Storage
Log intSize - Space used by logs in the instance storage
- Storage
Slow intLog Size - Space used by slow logs in instance storage
- Storage
Use double - Storage space used by the instance, in GB
- Time
Zone string - Time zone
- Updated
Time string - Instance updates local time.
- Vcpu int
- CPU size. For example: 1 means 1U.
- Zone
Id string - Availability zone of the instance's primary node.
- Zone
Ids List<string> - List of availability zones for each node in the instance.
- Address
Objects []InstanceAddress Object - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Allow
List stringVersion - Allowlist version
- Backup
Audit intLog Size - Space used by audit logs in backup.
- Backup
Bin intLog Size - Space used by binlog logs in backup.
- Backup
Data intSize - Space used by data in backup.
- Backup
Error intLog Size - Space used by error logs in backups.
- Backup
Free intQuota Size - Free backup storage space, in GB
- Backup
Log intSize - Space used by logs in backups.
- Backup
Slow intLog Size - Space used by slow logs in backups.
- Backup
Use float64 - Backup space used by the instance, in GB
- Basic
Backup intBinlog Size - Space used by Binlog logs in basic backups.
- Basic
Backup intData Size - Space used by data in the base backup
- Created
Time string - Instance creation local time.
- Current
Kernel stringVersion - Instance kernel minor version.
- Disaster
Recovery []InstanceInstances Disaster Recovery Instance - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Dr
Dts stringTask Id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- Dr
Dts stringTask Name - Name of synchronization tasks between primary and disaster recovery instances.
- Dr
Dts stringTask Status - Status of synchronization tasks between primary and disaster recovery instances.
- Dr
Seconds intBehind Master - Latency between the disaster recovery instance and the primary instance.
- Endpoints
[]Instance
Endpoint - Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Has
Disaster boolRecovery Instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- Has
Green boolInstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Instance ID.
- Instance
Status string - Instance status.
- Master
Instance stringId - Primary instance ID
- Master
Instance stringName - Primary instance name.
- Memory int
- Memory size. Unit: GB.
- Node
Cpu float64Used Percentage - Average CPU usage of the primary node in the instance over the past minute.
- Node
Memory float64Used Percentage - Average memory usage of the primary node over the past minute
- Node
Number string - Number of nodes.
- Node
Space float64Used Percentage - Average disk usage of the primary node over the past minute
- Proxy
Detail InstanceProxy Detail - proxy information
- Storage
Audit intLog Size - Space used by audit logs in instance storage
- Storage
Bin intLog Size - Binlog space usage in the instance storage
- Storage
Data intSize - Space used by data in instance storage.
- Storage
Error intLog Size - Space used by error logs in instance storage.
- Storage
Log intSize - Space used by logs in the instance storage
- Storage
Slow intLog Size - Space used by slow logs in instance storage
- Storage
Use float64 - Storage space used by the instance, in GB
- Time
Zone string - Time zone
- Updated
Time string - Instance updates local time.
- Vcpu int
- CPU size. For example: 1 means 1U.
- Zone
Id string - Availability zone of the instance's primary node.
- Zone
Ids []string - List of availability zones for each node in the instance.
- address_
objects list(object) - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- allow_
list_ stringversion - Allowlist version
- backup_
audit_ numberlog_ size - Space used by audit logs in backup.
- backup_
bin_ numberlog_ size - Space used by binlog logs in backup.
- backup_
data_ numbersize - Space used by data in backup.
- backup_
error_ numberlog_ size - Space used by error logs in backups.
- backup_
free_ numberquota_ size - Free backup storage space, in GB
- backup_
log_ numbersize - Space used by logs in backups.
- backup_
slow_ numberlog_ size - Space used by slow logs in backups.
- backup_
use number - Backup space used by the instance, in GB
- basic_
backup_ numberbinlog_ size - Space used by Binlog logs in basic backups.
- basic_
backup_ numberdata_ size - Space used by data in the base backup
- created_
time string - Instance creation local time.
- current_
kernel_ stringversion - Instance kernel minor version.
- disaster_
recovery_ list(object)instances - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dr_
dts_ stringtask_ id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- dr_
dts_ stringtask_ name - Name of synchronization tasks between primary and disaster recovery instances.
- dr_
dts_ stringtask_ status - Status of synchronization tasks between primary and disaster recovery instances.
- dr_
seconds_ numberbehind_ master - Latency between the disaster recovery instance and the primary instance.
- endpoints list(object)
- Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- has_
disaster_ boolrecovery_ instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- has_
green_ boolinstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- id string
- The provider-assigned unique ID for this managed resource.
- instance_
id string - Instance ID.
- instance_
status string - Instance status.
- master_
instance_ stringid - Primary instance ID
- master_
instance_ stringname - Primary instance name.
- memory number
- Memory size. Unit: GB.
- node_
cpu_ numberused_ percentage - Average CPU usage of the primary node in the instance over the past minute.
- node_
memory_ numberused_ percentage - Average memory usage of the primary node over the past minute
- node_
number string - Number of nodes.
- node_
space_ numberused_ percentage - Average disk usage of the primary node over the past minute
- proxy_
detail object - proxy information
- storage_
audit_ numberlog_ size - Space used by audit logs in instance storage
- storage_
bin_ numberlog_ size - Binlog space usage in the instance storage
- storage_
data_ numbersize - Space used by data in instance storage.
- storage_
error_ numberlog_ size - Space used by error logs in instance storage.
- storage_
log_ numbersize - Space used by logs in the instance storage
- storage_
slow_ numberlog_ size - Space used by slow logs in instance storage
- storage_
use number - Storage space used by the instance, in GB
- time_
zone string - Time zone
- updated_
time string - Instance updates local time.
- vcpu number
- CPU size. For example: 1 means 1U.
- zone_
id string - Availability zone of the instance's primary node.
- zone_
ids list(string) - List of availability zones for each node in the instance.
- address
Objects List<InstanceAddress Object> - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- allow
List StringVersion - Allowlist version
- backup
Audit IntegerLog Size - Space used by audit logs in backup.
- backup
Bin IntegerLog Size - Space used by binlog logs in backup.
- backup
Data IntegerSize - Space used by data in backup.
- backup
Error IntegerLog Size - Space used by error logs in backups.
- backup
Free IntegerQuota Size - Free backup storage space, in GB
- backup
Log IntegerSize - Space used by logs in backups.
- backup
Slow IntegerLog Size - Space used by slow logs in backups.
- backup
Use Double - Backup space used by the instance, in GB
- basic
Backup IntegerBinlog Size - Space used by Binlog logs in basic backups.
- basic
Backup IntegerData Size - Space used by data in the base backup
- created
Time String - Instance creation local time.
- current
Kernel StringVersion - Instance kernel minor version.
- disaster
Recovery List<InstanceInstances Disaster Recovery Instance> - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dr
Dts StringTask Id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- dr
Dts StringTask Name - Name of synchronization tasks between primary and disaster recovery instances.
- dr
Dts StringTask Status - Status of synchronization tasks between primary and disaster recovery instances.
- dr
Seconds IntegerBehind Master - Latency between the disaster recovery instance and the primary instance.
- endpoints
List<Instance
Endpoint> - Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- has
Disaster BooleanRecovery Instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- has
Green BooleanInstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - Instance ID.
- instance
Status String - Instance status.
- master
Instance StringId - Primary instance ID
- master
Instance StringName - Primary instance name.
- memory Integer
- Memory size. Unit: GB.
- node
Cpu DoubleUsed Percentage - Average CPU usage of the primary node in the instance over the past minute.
- node
Memory DoubleUsed Percentage - Average memory usage of the primary node over the past minute
- node
Number String - Number of nodes.
- node
Space DoubleUsed Percentage - Average disk usage of the primary node over the past minute
- proxy
Detail InstanceProxy Detail - proxy information
- storage
Audit IntegerLog Size - Space used by audit logs in instance storage
- storage
Bin IntegerLog Size - Binlog space usage in the instance storage
- storage
Data IntegerSize - Space used by data in instance storage.
- storage
Error IntegerLog Size - Space used by error logs in instance storage.
- storage
Log IntegerSize - Space used by logs in the instance storage
- storage
Slow IntegerLog Size - Space used by slow logs in instance storage
- storage
Use Double - Storage space used by the instance, in GB
- time
Zone String - Time zone
- updated
Time String - Instance updates local time.
- vcpu Integer
- CPU size. For example: 1 means 1U.
- zone
Id String - Availability zone of the instance's primary node.
- zone
Ids List<String> - List of availability zones for each node in the instance.
- address
Objects InstanceAddress Object[] - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- allow
List stringVersion - Allowlist version
- backup
Audit numberLog Size - Space used by audit logs in backup.
- backup
Bin numberLog Size - Space used by binlog logs in backup.
- backup
Data numberSize - Space used by data in backup.
- backup
Error numberLog Size - Space used by error logs in backups.
- backup
Free numberQuota Size - Free backup storage space, in GB
- backup
Log numberSize - Space used by logs in backups.
- backup
Slow numberLog Size - Space used by slow logs in backups.
- backup
Use number - Backup space used by the instance, in GB
- basic
Backup numberBinlog Size - Space used by Binlog logs in basic backups.
- basic
Backup numberData Size - Space used by data in the base backup
- created
Time string - Instance creation local time.
- current
Kernel stringVersion - Instance kernel minor version.
- disaster
Recovery InstanceInstances Disaster Recovery Instance[] - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dr
Dts stringTask Id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- dr
Dts stringTask Name - Name of synchronization tasks between primary and disaster recovery instances.
- dr
Dts stringTask Status - Status of synchronization tasks between primary and disaster recovery instances.
- dr
Seconds numberBehind Master - Latency between the disaster recovery instance and the primary instance.
- endpoints
Instance
Endpoint[] - Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- has
Disaster booleanRecovery Instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- has
Green booleanInstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - Instance ID.
- instance
Status string - Instance status.
- master
Instance stringId - Primary instance ID
- master
Instance stringName - Primary instance name.
- memory number
- Memory size. Unit: GB.
- node
Cpu numberUsed Percentage - Average CPU usage of the primary node in the instance over the past minute.
- node
Memory numberUsed Percentage - Average memory usage of the primary node over the past minute
- node
Number string - Number of nodes.
- node
Space numberUsed Percentage - Average disk usage of the primary node over the past minute
- proxy
Detail InstanceProxy Detail - proxy information
- storage
Audit numberLog Size - Space used by audit logs in instance storage
- storage
Bin numberLog Size - Binlog space usage in the instance storage
- storage
Data numberSize - Space used by data in instance storage.
- storage
Error numberLog Size - Space used by error logs in instance storage.
- storage
Log numberSize - Space used by logs in the instance storage
- storage
Slow numberLog Size - Space used by slow logs in instance storage
- storage
Use number - Storage space used by the instance, in GB
- time
Zone string - Time zone
- updated
Time string - Instance updates local time.
- vcpu number
- CPU size. For example: 1 means 1U.
- zone
Id string - Availability zone of the instance's primary node.
- zone
Ids string[] - List of availability zones for each node in the instance.
- address_
objects Sequence[InstanceAddress Object] - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- allow_
list_ strversion - Allowlist version
- backup_
audit_ intlog_ size - Space used by audit logs in backup.
- backup_
bin_ intlog_ size - Space used by binlog logs in backup.
- backup_
data_ intsize - Space used by data in backup.
- backup_
error_ intlog_ size - Space used by error logs in backups.
- backup_
free_ intquota_ size - Free backup storage space, in GB
- backup_
log_ intsize - Space used by logs in backups.
- backup_
slow_ intlog_ size - Space used by slow logs in backups.
- backup_
use float - Backup space used by the instance, in GB
- basic_
backup_ intbinlog_ size - Space used by Binlog logs in basic backups.
- basic_
backup_ intdata_ size - Space used by data in the base backup
- created_
time str - Instance creation local time.
- current_
kernel_ strversion - Instance kernel minor version.
- disaster_
recovery_ Sequence[Instanceinstances Disaster Recovery Instance] - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dr_
dts_ strtask_ id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- dr_
dts_ strtask_ name - Name of synchronization tasks between primary and disaster recovery instances.
- dr_
dts_ strtask_ status - Status of synchronization tasks between primary and disaster recovery instances.
- dr_
seconds_ intbehind_ master - Latency between the disaster recovery instance and the primary instance.
- endpoints
Sequence[Instance
Endpoint] - Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- has_
disaster_ boolrecovery_ instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- has_
green_ boolinstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - Instance ID.
- instance_
status str - Instance status.
- master_
instance_ strid - Primary instance ID
- master_
instance_ strname - Primary instance name.
- memory int
- Memory size. Unit: GB.
- node_
cpu_ floatused_ percentage - Average CPU usage of the primary node in the instance over the past minute.
- node_
memory_ floatused_ percentage - Average memory usage of the primary node over the past minute
- node_
number str - Number of nodes.
- node_
space_ floatused_ percentage - Average disk usage of the primary node over the past minute
- proxy_
detail InstanceProxy Detail - proxy information
- storage_
audit_ intlog_ size - Space used by audit logs in instance storage
- storage_
bin_ intlog_ size - Binlog space usage in the instance storage
- storage_
data_ intsize - Space used by data in instance storage.
- storage_
error_ intlog_ size - Space used by error logs in instance storage.
- storage_
log_ intsize - Space used by logs in the instance storage
- storage_
slow_ intlog_ size - Space used by slow logs in instance storage
- storage_
use float - Storage space used by the instance, in GB
- time_
zone str - Time zone
- updated_
time str - Instance updates local time.
- vcpu int
- CPU size. For example: 1 means 1U.
- zone_
id str - Availability zone of the instance's primary node.
- zone_
ids Sequence[str] - List of availability zones for each node in the instance.
- address
Objects List<Property Map> - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- allow
List StringVersion - Allowlist version
- backup
Audit NumberLog Size - Space used by audit logs in backup.
- backup
Bin NumberLog Size - Space used by binlog logs in backup.
- backup
Data NumberSize - Space used by data in backup.
- backup
Error NumberLog Size - Space used by error logs in backups.
- backup
Free NumberQuota Size - Free backup storage space, in GB
- backup
Log NumberSize - Space used by logs in backups.
- backup
Slow NumberLog Size - Space used by slow logs in backups.
- backup
Use Number - Backup space used by the instance, in GB
- basic
Backup NumberBinlog Size - Space used by Binlog logs in basic backups.
- basic
Backup NumberData Size - Space used by data in the base backup
- created
Time String - Instance creation local time.
- current
Kernel StringVersion - Instance kernel minor version.
- disaster
Recovery List<Property Map>Instances - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dr
Dts StringTask Id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- dr
Dts StringTask Name - Name of synchronization tasks between primary and disaster recovery instances.
- dr
Dts StringTask Status - Status of synchronization tasks between primary and disaster recovery instances.
- dr
Seconds NumberBehind Master - Latency between the disaster recovery instance and the primary instance.
- endpoints List<Property Map>
- Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- has
Disaster BooleanRecovery Instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- has
Green BooleanInstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - Instance ID.
- instance
Status String - Instance status.
- master
Instance StringId - Primary instance ID
- master
Instance StringName - Primary instance name.
- memory Number
- Memory size. Unit: GB.
- node
Cpu NumberUsed Percentage - Average CPU usage of the primary node in the instance over the past minute.
- node
Memory NumberUsed Percentage - Average memory usage of the primary node over the past minute
- node
Number String - Number of nodes.
- node
Space NumberUsed Percentage - Average disk usage of the primary node over the past minute
- proxy
Detail Property Map - proxy information
- storage
Audit NumberLog Size - Space used by audit logs in instance storage
- storage
Bin NumberLog Size - Binlog space usage in the instance storage
- storage
Data NumberSize - Space used by data in instance storage.
- storage
Error NumberLog Size - Space used by error logs in instance storage.
- storage
Log NumberSize - Space used by logs in the instance storage
- storage
Slow NumberLog Size - Space used by slow logs in instance storage
- storage
Use Number - Storage space used by the instance, in GB
- time
Zone String - Time zone
- updated
Time String - Instance updates local time.
- vcpu Number
- CPU size. For example: 1 means 1U.
- zone
Id String - Availability zone of the instance's primary node.
- zone
Ids List<String> - List of availability zones for each node in the 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,
address_objects: Optional[Sequence[InstanceAddressObjectArgs]] = None,
allow_list_ids: Optional[Sequence[str]] = None,
allow_list_version: Optional[str] = None,
auto_storage_scaling_config: Optional[InstanceAutoStorageScalingConfigArgs] = None,
auto_upgrade_minor_version: Optional[str] = None,
backup_audit_log_size: Optional[int] = None,
backup_bin_log_size: Optional[int] = None,
backup_data_size: Optional[int] = None,
backup_error_log_size: Optional[int] = None,
backup_free_quota_size: Optional[int] = None,
backup_log_size: Optional[int] = None,
backup_policy: Optional[InstanceBackupPolicyArgs] = None,
backup_slow_log_size: Optional[int] = None,
backup_use: Optional[float] = None,
basic_backup_binlog_size: Optional[int] = None,
basic_backup_data_size: Optional[int] = None,
charge_detail: Optional[InstanceChargeDetailArgs] = None,
cpu_num: Optional[int] = None,
created_time: Optional[str] = None,
current_kernel_version: Optional[str] = None,
db_engine_version: Optional[str] = None,
db_param_group_id: Optional[str] = None,
db_time_zone: Optional[str] = None,
deletion_protection: Optional[str] = None,
disaster_recovery_instances: Optional[Sequence[InstanceDisasterRecoveryInstanceArgs]] = None,
dr_dts_task_id: Optional[str] = None,
dr_dts_task_name: Optional[str] = None,
dr_dts_task_status: Optional[str] = None,
dr_seconds_behind_master: Optional[int] = None,
endpoints: Optional[Sequence[InstanceEndpointArgs]] = None,
engine_type: Optional[str] = None,
global_read_only: Optional[bool] = None,
has_disaster_recovery_instances: Optional[bool] = None,
has_green_instance: Optional[bool] = None,
instance_id: Optional[str] = None,
instance_name: Optional[str] = None,
instance_status: Optional[str] = None,
instance_type: Optional[str] = None,
lower_case_table_names: Optional[str] = None,
maintenance_window: Optional[InstanceMaintenanceWindowArgs] = None,
master_instance_id: Optional[str] = None,
master_instance_name: Optional[str] = None,
memory: Optional[int] = None,
node_cpu_used_percentage: Optional[float] = None,
node_memory_used_percentage: Optional[float] = None,
node_number: Optional[str] = None,
node_space_used_percentage: Optional[float] = None,
node_spec: Optional[str] = None,
nodes: Optional[Sequence[InstanceNodeArgs]] = None,
parameter_template_id: Optional[str] = None,
port: Optional[int] = None,
private_ip_address: Optional[str] = None,
project_name: Optional[str] = None,
proxy_detail: Optional[InstanceProxyDetailArgs] = None,
storage_audit_log_size: Optional[int] = None,
storage_bin_log_size: Optional[int] = None,
storage_data_size: Optional[int] = None,
storage_error_log_size: Optional[int] = None,
storage_log_size: Optional[int] = None,
storage_slow_log_size: Optional[int] = None,
storage_space: Optional[int] = None,
storage_type: Optional[str] = None,
storage_use: Optional[float] = None,
subnet_id: Optional[str] = None,
super_account_name: Optional[str] = None,
super_account_password: Optional[str] = None,
sync_mode: Optional[str] = None,
tags: Optional[Sequence[InstanceTagArgs]] = None,
time_zone: Optional[str] = None,
updated_time: Optional[str] = None,
vcpu: Optional[int] = None,
vpc_id: Optional[str] = None,
zone_id: Optional[str] = None,
zone_ids: Optional[Sequence[str]] = None) -> Instancefunc 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)resources: _: type: volcenginecc:rdsmysql:Instance get: id: ${id}import {
to = volcenginecc_rdsmysql_instance.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Address
Objects List<Volcengine.Instance Address Object> - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Allow
List List<string>Ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- Allow
List stringVersion - Allowlist version
- Auto
Storage Volcengine.Scaling Config Instance Auto Storage Scaling Config - Auto scaling configuration
- Auto
Upgrade stringMinor Version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- Backup
Audit intLog Size - Space used by audit logs in backup.
- Backup
Bin intLog Size - Space used by binlog logs in backup.
- Backup
Data intSize - Space used by data in backup.
- Backup
Error intLog Size - Space used by error logs in backups.
- Backup
Free intQuota Size - Free backup storage space, in GB
- Backup
Log intSize - Space used by logs in backups.
- Backup
Policy Volcengine.Instance Backup Policy - Instance backup policy configuration.
- Backup
Slow intLog Size - Space used by slow logs in backups.
- Backup
Use double - Backup space used by the instance, in GB
- Basic
Backup intBinlog Size - Space used by Binlog logs in basic backups.
- Basic
Backup intData Size - Space used by data in the base backup
- Charge
Detail Volcengine.Instance Charge Detail - Billing method
- Cpu
Num int - Number of CPU cores for the database proxy service of the instance
- Created
Time string - Instance creation local time.
- Current
Kernel stringVersion - Instance kernel minor version.
- Db
Engine stringVersion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- Db
Param stringGroup Id - Parameter template ID. Default value is the default parameter template for the database engine version
- Db
Time stringZone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- Deletion
Protection string - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- Disaster
Recovery List<Volcengine.Instances Instance Disaster Recovery Instance> - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Dr
Dts stringTask Id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- Dr
Dts stringTask Name - Name of synchronization tasks between primary and disaster recovery instances.
- Dr
Dts stringTask Status - Status of synchronization tasks between primary and disaster recovery instances.
- Dr
Seconds intBehind Master - Latency between the disaster recovery instance and the primary instance.
- Endpoints
List<Volcengine.
Instance Endpoint> - Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Engine
Type string - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- Global
Read boolOnly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- Has
Disaster boolRecovery Instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- Has
Green boolInstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name.
- Instance
Status string - Instance status.
- Instance
Type string - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- Lower
Case stringTable Names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- Maintenance
Window Volcengine.Instance Maintenance Window - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- Master
Instance stringId - Primary instance ID
- Master
Instance stringName - Primary instance name.
- Memory int
- Memory size. Unit: GB.
- Node
Cpu doubleUsed Percentage - Average CPU usage of the primary node in the instance over the past minute.
- Node
Memory doubleUsed Percentage - Average memory usage of the primary node over the past minute
- Node
Number string - Number of nodes.
- Node
Space doubleUsed Percentage - Average disk usage of the primary node over the past minute
- Node
Spec string - Node specifications.
- Nodes
List<Volcengine.
Instance Node> - Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Parameter
Template stringId - Parameter template ID.
- Port int
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- Private
Ip stringAddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- Project
Name string - Project.
- Proxy
Detail Volcengine.Instance Proxy Detail - proxy information
- Storage
Audit intLog Size - Space used by audit logs in instance storage
- Storage
Bin intLog Size - Binlog space usage in the instance storage
- Storage
Data intSize - Space used by data in instance storage.
- Storage
Error intLog Size - Space used by error logs in instance storage.
- Storage
Log intSize - Space used by logs in the instance storage
- Storage
Slow intLog Size - Space used by slow logs in instance storage
- Storage
Space int - Total storage space of the instance, in GB
- Storage
Type string - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- Storage
Use double - Storage space used by the instance, in GB
- Subnet
Id string - Subnet ID.
- Super
Account stringName - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- Super
Account stringPassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- Sync
Mode string - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
-
List<Volcengine.
Instance Tag> - RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Time
Zone string - Time zone
- Updated
Time string - Instance updates local time.
- Vcpu int
- CPU size. For example: 1 means 1U.
- Vpc
Id string - VPC (Virtual Private Cloud) ID.
- Zone
Id string - Availability zone of the instance's primary node.
- Zone
Ids List<string> - List of availability zones for each node in the instance.
- Address
Objects []InstanceAddress Object Args - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Allow
List []stringIds - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- Allow
List stringVersion - Allowlist version
- Auto
Storage InstanceScaling Config Auto Storage Scaling Config Args - Auto scaling configuration
- Auto
Upgrade stringMinor Version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- Backup
Audit intLog Size - Space used by audit logs in backup.
- Backup
Bin intLog Size - Space used by binlog logs in backup.
- Backup
Data intSize - Space used by data in backup.
- Backup
Error intLog Size - Space used by error logs in backups.
- Backup
Free intQuota Size - Free backup storage space, in GB
- Backup
Log intSize - Space used by logs in backups.
- Backup
Policy InstanceBackup Policy Args - Instance backup policy configuration.
- Backup
Slow intLog Size - Space used by slow logs in backups.
- Backup
Use float64 - Backup space used by the instance, in GB
- Basic
Backup intBinlog Size - Space used by Binlog logs in basic backups.
- Basic
Backup intData Size - Space used by data in the base backup
- Charge
Detail InstanceCharge Detail Args - Billing method
- Cpu
Num int - Number of CPU cores for the database proxy service of the instance
- Created
Time string - Instance creation local time.
- Current
Kernel stringVersion - Instance kernel minor version.
- Db
Engine stringVersion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- Db
Param stringGroup Id - Parameter template ID. Default value is the default parameter template for the database engine version
- Db
Time stringZone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- Deletion
Protection string - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- Disaster
Recovery []InstanceInstances Disaster Recovery Instance Args - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Dr
Dts stringTask Id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- Dr
Dts stringTask Name - Name of synchronization tasks between primary and disaster recovery instances.
- Dr
Dts stringTask Status - Status of synchronization tasks between primary and disaster recovery instances.
- Dr
Seconds intBehind Master - Latency between the disaster recovery instance and the primary instance.
- Endpoints
[]Instance
Endpoint Args - Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Engine
Type string - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- Global
Read boolOnly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- Has
Disaster boolRecovery Instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- Has
Green boolInstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name.
- Instance
Status string - Instance status.
- Instance
Type string - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- Lower
Case stringTable Names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- Maintenance
Window InstanceMaintenance Window Args - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- Master
Instance stringId - Primary instance ID
- Master
Instance stringName - Primary instance name.
- Memory int
- Memory size. Unit: GB.
- Node
Cpu float64Used Percentage - Average CPU usage of the primary node in the instance over the past minute.
- Node
Memory float64Used Percentage - Average memory usage of the primary node over the past minute
- Node
Number string - Number of nodes.
- Node
Space float64Used Percentage - Average disk usage of the primary node over the past minute
- Node
Spec string - Node specifications.
- Nodes
[]Instance
Node Args - Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Parameter
Template stringId - Parameter template ID.
- Port int
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- Private
Ip stringAddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- Project
Name string - Project.
- Proxy
Detail InstanceProxy Detail Args - proxy information
- Storage
Audit intLog Size - Space used by audit logs in instance storage
- Storage
Bin intLog Size - Binlog space usage in the instance storage
- Storage
Data intSize - Space used by data in instance storage.
- Storage
Error intLog Size - Space used by error logs in instance storage.
- Storage
Log intSize - Space used by logs in the instance storage
- Storage
Slow intLog Size - Space used by slow logs in instance storage
- Storage
Space int - Total storage space of the instance, in GB
- Storage
Type string - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- Storage
Use float64 - Storage space used by the instance, in GB
- Subnet
Id string - Subnet ID.
- Super
Account stringName - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- Super
Account stringPassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- Sync
Mode string - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
-
[]Instance
Tag Args - RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Time
Zone string - Time zone
- Updated
Time string - Instance updates local time.
- Vcpu int
- CPU size. For example: 1 means 1U.
- Vpc
Id string - VPC (Virtual Private Cloud) ID.
- Zone
Id string - Availability zone of the instance's primary node.
- Zone
Ids []string - List of availability zones for each node in the instance.
- address_
objects list(object) - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- allow_
list_ list(string)ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- allow_
list_ stringversion - Allowlist version
- auto_
storage_ objectscaling_ config - Auto scaling configuration
- auto_
upgrade_ stringminor_ version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- backup_
audit_ numberlog_ size - Space used by audit logs in backup.
- backup_
bin_ numberlog_ size - Space used by binlog logs in backup.
- backup_
data_ numbersize - Space used by data in backup.
- backup_
error_ numberlog_ size - Space used by error logs in backups.
- backup_
free_ numberquota_ size - Free backup storage space, in GB
- backup_
log_ numbersize - Space used by logs in backups.
- backup_
policy object - Instance backup policy configuration.
- backup_
slow_ numberlog_ size - Space used by slow logs in backups.
- backup_
use number - Backup space used by the instance, in GB
- basic_
backup_ numberbinlog_ size - Space used by Binlog logs in basic backups.
- basic_
backup_ numberdata_ size - Space used by data in the base backup
- charge_
detail object - Billing method
- cpu_
num number - Number of CPU cores for the database proxy service of the instance
- created_
time string - Instance creation local time.
- current_
kernel_ stringversion - Instance kernel minor version.
- db_
engine_ stringversion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- db_
param_ stringgroup_ id - Parameter template ID. Default value is the default parameter template for the database engine version
- db_
time_ stringzone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- deletion_
protection string - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- disaster_
recovery_ list(object)instances - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dr_
dts_ stringtask_ id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- dr_
dts_ stringtask_ name - Name of synchronization tasks between primary and disaster recovery instances.
- dr_
dts_ stringtask_ status - Status of synchronization tasks between primary and disaster recovery instances.
- dr_
seconds_ numberbehind_ master - Latency between the disaster recovery instance and the primary instance.
- endpoints list(object)
- Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- engine_
type string - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- global_
read_ boolonly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- has_
disaster_ boolrecovery_ instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- has_
green_ boolinstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- instance_
id string - Instance ID.
- instance_
name string - Instance name.
- instance_
status string - Instance status.
- instance_
type string - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- lower_
case_ stringtable_ names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- maintenance_
window object - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- master_
instance_ stringid - Primary instance ID
- master_
instance_ stringname - Primary instance name.
- memory number
- Memory size. Unit: GB.
- node_
cpu_ numberused_ percentage - Average CPU usage of the primary node in the instance over the past minute.
- node_
memory_ numberused_ percentage - Average memory usage of the primary node over the past minute
- node_
number string - Number of nodes.
- node_
space_ numberused_ percentage - Average disk usage of the primary node over the past minute
- node_
spec string - Node specifications.
- nodes list(object)
- Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- parameter_
template_ stringid - Parameter template ID.
- port number
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- private_
ip_ stringaddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- project_
name string - Project.
- proxy_
detail object - proxy information
- storage_
audit_ numberlog_ size - Space used by audit logs in instance storage
- storage_
bin_ numberlog_ size - Binlog space usage in the instance storage
- storage_
data_ numbersize - Space used by data in instance storage.
- storage_
error_ numberlog_ size - Space used by error logs in instance storage.
- storage_
log_ numbersize - Space used by logs in the instance storage
- storage_
slow_ numberlog_ size - Space used by slow logs in instance storage
- storage_
space number - Total storage space of the instance, in GB
- storage_
type string - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- storage_
use number - Storage space used by the instance, in GB
- subnet_
id string - Subnet ID.
- super_
account_ stringname - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- super_
account_ stringpassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- sync_
mode string - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
- list(object)
- RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- time_
zone string - Time zone
- updated_
time string - Instance updates local time.
- vcpu number
- CPU size. For example: 1 means 1U.
- vpc_
id string - VPC (Virtual Private Cloud) ID.
- zone_
id string - Availability zone of the instance's primary node.
- zone_
ids list(string) - List of availability zones for each node in the instance.
- address
Objects List<InstanceAddress Object> - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- allow
List List<String>Ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- allow
List StringVersion - Allowlist version
- auto
Storage InstanceScaling Config Auto Storage Scaling Config - Auto scaling configuration
- auto
Upgrade StringMinor Version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- backup
Audit IntegerLog Size - Space used by audit logs in backup.
- backup
Bin IntegerLog Size - Space used by binlog logs in backup.
- backup
Data IntegerSize - Space used by data in backup.
- backup
Error IntegerLog Size - Space used by error logs in backups.
- backup
Free IntegerQuota Size - Free backup storage space, in GB
- backup
Log IntegerSize - Space used by logs in backups.
- backup
Policy InstanceBackup Policy - Instance backup policy configuration.
- backup
Slow IntegerLog Size - Space used by slow logs in backups.
- backup
Use Double - Backup space used by the instance, in GB
- basic
Backup IntegerBinlog Size - Space used by Binlog logs in basic backups.
- basic
Backup IntegerData Size - Space used by data in the base backup
- charge
Detail InstanceCharge Detail - Billing method
- cpu
Num Integer - Number of CPU cores for the database proxy service of the instance
- created
Time String - Instance creation local time.
- current
Kernel StringVersion - Instance kernel minor version.
- db
Engine StringVersion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- db
Param StringGroup Id - Parameter template ID. Default value is the default parameter template for the database engine version
- db
Time StringZone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- deletion
Protection String - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- disaster
Recovery List<InstanceInstances Disaster Recovery Instance> - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dr
Dts StringTask Id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- dr
Dts StringTask Name - Name of synchronization tasks between primary and disaster recovery instances.
- dr
Dts StringTask Status - Status of synchronization tasks between primary and disaster recovery instances.
- dr
Seconds IntegerBehind Master - Latency between the disaster recovery instance and the primary instance.
- endpoints
List<Instance
Endpoint> - Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- engine
Type String - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- global
Read BooleanOnly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- has
Disaster BooleanRecovery Instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- has
Green BooleanInstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- instance
Id String - Instance ID.
- instance
Name String - Instance name.
- instance
Status String - Instance status.
- instance
Type String - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- lower
Case StringTable Names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- maintenance
Window InstanceMaintenance Window - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- master
Instance StringId - Primary instance ID
- master
Instance StringName - Primary instance name.
- memory Integer
- Memory size. Unit: GB.
- node
Cpu DoubleUsed Percentage - Average CPU usage of the primary node in the instance over the past minute.
- node
Memory DoubleUsed Percentage - Average memory usage of the primary node over the past minute
- node
Number String - Number of nodes.
- node
Space DoubleUsed Percentage - Average disk usage of the primary node over the past minute
- node
Spec String - Node specifications.
- nodes
List<Instance
Node> - Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- parameter
Template StringId - Parameter template ID.
- port Integer
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- private
Ip StringAddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- project
Name String - Project.
- proxy
Detail InstanceProxy Detail - proxy information
- storage
Audit IntegerLog Size - Space used by audit logs in instance storage
- storage
Bin IntegerLog Size - Binlog space usage in the instance storage
- storage
Data IntegerSize - Space used by data in instance storage.
- storage
Error IntegerLog Size - Space used by error logs in instance storage.
- storage
Log IntegerSize - Space used by logs in the instance storage
- storage
Slow IntegerLog Size - Space used by slow logs in instance storage
- storage
Space Integer - Total storage space of the instance, in GB
- storage
Type String - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- storage
Use Double - Storage space used by the instance, in GB
- subnet
Id String - Subnet ID.
- super
Account StringName - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- super
Account StringPassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- sync
Mode String - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
-
List<Instance
Tag> - RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- time
Zone String - Time zone
- updated
Time String - Instance updates local time.
- vcpu Integer
- CPU size. For example: 1 means 1U.
- vpc
Id String - VPC (Virtual Private Cloud) ID.
- zone
Id String - Availability zone of the instance's primary node.
- zone
Ids List<String> - List of availability zones for each node in the instance.
- address
Objects InstanceAddress Object[] - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- allow
List string[]Ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- allow
List stringVersion - Allowlist version
- auto
Storage InstanceScaling Config Auto Storage Scaling Config - Auto scaling configuration
- auto
Upgrade stringMinor Version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- backup
Audit numberLog Size - Space used by audit logs in backup.
- backup
Bin numberLog Size - Space used by binlog logs in backup.
- backup
Data numberSize - Space used by data in backup.
- backup
Error numberLog Size - Space used by error logs in backups.
- backup
Free numberQuota Size - Free backup storage space, in GB
- backup
Log numberSize - Space used by logs in backups.
- backup
Policy InstanceBackup Policy - Instance backup policy configuration.
- backup
Slow numberLog Size - Space used by slow logs in backups.
- backup
Use number - Backup space used by the instance, in GB
- basic
Backup numberBinlog Size - Space used by Binlog logs in basic backups.
- basic
Backup numberData Size - Space used by data in the base backup
- charge
Detail InstanceCharge Detail - Billing method
- cpu
Num number - Number of CPU cores for the database proxy service of the instance
- created
Time string - Instance creation local time.
- current
Kernel stringVersion - Instance kernel minor version.
- db
Engine stringVersion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- db
Param stringGroup Id - Parameter template ID. Default value is the default parameter template for the database engine version
- db
Time stringZone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- deletion
Protection string - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- disaster
Recovery InstanceInstances Disaster Recovery Instance[] - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dr
Dts stringTask Id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- dr
Dts stringTask Name - Name of synchronization tasks between primary and disaster recovery instances.
- dr
Dts stringTask Status - Status of synchronization tasks between primary and disaster recovery instances.
- dr
Seconds numberBehind Master - Latency between the disaster recovery instance and the primary instance.
- endpoints
Instance
Endpoint[] - Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- engine
Type string - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- global
Read booleanOnly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- has
Disaster booleanRecovery Instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- has
Green booleanInstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- instance
Id string - Instance ID.
- instance
Name string - Instance name.
- instance
Status string - Instance status.
- instance
Type string - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- lower
Case stringTable Names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- maintenance
Window InstanceMaintenance Window - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- master
Instance stringId - Primary instance ID
- master
Instance stringName - Primary instance name.
- memory number
- Memory size. Unit: GB.
- node
Cpu numberUsed Percentage - Average CPU usage of the primary node in the instance over the past minute.
- node
Memory numberUsed Percentage - Average memory usage of the primary node over the past minute
- node
Number string - Number of nodes.
- node
Space numberUsed Percentage - Average disk usage of the primary node over the past minute
- node
Spec string - Node specifications.
- nodes
Instance
Node[] - Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- parameter
Template stringId - Parameter template ID.
- port number
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- private
Ip stringAddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- project
Name string - Project.
- proxy
Detail InstanceProxy Detail - proxy information
- storage
Audit numberLog Size - Space used by audit logs in instance storage
- storage
Bin numberLog Size - Binlog space usage in the instance storage
- storage
Data numberSize - Space used by data in instance storage.
- storage
Error numberLog Size - Space used by error logs in instance storage.
- storage
Log numberSize - Space used by logs in the instance storage
- storage
Slow numberLog Size - Space used by slow logs in instance storage
- storage
Space number - Total storage space of the instance, in GB
- storage
Type string - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- storage
Use number - Storage space used by the instance, in GB
- subnet
Id string - Subnet ID.
- super
Account stringName - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- super
Account stringPassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- sync
Mode string - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
-
Instance
Tag[] - RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- time
Zone string - Time zone
- updated
Time string - Instance updates local time.
- vcpu number
- CPU size. For example: 1 means 1U.
- vpc
Id string - VPC (Virtual Private Cloud) ID.
- zone
Id string - Availability zone of the instance's primary node.
- zone
Ids string[] - List of availability zones for each node in the instance.
- address_
objects Sequence[InstanceAddress Object Args] - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- allow_
list_ Sequence[str]ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- allow_
list_ strversion - Allowlist version
- auto_
storage_ Instancescaling_ config Auto Storage Scaling Config Args - Auto scaling configuration
- auto_
upgrade_ strminor_ version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- backup_
audit_ intlog_ size - Space used by audit logs in backup.
- backup_
bin_ intlog_ size - Space used by binlog logs in backup.
- backup_
data_ intsize - Space used by data in backup.
- backup_
error_ intlog_ size - Space used by error logs in backups.
- backup_
free_ intquota_ size - Free backup storage space, in GB
- backup_
log_ intsize - Space used by logs in backups.
- backup_
policy InstanceBackup Policy Args - Instance backup policy configuration.
- backup_
slow_ intlog_ size - Space used by slow logs in backups.
- backup_
use float - Backup space used by the instance, in GB
- basic_
backup_ intbinlog_ size - Space used by Binlog logs in basic backups.
- basic_
backup_ intdata_ size - Space used by data in the base backup
- charge_
detail InstanceCharge Detail Args - Billing method
- cpu_
num int - Number of CPU cores for the database proxy service of the instance
- created_
time str - Instance creation local time.
- current_
kernel_ strversion - Instance kernel minor version.
- db_
engine_ strversion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- db_
param_ strgroup_ id - Parameter template ID. Default value is the default parameter template for the database engine version
- db_
time_ strzone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- deletion_
protection str - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- disaster_
recovery_ Sequence[Instanceinstances Disaster Recovery Instance Args] - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dr_
dts_ strtask_ id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- dr_
dts_ strtask_ name - Name of synchronization tasks between primary and disaster recovery instances.
- dr_
dts_ strtask_ status - Status of synchronization tasks between primary and disaster recovery instances.
- dr_
seconds_ intbehind_ master - Latency between the disaster recovery instance and the primary instance.
- endpoints
Sequence[Instance
Endpoint Args] - Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- engine_
type str - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- global_
read_ boolonly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- has_
disaster_ boolrecovery_ instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- has_
green_ boolinstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- instance_
id str - Instance ID.
- instance_
name str - Instance name.
- instance_
status str - Instance status.
- instance_
type str - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- lower_
case_ strtable_ names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- maintenance_
window InstanceMaintenance Window Args - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- master_
instance_ strid - Primary instance ID
- master_
instance_ strname - Primary instance name.
- memory int
- Memory size. Unit: GB.
- node_
cpu_ floatused_ percentage - Average CPU usage of the primary node in the instance over the past minute.
- node_
memory_ floatused_ percentage - Average memory usage of the primary node over the past minute
- node_
number str - Number of nodes.
- node_
space_ floatused_ percentage - Average disk usage of the primary node over the past minute
- node_
spec str - Node specifications.
- nodes
Sequence[Instance
Node Args] - Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- parameter_
template_ strid - Parameter template ID.
- port int
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- private_
ip_ straddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- project_
name str - Project.
- proxy_
detail InstanceProxy Detail Args - proxy information
- storage_
audit_ intlog_ size - Space used by audit logs in instance storage
- storage_
bin_ intlog_ size - Binlog space usage in the instance storage
- storage_
data_ intsize - Space used by data in instance storage.
- storage_
error_ intlog_ size - Space used by error logs in instance storage.
- storage_
log_ intsize - Space used by logs in the instance storage
- storage_
slow_ intlog_ size - Space used by slow logs in instance storage
- storage_
space int - Total storage space of the instance, in GB
- storage_
type str - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- storage_
use float - Storage space used by the instance, in GB
- subnet_
id str - Subnet ID.
- super_
account_ strname - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- super_
account_ strpassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- sync_
mode str - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
-
Sequence[Instance
Tag Args] - RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- time_
zone str - Time zone
- updated_
time str - Instance updates local time.
- vcpu int
- CPU size. For example: 1 means 1U.
- vpc_
id str - VPC (Virtual Private Cloud) ID.
- zone_
id str - Availability zone of the instance's primary node.
- zone_
ids Sequence[str] - List of availability zones for each node in the instance.
- address
Objects List<Property Map> - Connection information for the default endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- allow
List List<String>Ids - Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). Each instance can bind up to 100 allowlists
- allow
List StringVersion - Allowlist version
- auto
Storage Property MapScaling Config - Auto scaling configuration
- auto
Upgrade StringMinor Version - Instance kernel minor version upgrade policy. Values: Auto: Automatic upgrade. Manual: Manual upgrade.
- backup
Audit NumberLog Size - Space used by audit logs in backup.
- backup
Bin NumberLog Size - Space used by binlog logs in backup.
- backup
Data NumberSize - Space used by data in backup.
- backup
Error NumberLog Size - Space used by error logs in backups.
- backup
Free NumberQuota Size - Free backup storage space, in GB
- backup
Log NumberSize - Space used by logs in backups.
- backup
Policy Property Map - Instance backup policy configuration.
- backup
Slow NumberLog Size - Space used by slow logs in backups.
- backup
Use Number - Backup space used by the instance, in GB
- basic
Backup NumberBinlog Size - Space used by Binlog logs in basic backups.
- basic
Backup NumberData Size - Space used by data in the base backup
- charge
Detail Property Map - Billing method
- cpu
Num Number - Number of CPU cores for the database proxy service of the instance
- created
Time String - Instance creation local time.
- current
Kernel StringVersion - Instance kernel minor version.
- db
Engine StringVersion - Compatible versions. Values: MySQL57: MySQL 5.7 version. MySQL80: MySQL 8.0 version
- db
Param StringGroup Id - Parameter template ID. Default value is the default parameter template for the database engine version
- db
Time StringZone - Time zone. Supports UTC -12:00 ~ +13:00. Default is the time zone of the region.
- deletion
Protection String - Whether to enable instance deletion protection. Values: Enabled: Yes. Disabled: No. Default value.
- disaster
Recovery List<Property Map>Instances - Disaster recovery instance information for the instance. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dr
Dts StringTask Id - ID of the data synchronization link between the primary and disaster recovery instances in the DTS data synchronization task.
- dr
Dts StringTask Name - Name of synchronization tasks between primary and disaster recovery instances.
- dr
Dts StringTask Status - Status of synchronization tasks between primary and disaster recovery instances.
- dr
Seconds NumberBehind Master - Latency between the disaster recovery instance and the primary instance.
- endpoints List<Property Map>
- Instance connection information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- engine
Type String - Database engine type. Values: InnoDB: InnoDB engine. RocksDB: RocksDB engine.
- global
Read BooleanOnly - Enable global read-only mode. Values: true: enabled. false: disabled (default is false)
- has
Disaster BooleanRecovery Instances - Whether the instance has a disaster recovery instance. Values: true: Yes. false: No.
- has
Green BooleanInstance - Is the instance in blue-green deployment? Values: true: yes. false: no.
- instance
Id String - Instance ID.
- instance
Name String - Instance name.
- instance
Status String - Instance status.
- instance
Type String - Instance type. Values: DoubleNode: dual-node type. MultiNode: multi-node type
- lower
Case StringTable Names - Whether table names are case-sensitive. Default value is true. Values: false: Table names are stored as fixed and are case-sensitive. true: Table names are stored in lowercase and are case-insensitive.
- maintenance
Window Property Map - Specify the maintenance window for the instance when creating it. This field is optional. If not set, the default is UTC18:00Z-21:59Z every day of the week (Beijing time 02:00-05:59).
- master
Instance StringId - Primary instance ID
- master
Instance StringName - Primary instance name.
- memory Number
- Memory size. Unit: GB.
- node
Cpu NumberUsed Percentage - Average CPU usage of the primary node in the instance over the past minute.
- node
Memory NumberUsed Percentage - Average memory usage of the primary node over the past minute
- node
Number String - Number of nodes.
- node
Space NumberUsed Percentage - Average disk usage of the primary node over the past minute
- node
Spec String - Node specifications.
- nodes List<Property Map>
- Instance node information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- parameter
Template StringId - Parameter template ID.
- port Number
- Default endpoint private network port. Port range: 1000~65534, default is 3306. When creating a new connection endpoint or enabling a new address, the default endpoint private network port is used for real-time configuration as the default port.
- private
Ip StringAddress - Specify the default terminal IP address of the instance within the designated private network and subnet. Note: If not set, the default terminal IP address will be automatically assigned within the specified private network and subnet.
- project
Name String - Project.
- proxy
Detail Property Map - proxy information
- storage
Audit NumberLog Size - Space used by audit logs in instance storage
- storage
Bin NumberLog Size - Binlog space usage in the instance storage
- storage
Data NumberSize - Space used by data in instance storage.
- storage
Error NumberLog Size - Space used by error logs in instance storage.
- storage
Log NumberSize - Space used by logs in the instance storage
- storage
Slow NumberLog Size - Space used by slow logs in instance storage
- storage
Space Number - Total storage space of the instance, in GB
- storage
Type String - Instance storage type. Value range: LocalSSD: local disk. CloudESSDFlexPL: FlexPL cloud disk. CloudESSDPL0: PL0 cloud disk.
- storage
Use Number - Storage space used by the instance, in GB
- subnet
Id String - Subnet ID.
- super
Account StringName - High-privilege account name. If this parameter is not provided, a high-privilege account will not be created by default.
- super
Account StringPassword - Password for high-privilege account. Password rules: 8–32 characters in length. Must contain at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Special characters: !@#$%^&*()_+-=,.&?|/.
- sync
Mode String - Data synchronization mode: SemiSync: semi-synchronous. Async: asynchronous
- List<Property Map>
- RDS MySQL instance tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- time
Zone String - Time zone
- updated
Time String - Instance updates local time.
- vcpu Number
- CPU size. For example: 1 means 1U.
- vpc
Id String - VPC (Virtual Private Cloud) ID.
- zone
Id String - Availability zone of the instance's primary node.
- zone
Ids List<String> - List of availability zones for each node in the instance.
Supporting Types
InstanceAddressObject, InstanceAddressObjectArgs
- Dns
Visibility bool - false: private network resolution (default). true: private and public network resolution.
- Domain string
- Connection domain name
- Eip
Id string - EIP ID, valid only for Public addresses.
- Internet
Protocol string - IP protocol version. Value: IPv4.
- Ip
Address string - IP address.
- Network
Type string - Network address type. Values: Private: private address. Public: public address
- Port string
- Port
- Subnet
Id string - Subnet ID, valid only for Private addresses
- Dns
Visibility bool - false: private network resolution (default). true: private and public network resolution.
- Domain string
- Connection domain name
- Eip
Id string - EIP ID, valid only for Public addresses.
- Internet
Protocol string - IP protocol version. Value: IPv4.
- Ip
Address string - IP address.
- Network
Type string - Network address type. Values: Private: private address. Public: public address
- Port string
- Port
- Subnet
Id string - Subnet ID, valid only for Private addresses
- dns_
visibility bool - false: private network resolution (default). true: private and public network resolution.
- domain string
- Connection domain name
- eip_
id string - EIP ID, valid only for Public addresses.
- internet_
protocol string - IP protocol version. Value: IPv4.
- ip_
address string - IP address.
- network_
type string - Network address type. Values: Private: private address. Public: public address
- port string
- Port
- subnet_
id string - Subnet ID, valid only for Private addresses
- dns
Visibility Boolean - false: private network resolution (default). true: private and public network resolution.
- domain String
- Connection domain name
- eip
Id String - EIP ID, valid only for Public addresses.
- internet
Protocol String - IP protocol version. Value: IPv4.
- ip
Address String - IP address.
- network
Type String - Network address type. Values: Private: private address. Public: public address
- port String
- Port
- subnet
Id String - Subnet ID, valid only for Private addresses
- dns
Visibility boolean - false: private network resolution (default). true: private and public network resolution.
- domain string
- Connection domain name
- eip
Id string - EIP ID, valid only for Public addresses.
- internet
Protocol string - IP protocol version. Value: IPv4.
- ip
Address string - IP address.
- network
Type string - Network address type. Values: Private: private address. Public: public address
- port string
- Port
- subnet
Id string - Subnet ID, valid only for Private addresses
- dns_
visibility bool - false: private network resolution (default). true: private and public network resolution.
- domain str
- Connection domain name
- eip_
id str - EIP ID, valid only for Public addresses.
- internet_
protocol str - IP protocol version. Value: IPv4.
- ip_
address str - IP address.
- network_
type str - Network address type. Values: Private: private address. Public: public address
- port str
- Port
- subnet_
id str - Subnet ID, valid only for Private addresses
- dns
Visibility Boolean - false: private network resolution (default). true: private and public network resolution.
- domain String
- Connection domain name
- eip
Id String - EIP ID, valid only for Public addresses.
- internet
Protocol String - IP protocol version. Value: IPv4.
- ip
Address String - IP address.
- network
Type String - Network address type. Values: Private: private address. Public: public address
- port String
- Port
- subnet
Id String - Subnet ID, valid only for Private addresses
InstanceAutoStorageScalingConfig, InstanceAutoStorageScalingConfigArgs
- Enable
Storage boolAuto Scale - Whether to enable automatic scaling for the instance. Values: true: Yes. false: No.
- Scaling
Detect stringNode - Node range for automatic scaling detection. Values: MasterNode: primary node. MasterSlaveNodes: primary and secondary nodes. AllNodes: all nodes. Note: When used as a request parameter, the default is MasterNode. For multi-node instances, MasterSlaveNodes and AllNodes have the same effect. For single-node instances, MasterNode, MasterSlaveNodes, and AllNodes have the same effect.
- Storage
Threshold int - Percentage of available storage space that triggers automatic scaling. Value range: 10–50, default: 10, unit: %
- Storage
Upper intBound - Maximum storage space for automatic expansion. The minimum value is instance storage space + 20 GB; the maximum value is the upper limit of the storage space range for the primary node specification, in GB. See details about selectable storage space ranges for different specifications.
- Enable
Storage boolAuto Scale - Whether to enable automatic scaling for the instance. Values: true: Yes. false: No.
- Scaling
Detect stringNode - Node range for automatic scaling detection. Values: MasterNode: primary node. MasterSlaveNodes: primary and secondary nodes. AllNodes: all nodes. Note: When used as a request parameter, the default is MasterNode. For multi-node instances, MasterSlaveNodes and AllNodes have the same effect. For single-node instances, MasterNode, MasterSlaveNodes, and AllNodes have the same effect.
- Storage
Threshold int - Percentage of available storage space that triggers automatic scaling. Value range: 10–50, default: 10, unit: %
- Storage
Upper intBound - Maximum storage space for automatic expansion. The minimum value is instance storage space + 20 GB; the maximum value is the upper limit of the storage space range for the primary node specification, in GB. See details about selectable storage space ranges for different specifications.
- enable_
storage_ boolauto_ scale - Whether to enable automatic scaling for the instance. Values: true: Yes. false: No.
- scaling_
detect_ stringnode - Node range for automatic scaling detection. Values: MasterNode: primary node. MasterSlaveNodes: primary and secondary nodes. AllNodes: all nodes. Note: When used as a request parameter, the default is MasterNode. For multi-node instances, MasterSlaveNodes and AllNodes have the same effect. For single-node instances, MasterNode, MasterSlaveNodes, and AllNodes have the same effect.
- storage_
threshold number - Percentage of available storage space that triggers automatic scaling. Value range: 10–50, default: 10, unit: %
- storage_
upper_ numberbound - Maximum storage space for automatic expansion. The minimum value is instance storage space + 20 GB; the maximum value is the upper limit of the storage space range for the primary node specification, in GB. See details about selectable storage space ranges for different specifications.
- enable
Storage BooleanAuto Scale - Whether to enable automatic scaling for the instance. Values: true: Yes. false: No.
- scaling
Detect StringNode - Node range for automatic scaling detection. Values: MasterNode: primary node. MasterSlaveNodes: primary and secondary nodes. AllNodes: all nodes. Note: When used as a request parameter, the default is MasterNode. For multi-node instances, MasterSlaveNodes and AllNodes have the same effect. For single-node instances, MasterNode, MasterSlaveNodes, and AllNodes have the same effect.
- storage
Threshold Integer - Percentage of available storage space that triggers automatic scaling. Value range: 10–50, default: 10, unit: %
- storage
Upper IntegerBound - Maximum storage space for automatic expansion. The minimum value is instance storage space + 20 GB; the maximum value is the upper limit of the storage space range for the primary node specification, in GB. See details about selectable storage space ranges for different specifications.
- enable
Storage booleanAuto Scale - Whether to enable automatic scaling for the instance. Values: true: Yes. false: No.
- scaling
Detect stringNode - Node range for automatic scaling detection. Values: MasterNode: primary node. MasterSlaveNodes: primary and secondary nodes. AllNodes: all nodes. Note: When used as a request parameter, the default is MasterNode. For multi-node instances, MasterSlaveNodes and AllNodes have the same effect. For single-node instances, MasterNode, MasterSlaveNodes, and AllNodes have the same effect.
- storage
Threshold number - Percentage of available storage space that triggers automatic scaling. Value range: 10–50, default: 10, unit: %
- storage
Upper numberBound - Maximum storage space for automatic expansion. The minimum value is instance storage space + 20 GB; the maximum value is the upper limit of the storage space range for the primary node specification, in GB. See details about selectable storage space ranges for different specifications.
- enable_
storage_ boolauto_ scale - Whether to enable automatic scaling for the instance. Values: true: Yes. false: No.
- scaling_
detect_ strnode - Node range for automatic scaling detection. Values: MasterNode: primary node. MasterSlaveNodes: primary and secondary nodes. AllNodes: all nodes. Note: When used as a request parameter, the default is MasterNode. For multi-node instances, MasterSlaveNodes and AllNodes have the same effect. For single-node instances, MasterNode, MasterSlaveNodes, and AllNodes have the same effect.
- storage_
threshold int - Percentage of available storage space that triggers automatic scaling. Value range: 10–50, default: 10, unit: %
- storage_
upper_ intbound - Maximum storage space for automatic expansion. The minimum value is instance storage space + 20 GB; the maximum value is the upper limit of the storage space range for the primary node specification, in GB. See details about selectable storage space ranges for different specifications.
- enable
Storage BooleanAuto Scale - Whether to enable automatic scaling for the instance. Values: true: Yes. false: No.
- scaling
Detect StringNode - Node range for automatic scaling detection. Values: MasterNode: primary node. MasterSlaveNodes: primary and secondary nodes. AllNodes: all nodes. Note: When used as a request parameter, the default is MasterNode. For multi-node instances, MasterSlaveNodes and AllNodes have the same effect. For single-node instances, MasterNode, MasterSlaveNodes, and AllNodes have the same effect.
- storage
Threshold Number - Percentage of available storage space that triggers automatic scaling. Value range: 10–50, default: 10, unit: %
- storage
Upper NumberBound - Maximum storage space for automatic expansion. The minimum value is instance storage space + 20 GB; the maximum value is the upper limit of the storage space range for the primary node specification, in GB. See details about selectable storage space ranges for different specifications.
InstanceBackupPolicy, InstanceBackupPolicyArgs
- Available
Cross List<string>Regions - List of destination regions available for cross-region backup.
- Backup
Policy Volcengine.Base Instance Backup Policy Backup Policy Base - Basic backup policy.
- Cross
Backup Volcengine.Policy Instance Backup Policy Cross Backup Policy - Cross-region backup policy.
- Available
Cross []stringRegions - List of destination regions available for cross-region backup.
- Backup
Policy InstanceBase Backup Policy Backup Policy Base - Basic backup policy.
- Cross
Backup InstancePolicy Backup Policy Cross Backup Policy - Cross-region backup policy.
- available_
cross_ list(string)regions - List of destination regions available for cross-region backup.
- backup_
policy_ objectbase - Basic backup policy.
- cross_
backup_ objectpolicy - Cross-region backup policy.
- available
Cross List<String>Regions - List of destination regions available for cross-region backup.
- backup
Policy InstanceBase Backup Policy Backup Policy Base - Basic backup policy.
- cross
Backup InstancePolicy Backup Policy Cross Backup Policy - Cross-region backup policy.
- available
Cross string[]Regions - List of destination regions available for cross-region backup.
- backup
Policy InstanceBase Backup Policy Backup Policy Base - Basic backup policy.
- cross
Backup InstancePolicy Backup Policy Cross Backup Policy - Cross-region backup policy.
- available_
cross_ Sequence[str]regions - List of destination regions available for cross-region backup.
- backup_
policy_ Instancebase Backup Policy Backup Policy Base - Basic backup policy.
- cross_
backup_ Instancepolicy Backup Policy Cross Backup Policy - Cross-region backup policy.
- available
Cross List<String>Regions - List of destination regions available for cross-region backup.
- backup
Policy Property MapBase - Basic backup policy.
- cross
Backup Property MapPolicy - Cross-region backup policy.
InstanceBackupPolicyBackupPolicyBase, InstanceBackupPolicyBackupPolicyBaseArgs
- Binlog
Backup boolAll Retention - Retain all log backups before releasing the instance. Values: true: yes. false: no.
- Binlog
Backup boolEnabled - Enable log backup feature. Values: true: yes. false: no.
- Binlog
Backup boolEncryption Enabled - Whether to enable encryption for log backups. Values: true: Yes. false: No.
- Binlog
File boolCounts Enable - Enable local Binlog retention limit. Values: true: enabled. false: disabled.
- Binlog
Limit intCount - Number of local Binlog files to retain, values range from 6 to 1000. Files exceeding the retention count are automatically deleted.
- Binlog
Local intRetention Hour - Local Binlog retention period. Value: 0–168. Unit: hours. Local logs exceeding the retention period are automatically deleted. When set to 0, local logs are not deleted automatically.
- Binlog
Space boolLimit Enable - Enable automatic Binlog cleanup when storage is excessive. When total instance storage usage exceeds 80% or available space is less than 5 GiB, the system automatically deletes the oldest local Binlog files until usage drops below 80% and available space exceeds 5 GiB. true: enabled. false: disabled.
- Binlog
Storage intPercentage - Maximum storage space usage. Can be set to 20%–50%. When exceeded, the earliest Binlog files are automatically deleted until usage falls below this threshold. Note: Local Binlog space usage = local Binlog size / total available (purchased) instance space.
- Data
Backup boolAll Retention - Retain all data backups before releasing the instance. Values: true: yes. false: no.
- Data
Backup boolEncryption Enabled - Enable encryption for data backups of local disk instances. Values: true: yes. false: no. Note: This feature is not supported for cloud disk instances.
- Data
Backup intRetention Day - Number of days to retain data backups. Valid values: 7–3650 days. Default: 7 days.
- Data
Full List<string>Backup Periods - Full backup cycle. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- Data
Full intBackup Start Utc Hour - Start time of the full backup task time window (UTC). The time window is 1 hour. Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- Data
Full stringBackup Time - Time window for executing backup tasks, with a duration of 1 hour. Format: HH:mmZ-HH:mmZ (UTC). Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- Data
Incr List<string>Backup Periods - Incremental backup cycle for local disk instances. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: When high-frequency incremental backup is enabled (that is, when HourlyIncrBackupEnable is set to true), this field is not returned.
- Data
Keep intDays After Released - Number of days to retain data after instance release.
- Data
Keep stringPolicy After Released - Policy for retaining instance backups after the instance is released. Values: Last: retain the last backup (default). All: retain all backups of the instance.
- High
Frequency boolSnapshot Backup Enable - Whether high-frequency incremental snapshot backup is enabled for cloud disk instances. Values: true: Yes. false: No. Note: For local disk instances, this field returns false.
- High
Frequency intSnapshot Backup Second Period - Frequency of high-frequency incremental snapshot backups for cloud disk instances, in seconds. Values: 3600: every 1 hour. 7200: every 2 hours. 10800: every 3 hours. 14400: every 4 hours. 19200: every 6 hours. 28800: every 8 hours. 38400: every 12 hours. Note: If the instance is a local disk instance or the high-frequency incremental snapshot backup feature for the cloud disk instance is not enabled, this field returns 0.
- Hourly
Incr boolBackup Enable - Whether to enable high-frequency backup for local disk instances. Values: true: Yes. false: No.
- Incr
Backup intHour Period - Frequency of high-frequency incremental backups for local disk instances. Values: 0: no high-frequency incremental backup. In this case, HourlyIncrBackupEnable is false. 2: incremental backup every 2 hours. 4: incremental backup every 4 hours. 6: incremental backup every 6 hours. 12: incremental backup every 12 hours.
- Keep
Cross boolBackup Enable After Released - Whether to retain cross-region backups. Values: true: Yes. false: No. Note: This feature is not supported for cloud disk instances.
- Lock
Ddl intTime - Maximum DDL wait time. Default value is 30, minimum is 10, maximum is 1440, in minutes.
- Lock
Ddl intTime Second - Maximum DDL wait time. Default value: 1800. Minimum: 1. Maximum: 86400. Unit: seconds. Note: The backup process will block DDL. If the blocking time exceeds the specified value, the backup will stop automatically. Only MySQL 8.0 instances support this setting.
- Log
Backup intRetention Day - Binlog backup retention period. Value range: 7–3650 days. Default retention is 7 days. Note: This parameter is not returned when RetentionPolicySynced is set to true.
- Public
Download boolEnable - Whether to allow downloading instance backup data from a public network environment. Values: true: Yes. false: No.
- Retention
Policy boolSynced - Whether the retention policy for log backups is the same as that for data backups. Values: true: Yes. false: No.
- Binlog
Backup boolAll Retention - Retain all log backups before releasing the instance. Values: true: yes. false: no.
- Binlog
Backup boolEnabled - Enable log backup feature. Values: true: yes. false: no.
- Binlog
Backup boolEncryption Enabled - Whether to enable encryption for log backups. Values: true: Yes. false: No.
- Binlog
File boolCounts Enable - Enable local Binlog retention limit. Values: true: enabled. false: disabled.
- Binlog
Limit intCount - Number of local Binlog files to retain, values range from 6 to 1000. Files exceeding the retention count are automatically deleted.
- Binlog
Local intRetention Hour - Local Binlog retention period. Value: 0–168. Unit: hours. Local logs exceeding the retention period are automatically deleted. When set to 0, local logs are not deleted automatically.
- Binlog
Space boolLimit Enable - Enable automatic Binlog cleanup when storage is excessive. When total instance storage usage exceeds 80% or available space is less than 5 GiB, the system automatically deletes the oldest local Binlog files until usage drops below 80% and available space exceeds 5 GiB. true: enabled. false: disabled.
- Binlog
Storage intPercentage - Maximum storage space usage. Can be set to 20%–50%. When exceeded, the earliest Binlog files are automatically deleted until usage falls below this threshold. Note: Local Binlog space usage = local Binlog size / total available (purchased) instance space.
- Data
Backup boolAll Retention - Retain all data backups before releasing the instance. Values: true: yes. false: no.
- Data
Backup boolEncryption Enabled - Enable encryption for data backups of local disk instances. Values: true: yes. false: no. Note: This feature is not supported for cloud disk instances.
- Data
Backup intRetention Day - Number of days to retain data backups. Valid values: 7–3650 days. Default: 7 days.
- Data
Full []stringBackup Periods - Full backup cycle. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- Data
Full intBackup Start Utc Hour - Start time of the full backup task time window (UTC). The time window is 1 hour. Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- Data
Full stringBackup Time - Time window for executing backup tasks, with a duration of 1 hour. Format: HH:mmZ-HH:mmZ (UTC). Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- Data
Incr []stringBackup Periods - Incremental backup cycle for local disk instances. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: When high-frequency incremental backup is enabled (that is, when HourlyIncrBackupEnable is set to true), this field is not returned.
- Data
Keep intDays After Released - Number of days to retain data after instance release.
- Data
Keep stringPolicy After Released - Policy for retaining instance backups after the instance is released. Values: Last: retain the last backup (default). All: retain all backups of the instance.
- High
Frequency boolSnapshot Backup Enable - Whether high-frequency incremental snapshot backup is enabled for cloud disk instances. Values: true: Yes. false: No. Note: For local disk instances, this field returns false.
- High
Frequency intSnapshot Backup Second Period - Frequency of high-frequency incremental snapshot backups for cloud disk instances, in seconds. Values: 3600: every 1 hour. 7200: every 2 hours. 10800: every 3 hours. 14400: every 4 hours. 19200: every 6 hours. 28800: every 8 hours. 38400: every 12 hours. Note: If the instance is a local disk instance or the high-frequency incremental snapshot backup feature for the cloud disk instance is not enabled, this field returns 0.
- Hourly
Incr boolBackup Enable - Whether to enable high-frequency backup for local disk instances. Values: true: Yes. false: No.
- Incr
Backup intHour Period - Frequency of high-frequency incremental backups for local disk instances. Values: 0: no high-frequency incremental backup. In this case, HourlyIncrBackupEnable is false. 2: incremental backup every 2 hours. 4: incremental backup every 4 hours. 6: incremental backup every 6 hours. 12: incremental backup every 12 hours.
- Keep
Cross boolBackup Enable After Released - Whether to retain cross-region backups. Values: true: Yes. false: No. Note: This feature is not supported for cloud disk instances.
- Lock
Ddl intTime - Maximum DDL wait time. Default value is 30, minimum is 10, maximum is 1440, in minutes.
- Lock
Ddl intTime Second - Maximum DDL wait time. Default value: 1800. Minimum: 1. Maximum: 86400. Unit: seconds. Note: The backup process will block DDL. If the blocking time exceeds the specified value, the backup will stop automatically. Only MySQL 8.0 instances support this setting.
- Log
Backup intRetention Day - Binlog backup retention period. Value range: 7–3650 days. Default retention is 7 days. Note: This parameter is not returned when RetentionPolicySynced is set to true.
- Public
Download boolEnable - Whether to allow downloading instance backup data from a public network environment. Values: true: Yes. false: No.
- Retention
Policy boolSynced - Whether the retention policy for log backups is the same as that for data backups. Values: true: Yes. false: No.
- binlog_
backup_ boolall_ retention - Retain all log backups before releasing the instance. Values: true: yes. false: no.
- binlog_
backup_ boolenabled - Enable log backup feature. Values: true: yes. false: no.
- binlog_
backup_ boolencryption_ enabled - Whether to enable encryption for log backups. Values: true: Yes. false: No.
- binlog_
file_ boolcounts_ enable - Enable local Binlog retention limit. Values: true: enabled. false: disabled.
- binlog_
limit_ numbercount - Number of local Binlog files to retain, values range from 6 to 1000. Files exceeding the retention count are automatically deleted.
- binlog_
local_ numberretention_ hour - Local Binlog retention period. Value: 0–168. Unit: hours. Local logs exceeding the retention period are automatically deleted. When set to 0, local logs are not deleted automatically.
- binlog_
space_ boollimit_ enable - Enable automatic Binlog cleanup when storage is excessive. When total instance storage usage exceeds 80% or available space is less than 5 GiB, the system automatically deletes the oldest local Binlog files until usage drops below 80% and available space exceeds 5 GiB. true: enabled. false: disabled.
- binlog_
storage_ numberpercentage - Maximum storage space usage. Can be set to 20%–50%. When exceeded, the earliest Binlog files are automatically deleted until usage falls below this threshold. Note: Local Binlog space usage = local Binlog size / total available (purchased) instance space.
- data_
backup_ boolall_ retention - Retain all data backups before releasing the instance. Values: true: yes. false: no.
- data_
backup_ boolencryption_ enabled - Enable encryption for data backups of local disk instances. Values: true: yes. false: no. Note: This feature is not supported for cloud disk instances.
- data_
backup_ numberretention_ day - Number of days to retain data backups. Valid values: 7–3650 days. Default: 7 days.
- data_
full_ list(string)backup_ periods - Full backup cycle. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- data_
full_ numberbackup_ start_ utc_ hour - Start time of the full backup task time window (UTC). The time window is 1 hour. Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- data_
full_ stringbackup_ time - Time window for executing backup tasks, with a duration of 1 hour. Format: HH:mmZ-HH:mmZ (UTC). Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- data_
incr_ list(string)backup_ periods - Incremental backup cycle for local disk instances. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: When high-frequency incremental backup is enabled (that is, when HourlyIncrBackupEnable is set to true), this field is not returned.
- data_
keep_ numberdays_ after_ released - Number of days to retain data after instance release.
- data_
keep_ stringpolicy_ after_ released - Policy for retaining instance backups after the instance is released. Values: Last: retain the last backup (default). All: retain all backups of the instance.
- high_
frequency_ boolsnapshot_ backup_ enable - Whether high-frequency incremental snapshot backup is enabled for cloud disk instances. Values: true: Yes. false: No. Note: For local disk instances, this field returns false.
- high_
frequency_ numbersnapshot_ backup_ second_ period - Frequency of high-frequency incremental snapshot backups for cloud disk instances, in seconds. Values: 3600: every 1 hour. 7200: every 2 hours. 10800: every 3 hours. 14400: every 4 hours. 19200: every 6 hours. 28800: every 8 hours. 38400: every 12 hours. Note: If the instance is a local disk instance or the high-frequency incremental snapshot backup feature for the cloud disk instance is not enabled, this field returns 0.
- hourly_
incr_ boolbackup_ enable - Whether to enable high-frequency backup for local disk instances. Values: true: Yes. false: No.
- incr_
backup_ numberhour_ period - Frequency of high-frequency incremental backups for local disk instances. Values: 0: no high-frequency incremental backup. In this case, HourlyIncrBackupEnable is false. 2: incremental backup every 2 hours. 4: incremental backup every 4 hours. 6: incremental backup every 6 hours. 12: incremental backup every 12 hours.
- keep_
cross_ boolbackup_ enable_ after_ released - Whether to retain cross-region backups. Values: true: Yes. false: No. Note: This feature is not supported for cloud disk instances.
- lock_
ddl_ numbertime - Maximum DDL wait time. Default value is 30, minimum is 10, maximum is 1440, in minutes.
- lock_
ddl_ numbertime_ second - Maximum DDL wait time. Default value: 1800. Minimum: 1. Maximum: 86400. Unit: seconds. Note: The backup process will block DDL. If the blocking time exceeds the specified value, the backup will stop automatically. Only MySQL 8.0 instances support this setting.
- log_
backup_ numberretention_ day - Binlog backup retention period. Value range: 7–3650 days. Default retention is 7 days. Note: This parameter is not returned when RetentionPolicySynced is set to true.
- public_
download_ boolenable - Whether to allow downloading instance backup data from a public network environment. Values: true: Yes. false: No.
- retention_
policy_ boolsynced - Whether the retention policy for log backups is the same as that for data backups. Values: true: Yes. false: No.
- binlog
Backup BooleanAll Retention - Retain all log backups before releasing the instance. Values: true: yes. false: no.
- binlog
Backup BooleanEnabled - Enable log backup feature. Values: true: yes. false: no.
- binlog
Backup BooleanEncryption Enabled - Whether to enable encryption for log backups. Values: true: Yes. false: No.
- binlog
File BooleanCounts Enable - Enable local Binlog retention limit. Values: true: enabled. false: disabled.
- binlog
Limit IntegerCount - Number of local Binlog files to retain, values range from 6 to 1000. Files exceeding the retention count are automatically deleted.
- binlog
Local IntegerRetention Hour - Local Binlog retention period. Value: 0–168. Unit: hours. Local logs exceeding the retention period are automatically deleted. When set to 0, local logs are not deleted automatically.
- binlog
Space BooleanLimit Enable - Enable automatic Binlog cleanup when storage is excessive. When total instance storage usage exceeds 80% or available space is less than 5 GiB, the system automatically deletes the oldest local Binlog files until usage drops below 80% and available space exceeds 5 GiB. true: enabled. false: disabled.
- binlog
Storage IntegerPercentage - Maximum storage space usage. Can be set to 20%–50%. When exceeded, the earliest Binlog files are automatically deleted until usage falls below this threshold. Note: Local Binlog space usage = local Binlog size / total available (purchased) instance space.
- data
Backup BooleanAll Retention - Retain all data backups before releasing the instance. Values: true: yes. false: no.
- data
Backup BooleanEncryption Enabled - Enable encryption for data backups of local disk instances. Values: true: yes. false: no. Note: This feature is not supported for cloud disk instances.
- data
Backup IntegerRetention Day - Number of days to retain data backups. Valid values: 7–3650 days. Default: 7 days.
- data
Full List<String>Backup Periods - Full backup cycle. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- data
Full IntegerBackup Start Utc Hour - Start time of the full backup task time window (UTC). The time window is 1 hour. Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- data
Full StringBackup Time - Time window for executing backup tasks, with a duration of 1 hour. Format: HH:mmZ-HH:mmZ (UTC). Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- data
Incr List<String>Backup Periods - Incremental backup cycle for local disk instances. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: When high-frequency incremental backup is enabled (that is, when HourlyIncrBackupEnable is set to true), this field is not returned.
- data
Keep IntegerDays After Released - Number of days to retain data after instance release.
- data
Keep StringPolicy After Released - Policy for retaining instance backups after the instance is released. Values: Last: retain the last backup (default). All: retain all backups of the instance.
- high
Frequency BooleanSnapshot Backup Enable - Whether high-frequency incremental snapshot backup is enabled for cloud disk instances. Values: true: Yes. false: No. Note: For local disk instances, this field returns false.
- high
Frequency IntegerSnapshot Backup Second Period - Frequency of high-frequency incremental snapshot backups for cloud disk instances, in seconds. Values: 3600: every 1 hour. 7200: every 2 hours. 10800: every 3 hours. 14400: every 4 hours. 19200: every 6 hours. 28800: every 8 hours. 38400: every 12 hours. Note: If the instance is a local disk instance or the high-frequency incremental snapshot backup feature for the cloud disk instance is not enabled, this field returns 0.
- hourly
Incr BooleanBackup Enable - Whether to enable high-frequency backup for local disk instances. Values: true: Yes. false: No.
- incr
Backup IntegerHour Period - Frequency of high-frequency incremental backups for local disk instances. Values: 0: no high-frequency incremental backup. In this case, HourlyIncrBackupEnable is false. 2: incremental backup every 2 hours. 4: incremental backup every 4 hours. 6: incremental backup every 6 hours. 12: incremental backup every 12 hours.
- keep
Cross BooleanBackup Enable After Released - Whether to retain cross-region backups. Values: true: Yes. false: No. Note: This feature is not supported for cloud disk instances.
- lock
Ddl IntegerTime - Maximum DDL wait time. Default value is 30, minimum is 10, maximum is 1440, in minutes.
- lock
Ddl IntegerTime Second - Maximum DDL wait time. Default value: 1800. Minimum: 1. Maximum: 86400. Unit: seconds. Note: The backup process will block DDL. If the blocking time exceeds the specified value, the backup will stop automatically. Only MySQL 8.0 instances support this setting.
- log
Backup IntegerRetention Day - Binlog backup retention period. Value range: 7–3650 days. Default retention is 7 days. Note: This parameter is not returned when RetentionPolicySynced is set to true.
- public
Download BooleanEnable - Whether to allow downloading instance backup data from a public network environment. Values: true: Yes. false: No.
- retention
Policy BooleanSynced - Whether the retention policy for log backups is the same as that for data backups. Values: true: Yes. false: No.
- binlog
Backup booleanAll Retention - Retain all log backups before releasing the instance. Values: true: yes. false: no.
- binlog
Backup booleanEnabled - Enable log backup feature. Values: true: yes. false: no.
- binlog
Backup booleanEncryption Enabled - Whether to enable encryption for log backups. Values: true: Yes. false: No.
- binlog
File booleanCounts Enable - Enable local Binlog retention limit. Values: true: enabled. false: disabled.
- binlog
Limit numberCount - Number of local Binlog files to retain, values range from 6 to 1000. Files exceeding the retention count are automatically deleted.
- binlog
Local numberRetention Hour - Local Binlog retention period. Value: 0–168. Unit: hours. Local logs exceeding the retention period are automatically deleted. When set to 0, local logs are not deleted automatically.
- binlog
Space booleanLimit Enable - Enable automatic Binlog cleanup when storage is excessive. When total instance storage usage exceeds 80% or available space is less than 5 GiB, the system automatically deletes the oldest local Binlog files until usage drops below 80% and available space exceeds 5 GiB. true: enabled. false: disabled.
- binlog
Storage numberPercentage - Maximum storage space usage. Can be set to 20%–50%. When exceeded, the earliest Binlog files are automatically deleted until usage falls below this threshold. Note: Local Binlog space usage = local Binlog size / total available (purchased) instance space.
- data
Backup booleanAll Retention - Retain all data backups before releasing the instance. Values: true: yes. false: no.
- data
Backup booleanEncryption Enabled - Enable encryption for data backups of local disk instances. Values: true: yes. false: no. Note: This feature is not supported for cloud disk instances.
- data
Backup numberRetention Day - Number of days to retain data backups. Valid values: 7–3650 days. Default: 7 days.
- data
Full string[]Backup Periods - Full backup cycle. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- data
Full numberBackup Start Utc Hour - Start time of the full backup task time window (UTC). The time window is 1 hour. Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- data
Full stringBackup Time - Time window for executing backup tasks, with a duration of 1 hour. Format: HH:mmZ-HH:mmZ (UTC). Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- data
Incr string[]Backup Periods - Incremental backup cycle for local disk instances. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: When high-frequency incremental backup is enabled (that is, when HourlyIncrBackupEnable is set to true), this field is not returned.
- data
Keep numberDays After Released - Number of days to retain data after instance release.
- data
Keep stringPolicy After Released - Policy for retaining instance backups after the instance is released. Values: Last: retain the last backup (default). All: retain all backups of the instance.
- high
Frequency booleanSnapshot Backup Enable - Whether high-frequency incremental snapshot backup is enabled for cloud disk instances. Values: true: Yes. false: No. Note: For local disk instances, this field returns false.
- high
Frequency numberSnapshot Backup Second Period - Frequency of high-frequency incremental snapshot backups for cloud disk instances, in seconds. Values: 3600: every 1 hour. 7200: every 2 hours. 10800: every 3 hours. 14400: every 4 hours. 19200: every 6 hours. 28800: every 8 hours. 38400: every 12 hours. Note: If the instance is a local disk instance or the high-frequency incremental snapshot backup feature for the cloud disk instance is not enabled, this field returns 0.
- hourly
Incr booleanBackup Enable - Whether to enable high-frequency backup for local disk instances. Values: true: Yes. false: No.
- incr
Backup numberHour Period - Frequency of high-frequency incremental backups for local disk instances. Values: 0: no high-frequency incremental backup. In this case, HourlyIncrBackupEnable is false. 2: incremental backup every 2 hours. 4: incremental backup every 4 hours. 6: incremental backup every 6 hours. 12: incremental backup every 12 hours.
- keep
Cross booleanBackup Enable After Released - Whether to retain cross-region backups. Values: true: Yes. false: No. Note: This feature is not supported for cloud disk instances.
- lock
Ddl numberTime - Maximum DDL wait time. Default value is 30, minimum is 10, maximum is 1440, in minutes.
- lock
Ddl numberTime Second - Maximum DDL wait time. Default value: 1800. Minimum: 1. Maximum: 86400. Unit: seconds. Note: The backup process will block DDL. If the blocking time exceeds the specified value, the backup will stop automatically. Only MySQL 8.0 instances support this setting.
- log
Backup numberRetention Day - Binlog backup retention period. Value range: 7–3650 days. Default retention is 7 days. Note: This parameter is not returned when RetentionPolicySynced is set to true.
- public
Download booleanEnable - Whether to allow downloading instance backup data from a public network environment. Values: true: Yes. false: No.
- retention
Policy booleanSynced - Whether the retention policy for log backups is the same as that for data backups. Values: true: Yes. false: No.
- binlog_
backup_ boolall_ retention - Retain all log backups before releasing the instance. Values: true: yes. false: no.
- binlog_
backup_ boolenabled - Enable log backup feature. Values: true: yes. false: no.
- binlog_
backup_ boolencryption_ enabled - Whether to enable encryption for log backups. Values: true: Yes. false: No.
- binlog_
file_ boolcounts_ enable - Enable local Binlog retention limit. Values: true: enabled. false: disabled.
- binlog_
limit_ intcount - Number of local Binlog files to retain, values range from 6 to 1000. Files exceeding the retention count are automatically deleted.
- binlog_
local_ intretention_ hour - Local Binlog retention period. Value: 0–168. Unit: hours. Local logs exceeding the retention period are automatically deleted. When set to 0, local logs are not deleted automatically.
- binlog_
space_ boollimit_ enable - Enable automatic Binlog cleanup when storage is excessive. When total instance storage usage exceeds 80% or available space is less than 5 GiB, the system automatically deletes the oldest local Binlog files until usage drops below 80% and available space exceeds 5 GiB. true: enabled. false: disabled.
- binlog_
storage_ intpercentage - Maximum storage space usage. Can be set to 20%–50%. When exceeded, the earliest Binlog files are automatically deleted until usage falls below this threshold. Note: Local Binlog space usage = local Binlog size / total available (purchased) instance space.
- data_
backup_ boolall_ retention - Retain all data backups before releasing the instance. Values: true: yes. false: no.
- data_
backup_ boolencryption_ enabled - Enable encryption for data backups of local disk instances. Values: true: yes. false: no. Note: This feature is not supported for cloud disk instances.
- data_
backup_ intretention_ day - Number of days to retain data backups. Valid values: 7–3650 days. Default: 7 days.
- data_
full_ Sequence[str]backup_ periods - Full backup cycle. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- data_
full_ intbackup_ start_ utc_ hour - Start time of the full backup task time window (UTC). The time window is 1 hour. Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- data_
full_ strbackup_ time - Time window for executing backup tasks, with a duration of 1 hour. Format: HH:mmZ-HH:mmZ (UTC). Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- data_
incr_ Sequence[str]backup_ periods - Incremental backup cycle for local disk instances. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: When high-frequency incremental backup is enabled (that is, when HourlyIncrBackupEnable is set to true), this field is not returned.
- data_
keep_ intdays_ after_ released - Number of days to retain data after instance release.
- data_
keep_ strpolicy_ after_ released - Policy for retaining instance backups after the instance is released. Values: Last: retain the last backup (default). All: retain all backups of the instance.
- high_
frequency_ boolsnapshot_ backup_ enable - Whether high-frequency incremental snapshot backup is enabled for cloud disk instances. Values: true: Yes. false: No. Note: For local disk instances, this field returns false.
- high_
frequency_ intsnapshot_ backup_ second_ period - Frequency of high-frequency incremental snapshot backups for cloud disk instances, in seconds. Values: 3600: every 1 hour. 7200: every 2 hours. 10800: every 3 hours. 14400: every 4 hours. 19200: every 6 hours. 28800: every 8 hours. 38400: every 12 hours. Note: If the instance is a local disk instance or the high-frequency incremental snapshot backup feature for the cloud disk instance is not enabled, this field returns 0.
- hourly_
incr_ boolbackup_ enable - Whether to enable high-frequency backup for local disk instances. Values: true: Yes. false: No.
- incr_
backup_ inthour_ period - Frequency of high-frequency incremental backups for local disk instances. Values: 0: no high-frequency incremental backup. In this case, HourlyIncrBackupEnable is false. 2: incremental backup every 2 hours. 4: incremental backup every 4 hours. 6: incremental backup every 6 hours. 12: incremental backup every 12 hours.
- keep_
cross_ boolbackup_ enable_ after_ released - Whether to retain cross-region backups. Values: true: Yes. false: No. Note: This feature is not supported for cloud disk instances.
- lock_
ddl_ inttime - Maximum DDL wait time. Default value is 30, minimum is 10, maximum is 1440, in minutes.
- lock_
ddl_ inttime_ second - Maximum DDL wait time. Default value: 1800. Minimum: 1. Maximum: 86400. Unit: seconds. Note: The backup process will block DDL. If the blocking time exceeds the specified value, the backup will stop automatically. Only MySQL 8.0 instances support this setting.
- log_
backup_ intretention_ day - Binlog backup retention period. Value range: 7–3650 days. Default retention is 7 days. Note: This parameter is not returned when RetentionPolicySynced is set to true.
- public_
download_ boolenable - Whether to allow downloading instance backup data from a public network environment. Values: true: Yes. false: No.
- retention_
policy_ boolsynced - Whether the retention policy for log backups is the same as that for data backups. Values: true: Yes. false: No.
- binlog
Backup BooleanAll Retention - Retain all log backups before releasing the instance. Values: true: yes. false: no.
- binlog
Backup BooleanEnabled - Enable log backup feature. Values: true: yes. false: no.
- binlog
Backup BooleanEncryption Enabled - Whether to enable encryption for log backups. Values: true: Yes. false: No.
- binlog
File BooleanCounts Enable - Enable local Binlog retention limit. Values: true: enabled. false: disabled.
- binlog
Limit NumberCount - Number of local Binlog files to retain, values range from 6 to 1000. Files exceeding the retention count are automatically deleted.
- binlog
Local NumberRetention Hour - Local Binlog retention period. Value: 0–168. Unit: hours. Local logs exceeding the retention period are automatically deleted. When set to 0, local logs are not deleted automatically.
- binlog
Space BooleanLimit Enable - Enable automatic Binlog cleanup when storage is excessive. When total instance storage usage exceeds 80% or available space is less than 5 GiB, the system automatically deletes the oldest local Binlog files until usage drops below 80% and available space exceeds 5 GiB. true: enabled. false: disabled.
- binlog
Storage NumberPercentage - Maximum storage space usage. Can be set to 20%–50%. When exceeded, the earliest Binlog files are automatically deleted until usage falls below this threshold. Note: Local Binlog space usage = local Binlog size / total available (purchased) instance space.
- data
Backup BooleanAll Retention - Retain all data backups before releasing the instance. Values: true: yes. false: no.
- data
Backup BooleanEncryption Enabled - Enable encryption for data backups of local disk instances. Values: true: yes. false: no. Note: This feature is not supported for cloud disk instances.
- data
Backup NumberRetention Day - Number of days to retain data backups. Valid values: 7–3650 days. Default: 7 days.
- data
Full List<String>Backup Periods - Full backup cycle. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- data
Full NumberBackup Start Utc Hour - Start time of the full backup task time window (UTC). The time window is 1 hour. Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- data
Full StringBackup Time - Time window for executing backup tasks, with a duration of 1 hour. Format: HH:mmZ-HH:mmZ (UTC). Note: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to specify the full backup time period for the instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned, DataFullBackupStartUTCHour takes precedence.
- data
Incr List<String>Backup Periods - Incremental backup cycle for local disk instances. Values: Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: When high-frequency incremental backup is enabled (that is, when HourlyIncrBackupEnable is set to true), this field is not returned.
- data
Keep NumberDays After Released - Number of days to retain data after instance release.
- data
Keep StringPolicy After Released - Policy for retaining instance backups after the instance is released. Values: Last: retain the last backup (default). All: retain all backups of the instance.
- high
Frequency BooleanSnapshot Backup Enable - Whether high-frequency incremental snapshot backup is enabled for cloud disk instances. Values: true: Yes. false: No. Note: For local disk instances, this field returns false.
- high
Frequency NumberSnapshot Backup Second Period - Frequency of high-frequency incremental snapshot backups for cloud disk instances, in seconds. Values: 3600: every 1 hour. 7200: every 2 hours. 10800: every 3 hours. 14400: every 4 hours. 19200: every 6 hours. 28800: every 8 hours. 38400: every 12 hours. Note: If the instance is a local disk instance or the high-frequency incremental snapshot backup feature for the cloud disk instance is not enabled, this field returns 0.
- hourly
Incr BooleanBackup Enable - Whether to enable high-frequency backup for local disk instances. Values: true: Yes. false: No.
- incr
Backup NumberHour Period - Frequency of high-frequency incremental backups for local disk instances. Values: 0: no high-frequency incremental backup. In this case, HourlyIncrBackupEnable is false. 2: incremental backup every 2 hours. 4: incremental backup every 4 hours. 6: incremental backup every 6 hours. 12: incremental backup every 12 hours.
- keep
Cross BooleanBackup Enable After Released - Whether to retain cross-region backups. Values: true: Yes. false: No. Note: This feature is not supported for cloud disk instances.
- lock
Ddl NumberTime - Maximum DDL wait time. Default value is 30, minimum is 10, maximum is 1440, in minutes.
- lock
Ddl NumberTime Second - Maximum DDL wait time. Default value: 1800. Minimum: 1. Maximum: 86400. Unit: seconds. Note: The backup process will block DDL. If the blocking time exceeds the specified value, the backup will stop automatically. Only MySQL 8.0 instances support this setting.
- log
Backup NumberRetention Day - Binlog backup retention period. Value range: 7–3650 days. Default retention is 7 days. Note: This parameter is not returned when RetentionPolicySynced is set to true.
- public
Download BooleanEnable - Whether to allow downloading instance backup data from a public network environment. Values: true: Yes. false: No.
- retention
Policy BooleanSynced - Whether the retention policy for log backups is the same as that for data backups. Values: true: Yes. false: No.
InstanceBackupPolicyCrossBackupPolicy, InstanceBackupPolicyCrossBackupPolicyArgs
- Backup
Enabled bool - Enable cross-region backup. true: enabled. false: disabled. Default value (unspecified).
- Cross
Backup boolAll Retention - Retain cross-region backups long-term before instance release. Values: true: yes. false: no.
- Cross
Backup stringRegion - Destination region ID for cross-region backups. This parameter is required when BackupEnabled is true.
- Log
Backup boolEnabled - Whether to enable cross-region log backup. true: Enable. false: Disable (default). Note: Cross-region log backup can only be enabled when cross-region backup is enabled.
- Retention int
- Cross-region backup retention days. Value range: 7–3650. Default: 7. Unit: days. Note: When CrossBackupAllRetention is set to true, this field does not need to be set.
- Backup
Enabled bool - Enable cross-region backup. true: enabled. false: disabled. Default value (unspecified).
- Cross
Backup boolAll Retention - Retain cross-region backups long-term before instance release. Values: true: yes. false: no.
- Cross
Backup stringRegion - Destination region ID for cross-region backups. This parameter is required when BackupEnabled is true.
- Log
Backup boolEnabled - Whether to enable cross-region log backup. true: Enable. false: Disable (default). Note: Cross-region log backup can only be enabled when cross-region backup is enabled.
- Retention int
- Cross-region backup retention days. Value range: 7–3650. Default: 7. Unit: days. Note: When CrossBackupAllRetention is set to true, this field does not need to be set.
- backup_
enabled bool - Enable cross-region backup. true: enabled. false: disabled. Default value (unspecified).
- cross_
backup_ boolall_ retention - Retain cross-region backups long-term before instance release. Values: true: yes. false: no.
- cross_
backup_ stringregion - Destination region ID for cross-region backups. This parameter is required when BackupEnabled is true.
- log_
backup_ boolenabled - Whether to enable cross-region log backup. true: Enable. false: Disable (default). Note: Cross-region log backup can only be enabled when cross-region backup is enabled.
- retention number
- Cross-region backup retention days. Value range: 7–3650. Default: 7. Unit: days. Note: When CrossBackupAllRetention is set to true, this field does not need to be set.
- backup
Enabled Boolean - Enable cross-region backup. true: enabled. false: disabled. Default value (unspecified).
- cross
Backup BooleanAll Retention - Retain cross-region backups long-term before instance release. Values: true: yes. false: no.
- cross
Backup StringRegion - Destination region ID for cross-region backups. This parameter is required when BackupEnabled is true.
- log
Backup BooleanEnabled - Whether to enable cross-region log backup. true: Enable. false: Disable (default). Note: Cross-region log backup can only be enabled when cross-region backup is enabled.
- retention Integer
- Cross-region backup retention days. Value range: 7–3650. Default: 7. Unit: days. Note: When CrossBackupAllRetention is set to true, this field does not need to be set.
- backup
Enabled boolean - Enable cross-region backup. true: enabled. false: disabled. Default value (unspecified).
- cross
Backup booleanAll Retention - Retain cross-region backups long-term before instance release. Values: true: yes. false: no.
- cross
Backup stringRegion - Destination region ID for cross-region backups. This parameter is required when BackupEnabled is true.
- log
Backup booleanEnabled - Whether to enable cross-region log backup. true: Enable. false: Disable (default). Note: Cross-region log backup can only be enabled when cross-region backup is enabled.
- retention number
- Cross-region backup retention days. Value range: 7–3650. Default: 7. Unit: days. Note: When CrossBackupAllRetention is set to true, this field does not need to be set.
- backup_
enabled bool - Enable cross-region backup. true: enabled. false: disabled. Default value (unspecified).
- cross_
backup_ boolall_ retention - Retain cross-region backups long-term before instance release. Values: true: yes. false: no.
- cross_
backup_ strregion - Destination region ID for cross-region backups. This parameter is required when BackupEnabled is true.
- log_
backup_ boolenabled - Whether to enable cross-region log backup. true: Enable. false: Disable (default). Note: Cross-region log backup can only be enabled when cross-region backup is enabled.
- retention int
- Cross-region backup retention days. Value range: 7–3650. Default: 7. Unit: days. Note: When CrossBackupAllRetention is set to true, this field does not need to be set.
- backup
Enabled Boolean - Enable cross-region backup. true: enabled. false: disabled. Default value (unspecified).
- cross
Backup BooleanAll Retention - Retain cross-region backups long-term before instance release. Values: true: yes. false: no.
- cross
Backup StringRegion - Destination region ID for cross-region backups. This parameter is required when BackupEnabled is true.
- log
Backup BooleanEnabled - Whether to enable cross-region log backup. true: Enable. false: Disable (default). Note: Cross-region log backup can only be enabled when cross-region backup is enabled.
- retention Number
- Cross-region backup retention days. Value range: 7–3650. Default: 7. Unit: days. Note: When CrossBackupAllRetention is set to true, this field does not need to be set.
InstanceChargeDetail, InstanceChargeDetailArgs
- Charge
Type string - Billing type. Options: PrePaid: subscription. PostPaid: pay-as-you-go
- Auto
Renew bool - Enable auto-renewal for prepaid scenarios. Values: true: auto-renewal. false: do not auto-renew
- Charge
End stringTime - Billing end time for subscription instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- Charge
Start stringTime - Billing start time for the instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- Charge
Status string - Instance billing status. Values: Normal: normal. Overdue: overdue. Unpaid: pending payment.
- Number int
- Number of instances to purchase. Value range: 1–50. Default: 1
- Overdue
Reclaim stringTime - Estimated release time after the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription), in UTC. Format: yyyy-MM-ddTHH:mm:ss.sssZ
- Overdue
Time string - Time when the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription) (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- Period int
- Purchase duration in prepaid scenarios.
- Period
Unit string - Purchase cycle in prepaid scenarios. Month: monthly purchase cycle (default). Year: yearly purchase cycle.
- Temp
Modify stringEnd Time - Restore time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- Temp
Modify stringStart Time - Start time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- Charge
Type string - Billing type. Options: PrePaid: subscription. PostPaid: pay-as-you-go
- Auto
Renew bool - Enable auto-renewal for prepaid scenarios. Values: true: auto-renewal. false: do not auto-renew
- Charge
End stringTime - Billing end time for subscription instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- Charge
Start stringTime - Billing start time for the instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- Charge
Status string - Instance billing status. Values: Normal: normal. Overdue: overdue. Unpaid: pending payment.
- Number int
- Number of instances to purchase. Value range: 1–50. Default: 1
- Overdue
Reclaim stringTime - Estimated release time after the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription), in UTC. Format: yyyy-MM-ddTHH:mm:ss.sssZ
- Overdue
Time string - Time when the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription) (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- Period int
- Purchase duration in prepaid scenarios.
- Period
Unit string - Purchase cycle in prepaid scenarios. Month: monthly purchase cycle (default). Year: yearly purchase cycle.
- Temp
Modify stringEnd Time - Restore time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- Temp
Modify stringStart Time - Start time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- charge_
type string - Billing type. Options: PrePaid: subscription. PostPaid: pay-as-you-go
- auto_
renew bool - Enable auto-renewal for prepaid scenarios. Values: true: auto-renewal. false: do not auto-renew
- charge_
end_ stringtime - Billing end time for subscription instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- charge_
start_ stringtime - Billing start time for the instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- charge_
status string - Instance billing status. Values: Normal: normal. Overdue: overdue. Unpaid: pending payment.
- number number
- Number of instances to purchase. Value range: 1–50. Default: 1
- overdue_
reclaim_ stringtime - Estimated release time after the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription), in UTC. Format: yyyy-MM-ddTHH:mm:ss.sssZ
- overdue_
time string - Time when the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription) (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- period number
- Purchase duration in prepaid scenarios.
- period_
unit string - Purchase cycle in prepaid scenarios. Month: monthly purchase cycle (default). Year: yearly purchase cycle.
- temp_
modify_ stringend_ time - Restore time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- temp_
modify_ stringstart_ time - Start time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- charge
Type String - Billing type. Options: PrePaid: subscription. PostPaid: pay-as-you-go
- auto
Renew Boolean - Enable auto-renewal for prepaid scenarios. Values: true: auto-renewal. false: do not auto-renew
- charge
End StringTime - Billing end time for subscription instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- charge
Start StringTime - Billing start time for the instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- charge
Status String - Instance billing status. Values: Normal: normal. Overdue: overdue. Unpaid: pending payment.
- number Integer
- Number of instances to purchase. Value range: 1–50. Default: 1
- overdue
Reclaim StringTime - Estimated release time after the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription), in UTC. Format: yyyy-MM-ddTHH:mm:ss.sssZ
- overdue
Time String - Time when the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription) (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- period Integer
- Purchase duration in prepaid scenarios.
- period
Unit String - Purchase cycle in prepaid scenarios. Month: monthly purchase cycle (default). Year: yearly purchase cycle.
- temp
Modify StringEnd Time - Restore time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- temp
Modify StringStart Time - Start time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- charge
Type string - Billing type. Options: PrePaid: subscription. PostPaid: pay-as-you-go
- auto
Renew boolean - Enable auto-renewal for prepaid scenarios. Values: true: auto-renewal. false: do not auto-renew
- charge
End stringTime - Billing end time for subscription instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- charge
Start stringTime - Billing start time for the instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- charge
Status string - Instance billing status. Values: Normal: normal. Overdue: overdue. Unpaid: pending payment.
- number number
- Number of instances to purchase. Value range: 1–50. Default: 1
- overdue
Reclaim stringTime - Estimated release time after the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription), in UTC. Format: yyyy-MM-ddTHH:mm:ss.sssZ
- overdue
Time string - Time when the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription) (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- period number
- Purchase duration in prepaid scenarios.
- period
Unit string - Purchase cycle in prepaid scenarios. Month: monthly purchase cycle (default). Year: yearly purchase cycle.
- temp
Modify stringEnd Time - Restore time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- temp
Modify stringStart Time - Start time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- charge_
type str - Billing type. Options: PrePaid: subscription. PostPaid: pay-as-you-go
- auto_
renew bool - Enable auto-renewal for prepaid scenarios. Values: true: auto-renewal. false: do not auto-renew
- charge_
end_ strtime - Billing end time for subscription instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- charge_
start_ strtime - Billing start time for the instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- charge_
status str - Instance billing status. Values: Normal: normal. Overdue: overdue. Unpaid: pending payment.
- number int
- Number of instances to purchase. Value range: 1–50. Default: 1
- overdue_
reclaim_ strtime - Estimated release time after the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription), in UTC. Format: yyyy-MM-ddTHH:mm:ss.sssZ
- overdue_
time str - Time when the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription) (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- period int
- Purchase duration in prepaid scenarios.
- period_
unit str - Purchase cycle in prepaid scenarios. Month: monthly purchase cycle (default). Year: yearly purchase cycle.
- temp_
modify_ strend_ time - Restore time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- temp_
modify_ strstart_ time - Start time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- charge
Type String - Billing type. Options: PrePaid: subscription. PostPaid: pay-as-you-go
- auto
Renew Boolean - Enable auto-renewal for prepaid scenarios. Values: true: auto-renewal. false: do not auto-renew
- charge
End StringTime - Billing end time for subscription instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- charge
Start StringTime - Billing start time for the instance (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
- charge
Status String - Instance billing status. Values: Normal: normal. Overdue: overdue. Unpaid: pending payment.
- number Number
- Number of instances to purchase. Value range: 1–50. Default: 1
- overdue
Reclaim StringTime - Estimated release time after the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription), in UTC. Format: yyyy-MM-ddTHH:mm:ss.sssZ
- overdue
Time String - Time when the instance is stopped due to overdue payment (pay-as-you-go) or expiration (subscription) (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- period Number
- Purchase duration in prepaid scenarios.
- period
Unit String - Purchase cycle in prepaid scenarios. Month: monthly purchase cycle (default). Year: yearly purchase cycle.
- temp
Modify StringEnd Time - Restore time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ.
- temp
Modify StringStart Time - Start time for temporary scaling (UTC). Format: yyyy-MM-ddTHH:mm:ss.sssZ
InstanceDisasterRecoveryInstance, InstanceDisasterRecoveryInstanceArgs
- Dts
Task stringId - ID of synchronization tasks between primary and disaster recovery instances.
- Dts
Task stringName - Name of the synchronization task between the primary instance and the disaster recovery instance
- Dts
Task stringStatus - Status of synchronization tasks between the primary instance and the disaster recovery instance
- Instance
Id string - Disaster recovery instance ID.
- Instance
Name string - Name of disaster recovery instance.
- Seconds
Behind intMaster - Latency between the disaster recovery instance and the primary instance.
- Dts
Task stringId - ID of synchronization tasks between primary and disaster recovery instances.
- Dts
Task stringName - Name of the synchronization task between the primary instance and the disaster recovery instance
- Dts
Task stringStatus - Status of synchronization tasks between the primary instance and the disaster recovery instance
- Instance
Id string - Disaster recovery instance ID.
- Instance
Name string - Name of disaster recovery instance.
- Seconds
Behind intMaster - Latency between the disaster recovery instance and the primary instance.
- dts_
task_ stringid - ID of synchronization tasks between primary and disaster recovery instances.
- dts_
task_ stringname - Name of the synchronization task between the primary instance and the disaster recovery instance
- dts_
task_ stringstatus - Status of synchronization tasks between the primary instance and the disaster recovery instance
- instance_
id string - Disaster recovery instance ID.
- instance_
name string - Name of disaster recovery instance.
- seconds_
behind_ numbermaster - Latency between the disaster recovery instance and the primary instance.
- dts
Task StringId - ID of synchronization tasks between primary and disaster recovery instances.
- dts
Task StringName - Name of the synchronization task between the primary instance and the disaster recovery instance
- dts
Task StringStatus - Status of synchronization tasks between the primary instance and the disaster recovery instance
- instance
Id String - Disaster recovery instance ID.
- instance
Name String - Name of disaster recovery instance.
- seconds
Behind IntegerMaster - Latency between the disaster recovery instance and the primary instance.
- dts
Task stringId - ID of synchronization tasks between primary and disaster recovery instances.
- dts
Task stringName - Name of the synchronization task between the primary instance and the disaster recovery instance
- dts
Task stringStatus - Status of synchronization tasks between the primary instance and the disaster recovery instance
- instance
Id string - Disaster recovery instance ID.
- instance
Name string - Name of disaster recovery instance.
- seconds
Behind numberMaster - Latency between the disaster recovery instance and the primary instance.
- dts_
task_ strid - ID of synchronization tasks between primary and disaster recovery instances.
- dts_
task_ strname - Name of the synchronization task between the primary instance and the disaster recovery instance
- dts_
task_ strstatus - Status of synchronization tasks between the primary instance and the disaster recovery instance
- instance_
id str - Disaster recovery instance ID.
- instance_
name str - Name of disaster recovery instance.
- seconds_
behind_ intmaster - Latency between the disaster recovery instance and the primary instance.
- dts
Task StringId - ID of synchronization tasks between primary and disaster recovery instances.
- dts
Task StringName - Name of the synchronization task between the primary instance and the disaster recovery instance
- dts
Task StringStatus - Status of synchronization tasks between the primary instance and the disaster recovery instance
- instance
Id String - Disaster recovery instance ID.
- instance
Name String - Name of disaster recovery instance.
- seconds
Behind NumberMaster - Latency between the disaster recovery instance and the primary instance.
InstanceEndpoint, InstanceEndpointArgs
- Addresses
List<Volcengine.
Instance Endpoint Address> - Address list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Auto
Add stringNew Nodes - When the endpoint type is read/write or read-only, you can set whether new nodes join automatically. Values: Enable: auto join. Disable: do not auto join (default)
- List<string>
- Connection endpoint tag.
- Connection
Mode string - Connection endpoint type. Values: Proxy: proxy endpoint. Direct: direct endpoint
- Connection
Pool stringType - Connection pool type for proxy terminal. Values: Transaction: Transaction-level connection pool. Default value. Direct: Direct mode.
- Custom
Route List<Volcengine.Strategies Instance Endpoint Custom Route Strategy> - Custom routing and forwarding rules for connected terminals. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Description string
- Description of the connection endpoint
- Enable
Connection boolPersistent - Enable connection keep-alive. Options: true: yes. false: no
- Enable
Read stringOnly - Is global read-only enabled? Values: Enable: enabled. Disable: not enabled.
- Enable
Read stringWrite Splitting - Whether to enable read/write separation. Values: Enable: Enabled. Disable: Not enabled.
- Endpoint
Id string - Instance connection endpoint ID.
- Endpoint
Name string - Instance connection endpoint name.
- Endpoint
Type string - Endpoint type. Value: Custom, custom endpoint.
- Idle
Connection boolReclaim - Whether the idle connection recycling feature is enabled. true: Enabled. false: Not enabled.
- Implicit
Trans boolSplit - Whether to enable transaction separation. Values: true: Yes. false: No.
- Master
Node boolRouting - Whether to enable primary node routing. Values: true: Yes. false: No.
- Master
Protector intTimeout - Overload protection timeout. Value range: integer between 60 and 7200, in seconds.
- Multi
Statements stringMode - Multi-Statements mode for proxy endpoints. Values: Strict: strict mode (default). Loose: loose mode
- Overload
Protection bool - Overload protection enabled. Values: true: yes. false: no
- Read
Only stringNode Distribution Type - Read weight allocation mode. This parameter is required when read/write splitting is enabled (set to true). For request parameters in the CreateDBEndpoint and ModifyDBEndpoint APIs, valid values are: LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling. For response parameters in the DescribeDBInstanceDetail API, valid values are: Default: automatic allocation based on specification weights. Custom: custom weight allocation. RoundRobin: round-robin scheduling. LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling.
- Read
Only intNode Max Delay Time - Read-only node latency threshold. Value range: 1~3600, default is 30, unit: seconds.
- Read
Only List<Volcengine.Node Weights Instance Endpoint Read Only Node Weight> - List of nodes configured for the connection endpoint and their corresponding read-only weights. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Read
Write stringMode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only
- Addresses
[]Instance
Endpoint Address - Address list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Auto
Add stringNew Nodes - When the endpoint type is read/write or read-only, you can set whether new nodes join automatically. Values: Enable: auto join. Disable: do not auto join (default)
- []string
- Connection endpoint tag.
- Connection
Mode string - Connection endpoint type. Values: Proxy: proxy endpoint. Direct: direct endpoint
- Connection
Pool stringType - Connection pool type for proxy terminal. Values: Transaction: Transaction-level connection pool. Default value. Direct: Direct mode.
- Custom
Route []InstanceStrategies Endpoint Custom Route Strategy - Custom routing and forwarding rules for connected terminals. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Description string
- Description of the connection endpoint
- Enable
Connection boolPersistent - Enable connection keep-alive. Options: true: yes. false: no
- Enable
Read stringOnly - Is global read-only enabled? Values: Enable: enabled. Disable: not enabled.
- Enable
Read stringWrite Splitting - Whether to enable read/write separation. Values: Enable: Enabled. Disable: Not enabled.
- Endpoint
Id string - Instance connection endpoint ID.
- Endpoint
Name string - Instance connection endpoint name.
- Endpoint
Type string - Endpoint type. Value: Custom, custom endpoint.
- Idle
Connection boolReclaim - Whether the idle connection recycling feature is enabled. true: Enabled. false: Not enabled.
- Implicit
Trans boolSplit - Whether to enable transaction separation. Values: true: Yes. false: No.
- Master
Node boolRouting - Whether to enable primary node routing. Values: true: Yes. false: No.
- Master
Protector intTimeout - Overload protection timeout. Value range: integer between 60 and 7200, in seconds.
- Multi
Statements stringMode - Multi-Statements mode for proxy endpoints. Values: Strict: strict mode (default). Loose: loose mode
- Overload
Protection bool - Overload protection enabled. Values: true: yes. false: no
- Read
Only stringNode Distribution Type - Read weight allocation mode. This parameter is required when read/write splitting is enabled (set to true). For request parameters in the CreateDBEndpoint and ModifyDBEndpoint APIs, valid values are: LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling. For response parameters in the DescribeDBInstanceDetail API, valid values are: Default: automatic allocation based on specification weights. Custom: custom weight allocation. RoundRobin: round-robin scheduling. LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling.
- Read
Only intNode Max Delay Time - Read-only node latency threshold. Value range: 1~3600, default is 30, unit: seconds.
- Read
Only []InstanceNode Weights Endpoint Read Only Node Weight - List of nodes configured for the connection endpoint and their corresponding read-only weights. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Read
Write stringMode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only
- addresses list(object)
- Address list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auto_
add_ stringnew_ nodes - When the endpoint type is read/write or read-only, you can set whether new nodes join automatically. Values: Enable: auto join. Disable: do not auto join (default)
- list(string)
- Connection endpoint tag.
- connection_
mode string - Connection endpoint type. Values: Proxy: proxy endpoint. Direct: direct endpoint
- connection_
pool_ stringtype - Connection pool type for proxy terminal. Values: Transaction: Transaction-level connection pool. Default value. Direct: Direct mode.
- custom_
route_ list(object)strategies - Custom routing and forwarding rules for connected terminals. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- description string
- Description of the connection endpoint
- enable_
connection_ boolpersistent - Enable connection keep-alive. Options: true: yes. false: no
- enable_
read_ stringonly - Is global read-only enabled? Values: Enable: enabled. Disable: not enabled.
- enable_
read_ stringwrite_ splitting - Whether to enable read/write separation. Values: Enable: Enabled. Disable: Not enabled.
- endpoint_
id string - Instance connection endpoint ID.
- endpoint_
name string - Instance connection endpoint name.
- endpoint_
type string - Endpoint type. Value: Custom, custom endpoint.
- idle_
connection_ boolreclaim - Whether the idle connection recycling feature is enabled. true: Enabled. false: Not enabled.
- implicit_
trans_ boolsplit - Whether to enable transaction separation. Values: true: Yes. false: No.
- master_
node_ boolrouting - Whether to enable primary node routing. Values: true: Yes. false: No.
- master_
protector_ numbertimeout - Overload protection timeout. Value range: integer between 60 and 7200, in seconds.
- multi_
statements_ stringmode - Multi-Statements mode for proxy endpoints. Values: Strict: strict mode (default). Loose: loose mode
- overload_
protection bool - Overload protection enabled. Values: true: yes. false: no
- read_
only_ stringnode_ distribution_ type - Read weight allocation mode. This parameter is required when read/write splitting is enabled (set to true). For request parameters in the CreateDBEndpoint and ModifyDBEndpoint APIs, valid values are: LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling. For response parameters in the DescribeDBInstanceDetail API, valid values are: Default: automatic allocation based on specification weights. Custom: custom weight allocation. RoundRobin: round-robin scheduling. LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling.
- read_
only_ numbernode_ max_ delay_ time - Read-only node latency threshold. Value range: 1~3600, default is 30, unit: seconds.
- read_
only_ list(object)node_ weights - List of nodes configured for the connection endpoint and their corresponding read-only weights. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- read_
write_ stringmode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only
- addresses
List<Instance
Endpoint Address> - Address list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auto
Add StringNew Nodes - When the endpoint type is read/write or read-only, you can set whether new nodes join automatically. Values: Enable: auto join. Disable: do not auto join (default)
- List<String>
- Connection endpoint tag.
- connection
Mode String - Connection endpoint type. Values: Proxy: proxy endpoint. Direct: direct endpoint
- connection
Pool StringType - Connection pool type for proxy terminal. Values: Transaction: Transaction-level connection pool. Default value. Direct: Direct mode.
- custom
Route List<InstanceStrategies Endpoint Custom Route Strategy> - Custom routing and forwarding rules for connected terminals. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- description String
- Description of the connection endpoint
- enable
Connection BooleanPersistent - Enable connection keep-alive. Options: true: yes. false: no
- enable
Read StringOnly - Is global read-only enabled? Values: Enable: enabled. Disable: not enabled.
- enable
Read StringWrite Splitting - Whether to enable read/write separation. Values: Enable: Enabled. Disable: Not enabled.
- endpoint
Id String - Instance connection endpoint ID.
- endpoint
Name String - Instance connection endpoint name.
- endpoint
Type String - Endpoint type. Value: Custom, custom endpoint.
- idle
Connection BooleanReclaim - Whether the idle connection recycling feature is enabled. true: Enabled. false: Not enabled.
- implicit
Trans BooleanSplit - Whether to enable transaction separation. Values: true: Yes. false: No.
- master
Node BooleanRouting - Whether to enable primary node routing. Values: true: Yes. false: No.
- master
Protector IntegerTimeout - Overload protection timeout. Value range: integer between 60 and 7200, in seconds.
- multi
Statements StringMode - Multi-Statements mode for proxy endpoints. Values: Strict: strict mode (default). Loose: loose mode
- overload
Protection Boolean - Overload protection enabled. Values: true: yes. false: no
- read
Only StringNode Distribution Type - Read weight allocation mode. This parameter is required when read/write splitting is enabled (set to true). For request parameters in the CreateDBEndpoint and ModifyDBEndpoint APIs, valid values are: LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling. For response parameters in the DescribeDBInstanceDetail API, valid values are: Default: automatic allocation based on specification weights. Custom: custom weight allocation. RoundRobin: round-robin scheduling. LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling.
- read
Only IntegerNode Max Delay Time - Read-only node latency threshold. Value range: 1~3600, default is 30, unit: seconds.
- read
Only List<InstanceNode Weights Endpoint Read Only Node Weight> - List of nodes configured for the connection endpoint and their corresponding read-only weights. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- read
Write StringMode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only
- addresses
Instance
Endpoint Address[] - Address list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auto
Add stringNew Nodes - When the endpoint type is read/write or read-only, you can set whether new nodes join automatically. Values: Enable: auto join. Disable: do not auto join (default)
- string[]
- Connection endpoint tag.
- connection
Mode string - Connection endpoint type. Values: Proxy: proxy endpoint. Direct: direct endpoint
- connection
Pool stringType - Connection pool type for proxy terminal. Values: Transaction: Transaction-level connection pool. Default value. Direct: Direct mode.
- custom
Route InstanceStrategies Endpoint Custom Route Strategy[] - Custom routing and forwarding rules for connected terminals. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- description string
- Description of the connection endpoint
- enable
Connection booleanPersistent - Enable connection keep-alive. Options: true: yes. false: no
- enable
Read stringOnly - Is global read-only enabled? Values: Enable: enabled. Disable: not enabled.
- enable
Read stringWrite Splitting - Whether to enable read/write separation. Values: Enable: Enabled. Disable: Not enabled.
- endpoint
Id string - Instance connection endpoint ID.
- endpoint
Name string - Instance connection endpoint name.
- endpoint
Type string - Endpoint type. Value: Custom, custom endpoint.
- idle
Connection booleanReclaim - Whether the idle connection recycling feature is enabled. true: Enabled. false: Not enabled.
- implicit
Trans booleanSplit - Whether to enable transaction separation. Values: true: Yes. false: No.
- master
Node booleanRouting - Whether to enable primary node routing. Values: true: Yes. false: No.
- master
Protector numberTimeout - Overload protection timeout. Value range: integer between 60 and 7200, in seconds.
- multi
Statements stringMode - Multi-Statements mode for proxy endpoints. Values: Strict: strict mode (default). Loose: loose mode
- overload
Protection boolean - Overload protection enabled. Values: true: yes. false: no
- read
Only stringNode Distribution Type - Read weight allocation mode. This parameter is required when read/write splitting is enabled (set to true). For request parameters in the CreateDBEndpoint and ModifyDBEndpoint APIs, valid values are: LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling. For response parameters in the DescribeDBInstanceDetail API, valid values are: Default: automatic allocation based on specification weights. Custom: custom weight allocation. RoundRobin: round-robin scheduling. LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling.
- read
Only numberNode Max Delay Time - Read-only node latency threshold. Value range: 1~3600, default is 30, unit: seconds.
- read
Only InstanceNode Weights Endpoint Read Only Node Weight[] - List of nodes configured for the connection endpoint and their corresponding read-only weights. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- read
Write stringMode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only
- addresses
Sequence[Instance
Endpoint Address] - Address list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auto_
add_ strnew_ nodes - When the endpoint type is read/write or read-only, you can set whether new nodes join automatically. Values: Enable: auto join. Disable: do not auto join (default)
- Sequence[str]
- Connection endpoint tag.
- connection_
mode str - Connection endpoint type. Values: Proxy: proxy endpoint. Direct: direct endpoint
- connection_
pool_ strtype - Connection pool type for proxy terminal. Values: Transaction: Transaction-level connection pool. Default value. Direct: Direct mode.
- custom_
route_ Sequence[Instancestrategies Endpoint Custom Route Strategy] - Custom routing and forwarding rules for connected terminals. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- description str
- Description of the connection endpoint
- enable_
connection_ boolpersistent - Enable connection keep-alive. Options: true: yes. false: no
- enable_
read_ stronly - Is global read-only enabled? Values: Enable: enabled. Disable: not enabled.
- enable_
read_ strwrite_ splitting - Whether to enable read/write separation. Values: Enable: Enabled. Disable: Not enabled.
- endpoint_
id str - Instance connection endpoint ID.
- endpoint_
name str - Instance connection endpoint name.
- endpoint_
type str - Endpoint type. Value: Custom, custom endpoint.
- idle_
connection_ boolreclaim - Whether the idle connection recycling feature is enabled. true: Enabled. false: Not enabled.
- implicit_
trans_ boolsplit - Whether to enable transaction separation. Values: true: Yes. false: No.
- master_
node_ boolrouting - Whether to enable primary node routing. Values: true: Yes. false: No.
- master_
protector_ inttimeout - Overload protection timeout. Value range: integer between 60 and 7200, in seconds.
- multi_
statements_ strmode - Multi-Statements mode for proxy endpoints. Values: Strict: strict mode (default). Loose: loose mode
- overload_
protection bool - Overload protection enabled. Values: true: yes. false: no
- read_
only_ strnode_ distribution_ type - Read weight allocation mode. This parameter is required when read/write splitting is enabled (set to true). For request parameters in the CreateDBEndpoint and ModifyDBEndpoint APIs, valid values are: LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling. For response parameters in the DescribeDBInstanceDetail API, valid values are: Default: automatic allocation based on specification weights. Custom: custom weight allocation. RoundRobin: round-robin scheduling. LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling.
- read_
only_ intnode_ max_ delay_ time - Read-only node latency threshold. Value range: 1~3600, default is 30, unit: seconds.
- read_
only_ Sequence[Instancenode_ weights Endpoint Read Only Node Weight] - List of nodes configured for the connection endpoint and their corresponding read-only weights. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- read_
write_ strmode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only
- addresses List<Property Map>
- Address list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auto
Add StringNew Nodes - When the endpoint type is read/write or read-only, you can set whether new nodes join automatically. Values: Enable: auto join. Disable: do not auto join (default)
- List<String>
- Connection endpoint tag.
- connection
Mode String - Connection endpoint type. Values: Proxy: proxy endpoint. Direct: direct endpoint
- connection
Pool StringType - Connection pool type for proxy terminal. Values: Transaction: Transaction-level connection pool. Default value. Direct: Direct mode.
- custom
Route List<Property Map>Strategies - Custom routing and forwarding rules for connected terminals. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- description String
- Description of the connection endpoint
- enable
Connection BooleanPersistent - Enable connection keep-alive. Options: true: yes. false: no
- enable
Read StringOnly - Is global read-only enabled? Values: Enable: enabled. Disable: not enabled.
- enable
Read StringWrite Splitting - Whether to enable read/write separation. Values: Enable: Enabled. Disable: Not enabled.
- endpoint
Id String - Instance connection endpoint ID.
- endpoint
Name String - Instance connection endpoint name.
- endpoint
Type String - Endpoint type. Value: Custom, custom endpoint.
- idle
Connection BooleanReclaim - Whether the idle connection recycling feature is enabled. true: Enabled. false: Not enabled.
- implicit
Trans BooleanSplit - Whether to enable transaction separation. Values: true: Yes. false: No.
- master
Node BooleanRouting - Whether to enable primary node routing. Values: true: Yes. false: No.
- master
Protector NumberTimeout - Overload protection timeout. Value range: integer between 60 and 7200, in seconds.
- multi
Statements StringMode - Multi-Statements mode for proxy endpoints. Values: Strict: strict mode (default). Loose: loose mode
- overload
Protection Boolean - Overload protection enabled. Values: true: yes. false: no
- read
Only StringNode Distribution Type - Read weight allocation mode. This parameter is required when read/write splitting is enabled (set to true). For request parameters in the CreateDBEndpoint and ModifyDBEndpoint APIs, valid values are: LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling. For response parameters in the DescribeDBInstanceDetail API, valid values are: Default: automatic allocation based on specification weights. Custom: custom weight allocation. RoundRobin: round-robin scheduling. LoadSchedule: load scheduling. RoundRobinCustom: custom weighted round-robin scheduling. RoundRobinAuto: automatic weighted round-robin scheduling.
- read
Only NumberNode Max Delay Time - Read-only node latency threshold. Value range: 1~3600, default is 30, unit: seconds.
- read
Only List<Property Map>Node Weights - List of nodes configured for the connection endpoint and their corresponding read-only weights. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- read
Write StringMode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only
InstanceEndpointAddress, InstanceEndpointAddressArgs
- Dns
Visibility bool - false: Private network resolution (default). true: Private and public network resolution.
- Domain string
- Connection domain name.
- Eip
Id string - EIP ID, valid only for Public addresses.
- Eip
Locked bool - Whether the EIP used by the connected terminal is suspended due to overdue payment. Values: true: Yes. false: No.
- Internet
Protocol string - IP protocol version. Value: IPv4.
- Ip
Address string - IP address.
- Network
Type string - Network address type. Values: Private: private address. Public: public address.
- Port string
- Port.
- Subnet
Id string - Subnet ID, valid only for Private addresses.
- Dns
Visibility bool - false: Private network resolution (default). true: Private and public network resolution.
- Domain string
- Connection domain name.
- Eip
Id string - EIP ID, valid only for Public addresses.
- Eip
Locked bool - Whether the EIP used by the connected terminal is suspended due to overdue payment. Values: true: Yes. false: No.
- Internet
Protocol string - IP protocol version. Value: IPv4.
- Ip
Address string - IP address.
- Network
Type string - Network address type. Values: Private: private address. Public: public address.
- Port string
- Port.
- Subnet
Id string - Subnet ID, valid only for Private addresses.
- dns_
visibility bool - false: Private network resolution (default). true: Private and public network resolution.
- domain string
- Connection domain name.
- eip_
id string - EIP ID, valid only for Public addresses.
- eip_
locked bool - Whether the EIP used by the connected terminal is suspended due to overdue payment. Values: true: Yes. false: No.
- internet_
protocol string - IP protocol version. Value: IPv4.
- ip_
address string - IP address.
- network_
type string - Network address type. Values: Private: private address. Public: public address.
- port string
- Port.
- subnet_
id string - Subnet ID, valid only for Private addresses.
- dns
Visibility Boolean - false: Private network resolution (default). true: Private and public network resolution.
- domain String
- Connection domain name.
- eip
Id String - EIP ID, valid only for Public addresses.
- eip
Locked Boolean - Whether the EIP used by the connected terminal is suspended due to overdue payment. Values: true: Yes. false: No.
- internet
Protocol String - IP protocol version. Value: IPv4.
- ip
Address String - IP address.
- network
Type String - Network address type. Values: Private: private address. Public: public address.
- port String
- Port.
- subnet
Id String - Subnet ID, valid only for Private addresses.
- dns
Visibility boolean - false: Private network resolution (default). true: Private and public network resolution.
- domain string
- Connection domain name.
- eip
Id string - EIP ID, valid only for Public addresses.
- eip
Locked boolean - Whether the EIP used by the connected terminal is suspended due to overdue payment. Values: true: Yes. false: No.
- internet
Protocol string - IP protocol version. Value: IPv4.
- ip
Address string - IP address.
- network
Type string - Network address type. Values: Private: private address. Public: public address.
- port string
- Port.
- subnet
Id string - Subnet ID, valid only for Private addresses.
- dns_
visibility bool - false: Private network resolution (default). true: Private and public network resolution.
- domain str
- Connection domain name.
- eip_
id str - EIP ID, valid only for Public addresses.
- eip_
locked bool - Whether the EIP used by the connected terminal is suspended due to overdue payment. Values: true: Yes. false: No.
- internet_
protocol str - IP protocol version. Value: IPv4.
- ip_
address str - IP address.
- network_
type str - Network address type. Values: Private: private address. Public: public address.
- port str
- Port.
- subnet_
id str - Subnet ID, valid only for Private addresses.
- dns
Visibility Boolean - false: Private network resolution (default). true: Private and public network resolution.
- domain String
- Connection domain name.
- eip
Id String - EIP ID, valid only for Public addresses.
- eip
Locked Boolean - Whether the EIP used by the connected terminal is suspended due to overdue payment. Values: true: Yes. false: No.
- internet
Protocol String - IP protocol version. Value: IPv4.
- ip
Address String - IP address.
- network
Type String - Network address type. Values: Private: private address. Public: public address.
- port String
- Port.
- subnet
Id String - Subnet ID, valid only for Private addresses.
InstanceEndpointCustomRouteStrategy, InstanceEndpointCustomRouteStrategyArgs
- Node
Type string - SQL forwarding rule target. Values: Primary: primary node. Secondary: secondary node. ReadOnly: read-only node. Note: For dual-node instances, you can select the primary node or read-only node. For multi-node instances, you can select the primary node or secondary node.
- Sql
Keyword string - Forwarding rule keywords. SQL keyword setting rules are as follows: Each rule can contain up to 20 keywords. Maximum length is 64 characters. Can include English letters, numbers, underscores (_), @, #, :=, and Chinese characters.
- Node
Type string - SQL forwarding rule target. Values: Primary: primary node. Secondary: secondary node. ReadOnly: read-only node. Note: For dual-node instances, you can select the primary node or read-only node. For multi-node instances, you can select the primary node or secondary node.
- Sql
Keyword string - Forwarding rule keywords. SQL keyword setting rules are as follows: Each rule can contain up to 20 keywords. Maximum length is 64 characters. Can include English letters, numbers, underscores (_), @, #, :=, and Chinese characters.
- node_
type string - SQL forwarding rule target. Values: Primary: primary node. Secondary: secondary node. ReadOnly: read-only node. Note: For dual-node instances, you can select the primary node or read-only node. For multi-node instances, you can select the primary node or secondary node.
- sql_
keyword string - Forwarding rule keywords. SQL keyword setting rules are as follows: Each rule can contain up to 20 keywords. Maximum length is 64 characters. Can include English letters, numbers, underscores (_), @, #, :=, and Chinese characters.
- node
Type String - SQL forwarding rule target. Values: Primary: primary node. Secondary: secondary node. ReadOnly: read-only node. Note: For dual-node instances, you can select the primary node or read-only node. For multi-node instances, you can select the primary node or secondary node.
- sql
Keyword String - Forwarding rule keywords. SQL keyword setting rules are as follows: Each rule can contain up to 20 keywords. Maximum length is 64 characters. Can include English letters, numbers, underscores (_), @, #, :=, and Chinese characters.
- node
Type string - SQL forwarding rule target. Values: Primary: primary node. Secondary: secondary node. ReadOnly: read-only node. Note: For dual-node instances, you can select the primary node or read-only node. For multi-node instances, you can select the primary node or secondary node.
- sql
Keyword string - Forwarding rule keywords. SQL keyword setting rules are as follows: Each rule can contain up to 20 keywords. Maximum length is 64 characters. Can include English letters, numbers, underscores (_), @, #, :=, and Chinese characters.
- node_
type str - SQL forwarding rule target. Values: Primary: primary node. Secondary: secondary node. ReadOnly: read-only node. Note: For dual-node instances, you can select the primary node or read-only node. For multi-node instances, you can select the primary node or secondary node.
- sql_
keyword str - Forwarding rule keywords. SQL keyword setting rules are as follows: Each rule can contain up to 20 keywords. Maximum length is 64 characters. Can include English letters, numbers, underscores (_), @, #, :=, and Chinese characters.
- node
Type String - SQL forwarding rule target. Values: Primary: primary node. Secondary: secondary node. ReadOnly: read-only node. Note: For dual-node instances, you can select the primary node or read-only node. For multi-node instances, you can select the primary node or secondary node.
- sql
Keyword String - Forwarding rule keywords. SQL keyword setting rules are as follows: Each rule can contain up to 20 keywords. Maximum length is 64 characters. Can include English letters, numbers, underscores (_), @, #, :=, and Chinese characters.
InstanceEndpointReadOnlyNodeWeight, InstanceEndpointReadOnlyNodeWeightArgs
InstanceMaintenanceWindow, InstanceMaintenanceWindowArgs
- Day
Kind string - Maintenance cycle granularity. Value: Week.
- Day
Of List<string>Weeks - Specify the days of the week when the maintenance window is active. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- Maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC). Note: Specifies the time period during which maintenance can be performed.
- Day
Kind string - Maintenance cycle granularity. Value: Week.
- Day
Of []stringWeeks - Specify the days of the week when the maintenance window is active. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- Maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC). Note: Specifies the time period during which maintenance can be performed.
- day_
kind string - Maintenance cycle granularity. Value: Week.
- day_
of_ list(string)weeks - Specify the days of the week when the maintenance window is active. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- maintenance_
time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC). Note: Specifies the time period during which maintenance can be performed.
- day
Kind String - Maintenance cycle granularity. Value: Week.
- day
Of List<String>Weeks - Specify the days of the week when the maintenance window is active. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- maintenance
Time String - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC). Note: Specifies the time period during which maintenance can be performed.
- day
Kind string - Maintenance cycle granularity. Value: Week.
- day
Of string[]Weeks - Specify the days of the week when the maintenance window is active. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC). Note: Specifies the time period during which maintenance can be performed.
- day_
kind str - Maintenance cycle granularity. Value: Week.
- day_
of_ Sequence[str]weeks - Specify the days of the week when the maintenance window is active. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- maintenance_
time str - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC). Note: Specifies the time period during which maintenance can be performed.
- day
Kind String - Maintenance cycle granularity. Value: Week.
- day
Of List<String>Weeks - Specify the days of the week when the maintenance window is active. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday.
- maintenance
Time String - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC). Note: Specifies the time period during which maintenance can be performed.
InstanceNode, InstanceNodeArgs
InstanceProxyDetail, InstanceProxyDetailArgs
- Db
Proxy stringStatus - Status of the instance database proxy feature. Values: Creating: proxy enabling. Running: proxy running. Shutdown: proxy disabled. Deleting: proxy disabling
- Proxy
Resource Volcengine.Info Instance Proxy Detail Proxy Resource Info - Resource information for the instance's database proxy service
- Db
Proxy stringStatus - Status of the instance database proxy feature. Values: Creating: proxy enabling. Running: proxy running. Shutdown: proxy disabled. Deleting: proxy disabling
- Proxy
Resource InstanceInfo Proxy Detail Proxy Resource Info - Resource information for the instance's database proxy service
- db_
proxy_ stringstatus - Status of the instance database proxy feature. Values: Creating: proxy enabling. Running: proxy running. Shutdown: proxy disabled. Deleting: proxy disabling
- proxy_
resource_ objectinfo - Resource information for the instance's database proxy service
- db
Proxy StringStatus - Status of the instance database proxy feature. Values: Creating: proxy enabling. Running: proxy running. Shutdown: proxy disabled. Deleting: proxy disabling
- proxy
Resource InstanceInfo Proxy Detail Proxy Resource Info - Resource information for the instance's database proxy service
- db
Proxy stringStatus - Status of the instance database proxy feature. Values: Creating: proxy enabling. Running: proxy running. Shutdown: proxy disabled. Deleting: proxy disabling
- proxy
Resource InstanceInfo Proxy Detail Proxy Resource Info - Resource information for the instance's database proxy service
- db_
proxy_ strstatus - Status of the instance database proxy feature. Values: Creating: proxy enabling. Running: proxy running. Shutdown: proxy disabled. Deleting: proxy disabling
- proxy_
resource_ Instanceinfo Proxy Detail Proxy Resource Info - Resource information for the instance's database proxy service
- db
Proxy StringStatus - Status of the instance database proxy feature. Values: Creating: proxy enabling. Running: proxy running. Shutdown: proxy disabled. Deleting: proxy disabling
- proxy
Resource Property MapInfo - Resource information for the instance's database proxy service
InstanceProxyDetailProxyResourceInfo, InstanceProxyDetailProxyResourceInfoArgs
- Current
Proxy intCpu Num - Current number of cores for the instance database proxy service
- Max
Proxy intCpu Num - Maximum number of cores configurable for database proxy service.
- Min
Proxy intCpu Num - Minimum number of CPU cores configurable for the database proxy service
- Current
Proxy intCpu Num - Current number of cores for the instance database proxy service
- Max
Proxy intCpu Num - Maximum number of cores configurable for database proxy service.
- Min
Proxy intCpu Num - Minimum number of CPU cores configurable for the database proxy service
- current_
proxy_ numbercpu_ num - Current number of cores for the instance database proxy service
- max_
proxy_ numbercpu_ num - Maximum number of cores configurable for database proxy service.
- min_
proxy_ numbercpu_ num - Minimum number of CPU cores configurable for the database proxy service
- current
Proxy IntegerCpu Num - Current number of cores for the instance database proxy service
- max
Proxy IntegerCpu Num - Maximum number of cores configurable for database proxy service.
- min
Proxy IntegerCpu Num - Minimum number of CPU cores configurable for the database proxy service
- current
Proxy numberCpu Num - Current number of cores for the instance database proxy service
- max
Proxy numberCpu Num - Maximum number of cores configurable for database proxy service.
- min
Proxy numberCpu Num - Minimum number of CPU cores configurable for the database proxy service
- current_
proxy_ intcpu_ num - Current number of cores for the instance database proxy service
- max_
proxy_ intcpu_ num - Maximum number of cores configurable for database proxy service.
- min_
proxy_ intcpu_ num - Minimum number of CPU cores configurable for the database proxy service
- current
Proxy NumberCpu Num - Current number of cores for the instance database proxy service
- max
Proxy NumberCpu Num - Maximum number of cores configurable for database proxy service.
- min
Proxy NumberCpu Num - Minimum number of CPU cores configurable for the database proxy service
InstanceTag, InstanceTagArgs
Import
$ pulumi import volcenginecc:rdsmysql/instance:Instance example "instance_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Jul 9, 2026 by Volcengine