published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
veDB MySQL Edition is Volcano Engine’s self-developed next-generation cloud-native relational database. veDB MySQL Edition is fully compatible with MySQL and supports diverse enterprise database application scenarios.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
vEDBMInstanceDemo:
type: bytepluscc:vedbm:Instance
name: VEDBMInstanceDemo
properties:
instanceName: VEDBMInstanceDemo
dbEngineVersion: MySQL_8_0
dbMinorVersion: '3.0'
nodeSpec: vedb.mysql.x4.medium
zoneIds: cn-beijing-a
nodeNumber: 2
vpcId: vpc-1a1vgeoxxxccg8nvepjykjnuw
subnetId: subnet-3nrd6xxx3log0931ech3re2r
port: 3306
superAccountName: username
superAccountPassword: '*******'
timeZone: UTC +08:00
lowerCaseTableNames: '1'
projectName: default
tags:
- key: dev
value: test
deletionProtection: enabled
number: 1
chargeDetail:
charge_type: PostPaid
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
node_number: Optional[int] = None,
db_engine_version: Optional[str] = None,
zone_ids: Optional[str] = None,
vpc_id: Optional[str] = None,
subnet_id: Optional[str] = None,
node_spec: Optional[str] = None,
lower_case_table_names: Optional[str] = None,
instance_name: Optional[str] = None,
charge_detail: Optional[InstanceChargeDetailArgs] = None,
nodes: Optional[Sequence[InstanceNodeArgs]] = None,
number: Optional[int] = None,
port: Optional[int] = None,
pre_paid_storage_in_gb: Optional[int] = None,
project_name: Optional[str] = None,
storage_charge_type: Optional[str] = None,
maintenance_window: Optional[InstanceMaintenanceWindowArgs] = None,
super_account_name: Optional[str] = None,
super_account_password: Optional[str] = None,
tags: Optional[Sequence[InstanceTagArgs]] = None,
template_id: Optional[str] = None,
time_zone: Optional[str] = None,
deletion_protection: Optional[str] = None,
db_minor_version: Optional[str] = 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: bytepluscc:vedbm:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleinstanceResourceResourceFromVedbminstance = new Bytepluscc.Vedbm.Instance("exampleinstanceResourceResourceFromVedbminstance", new()
{
NodeNumber = 0,
DbEngineVersion = "string",
ZoneIds = "string",
VpcId = "string",
SubnetId = "string",
NodeSpec = "string",
LowerCaseTableNames = "string",
InstanceName = "string",
ChargeDetail = new Bytepluscc.Vedbm.Inputs.InstanceChargeDetailArgs
{
AutoRenew = false,
ChargeEndTime = "string",
ChargeStartTime = "string",
ChargeStatus = "string",
ChargeType = "string",
OverdueReclaimTime = "string",
OverdueTime = "string",
Period = 0,
PeriodUnit = "string",
},
Nodes = new[]
{
new Bytepluscc.Vedbm.Inputs.InstanceNodeArgs
{
FailoverPriority = 0,
NodeType = "string",
},
},
Number = 0,
Port = 0,
PrePaidStorageInGb = 0,
ProjectName = "string",
StorageChargeType = "string",
MaintenanceWindow = new Bytepluscc.Vedbm.Inputs.InstanceMaintenanceWindowArgs
{
DayKind = "string",
DayOfMonths = new[]
{
0,
},
DayOfWeeks = new[]
{
"string",
},
MaintenanceTime = "string",
},
SuperAccountName = "string",
SuperAccountPassword = "string",
Tags = new[]
{
new Bytepluscc.Vedbm.Inputs.InstanceTagArgs
{
Key = "string",
Value = "string",
},
},
TemplateId = "string",
TimeZone = "string",
DeletionProtection = "string",
DbMinorVersion = "string",
});
example, err := vedbm.NewInstance(ctx, "exampleinstanceResourceResourceFromVedbminstance", &vedbm.InstanceArgs{
NodeNumber: pulumi.Int(0),
DbEngineVersion: pulumi.String("string"),
ZoneIds: pulumi.String("string"),
VpcId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
NodeSpec: pulumi.String("string"),
LowerCaseTableNames: pulumi.String("string"),
InstanceName: pulumi.String("string"),
ChargeDetail: &vedbm.InstanceChargeDetailArgs{
AutoRenew: pulumi.Bool(false),
ChargeEndTime: pulumi.String("string"),
ChargeStartTime: pulumi.String("string"),
ChargeStatus: pulumi.String("string"),
ChargeType: pulumi.String("string"),
OverdueReclaimTime: pulumi.String("string"),
OverdueTime: pulumi.String("string"),
Period: pulumi.Int(0),
PeriodUnit: pulumi.String("string"),
},
Nodes: vedbm.InstanceNodeArray{
&vedbm.InstanceNodeArgs{
FailoverPriority: pulumi.Int(0),
NodeType: pulumi.String("string"),
},
},
Number: pulumi.Int(0),
Port: pulumi.Int(0),
PrePaidStorageInGb: pulumi.Int(0),
ProjectName: pulumi.String("string"),
StorageChargeType: pulumi.String("string"),
MaintenanceWindow: &vedbm.InstanceMaintenanceWindowArgs{
DayKind: pulumi.String("string"),
DayOfMonths: pulumi.IntArray{
pulumi.Int(0),
},
DayOfWeeks: pulumi.StringArray{
pulumi.String("string"),
},
MaintenanceTime: pulumi.String("string"),
},
SuperAccountName: pulumi.String("string"),
SuperAccountPassword: pulumi.String("string"),
Tags: vedbm.InstanceTagArray{
&vedbm.InstanceTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TemplateId: pulumi.String("string"),
TimeZone: pulumi.String("string"),
DeletionProtection: pulumi.String("string"),
DbMinorVersion: pulumi.String("string"),
})
var exampleinstanceResourceResourceFromVedbminstance = new com.byteplus.bytepluscc.vedbm.Instance("exampleinstanceResourceResourceFromVedbminstance", com.byteplus.bytepluscc.vedbm.InstanceArgs.builder()
.nodeNumber(0)
.dbEngineVersion("string")
.zoneIds("string")
.vpcId("string")
.subnetId("string")
.nodeSpec("string")
.lowerCaseTableNames("string")
.instanceName("string")
.chargeDetail(InstanceChargeDetailArgs.builder()
.autoRenew(false)
.chargeEndTime("string")
.chargeStartTime("string")
.chargeStatus("string")
.chargeType("string")
.overdueReclaimTime("string")
.overdueTime("string")
.period(0)
.periodUnit("string")
.build())
.nodes(InstanceNodeArgs.builder()
.failoverPriority(0)
.nodeType("string")
.build())
.number(0)
.port(0)
.prePaidStorageInGb(0)
.projectName("string")
.storageChargeType("string")
.maintenanceWindow(InstanceMaintenanceWindowArgs.builder()
.dayKind("string")
.dayOfMonths(0)
.dayOfWeeks("string")
.maintenanceTime("string")
.build())
.superAccountName("string")
.superAccountPassword("string")
.tags(InstanceTagArgs.builder()
.key("string")
.value("string")
.build())
.templateId("string")
.timeZone("string")
.deletionProtection("string")
.dbMinorVersion("string")
.build());
exampleinstance_resource_resource_from_vedbminstance = bytepluscc.vedbm.Instance("exampleinstanceResourceResourceFromVedbminstance",
node_number=0,
db_engine_version="string",
zone_ids="string",
vpc_id="string",
subnet_id="string",
node_spec="string",
lower_case_table_names="string",
instance_name="string",
charge_detail={
"auto_renew": False,
"charge_end_time": "string",
"charge_start_time": "string",
"charge_status": "string",
"charge_type": "string",
"overdue_reclaim_time": "string",
"overdue_time": "string",
"period": 0,
"period_unit": "string",
},
nodes=[{
"failover_priority": 0,
"node_type": "string",
}],
number=0,
port=0,
pre_paid_storage_in_gb=0,
project_name="string",
storage_charge_type="string",
maintenance_window={
"day_kind": "string",
"day_of_months": [0],
"day_of_weeks": ["string"],
"maintenance_time": "string",
},
super_account_name="string",
super_account_password="string",
tags=[{
"key": "string",
"value": "string",
}],
template_id="string",
time_zone="string",
deletion_protection="string",
db_minor_version="string")
const exampleinstanceResourceResourceFromVedbminstance = new bytepluscc.vedbm.Instance("exampleinstanceResourceResourceFromVedbminstance", {
nodeNumber: 0,
dbEngineVersion: "string",
zoneIds: "string",
vpcId: "string",
subnetId: "string",
nodeSpec: "string",
lowerCaseTableNames: "string",
instanceName: "string",
chargeDetail: {
autoRenew: false,
chargeEndTime: "string",
chargeStartTime: "string",
chargeStatus: "string",
chargeType: "string",
overdueReclaimTime: "string",
overdueTime: "string",
period: 0,
periodUnit: "string",
},
nodes: [{
failoverPriority: 0,
nodeType: "string",
}],
number: 0,
port: 0,
prePaidStorageInGb: 0,
projectName: "string",
storageChargeType: "string",
maintenanceWindow: {
dayKind: "string",
dayOfMonths: [0],
dayOfWeeks: ["string"],
maintenanceTime: "string",
},
superAccountName: "string",
superAccountPassword: "string",
tags: [{
key: "string",
value: "string",
}],
templateId: "string",
timeZone: "string",
deletionProtection: "string",
dbMinorVersion: "string",
});
type: bytepluscc:vedbm:Instance
properties:
chargeDetail:
autoRenew: false
chargeEndTime: string
chargeStartTime: string
chargeStatus: string
chargeType: string
overdueReclaimTime: string
overdueTime: string
period: 0
periodUnit: string
dbEngineVersion: string
dbMinorVersion: string
deletionProtection: string
instanceName: string
lowerCaseTableNames: string
maintenanceWindow:
dayKind: string
dayOfMonths:
- 0
dayOfWeeks:
- string
maintenanceTime: string
nodeNumber: 0
nodeSpec: string
nodes:
- failoverPriority: 0
nodeType: string
number: 0
port: 0
prePaidStorageInGb: 0
projectName: string
storageChargeType: string
subnetId: string
superAccountName: string
superAccountPassword: string
tags:
- key: string
value: string
templateId: string
timeZone: string
vpcId: string
zoneIds: 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:
- Db
Engine stringVersion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- Node
Number int - Number of instance nodes. Value range: 2–16.
- Node
Spec string - Instance node specification code.
- Subnet
Id string - Subnet ID. The subnet must belong to the selected availability zone.
- Vpc
Id string - Private network (VPC) ID.
- Zone
Ids string - Availability zone ID
- Charge
Detail Byteplus.Instance Charge Detail - Billing details.
- Db
Minor stringVersion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- Deletion
Protection string - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- Instance
Name string - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- Lower
Case stringTable Names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- Maintenance
Window Byteplus.Instance Maintenance Window - Instance maintenance window information
- Nodes
List<Byteplus.
Instance Node> - Number int
- Number of instances to create. Range: 1~50. Default: 1
- Port int
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- Pre
Paid intStorage In Gb - Total prepaid storage capacity, in GiB
- Project
Name string - Project name to which the instance belongs.
- Storage
Charge stringType - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- Super
Account stringName - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- Super
Account stringPassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
-
List<Byteplus.
Instance Tag> - Template
Id string - Parameter template ID
- Time
Zone string - Instance time zone. The default time zone for all regions in China is UTC +08:00.
- Db
Engine stringVersion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- Node
Number int - Number of instance nodes. Value range: 2–16.
- Node
Spec string - Instance node specification code.
- Subnet
Id string - Subnet ID. The subnet must belong to the selected availability zone.
- Vpc
Id string - Private network (VPC) ID.
- Zone
Ids string - Availability zone ID
- Charge
Detail InstanceCharge Detail Args - Billing details.
- Db
Minor stringVersion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- Deletion
Protection string - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- Instance
Name string - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- Lower
Case stringTable Names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- Maintenance
Window InstanceMaintenance Window Args - Instance maintenance window information
- Nodes
[]Instance
Node Args - Number int
- Number of instances to create. Range: 1~50. Default: 1
- Port int
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- Pre
Paid intStorage In Gb - Total prepaid storage capacity, in GiB
- Project
Name string - Project name to which the instance belongs.
- Storage
Charge stringType - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- Super
Account stringName - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- Super
Account stringPassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
-
[]Instance
Tag Args - Template
Id string - Parameter template ID
- Time
Zone string - Instance time zone. The default time zone for all regions in China is UTC +08:00.
- db
Engine StringVersion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- node
Number Integer - Number of instance nodes. Value range: 2–16.
- node
Spec String - Instance node specification code.
- subnet
Id String - Subnet ID. The subnet must belong to the selected availability zone.
- vpc
Id String - Private network (VPC) ID.
- zone
Ids String - Availability zone ID
- charge
Detail InstanceCharge Detail - Billing details.
- db
Minor StringVersion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- deletion
Protection String - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- instance
Name String - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- lower
Case StringTable Names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- maintenance
Window InstanceMaintenance Window - Instance maintenance window information
- nodes
List<Instance
Node> - number Integer
- Number of instances to create. Range: 1~50. Default: 1
- port Integer
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- pre
Paid IntegerStorage In Gb - Total prepaid storage capacity, in GiB
- project
Name String - Project name to which the instance belongs.
- storage
Charge StringType - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- super
Account StringName - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- super
Account StringPassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
-
List<Instance
Tag> - template
Id String - Parameter template ID
- time
Zone String - Instance time zone. The default time zone for all regions in China is UTC +08:00.
- db
Engine stringVersion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- node
Number number - Number of instance nodes. Value range: 2–16.
- node
Spec string - Instance node specification code.
- subnet
Id string - Subnet ID. The subnet must belong to the selected availability zone.
- vpc
Id string - Private network (VPC) ID.
- zone
Ids string - Availability zone ID
- charge
Detail InstanceCharge Detail - Billing details.
- db
Minor stringVersion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- deletion
Protection string - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- instance
Name string - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- lower
Case stringTable Names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- maintenance
Window InstanceMaintenance Window - Instance maintenance window information
- nodes
Instance
Node[] - number number
- Number of instances to create. Range: 1~50. Default: 1
- port number
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- pre
Paid numberStorage In Gb - Total prepaid storage capacity, in GiB
- project
Name string - Project name to which the instance belongs.
- storage
Charge stringType - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- super
Account stringName - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- super
Account stringPassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
-
Instance
Tag[] - template
Id string - Parameter template ID
- time
Zone string - Instance time zone. The default time zone for all regions in China is UTC +08:00.
- db_
engine_ strversion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- node_
number int - Number of instance nodes. Value range: 2–16.
- node_
spec str - Instance node specification code.
- subnet_
id str - Subnet ID. The subnet must belong to the selected availability zone.
- vpc_
id str - Private network (VPC) ID.
- zone_
ids str - Availability zone ID
- charge_
detail InstanceCharge Detail Args - Billing details.
- db_
minor_ strversion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- deletion_
protection str - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- instance_
name str - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- lower_
case_ strtable_ names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- maintenance_
window InstanceMaintenance Window Args - Instance maintenance window information
- nodes
Sequence[Instance
Node Args] - number int
- Number of instances to create. Range: 1~50. Default: 1
- port int
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- pre_
paid_ intstorage_ in_ gb - Total prepaid storage capacity, in GiB
- project_
name str - Project name to which the instance belongs.
- storage_
charge_ strtype - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- super_
account_ strname - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- super_
account_ strpassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
-
Sequence[Instance
Tag Args] - template_
id str - Parameter template ID
- time_
zone str - Instance time zone. The default time zone for all regions in China is UTC +08:00.
- db
Engine StringVersion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- node
Number Number - Number of instance nodes. Value range: 2–16.
- node
Spec String - Instance node specification code.
- subnet
Id String - Subnet ID. The subnet must belong to the selected availability zone.
- vpc
Id String - Private network (VPC) ID.
- zone
Ids String - Availability zone ID
- charge
Detail Property Map - Billing details.
- db
Minor StringVersion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- deletion
Protection String - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- instance
Name String - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- lower
Case StringTable Names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- maintenance
Window Property Map - Instance maintenance window information
- nodes List<Property Map>
- number Number
- Number of instances to create. Range: 1~50. Default: 1
- port Number
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- pre
Paid NumberStorage In Gb - Total prepaid storage capacity, in GiB
- project
Name String - Project name to which the instance belongs.
- storage
Charge StringType - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- super
Account StringName - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- super
Account StringPassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
- List<Property Map>
- template
Id String - Parameter template ID
- time
Zone String - Instance time zone. The default time zone for all regions in China is UTC +08:00.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Created
Time string - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- Db
Revision stringVersion - Instance kernel version.
- Endpoints
List<Byteplus.
Instance Endpoint> - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Instance ID.
- Instance
Status string - Instance status.
- Spec
Family string - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- Storage
Used doubleGi B - Used storage space, in GiB
- Created
Time string - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- Db
Revision stringVersion - Instance kernel version.
- Endpoints
[]Instance
Endpoint - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Instance ID.
- Instance
Status string - Instance status.
- Spec
Family string - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- Storage
Used float64Gi B - Used storage space, in GiB
- created
Time String - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- db
Revision StringVersion - Instance kernel version.
- endpoints
List<Instance
Endpoint> - id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - Instance ID.
- instance
Status String - Instance status.
- spec
Family String - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- storage
Used DoubleGi B - Used storage space, in GiB
- created
Time string - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- db
Revision stringVersion - Instance kernel version.
- endpoints
Instance
Endpoint[] - id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - Instance ID.
- instance
Status string - Instance status.
- spec
Family string - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- storage
Used numberGi B - Used storage space, in GiB
- created_
time str - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- db_
revision_ strversion - Instance kernel version.
- endpoints
Sequence[Instance
Endpoint] - id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - Instance ID.
- instance_
status str - Instance status.
- spec_
family str - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- storage_
used_ floatgi_ b - Used storage space, in GiB
- created
Time String - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- db
Revision StringVersion - Instance kernel version.
- endpoints List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - Instance ID.
- instance
Status String - Instance status.
- spec
Family String - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- storage
Used NumberGi B - Used storage space, in GiB
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,
charge_detail: Optional[InstanceChargeDetailArgs] = None,
created_time: Optional[str] = None,
db_engine_version: Optional[str] = None,
db_minor_version: Optional[str] = None,
db_revision_version: Optional[str] = None,
deletion_protection: Optional[str] = None,
endpoints: Optional[Sequence[InstanceEndpointArgs]] = None,
instance_id: Optional[str] = None,
instance_name: Optional[str] = None,
instance_status: Optional[str] = None,
lower_case_table_names: Optional[str] = None,
maintenance_window: Optional[InstanceMaintenanceWindowArgs] = None,
node_number: Optional[int] = None,
node_spec: Optional[str] = None,
nodes: Optional[Sequence[InstanceNodeArgs]] = None,
number: Optional[int] = None,
port: Optional[int] = None,
pre_paid_storage_in_gb: Optional[int] = None,
project_name: Optional[str] = None,
spec_family: Optional[str] = None,
storage_charge_type: Optional[str] = None,
storage_used_gi_b: Optional[float] = None,
subnet_id: Optional[str] = None,
super_account_name: Optional[str] = None,
super_account_password: Optional[str] = None,
tags: Optional[Sequence[InstanceTagArgs]] = None,
template_id: Optional[str] = None,
time_zone: Optional[str] = None,
vpc_id: Optional[str] = None,
zone_ids: Optional[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: bytepluscc:vedbm:Instance get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Charge
Detail Byteplus.Instance Charge Detail - Billing details.
- Created
Time string - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- Db
Engine stringVersion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- Db
Minor stringVersion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- Db
Revision stringVersion - Instance kernel version.
- Deletion
Protection string - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- Endpoints
List<Byteplus.
Instance Endpoint> - Instance
Id string - Instance ID.
- Instance
Name string - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- Instance
Status string - Instance status.
- Lower
Case stringTable Names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- Maintenance
Window Byteplus.Instance Maintenance Window - Instance maintenance window information
- Node
Number int - Number of instance nodes. Value range: 2–16.
- Node
Spec string - Instance node specification code.
- Nodes
List<Byteplus.
Instance Node> - Number int
- Number of instances to create. Range: 1~50. Default: 1
- Port int
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- Pre
Paid intStorage In Gb - Total prepaid storage capacity, in GiB
- Project
Name string - Project name to which the instance belongs.
- Spec
Family string - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- Storage
Charge stringType - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- Storage
Used doubleGi B - Used storage space, in GiB
- Subnet
Id string - Subnet ID. The subnet must belong to the selected availability zone.
- Super
Account stringName - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- Super
Account stringPassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
-
List<Byteplus.
Instance Tag> - Template
Id string - Parameter template ID
- Time
Zone string - Instance time zone. The default time zone for all regions in China is UTC +08:00.
- Vpc
Id string - Private network (VPC) ID.
- Zone
Ids string - Availability zone ID
- Charge
Detail InstanceCharge Detail Args - Billing details.
- Created
Time string - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- Db
Engine stringVersion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- Db
Minor stringVersion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- Db
Revision stringVersion - Instance kernel version.
- Deletion
Protection string - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- Endpoints
[]Instance
Endpoint Args - Instance
Id string - Instance ID.
- Instance
Name string - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- Instance
Status string - Instance status.
- Lower
Case stringTable Names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- Maintenance
Window InstanceMaintenance Window Args - Instance maintenance window information
- Node
Number int - Number of instance nodes. Value range: 2–16.
- Node
Spec string - Instance node specification code.
- Nodes
[]Instance
Node Args - Number int
- Number of instances to create. Range: 1~50. Default: 1
- Port int
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- Pre
Paid intStorage In Gb - Total prepaid storage capacity, in GiB
- Project
Name string - Project name to which the instance belongs.
- Spec
Family string - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- Storage
Charge stringType - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- Storage
Used float64Gi B - Used storage space, in GiB
- Subnet
Id string - Subnet ID. The subnet must belong to the selected availability zone.
- Super
Account stringName - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- Super
Account stringPassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
-
[]Instance
Tag Args - Template
Id string - Parameter template ID
- Time
Zone string - Instance time zone. The default time zone for all regions in China is UTC +08:00.
- Vpc
Id string - Private network (VPC) ID.
- Zone
Ids string - Availability zone ID
- charge
Detail InstanceCharge Detail - Billing details.
- created
Time String - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- db
Engine StringVersion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- db
Minor StringVersion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- db
Revision StringVersion - Instance kernel version.
- deletion
Protection String - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- endpoints
List<Instance
Endpoint> - instance
Id String - Instance ID.
- instance
Name String - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- instance
Status String - Instance status.
- lower
Case StringTable Names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- maintenance
Window InstanceMaintenance Window - Instance maintenance window information
- node
Number Integer - Number of instance nodes. Value range: 2–16.
- node
Spec String - Instance node specification code.
- nodes
List<Instance
Node> - number Integer
- Number of instances to create. Range: 1~50. Default: 1
- port Integer
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- pre
Paid IntegerStorage In Gb - Total prepaid storage capacity, in GiB
- project
Name String - Project name to which the instance belongs.
- spec
Family String - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- storage
Charge StringType - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- storage
Used DoubleGi B - Used storage space, in GiB
- subnet
Id String - Subnet ID. The subnet must belong to the selected availability zone.
- super
Account StringName - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- super
Account StringPassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
-
List<Instance
Tag> - template
Id String - Parameter template ID
- time
Zone String - Instance time zone. The default time zone for all regions in China is UTC +08:00.
- vpc
Id String - Private network (VPC) ID.
- zone
Ids String - Availability zone ID
- charge
Detail InstanceCharge Detail - Billing details.
- created
Time string - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- db
Engine stringVersion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- db
Minor stringVersion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- db
Revision stringVersion - Instance kernel version.
- deletion
Protection string - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- endpoints
Instance
Endpoint[] - instance
Id string - Instance ID.
- instance
Name string - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- instance
Status string - Instance status.
- lower
Case stringTable Names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- maintenance
Window InstanceMaintenance Window - Instance maintenance window information
- node
Number number - Number of instance nodes. Value range: 2–16.
- node
Spec string - Instance node specification code.
- nodes
Instance
Node[] - number number
- Number of instances to create. Range: 1~50. Default: 1
- port number
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- pre
Paid numberStorage In Gb - Total prepaid storage capacity, in GiB
- project
Name string - Project name to which the instance belongs.
- spec
Family string - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- storage
Charge stringType - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- storage
Used numberGi B - Used storage space, in GiB
- subnet
Id string - Subnet ID. The subnet must belong to the selected availability zone.
- super
Account stringName - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- super
Account stringPassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
-
Instance
Tag[] - template
Id string - Parameter template ID
- time
Zone string - Instance time zone. The default time zone for all regions in China is UTC +08:00.
- vpc
Id string - Private network (VPC) ID.
- zone
Ids string - Availability zone ID
- charge_
detail InstanceCharge Detail Args - Billing details.
- created_
time str - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- db_
engine_ strversion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- db_
minor_ strversion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- db_
revision_ strversion - Instance kernel version.
- deletion_
protection str - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- endpoints
Sequence[Instance
Endpoint Args] - instance_
id str - Instance ID.
- instance_
name str - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- instance_
status str - Instance status.
- lower_
case_ strtable_ names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- maintenance_
window InstanceMaintenance Window Args - Instance maintenance window information
- node_
number int - Number of instance nodes. Value range: 2–16.
- node_
spec str - Instance node specification code.
- nodes
Sequence[Instance
Node Args] - number int
- Number of instances to create. Range: 1~50. Default: 1
- port int
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- pre_
paid_ intstorage_ in_ gb - Total prepaid storage capacity, in GiB
- project_
name str - Project name to which the instance belongs.
- spec_
family str - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- storage_
charge_ strtype - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- storage_
used_ floatgi_ b - Used storage space, in GiB
- subnet_
id str - Subnet ID. The subnet must belong to the selected availability zone.
- super_
account_ strname - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- super_
account_ strpassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
-
Sequence[Instance
Tag Args] - template_
id str - Parameter template ID
- time_
zone str - Instance time zone. The default time zone for all regions in China is UTC +08:00.
- vpc_
id str - Private network (VPC) ID.
- zone_
ids str - Availability zone ID
- charge
Detail Property Map - Billing details.
- created
Time String - Instance creation time, format: YYYY-MM-DDTHH:MM:SSZ (UTC time)
- db
Engine StringVersion - Instance compatible version. Options: MySQL80: Compatible with community MySQL 8.0. MySQL57: Compatible with community MySQL 5.7
- db
Minor StringVersion - Select the veDB MySQL minor version based on compatibility. When DBEngineVersion is set to MySQL57, the default value for this parameter is 2.0. When DBEngineVersion is set to MySQL80, the parameter value options are as follows: 3.0 (default): veDB MySQL stable version, 100% compatible with MySQL 8.0. 3.1: Native support for HTAP scenarios, accelerates complex queries. 3.2: Native support for HTAP scenarios, accelerates complex queries.
- db
Revision StringVersion - Instance kernel version.
- deletion
Protection String - Whether deletion protection is enabled for the instance. Value range: enabled: enabled. disabled: disabled.
- endpoints List<Property Map>
- instance
Id String - Instance ID.
- instance
Name String - Instance name. Naming rules: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
- instance
Status String - Instance status.
- lower
Case StringTable Names - Whether table names are case-sensitive. Value range: 0: table names are case-sensitive; backend stores according to actual table name. 1: table names are not case-sensitive; backend stores table names in lowercase.
- maintenance
Window Property Map - Instance maintenance window information
- node
Number Number - Number of instance nodes. Value range: 2–16.
- node
Spec String - Instance node specification code.
- nodes List<Property Map>
- number Number
- Number of instances to create. Range: 1~50. Default: 1
- port Number
- Specify the private network port number for the default connection endpoint created for the instance. Default value is 3306. Value range: 1000–65534.
- pre
Paid NumberStorage In Gb - Total prepaid storage capacity, in GiB
- project
Name String - Project name to which the instance belongs.
- spec
Family String - Instance specification type. Values: General: general purpose. Exclusive: dedicated.
- storage
Charge StringType - Storage billing type. If this parameter is not specified, the storage billing type defaults to the same value as the compute billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription (prepaid).
- storage
Used NumberGi B - Used storage space, in GiB
- subnet
Id String - Subnet ID. The subnet must belong to the selected availability zone.
- super
Account StringName - Account name for privileged user. Requirements: Must be unique, 2–32 characters. Letters, numbers, hyphens (-), and underscores (_) only. Must start with a letter and end with a letter or number. Cannot contain prohibited keywords
- super
Account StringPassword - Password for high-privilege account. The password must meet the following requirements: can only contain uppercase and lowercase letters, numbers, and special characters (such as ~!@#$%^&*_-+=`|(){}[]:;'<>,.?/). Length must be between 8 and 32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters.
- List<Property Map>
- template
Id String - Parameter template ID
- time
Zone String - Instance time zone. The default time zone for all regions in China is UTC +08:00.
- vpc
Id String - Private network (VPC) ID.
- zone
Ids String - Availability zone ID
Supporting Types
InstanceChargeDetail, InstanceChargeDetailArgs
- Auto
Renew bool - Whether to enable auto-renewal in prepaid scenarios. Values: true: auto-renewal. false: no auto-renewal.
- Charge
End stringTime - Billing expiration time for prepaid scenarios, format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- Charge
Start stringTime - Billing start time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- Charge
Status string - Payment status: Normal: Normal. Overdue: Overdue. Shutdown: Shutdown
- Charge
Type string - Billing type. PostPaid: Pay-as-you-go. PrePaid: yearly/monthly subscription
- Overdue
Reclaim stringTime - Estimated release time when shut down due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- Overdue
Time string - Shutdown time for overdue payments. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Period int
- Purchase duration for prepaid scenarios.
- Period
Unit string - Purchase period for prepaid scenarios. Month: monthly subscription. Year: annual subscription.
- Auto
Renew bool - Whether to enable auto-renewal in prepaid scenarios. Values: true: auto-renewal. false: no auto-renewal.
- Charge
End stringTime - Billing expiration time for prepaid scenarios, format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- Charge
Start stringTime - Billing start time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- Charge
Status string - Payment status: Normal: Normal. Overdue: Overdue. Shutdown: Shutdown
- Charge
Type string - Billing type. PostPaid: Pay-as-you-go. PrePaid: yearly/monthly subscription
- Overdue
Reclaim stringTime - Estimated release time when shut down due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- Overdue
Time string - Shutdown time for overdue payments. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Period int
- Purchase duration for prepaid scenarios.
- Period
Unit string - Purchase period for prepaid scenarios. Month: monthly subscription. Year: annual subscription.
- auto
Renew Boolean - Whether to enable auto-renewal in prepaid scenarios. Values: true: auto-renewal. false: no auto-renewal.
- charge
End StringTime - Billing expiration time for prepaid scenarios, format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- charge
Start StringTime - Billing start time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- charge
Status String - Payment status: Normal: Normal. Overdue: Overdue. Shutdown: Shutdown
- charge
Type String - Billing type. PostPaid: Pay-as-you-go. PrePaid: yearly/monthly subscription
- overdue
Reclaim StringTime - Estimated release time when shut down due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- overdue
Time String - Shutdown time for overdue payments. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- period Integer
- Purchase duration for prepaid scenarios.
- period
Unit String - Purchase period for prepaid scenarios. Month: monthly subscription. Year: annual subscription.
- auto
Renew boolean - Whether to enable auto-renewal in prepaid scenarios. Values: true: auto-renewal. false: no auto-renewal.
- charge
End stringTime - Billing expiration time for prepaid scenarios, format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- charge
Start stringTime - Billing start time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- charge
Status string - Payment status: Normal: Normal. Overdue: Overdue. Shutdown: Shutdown
- charge
Type string - Billing type. PostPaid: Pay-as-you-go. PrePaid: yearly/monthly subscription
- overdue
Reclaim stringTime - Estimated release time when shut down due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- overdue
Time string - Shutdown time for overdue payments. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- period number
- Purchase duration for prepaid scenarios.
- period
Unit string - Purchase period for prepaid scenarios. Month: monthly subscription. Year: annual subscription.
- auto_
renew bool - Whether to enable auto-renewal in prepaid scenarios. Values: true: auto-renewal. false: no auto-renewal.
- charge_
end_ strtime - Billing expiration time for prepaid scenarios, format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- charge_
start_ strtime - Billing start time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- charge_
status str - Payment status: Normal: Normal. Overdue: Overdue. Shutdown: Shutdown
- charge_
type str - Billing type. PostPaid: Pay-as-you-go. PrePaid: yearly/monthly subscription
- overdue_
reclaim_ strtime - Estimated release time when shut down due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- overdue_
time str - Shutdown time for overdue payments. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- period int
- Purchase duration for prepaid scenarios.
- period_
unit str - Purchase period for prepaid scenarios. Month: monthly subscription. Year: annual subscription.
- auto
Renew Boolean - Whether to enable auto-renewal in prepaid scenarios. Values: true: auto-renewal. false: no auto-renewal.
- charge
End StringTime - Billing expiration time for prepaid scenarios, format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- charge
Start StringTime - Billing start time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- charge
Status String - Payment status: Normal: Normal. Overdue: Overdue. Shutdown: Shutdown
- charge
Type String - Billing type. PostPaid: Pay-as-you-go. PrePaid: yearly/monthly subscription
- overdue
Reclaim StringTime - Estimated release time when shut down due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)
- overdue
Time String - Shutdown time for overdue payments. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- period Number
- Purchase duration for prepaid scenarios.
- period
Unit String - Purchase period for prepaid scenarios. Month: monthly subscription. Year: annual subscription.
InstanceEndpoint, InstanceEndpointArgs
- Addresses
List<Byteplus.
Instance Endpoint Address> - Auto
Add boolNew Nodes - Whether to allow automatic addition of new nodes. Values: true: yes. false: no.
- Consist
Level string - Consistency level, applicable only to read-write mode connection endpoints. Values: Eventual: eventual consistency. Session: session consistency. Global: global consistency.
- Consist
Timeout int - When latency is high, the timeout for read-only nodes to synchronize the latest data, in microseconds (us). Range: 1us~100000000us
- Consist
Timeout stringAction - Timeout policy for read-only node data synchronization. Supports the following two policies: ReturnError: Returns SQL error (wait replication complete timeout, please retry). ReadMaster: Sends request to the primary node.
- Description string
- Address description
- Distributed
Transaction bool - Whether to enable transaction splitting. Only effective for read-write mode endpoints. Values: true: yes. false: no.
- Endpoint
Id string - Instance connection endpoint ID.
- Endpoint
Name string - Instance connection endpoint name.
- Endpoint
Type string - Connection endpoint type. Values: Cluster: default endpoint. Primary: primary node endpoint. Custom: custom endpoint.
- Master
Accept boolRead Requests - Whether the primary node accepts read requests. Applies only to read/write mode endpoints. true: Yes. false: No
- Node
Ids List<string> - Node list configured for the connection endpoint.
- Read
Write stringMode - Endpoint read/write mode. Options: ReadWrite: Read/write. ReadOnly: Read-only
- Addresses
[]Instance
Endpoint Address - Auto
Add boolNew Nodes - Whether to allow automatic addition of new nodes. Values: true: yes. false: no.
- Consist
Level string - Consistency level, applicable only to read-write mode connection endpoints. Values: Eventual: eventual consistency. Session: session consistency. Global: global consistency.
- Consist
Timeout int - When latency is high, the timeout for read-only nodes to synchronize the latest data, in microseconds (us). Range: 1us~100000000us
- Consist
Timeout stringAction - Timeout policy for read-only node data synchronization. Supports the following two policies: ReturnError: Returns SQL error (wait replication complete timeout, please retry). ReadMaster: Sends request to the primary node.
- Description string
- Address description
- Distributed
Transaction bool - Whether to enable transaction splitting. Only effective for read-write mode endpoints. Values: true: yes. false: no.
- Endpoint
Id string - Instance connection endpoint ID.
- Endpoint
Name string - Instance connection endpoint name.
- Endpoint
Type string - Connection endpoint type. Values: Cluster: default endpoint. Primary: primary node endpoint. Custom: custom endpoint.
- Master
Accept boolRead Requests - Whether the primary node accepts read requests. Applies only to read/write mode endpoints. true: Yes. false: No
- Node
Ids []string - Node list configured for the connection endpoint.
- Read
Write stringMode - Endpoint read/write mode. Options: ReadWrite: Read/write. ReadOnly: Read-only
- addresses
List<Instance
Endpoint Address> - auto
Add BooleanNew Nodes - Whether to allow automatic addition of new nodes. Values: true: yes. false: no.
- consist
Level String - Consistency level, applicable only to read-write mode connection endpoints. Values: Eventual: eventual consistency. Session: session consistency. Global: global consistency.
- consist
Timeout Integer - When latency is high, the timeout for read-only nodes to synchronize the latest data, in microseconds (us). Range: 1us~100000000us
- consist
Timeout StringAction - Timeout policy for read-only node data synchronization. Supports the following two policies: ReturnError: Returns SQL error (wait replication complete timeout, please retry). ReadMaster: Sends request to the primary node.
- description String
- Address description
- distributed
Transaction Boolean - Whether to enable transaction splitting. Only effective for read-write mode endpoints. Values: true: yes. false: no.
- endpoint
Id String - Instance connection endpoint ID.
- endpoint
Name String - Instance connection endpoint name.
- endpoint
Type String - Connection endpoint type. Values: Cluster: default endpoint. Primary: primary node endpoint. Custom: custom endpoint.
- master
Accept BooleanRead Requests - Whether the primary node accepts read requests. Applies only to read/write mode endpoints. true: Yes. false: No
- node
Ids List<String> - Node list configured for the connection endpoint.
- read
Write StringMode - Endpoint read/write mode. Options: ReadWrite: Read/write. ReadOnly: Read-only
- addresses
Instance
Endpoint Address[] - auto
Add booleanNew Nodes - Whether to allow automatic addition of new nodes. Values: true: yes. false: no.
- consist
Level string - Consistency level, applicable only to read-write mode connection endpoints. Values: Eventual: eventual consistency. Session: session consistency. Global: global consistency.
- consist
Timeout number - When latency is high, the timeout for read-only nodes to synchronize the latest data, in microseconds (us). Range: 1us~100000000us
- consist
Timeout stringAction - Timeout policy for read-only node data synchronization. Supports the following two policies: ReturnError: Returns SQL error (wait replication complete timeout, please retry). ReadMaster: Sends request to the primary node.
- description string
- Address description
- distributed
Transaction boolean - Whether to enable transaction splitting. Only effective for read-write mode endpoints. Values: true: yes. false: no.
- endpoint
Id string - Instance connection endpoint ID.
- endpoint
Name string - Instance connection endpoint name.
- endpoint
Type string - Connection endpoint type. Values: Cluster: default endpoint. Primary: primary node endpoint. Custom: custom endpoint.
- master
Accept booleanRead Requests - Whether the primary node accepts read requests. Applies only to read/write mode endpoints. true: Yes. false: No
- node
Ids string[] - Node list configured for the connection endpoint.
- read
Write stringMode - Endpoint read/write mode. Options: ReadWrite: Read/write. ReadOnly: Read-only
- addresses
Sequence[Instance
Endpoint Address] - auto_
add_ boolnew_ nodes - Whether to allow automatic addition of new nodes. Values: true: yes. false: no.
- consist_
level str - Consistency level, applicable only to read-write mode connection endpoints. Values: Eventual: eventual consistency. Session: session consistency. Global: global consistency.
- consist_
timeout int - When latency is high, the timeout for read-only nodes to synchronize the latest data, in microseconds (us). Range: 1us~100000000us
- consist_
timeout_ straction - Timeout policy for read-only node data synchronization. Supports the following two policies: ReturnError: Returns SQL error (wait replication complete timeout, please retry). ReadMaster: Sends request to the primary node.
- description str
- Address description
- distributed_
transaction bool - Whether to enable transaction splitting. Only effective for read-write mode endpoints. Values: true: yes. false: no.
- endpoint_
id str - Instance connection endpoint ID.
- endpoint_
name str - Instance connection endpoint name.
- endpoint_
type str - Connection endpoint type. Values: Cluster: default endpoint. Primary: primary node endpoint. Custom: custom endpoint.
- master_
accept_ boolread_ requests - Whether the primary node accepts read requests. Applies only to read/write mode endpoints. true: Yes. false: No
- node_
ids Sequence[str] - Node list configured for the connection endpoint.
- read_
write_ strmode - Endpoint read/write mode. Options: ReadWrite: Read/write. ReadOnly: Read-only
- addresses List<Property Map>
- auto
Add BooleanNew Nodes - Whether to allow automatic addition of new nodes. Values: true: yes. false: no.
- consist
Level String - Consistency level, applicable only to read-write mode connection endpoints. Values: Eventual: eventual consistency. Session: session consistency. Global: global consistency.
- consist
Timeout Number - When latency is high, the timeout for read-only nodes to synchronize the latest data, in microseconds (us). Range: 1us~100000000us
- consist
Timeout StringAction - Timeout policy for read-only node data synchronization. Supports the following two policies: ReturnError: Returns SQL error (wait replication complete timeout, please retry). ReadMaster: Sends request to the primary node.
- description String
- Address description
- distributed
Transaction Boolean - Whether to enable transaction splitting. Only effective for read-write mode endpoints. Values: true: yes. false: no.
- endpoint
Id String - Instance connection endpoint ID.
- endpoint
Name String - Instance connection endpoint name.
- endpoint
Type String - Connection endpoint type. Values: Cluster: default endpoint. Primary: primary node endpoint. Custom: custom endpoint.
- master
Accept BooleanRead Requests - Whether the primary node accepts read requests. Applies only to read/write mode endpoints. true: Yes. false: No
- node
Ids List<String> - Node list configured for the connection endpoint.
- read
Write StringMode - Endpoint read/write mode. Options: ReadWrite: Read/write. ReadOnly: Read-only
InstanceEndpointAddress, InstanceEndpointAddressArgs
- Dns
Visibility bool - Parsing method. The current return value can only be false.
- Domain string
- Instance private access domain name.
- Eip
Id string - Public network ID.
- Ip
Address string - IP address.
- Network
Type string - Network type: Private: private network VPC. Public: public access.
- Port string
- Instance private network access port.
- Subnet
Id string - Subnet ID. The subnet must belong to the selected availability zone.
- Dns
Visibility bool - Parsing method. The current return value can only be false.
- Domain string
- Instance private access domain name.
- Eip
Id string - Public network ID.
- Ip
Address string - IP address.
- Network
Type string - Network type: Private: private network VPC. Public: public access.
- Port string
- Instance private network access port.
- Subnet
Id string - Subnet ID. The subnet must belong to the selected availability zone.
- dns
Visibility Boolean - Parsing method. The current return value can only be false.
- domain String
- Instance private access domain name.
- eip
Id String - Public network ID.
- ip
Address String - IP address.
- network
Type String - Network type: Private: private network VPC. Public: public access.
- port String
- Instance private network access port.
- subnet
Id String - Subnet ID. The subnet must belong to the selected availability zone.
- dns
Visibility boolean - Parsing method. The current return value can only be false.
- domain string
- Instance private access domain name.
- eip
Id string - Public network ID.
- ip
Address string - IP address.
- network
Type string - Network type: Private: private network VPC. Public: public access.
- port string
- Instance private network access port.
- subnet
Id string - Subnet ID. The subnet must belong to the selected availability zone.
- dns_
visibility bool - Parsing method. The current return value can only be false.
- domain str
- Instance private access domain name.
- eip_
id str - Public network ID.
- ip_
address str - IP address.
- network_
type str - Network type: Private: private network VPC. Public: public access.
- port str
- Instance private network access port.
- subnet_
id str - Subnet ID. The subnet must belong to the selected availability zone.
- dns
Visibility Boolean - Parsing method. The current return value can only be false.
- domain String
- Instance private access domain name.
- eip
Id String - Public network ID.
- ip
Address String - IP address.
- network
Type String - Network type: Private: private network VPC. Public: public access.
- port String
- Instance private network access port.
- subnet
Id String - Subnet ID. The subnet must belong to the selected availability zone.
InstanceMaintenanceWindow, InstanceMaintenanceWindowArgs
- Day
Kind string - Maintenance cycle granularity. Default value: Week.
- Day
Of List<int>Months - Specify which day of the month is the maintenance window. Default is empty, meaning every day is specified.
- Day
Of List<string>Weeks - Which day of the week is the maintenance window. Default value is every day: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
- Maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time).
- Day
Kind string - Maintenance cycle granularity. Default value: Week.
- Day
Of []intMonths - Specify which day of the month is the maintenance window. Default is empty, meaning every day is specified.
- Day
Of []stringWeeks - Which day of the week is the maintenance window. Default value is every day: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
- Maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time).
- day
Kind String - Maintenance cycle granularity. Default value: Week.
- day
Of List<Integer>Months - Specify which day of the month is the maintenance window. Default is empty, meaning every day is specified.
- day
Of List<String>Weeks - Which day of the week is the maintenance window. Default value is every day: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
- maintenance
Time String - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time).
- day
Kind string - Maintenance cycle granularity. Default value: Week.
- day
Of number[]Months - Specify which day of the month is the maintenance window. Default is empty, meaning every day is specified.
- day
Of string[]Weeks - Which day of the week is the maintenance window. Default value is every day: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
- maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time).
- day_
kind str - Maintenance cycle granularity. Default value: Week.
- day_
of_ Sequence[int]months - Specify which day of the month is the maintenance window. Default is empty, meaning every day is specified.
- day_
of_ Sequence[str]weeks - Which day of the week is the maintenance window. Default value is every day: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
- maintenance_
time str - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time).
- day
Kind String - Maintenance cycle granularity. Default value: Week.
- day
Of List<Number>Months - Specify which day of the month is the maintenance window. Default is empty, meaning every day is specified.
- day
Of List<String>Weeks - Which day of the week is the maintenance window. Default value is every day: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
- maintenance
Time String - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time).
InstanceNode, InstanceNodeArgs
- Failover
Priority int - Node failover priority. Range: 0~15. Higher values indicate higher priority
- Node
Type string - Node type. Values: Primary: primary node. ReadOnly: read-only node.
- Failover
Priority int - Node failover priority. Range: 0~15. Higher values indicate higher priority
- Node
Type string - Node type. Values: Primary: primary node. ReadOnly: read-only node.
- failover
Priority Integer - Node failover priority. Range: 0~15. Higher values indicate higher priority
- node
Type String - Node type. Values: Primary: primary node. ReadOnly: read-only node.
- failover
Priority number - Node failover priority. Range: 0~15. Higher values indicate higher priority
- node
Type string - Node type. Values: Primary: primary node. ReadOnly: read-only node.
- failover_
priority int - Node failover priority. Range: 0~15. Higher values indicate higher priority
- node_
type str - Node type. Values: Primary: primary node. ReadOnly: read-only node.
- failover
Priority Number - Node failover priority. Range: 0~15. Higher values indicate higher priority
- node
Type String - Node type. Values: Primary: primary node. ReadOnly: read-only node.
InstanceTag, InstanceTagArgs
- Key string
- User tag key. Length range: 1~128 characters. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it
- Value string
- User tag value. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system will automatically remove it
- Key string
- User tag key. Length range: 1~128 characters. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it
- Value string
- User tag value. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system will automatically remove it
- key String
- User tag key. Length range: 1~128 characters. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it
- value String
- User tag value. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system will automatically remove it
- key string
- User tag key. Length range: 1~128 characters. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it
- value string
- User tag value. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system will automatically remove it
- key str
- User tag key. Length range: 1~128 characters. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it
- value str
- User tag value. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system will automatically remove it
- key String
- User tag key. Length range: 1~128 characters. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it
- value String
- User tag value. Allows input of characters from all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system will automatically remove it
Import
$ pulumi import bytepluscc:vedbm/instance:Instance example "instance_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Thursday, Apr 2, 2026 by Byteplus
