published on Thursday, Oct 15, 2026 by Volcengine
published on Thursday, Oct 15, 2026 by Volcengine
Cloud Database SQL Server Edition is a stable, reliable, and scalable online database service built on the world-class commercial database product Microsoft SQL Server. Creating an instance is the first step to using Cloud Database SQL Server Edition
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const rDSMsSQLInstanceDemo = new volcenginecc.rdsmssql.Instance("RDSMsSQLInstanceDemo", {
nodeSpec: "rds.mssql.3il.x8.medium.s1",
zoneId: "cn-beijing-a",
subnetId: "subnet-1a0zgr5e7hslc8nvepxxxxx",
dbEngineVersion: "SQLServer_2019_Std",
instanceType: "Basic",
storageSpace: 20,
vpcId: "vpc-3nqt4kq87xn2893xxxxx",
instanceName: "RDSMsSQLInstanceDemo",
superAccountPassword: "********",
serverCollation: "Chinese_PRC_CI_AS",
timeZone: "China Standard Time",
chargeInfo: {
charge_type: "PostPaid",
},
projectName: "default",
maintenanceTime: "18:00Z-21:59Z",
allowListIds: ["acl-03f197e136c843b29e47de74e9xxxxx"],
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
r_dsms_sql_instance_demo = volcenginecc.rdsmssql.Instance("RDSMsSQLInstanceDemo",
node_spec="rds.mssql.3il.x8.medium.s1",
zone_id="cn-beijing-a",
subnet_id="subnet-1a0zgr5e7hslc8nvepxxxxx",
db_engine_version="SQLServer_2019_Std",
instance_type="Basic",
storage_space=20,
vpc_id="vpc-3nqt4kq87xn2893xxxxx",
instance_name="RDSMsSQLInstanceDemo",
super_account_password="********",
server_collation="Chinese_PRC_CI_AS",
time_zone="China Standard Time",
charge_info={
"charge_type": "PostPaid",
},
project_name="default",
maintenance_time="18:00Z-21:59Z",
allow_list_ids=["acl-03f197e136c843b29e47de74e9xxxxx"],
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/rdsmssql"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rdsmssql.NewInstance(ctx, "RDSMsSQLInstanceDemo", &rdsmssql.InstanceArgs{
NodeSpec: pulumi.String("rds.mssql.3il.x8.medium.s1"),
ZoneId: pulumi.String("cn-beijing-a"),
SubnetId: pulumi.String("subnet-1a0zgr5e7hslc8nvepxxxxx"),
DbEngineVersion: pulumi.String("SQLServer_2019_Std"),
InstanceType: pulumi.String("Basic"),
StorageSpace: pulumi.Int(20),
VpcId: pulumi.String("vpc-3nqt4kq87xn2893xxxxx"),
InstanceName: pulumi.String("RDSMsSQLInstanceDemo"),
SuperAccountPassword: pulumi.String("********"),
ServerCollation: pulumi.String("Chinese_PRC_CI_AS"),
TimeZone: pulumi.String("China Standard Time"),
ChargeInfo: &rdsmssql.InstanceChargeInfoArgs{
Charge_type: "PostPaid",
},
ProjectName: pulumi.String("default"),
MaintenanceTime: pulumi.String("18:00Z-21:59Z"),
AllowListIds: pulumi.StringArray{
pulumi.String("acl-03f197e136c843b29e47de74e9xxxxx"),
},
Tags: rdsmssql.InstanceTagArray{
&rdsmssql.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 rDSMsSQLInstanceDemo = new Volcenginecc.Rdsmssql.Instance("RDSMsSQLInstanceDemo", new()
{
NodeSpec = "rds.mssql.3il.x8.medium.s1",
ZoneId = "cn-beijing-a",
SubnetId = "subnet-1a0zgr5e7hslc8nvepxxxxx",
DbEngineVersion = "SQLServer_2019_Std",
InstanceType = "Basic",
StorageSpace = 20,
VpcId = "vpc-3nqt4kq87xn2893xxxxx",
InstanceName = "RDSMsSQLInstanceDemo",
SuperAccountPassword = "********",
ServerCollation = "Chinese_PRC_CI_AS",
TimeZone = "China Standard Time",
ChargeInfo = new Volcenginecc.Rdsmssql.Inputs.InstanceChargeInfoArgs
{
Charge_type = "PostPaid",
},
ProjectName = "default",
MaintenanceTime = "18:00Z-21:59Z",
AllowListIds = new[]
{
"acl-03f197e136c843b29e47de74e9xxxxx",
},
Tags = new[]
{
new Volcenginecc.Rdsmssql.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.rdsmssql.Instance;
import com.volcengine.volcenginecc.rdsmssql.InstanceArgs;
import com.pulumi.volcenginecc.rdsmssql.inputs.InstanceChargeInfoArgs;
import com.pulumi.volcenginecc.rdsmssql.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 rDSMsSQLInstanceDemo = new Instance("rDSMsSQLInstanceDemo", InstanceArgs.builder()
.nodeSpec("rds.mssql.3il.x8.medium.s1")
.zoneId("cn-beijing-a")
.subnetId("subnet-1a0zgr5e7hslc8nvepxxxxx")
.dbEngineVersion("SQLServer_2019_Std")
.instanceType("Basic")
.storageSpace(20)
.vpcId("vpc-3nqt4kq87xn2893xxxxx")
.instanceName("RDSMsSQLInstanceDemo")
.superAccountPassword("********")
.serverCollation("Chinese_PRC_CI_AS")
.timeZone("China Standard Time")
.chargeInfo(InstanceChargeInfoArgs.builder()
.charge_type("PostPaid")
.build())
.projectName("default")
.maintenanceTime("18:00Z-21:59Z")
.allowListIds("acl-03f197e136c843b29e47de74e9xxxxx")
.tags(InstanceTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
rDSMsSQLInstanceDemo:
type: volcenginecc:rdsmssql:Instance
name: RDSMsSQLInstanceDemo
properties:
nodeSpec: rds.mssql.3il.x8.medium.s1
zoneId: cn-beijing-a
subnetId: subnet-1a0zgr5e7hslc8nvepxxxxx
dbEngineVersion: SQLServer_2019_Std
instanceType: Basic
storageSpace: 20
vpcId: vpc-3nqt4kq87xn2893xxxxx
instanceName: RDSMsSQLInstanceDemo
superAccountPassword: '********'
serverCollation: Chinese_PRC_CI_AS
timeZone: China Standard Time
chargeInfo:
charge_type: PostPaid
projectName: default
maintenanceTime: 18:00Z-21:59Z
allowListIds:
- acl-03f197e136c843b29e47de74e9xxxxx
tags:
- key: env
value: test
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_rdsmssql_instance" "RDSMsSQLInstanceDemo" {
node_spec = "rds.mssql.3il.x8.medium.s1"
zone_id = "cn-beijing-a"
subnet_id = "subnet-1a0zgr5e7hslc8nvepxxxxx"
db_engine_version = "SQLServer_2019_Std"
instance_type = "Basic"
storage_space = 20
vpc_id = "vpc-3nqt4kq87xn2893xxxxx"
instance_name = "RDSMsSQLInstanceDemo"
super_account_password = "********"
server_collation = "Chinese_PRC_CI_AS"
time_zone = "China Standard Time"
charge_info = {
charge_type = "PostPaid"
}
project_name = "default"
maintenance_time = "18:00Z-21:59Z"
allow_list_ids = ["acl-03f197e136c843b29e47de74e9xxxxx"]
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,
node_spec: Optional[str] = None,
zone_id: Optional[str] = None,
vpc_id: Optional[str] = None,
time_zone: Optional[str] = None,
db_engine_version: Optional[str] = None,
super_account_password: Optional[str] = None,
instance_type: Optional[str] = None,
subnet_id: Optional[str] = None,
storage_space: Optional[int] = None,
project_name: Optional[str] = None,
advanced_features: Optional[str] = None,
server_collation: Optional[str] = None,
master_node_id: Optional[str] = None,
maintenance_time: Optional[str] = None,
instance_name: Optional[str] = None,
tags: Optional[Sequence[InstanceTagArgs]] = None,
tde_config: Optional[InstanceTdeConfigArgs] = None,
cross_backup_policy: Optional[InstanceCrossBackupPolicyArgs] = None,
charge_info: Optional[InstanceChargeInfoArgs] = None,
allow_list_ids: Optional[Sequence[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: volcenginecc:rdsmssql:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_rdsmssql_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 exampleinstanceResourceResourceFromRdsmssqlinstance = new Volcenginecc.Rdsmssql.Instance("exampleinstanceResourceResourceFromRdsmssqlinstance", new()
{
NodeSpec = "string",
ZoneId = "string",
VpcId = "string",
TimeZone = "string",
DbEngineVersion = "string",
SuperAccountPassword = "string",
InstanceType = "string",
SubnetId = "string",
StorageSpace = 0,
ProjectName = "string",
AdvancedFeatures = "string",
ServerCollation = "string",
MasterNodeId = "string",
MaintenanceTime = "string",
InstanceName = "string",
Tags = new[]
{
new Volcenginecc.Rdsmssql.Inputs.InstanceTagArgs
{
Key = "string",
Value = "string",
},
},
TdeConfig = new Volcenginecc.Rdsmssql.Inputs.InstanceTdeConfigArgs
{
Certificate = "string",
DbStatuses = new[]
{
new Volcenginecc.Rdsmssql.Inputs.InstanceTdeConfigDbStatusArgs
{
DbName = "string",
Enable = false,
},
},
Password = "string",
PrivateKey = "string",
TdeMode = "string",
TdeStatus = "string",
},
CrossBackupPolicy = new Volcenginecc.Rdsmssql.Inputs.InstanceCrossBackupPolicyArgs
{
BackupEnabled = false,
CrossBackupRegion = "string",
Retention = 0,
},
ChargeInfo = new Volcenginecc.Rdsmssql.Inputs.InstanceChargeInfoArgs
{
AutoRenew = false,
ChargeEndTime = "string",
ChargeStartTime = "string",
ChargeStatus = "string",
ChargeType = "string",
OverdueReclaimTime = "string",
OverdueTime = "string",
Period = 0,
PeriodUnit = "string",
},
AllowListIds = new[]
{
"string",
},
});
example, err := rdsmssql.NewInstance(ctx, "exampleinstanceResourceResourceFromRdsmssqlinstance", &rdsmssql.InstanceArgs{
NodeSpec: pulumi.String("string"),
ZoneId: pulumi.String("string"),
VpcId: pulumi.String("string"),
TimeZone: pulumi.String("string"),
DbEngineVersion: pulumi.String("string"),
SuperAccountPassword: pulumi.String("string"),
InstanceType: pulumi.String("string"),
SubnetId: pulumi.String("string"),
StorageSpace: pulumi.Int(0),
ProjectName: pulumi.String("string"),
AdvancedFeatures: pulumi.String("string"),
ServerCollation: pulumi.String("string"),
MasterNodeId: pulumi.String("string"),
MaintenanceTime: pulumi.String("string"),
InstanceName: pulumi.String("string"),
Tags: rdsmssql.InstanceTagArray{
&rdsmssql.InstanceTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TdeConfig: &rdsmssql.InstanceTdeConfigArgs{
Certificate: pulumi.String("string"),
DbStatuses: rdsmssql.InstanceTdeConfigDbStatusArray{
&rdsmssql.InstanceTdeConfigDbStatusArgs{
DbName: pulumi.String("string"),
Enable: pulumi.Bool(false),
},
},
Password: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
TdeMode: pulumi.String("string"),
TdeStatus: pulumi.String("string"),
},
CrossBackupPolicy: &rdsmssql.InstanceCrossBackupPolicyArgs{
BackupEnabled: pulumi.Bool(false),
CrossBackupRegion: pulumi.String("string"),
Retention: pulumi.Int(0),
},
ChargeInfo: &rdsmssql.InstanceChargeInfoArgs{
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"),
},
AllowListIds: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "volcenginecc_rdsmssql_instance" "exampleinstanceResourceResourceFromRdsmssqlinstance" {
lifecycle {
create_before_destroy = true
}
node_spec = "string"
zone_id = "string"
vpc_id = "string"
time_zone = "string"
db_engine_version = "string"
super_account_password = "string"
instance_type = "string"
subnet_id = "string"
storage_space = 0
project_name = "string"
advanced_features = "string"
server_collation = "string"
master_node_id = "string"
maintenance_time = "string"
instance_name = "string"
tags {
key = "string"
value = "string"
}
tde_config = {
certificate = "string"
db_statuses = [{
db_name = "string"
enable = false
}]
password = "string"
private_key = "string"
tde_mode = "string"
tde_status = "string"
}
cross_backup_policy = {
backup_enabled = false
cross_backup_region = "string"
retention = 0
}
charge_info = {
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"
}
allow_list_ids = ["string"]
}
var exampleinstanceResourceResourceFromRdsmssqlinstance = new com.volcengine.volcenginecc.rdsmssql.Instance("exampleinstanceResourceResourceFromRdsmssqlinstance", com.volcengine.volcenginecc.rdsmssql.InstanceArgs.builder()
.nodeSpec("string")
.zoneId("string")
.vpcId("string")
.timeZone("string")
.dbEngineVersion("string")
.superAccountPassword("string")
.instanceType("string")
.subnetId("string")
.storageSpace(0)
.projectName("string")
.advancedFeatures("string")
.serverCollation("string")
.masterNodeId("string")
.maintenanceTime("string")
.instanceName("string")
.tags(com.pulumi.volcenginecc.rdsmssql.inputs.InstanceTagArgs.builder()
.key("string")
.value("string")
.build())
.tdeConfig(InstanceTdeConfigArgs.builder()
.certificate("string")
.dbStatuses(InstanceTdeConfigDbStatusArgs.builder()
.dbName("string")
.enable(false)
.build())
.password("string")
.privateKey("string")
.tdeMode("string")
.tdeStatus("string")
.build())
.crossBackupPolicy(InstanceCrossBackupPolicyArgs.builder()
.backupEnabled(false)
.crossBackupRegion("string")
.retention(0)
.build())
.chargeInfo(com.pulumi.volcenginecc.rdsmssql.inputs.InstanceChargeInfoArgs.builder()
.autoRenew(false)
.chargeEndTime("string")
.chargeStartTime("string")
.chargeStatus("string")
.chargeType("string")
.overdueReclaimTime("string")
.overdueTime("string")
.period(0)
.periodUnit("string")
.build())
.allowListIds("string")
.build());
exampleinstance_resource_resource_from_rdsmssqlinstance = volcenginecc.rdsmssql.Instance("exampleinstanceResourceResourceFromRdsmssqlinstance",
node_spec="string",
zone_id="string",
vpc_id="string",
time_zone="string",
db_engine_version="string",
super_account_password="string",
instance_type="string",
subnet_id="string",
storage_space=0,
project_name="string",
advanced_features="string",
server_collation="string",
master_node_id="string",
maintenance_time="string",
instance_name="string",
tags=[{
"key": "string",
"value": "string",
}],
tde_config={
"certificate": "string",
"db_statuses": [{
"db_name": "string",
"enable": False,
}],
"password": "string",
"private_key": "string",
"tde_mode": "string",
"tde_status": "string",
},
cross_backup_policy={
"backup_enabled": False,
"cross_backup_region": "string",
"retention": 0,
},
charge_info={
"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",
},
allow_list_ids=["string"])
const exampleinstanceResourceResourceFromRdsmssqlinstance = new volcenginecc.rdsmssql.Instance("exampleinstanceResourceResourceFromRdsmssqlinstance", {
nodeSpec: "string",
zoneId: "string",
vpcId: "string",
timeZone: "string",
dbEngineVersion: "string",
superAccountPassword: "string",
instanceType: "string",
subnetId: "string",
storageSpace: 0,
projectName: "string",
advancedFeatures: "string",
serverCollation: "string",
masterNodeId: "string",
maintenanceTime: "string",
instanceName: "string",
tags: [{
key: "string",
value: "string",
}],
tdeConfig: {
certificate: "string",
dbStatuses: [{
dbName: "string",
enable: false,
}],
password: "string",
privateKey: "string",
tdeMode: "string",
tdeStatus: "string",
},
crossBackupPolicy: {
backupEnabled: false,
crossBackupRegion: "string",
retention: 0,
},
chargeInfo: {
autoRenew: false,
chargeEndTime: "string",
chargeStartTime: "string",
chargeStatus: "string",
chargeType: "string",
overdueReclaimTime: "string",
overdueTime: "string",
period: 0,
periodUnit: "string",
},
allowListIds: ["string"],
});
type: volcenginecc:rdsmssql:Instance
properties:
advancedFeatures: string
allowListIds:
- string
chargeInfo:
autoRenew: false
chargeEndTime: string
chargeStartTime: string
chargeStatus: string
chargeType: string
overdueReclaimTime: string
overdueTime: string
period: 0
periodUnit: string
crossBackupPolicy:
backupEnabled: false
crossBackupRegion: string
retention: 0
dbEngineVersion: string
instanceName: string
instanceType: string
maintenanceTime: string
masterNodeId: string
nodeSpec: string
projectName: string
serverCollation: string
storageSpace: 0
subnetId: string
superAccountPassword: string
tags:
- key: string
value: string
tdeConfig:
certificate: string
dbStatuses:
- dbName: string
enable: false
password: string
privateKey: string
tdeMode: string
tdeStatus: string
timeZone: string
vpcId: string
zoneId: 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 - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- Instance
Type string - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- Node
Spec string - Instance specification code.
- Storage
Space int - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- Subnet
Id string - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- Super
Account stringPassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
- Time
Zone string - Time zone.
- Vpc
Id string - VPC ID
- Zone
Id string - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- Advanced
Features string - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- Allow
List List<string>Ids - Allowlist ID list permitted for access.
- Charge
Info Volcengine.Instance Charge Info - Payment method.
- Cross
Backup Volcengine.Policy Instance Cross Backup Policy - Cross-region backup policy.
- 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.
- Maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- Master
Node stringId - Primary node ID. This parameter is required when manually switching master and standby nodes.
- Project
Name string - Project.
- Server
Collation string - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
-
List<Volcengine.
Instance Tag> - Tag 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.
- Tde
Config Volcengine.Instance Tde Config - Instance TDE configuration.
- Db
Engine stringVersion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- Instance
Type string - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- Node
Spec string - Instance specification code.
- Storage
Space int - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- Subnet
Id string - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- Super
Account stringPassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
- Time
Zone string - Time zone.
- Vpc
Id string - VPC ID
- Zone
Id string - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- Advanced
Features string - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- Allow
List []stringIds - Allowlist ID list permitted for access.
- Charge
Info InstanceCharge Info Args - Payment method.
- Cross
Backup InstancePolicy Cross Backup Policy Args - Cross-region backup policy.
- 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.
- Maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- Master
Node stringId - Primary node ID. This parameter is required when manually switching master and standby nodes.
- Project
Name string - Project.
- Server
Collation string - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
-
[]Instance
Tag Args - Tag 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.
- Tde
Config InstanceTde Config Args - Instance TDE configuration.
- db_
engine_ stringversion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- instance_
type string - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- node_
spec string - Instance specification code.
- storage_
space number - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- subnet_
id string - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- super_
account_ stringpassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
- time_
zone string - Time zone.
- vpc_
id string - VPC ID
- zone_
id string - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- advanced_
features string - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- allow_
list_ list(string)ids - Allowlist ID list permitted for access.
- charge_
info object - Payment method.
- cross_
backup_ objectpolicy - Cross-region backup policy.
- 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.
- maintenance_
time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- master_
node_ stringid - Primary node ID. This parameter is required when manually switching master and standby nodes.
- project_
name string - Project.
- server_
collation string - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
- list(object)
- Tag 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.
- tde_
config object - Instance TDE configuration.
- db
Engine StringVersion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- instance
Type String - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- node
Spec String - Instance specification code.
- storage
Space Integer - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- subnet
Id String - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- super
Account StringPassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
- time
Zone String - Time zone.
- vpc
Id String - VPC ID
- zone
Id String - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- advanced
Features String - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- allow
List List<String>Ids - Allowlist ID list permitted for access.
- charge
Info InstanceCharge Info - Payment method.
- cross
Backup InstancePolicy Cross Backup Policy - Cross-region backup policy.
- 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.
- maintenance
Time String - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- master
Node StringId - Primary node ID. This parameter is required when manually switching master and standby nodes.
- project
Name String - Project.
- server
Collation String - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
-
List<Instance
Tag> - Tag 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.
- tde
Config InstanceTde Config - Instance TDE configuration.
- db
Engine stringVersion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- instance
Type string - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- node
Spec string - Instance specification code.
- storage
Space number - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- subnet
Id string - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- super
Account stringPassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
- time
Zone string - Time zone.
- vpc
Id string - VPC ID
- zone
Id string - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- advanced
Features string - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- allow
List string[]Ids - Allowlist ID list permitted for access.
- charge
Info InstanceCharge Info - Payment method.
- cross
Backup InstancePolicy Cross Backup Policy - Cross-region backup policy.
- 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.
- maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- master
Node stringId - Primary node ID. This parameter is required when manually switching master and standby nodes.
- project
Name string - Project.
- server
Collation string - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
-
Instance
Tag[] - Tag 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.
- tde
Config InstanceTde Config - Instance TDE configuration.
- db_
engine_ strversion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- instance_
type str - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- node_
spec str - Instance specification code.
- storage_
space int - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- subnet_
id str - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- super_
account_ strpassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
- time_
zone str - Time zone.
- vpc_
id str - VPC ID
- zone_
id str - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- advanced_
features str - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- allow_
list_ Sequence[str]ids - Allowlist ID list permitted for access.
- charge_
info InstanceCharge Info Args - Payment method.
- cross_
backup_ Instancepolicy Cross Backup Policy Args - Cross-region backup policy.
- 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.
- maintenance_
time str - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- master_
node_ strid - Primary node ID. This parameter is required when manually switching master and standby nodes.
- project_
name str - Project.
- server_
collation str - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
-
Sequence[Instance
Tag Args] - Tag 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.
- tde_
config InstanceTde Config Args - Instance TDE configuration.
- db
Engine StringVersion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- instance
Type String - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- node
Spec String - Instance specification code.
- storage
Space Number - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- subnet
Id String - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- super
Account StringPassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
- time
Zone String - Time zone.
- vpc
Id String - VPC ID
- zone
Id String - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- advanced
Features String - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- allow
List List<String>Ids - Allowlist ID list permitted for access.
- charge
Info Property Map - Payment method.
- cross
Backup Property MapPolicy - Cross-region backup policy.
- 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.
- maintenance
Time String - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- master
Node StringId - Primary node ID. This parameter is required when manually switching master and standby nodes.
- project
Name String - Project.
- server
Collation String - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
- List<Property Map>
- Tag 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.
- tde
Config Property Map - Instance TDE configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Available
Cross List<string>Regions - List of cross-region backup destination regions.
- Backup
Use double - Used backup space for the instance, in GiB.
- Connection
Infos List<Volcengine.Instance Connection Info> - 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.
- Created
Time string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inner
Version string - Kernel version number.
- Instance
Category string - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- Instance
Id string - Instance ID.
- Instance
Status string - Instance status. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- Memory int
- Memory size, in GiB.
- Node
Detail List<Volcengine.Infos Instance Node Detail Info> - 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.
- Port string
- Port.
- Primary
Instance stringId - Primary instance ID. If this field is empty, this instance is the primary instance.
- Read
Only intNumber - Number of read-only instances.
- Slow
Query boolEnable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- Slow
Query stringTime - Slow log threshold. Range: [1~10], unit: seconds (s).
- Storage
Type string - Instance storage type.
- Storage
Use double - Used storage space for the instance. Unit: GiB.
- Updated
Time string - Update time.
- Vcpu int
- CPU size. For example: 1 means 1 core.
- Available
Cross []stringRegions - List of cross-region backup destination regions.
- Backup
Use float64 - Used backup space for the instance, in GiB.
- Connection
Infos []InstanceConnection Info - 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.
- Created
Time string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inner
Version string - Kernel version number.
- Instance
Category string - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- Instance
Id string - Instance ID.
- Instance
Status string - Instance status. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- Memory int
- Memory size, in GiB.
- Node
Detail []InstanceInfos Node Detail Info - 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.
- Port string
- Port.
- Primary
Instance stringId - Primary instance ID. If this field is empty, this instance is the primary instance.
- Read
Only intNumber - Number of read-only instances.
- Slow
Query boolEnable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- Slow
Query stringTime - Slow log threshold. Range: [1~10], unit: seconds (s).
- Storage
Type string - Instance storage type.
- Storage
Use float64 - Used storage space for the instance. Unit: GiB.
- Updated
Time string - Update time.
- Vcpu int
- CPU size. For example: 1 means 1 core.
- available_
cross_ list(string)regions - List of cross-region backup destination regions.
- backup_
use number - Used backup space for the instance, in GiB.
- connection_
infos list(object) - 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.
- created_
time string - Creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- inner_
version string - Kernel version number.
- instance_
category string - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- instance_
id string - Instance ID.
- instance_
status string - Instance status. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- memory number
- Memory size, in GiB.
- node_
detail_ list(object)infos - 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.
- port string
- Port.
- primary_
instance_ stringid - Primary instance ID. If this field is empty, this instance is the primary instance.
- read_
only_ numbernumber - Number of read-only instances.
- slow_
query_ boolenable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- slow_
query_ stringtime - Slow log threshold. Range: [1~10], unit: seconds (s).
- storage_
type string - Instance storage type.
- storage_
use number - Used storage space for the instance. Unit: GiB.
- updated_
time string - Update time.
- vcpu number
- CPU size. For example: 1 means 1 core.
- available
Cross List<String>Regions - List of cross-region backup destination regions.
- backup
Use Double - Used backup space for the instance, in GiB.
- connection
Infos List<InstanceConnection Info> - 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.
- created
Time String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- inner
Version String - Kernel version number.
- instance
Category String - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- instance
Id String - Instance ID.
- instance
Status String - Instance status. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- memory Integer
- Memory size, in GiB.
- node
Detail List<InstanceInfos Node Detail Info> - 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.
- port String
- Port.
- primary
Instance StringId - Primary instance ID. If this field is empty, this instance is the primary instance.
- read
Only IntegerNumber - Number of read-only instances.
- slow
Query BooleanEnable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- slow
Query StringTime - Slow log threshold. Range: [1~10], unit: seconds (s).
- storage
Type String - Instance storage type.
- storage
Use Double - Used storage space for the instance. Unit: GiB.
- updated
Time String - Update time.
- vcpu Integer
- CPU size. For example: 1 means 1 core.
- available
Cross string[]Regions - List of cross-region backup destination regions.
- backup
Use number - Used backup space for the instance, in GiB.
- connection
Infos InstanceConnection Info[] - 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.
- created
Time string - Creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- inner
Version string - Kernel version number.
- instance
Category string - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- instance
Id string - Instance ID.
- instance
Status string - Instance status. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- memory number
- Memory size, in GiB.
- node
Detail InstanceInfos Node Detail Info[] - 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.
- port string
- Port.
- primary
Instance stringId - Primary instance ID. If this field is empty, this instance is the primary instance.
- read
Only numberNumber - Number of read-only instances.
- slow
Query booleanEnable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- slow
Query stringTime - Slow log threshold. Range: [1~10], unit: seconds (s).
- storage
Type string - Instance storage type.
- storage
Use number - Used storage space for the instance. Unit: GiB.
- updated
Time string - Update time.
- vcpu number
- CPU size. For example: 1 means 1 core.
- available_
cross_ Sequence[str]regions - List of cross-region backup destination regions.
- backup_
use float - Used backup space for the instance, in GiB.
- connection_
infos Sequence[InstanceConnection Info] - 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.
- created_
time str - Creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- inner_
version str - Kernel version number.
- instance_
category str - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- instance_
id str - Instance ID.
- instance_
status str - Instance status. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- memory int
- Memory size, in GiB.
- node_
detail_ Sequence[Instanceinfos Node Detail Info] - 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.
- port str
- Port.
- primary_
instance_ strid - Primary instance ID. If this field is empty, this instance is the primary instance.
- read_
only_ intnumber - Number of read-only instances.
- slow_
query_ boolenable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- slow_
query_ strtime - Slow log threshold. Range: [1~10], unit: seconds (s).
- storage_
type str - Instance storage type.
- storage_
use float - Used storage space for the instance. Unit: GiB.
- updated_
time str - Update time.
- vcpu int
- CPU size. For example: 1 means 1 core.
- available
Cross List<String>Regions - List of cross-region backup destination regions.
- backup
Use Number - Used backup space for the instance, in GiB.
- connection
Infos List<Property Map> - 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.
- created
Time String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- inner
Version String - Kernel version number.
- instance
Category String - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- instance
Id String - Instance ID.
- instance
Status String - Instance status. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- memory Number
- Memory size, in GiB.
- node
Detail List<Property Map>Infos - 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.
- port String
- Port.
- primary
Instance StringId - Primary instance ID. If this field is empty, this instance is the primary instance.
- read
Only NumberNumber - Number of read-only instances.
- slow
Query BooleanEnable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- slow
Query StringTime - Slow log threshold. Range: [1~10], unit: seconds (s).
- storage
Type String - Instance storage type.
- storage
Use Number - Used storage space for the instance. Unit: GiB.
- updated
Time String - Update time.
- vcpu Number
- CPU size. For example: 1 means 1 core.
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,
advanced_features: Optional[str] = None,
allow_list_ids: Optional[Sequence[str]] = None,
available_cross_regions: Optional[Sequence[str]] = None,
backup_use: Optional[float] = None,
charge_info: Optional[InstanceChargeInfoArgs] = None,
connection_infos: Optional[Sequence[InstanceConnectionInfoArgs]] = None,
created_time: Optional[str] = None,
cross_backup_policy: Optional[InstanceCrossBackupPolicyArgs] = None,
db_engine_version: Optional[str] = None,
inner_version: Optional[str] = None,
instance_category: Optional[str] = None,
instance_id: Optional[str] = None,
instance_name: Optional[str] = None,
instance_status: Optional[str] = None,
instance_type: Optional[str] = None,
maintenance_time: Optional[str] = None,
master_node_id: Optional[str] = None,
memory: Optional[int] = None,
node_detail_infos: Optional[Sequence[InstanceNodeDetailInfoArgs]] = None,
node_spec: Optional[str] = None,
port: Optional[str] = None,
primary_instance_id: Optional[str] = None,
project_name: Optional[str] = None,
read_only_number: Optional[int] = None,
server_collation: Optional[str] = None,
slow_query_enable: Optional[bool] = None,
slow_query_time: Optional[str] = None,
storage_space: Optional[int] = None,
storage_type: Optional[str] = None,
storage_use: Optional[float] = None,
subnet_id: Optional[str] = None,
super_account_password: Optional[str] = None,
tags: Optional[Sequence[InstanceTagArgs]] = None,
tde_config: Optional[InstanceTdeConfigArgs] = 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) -> 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:rdsmssql:Instance get: id: ${id}import {
to = volcenginecc_rdsmssql_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.
- Advanced
Features string - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- Allow
List List<string>Ids - Allowlist ID list permitted for access.
- Available
Cross List<string>Regions - List of cross-region backup destination regions.
- Backup
Use double - Used backup space for the instance, in GiB.
- Charge
Info Volcengine.Instance Charge Info - Payment method.
- Connection
Infos List<Volcengine.Instance Connection Info> - 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.
- Created
Time string - Creation time.
- Cross
Backup Volcengine.Policy Instance Cross Backup Policy - Cross-region backup policy.
- Db
Engine stringVersion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- Inner
Version string - Kernel version number.
- Instance
Category string - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- 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. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- Instance
Type string - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- Maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- Master
Node stringId - Primary node ID. This parameter is required when manually switching master and standby nodes.
- Memory int
- Memory size, in GiB.
- Node
Detail List<Volcengine.Infos Instance Node Detail Info> - 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.
- Node
Spec string - Instance specification code.
- Port string
- Port.
- Primary
Instance stringId - Primary instance ID. If this field is empty, this instance is the primary instance.
- Project
Name string - Project.
- Read
Only intNumber - Number of read-only instances.
- Server
Collation string - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
- Slow
Query boolEnable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- Slow
Query stringTime - Slow log threshold. Range: [1~10], unit: seconds (s).
- Storage
Space int - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- Storage
Type string - Instance storage type.
- Storage
Use double - Used storage space for the instance. Unit: GiB.
- Subnet
Id string - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- Super
Account stringPassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
-
List<Volcengine.
Instance Tag> - Tag 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.
- Tde
Config Volcengine.Instance Tde Config - Instance TDE configuration.
- Time
Zone string - Time zone.
- Updated
Time string - Update time.
- Vcpu int
- CPU size. For example: 1 means 1 core.
- Vpc
Id string - VPC ID
- Zone
Id string - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- Advanced
Features string - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- Allow
List []stringIds - Allowlist ID list permitted for access.
- Available
Cross []stringRegions - List of cross-region backup destination regions.
- Backup
Use float64 - Used backup space for the instance, in GiB.
- Charge
Info InstanceCharge Info Args - Payment method.
- Connection
Infos []InstanceConnection Info Args - 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.
- Created
Time string - Creation time.
- Cross
Backup InstancePolicy Cross Backup Policy Args - Cross-region backup policy.
- Db
Engine stringVersion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- Inner
Version string - Kernel version number.
- Instance
Category string - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- 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. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- Instance
Type string - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- Maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- Master
Node stringId - Primary node ID. This parameter is required when manually switching master and standby nodes.
- Memory int
- Memory size, in GiB.
- Node
Detail []InstanceInfos Node Detail Info 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.
- Node
Spec string - Instance specification code.
- Port string
- Port.
- Primary
Instance stringId - Primary instance ID. If this field is empty, this instance is the primary instance.
- Project
Name string - Project.
- Read
Only intNumber - Number of read-only instances.
- Server
Collation string - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
- Slow
Query boolEnable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- Slow
Query stringTime - Slow log threshold. Range: [1~10], unit: seconds (s).
- Storage
Space int - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- Storage
Type string - Instance storage type.
- Storage
Use float64 - Used storage space for the instance. Unit: GiB.
- Subnet
Id string - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- Super
Account stringPassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
-
[]Instance
Tag Args - Tag 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.
- Tde
Config InstanceTde Config Args - Instance TDE configuration.
- Time
Zone string - Time zone.
- Updated
Time string - Update time.
- Vcpu int
- CPU size. For example: 1 means 1 core.
- Vpc
Id string - VPC ID
- Zone
Id string - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- advanced_
features string - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- allow_
list_ list(string)ids - Allowlist ID list permitted for access.
- available_
cross_ list(string)regions - List of cross-region backup destination regions.
- backup_
use number - Used backup space for the instance, in GiB.
- charge_
info object - Payment method.
- connection_
infos list(object) - 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.
- created_
time string - Creation time.
- cross_
backup_ objectpolicy - Cross-region backup policy.
- db_
engine_ stringversion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- inner_
version string - Kernel version number.
- instance_
category string - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- 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. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- instance_
type string - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- maintenance_
time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- master_
node_ stringid - Primary node ID. This parameter is required when manually switching master and standby nodes.
- memory number
- Memory size, in GiB.
- node_
detail_ list(object)infos - 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.
- node_
spec string - Instance specification code.
- port string
- Port.
- primary_
instance_ stringid - Primary instance ID. If this field is empty, this instance is the primary instance.
- project_
name string - Project.
- read_
only_ numbernumber - Number of read-only instances.
- server_
collation string - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
- slow_
query_ boolenable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- slow_
query_ stringtime - Slow log threshold. Range: [1~10], unit: seconds (s).
- storage_
space number - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- storage_
type string - Instance storage type.
- storage_
use number - Used storage space for the instance. Unit: GiB.
- subnet_
id string - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- super_
account_ stringpassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
- list(object)
- Tag 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.
- tde_
config object - Instance TDE configuration.
- time_
zone string - Time zone.
- updated_
time string - Update time.
- vcpu number
- CPU size. For example: 1 means 1 core.
- vpc_
id string - VPC ID
- zone_
id string - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- advanced
Features String - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- allow
List List<String>Ids - Allowlist ID list permitted for access.
- available
Cross List<String>Regions - List of cross-region backup destination regions.
- backup
Use Double - Used backup space for the instance, in GiB.
- charge
Info InstanceCharge Info - Payment method.
- connection
Infos List<InstanceConnection Info> - 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.
- created
Time String - Creation time.
- cross
Backup InstancePolicy Cross Backup Policy - Cross-region backup policy.
- db
Engine StringVersion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- inner
Version String - Kernel version number.
- instance
Category String - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- 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. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- instance
Type String - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- maintenance
Time String - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- master
Node StringId - Primary node ID. This parameter is required when manually switching master and standby nodes.
- memory Integer
- Memory size, in GiB.
- node
Detail List<InstanceInfos Node Detail Info> - 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.
- node
Spec String - Instance specification code.
- port String
- Port.
- primary
Instance StringId - Primary instance ID. If this field is empty, this instance is the primary instance.
- project
Name String - Project.
- read
Only IntegerNumber - Number of read-only instances.
- server
Collation String - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
- slow
Query BooleanEnable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- slow
Query StringTime - Slow log threshold. Range: [1~10], unit: seconds (s).
- storage
Space Integer - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- storage
Type String - Instance storage type.
- storage
Use Double - Used storage space for the instance. Unit: GiB.
- subnet
Id String - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- super
Account StringPassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
-
List<Instance
Tag> - Tag 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.
- tde
Config InstanceTde Config - Instance TDE configuration.
- time
Zone String - Time zone.
- updated
Time String - Update time.
- vcpu Integer
- CPU size. For example: 1 means 1 core.
- vpc
Id String - VPC ID
- zone
Id String - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- advanced
Features string - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- allow
List string[]Ids - Allowlist ID list permitted for access.
- available
Cross string[]Regions - List of cross-region backup destination regions.
- backup
Use number - Used backup space for the instance, in GiB.
- charge
Info InstanceCharge Info - Payment method.
- connection
Infos InstanceConnection Info[] - 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.
- created
Time string - Creation time.
- cross
Backup InstancePolicy Cross Backup Policy - Cross-region backup policy.
- db
Engine stringVersion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- inner
Version string - Kernel version number.
- instance
Category string - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- 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. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- instance
Type string - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- maintenance
Time string - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- master
Node stringId - Primary node ID. This parameter is required when manually switching master and standby nodes.
- memory number
- Memory size, in GiB.
- node
Detail InstanceInfos Node Detail Info[] - 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.
- node
Spec string - Instance specification code.
- port string
- Port.
- primary
Instance stringId - Primary instance ID. If this field is empty, this instance is the primary instance.
- project
Name string - Project.
- read
Only numberNumber - Number of read-only instances.
- server
Collation string - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
- slow
Query booleanEnable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- slow
Query stringTime - Slow log threshold. Range: [1~10], unit: seconds (s).
- storage
Space number - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- storage
Type string - Instance storage type.
- storage
Use number - Used storage space for the instance. Unit: GiB.
- subnet
Id string - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- super
Account stringPassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
-
Instance
Tag[] - Tag 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.
- tde
Config InstanceTde Config - Instance TDE configuration.
- time
Zone string - Time zone.
- updated
Time string - Update time.
- vcpu number
- CPU size. For example: 1 means 1 core.
- vpc
Id string - VPC ID
- zone
Id string - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- advanced_
features str - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- allow_
list_ Sequence[str]ids - Allowlist ID list permitted for access.
- available_
cross_ Sequence[str]regions - List of cross-region backup destination regions.
- backup_
use float - Used backup space for the instance, in GiB.
- charge_
info InstanceCharge Info Args - Payment method.
- connection_
infos Sequence[InstanceConnection Info Args] - 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.
- created_
time str - Creation time.
- cross_
backup_ Instancepolicy Cross Backup Policy Args - Cross-region backup policy.
- db_
engine_ strversion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- inner_
version str - Kernel version number.
- instance_
category str - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- 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. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- instance_
type str - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- maintenance_
time str - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- master_
node_ strid - Primary node ID. This parameter is required when manually switching master and standby nodes.
- memory int
- Memory size, in GiB.
- node_
detail_ Sequence[Instanceinfos Node Detail Info 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.
- node_
spec str - Instance specification code.
- port str
- Port.
- primary_
instance_ strid - Primary instance ID. If this field is empty, this instance is the primary instance.
- project_
name str - Project.
- read_
only_ intnumber - Number of read-only instances.
- server_
collation str - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
- slow_
query_ boolenable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- slow_
query_ strtime - Slow log threshold. Range: [1~10], unit: seconds (s).
- storage_
space int - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- storage_
type str - Instance storage type.
- storage_
use float - Used storage space for the instance. Unit: GiB.
- subnet_
id str - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- super_
account_ strpassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
-
Sequence[Instance
Tag Args] - Tag 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.
- tde_
config InstanceTde Config Args - Instance TDE configuration.
- time_
zone str - Time zone.
- updated_
time str - Update time.
- vcpu int
- CPU size. For example: 1 means 1 core.
- vpc_
id str - VPC ID
- zone_
id str - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
- advanced
Features String - Advanced instance features to modify. This API currently requires allowlisting. To use it, contact technical support. Example value: {"Key":"Value"}
- allow
List List<String>Ids - Allowlist ID list permitted for access.
- available
Cross List<String>Regions - List of cross-region backup destination regions.
- backup
Use Number - Used backup space for the instance, in GiB.
- charge
Info Property Map - Payment method.
- connection
Infos List<Property Map> - 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.
- created
Time String - Creation time.
- cross
Backup Property MapPolicy - Cross-region backup policy.
- db
Engine StringVersion - Compatible version. Values: SQLServer2019Std: SQL Server 2019 Standard Edition. SQLServer2019Ent: SQL Server 2019 Enterprise Edition. SQLServer2019Web: SQL Server 2019 Web Edition. SQLServer2022Std: SQL Server 2022 Standard Edition. SQLServer2022Ent: SQL Server 2022 Enterprise Edition. SQLServer2022Web: SQL Server 2022 Web Edition.
- inner
Version String - Kernel version number.
- instance
Category String - Instance category. Values: Primary: primary instance. ReadOnly: read-only instance.
- 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. Values: Running: running. Creating: creating. CreateFailed: creation failed. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: primary node switching. Error: error.
- instance
Type String - Instance type. Available values: HA (High Availability), Basic, Cluster. Supported types vary by engine version: 2019 Std supports HA/Basic; 2019 Ent supports Cluster/Basic; 2019 Web supports Basic.
- maintenance
Time String - Instance maintenance window. Format: HH:mmZ-HH:mmZ (UTC time). Default: UTC18:00Z-21:59Z (Beijing time 02:00-05:59). Note: To ensure cloud database stability, the system performs maintenance on instances periodically. It is recommended to set the maintenance window during off-peak hours to avoid business impact. During the maintenance window, the instance may experience 1–2 brief disconnections. Ensure your application supports automatic reconnection. The minimum maintenance window is 1 hour, the maximum is 24 hours, and cross-day maintenance windows are not allowed.
- master
Node StringId - Primary node ID. This parameter is required when manually switching master and standby nodes.
- memory Number
- Memory size, in GiB.
- node
Detail List<Property Map>Infos - 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.
- node
Spec String - Instance specification code.
- port String
- Port.
- primary
Instance StringId - Primary instance ID. If this field is empty, this instance is the primary instance.
- project
Name String - Project.
- read
Only NumberNumber - Number of read-only instances.
- server
Collation String - Instance collation. Default: ChinesePRCCIAS. Most native collations are supported. Available values: Latin1GeneralCIAS, Latin1GeneralCSAS, SQLLatin1GeneralCP1CIAS, SQLLatin1GeneralCP1CSAS, ChinesePRCCIAS, ChinesePRCCSAS, ChinesePRCBIN, JapaneseCIAS, JapaneseCSAS, ChineseTaiwanStrokeCIAS, ChineseTaiwanStrokeCSAS, ThaiCIAS, ChinesePRCCIAI, ChinesePRCBIN2, CyrillicGeneralCI_AS.
- slow
Query BooleanEnable - Indicates whether slow logs are enabled. Available values: true: slow logs enabled. false: slow logs disabled.
- slow
Query StringTime - Slow log threshold. Range: [1~10], unit: seconds (s).
- storage
Space Number - Storage size, in GiB. Range: 20 GiB ~ 4000 GiB, increment: 10 GiB.
- storage
Type String - Instance storage type.
- storage
Use Number - Used storage space for the instance. Unit: GiB.
- subnet
Id String - Subnet ID. If the primary and standby nodes are in different availability zones, their subnets must be set to the corresponding private network subnets for each zone. Use a semicolon (;) to separate multiple zones.
- super
Account StringPassword - Password for the high-privilege account. Password rules: 8–32 characters; must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=.
- List<Property Map>
- Tag 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.
- tde
Config Property Map - Instance TDE configuration.
- time
Zone String - Time zone.
- updated
Time String - Update time.
- vcpu Number
- CPU size. For example: 1 means 1 core.
- vpc
Id String - VPC ID
- zone
Id String - Availability zone of the node. If the primary and standby nodes are in different availability zones, use a semicolon (;) to separate them. The first is the primary node's zone by default, the second is the standby node's zone.
Supporting Types
InstanceChargeInfo, InstanceChargeInfoArgs
- Auto
Renew bool - Auto-renewal for prepaid scenarios. true: auto-renew (default). false: do not auto-renew.
- Charge
End stringTime - Billing expiration time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Charge
Start stringTime - Billing start time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Charge
Status string - Payment status. Possible values: Normal: instance is normal. Overdue: instance is overdue. Unpaid: instance is awaiting payment.
- Charge
Type string - Billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription.
- Overdue
Reclaim stringTime - Estimated release time when service is suspended due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Overdue
Time string - Shutdown time due to overdue payment, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Period int
- Purchase duration for prepaid scenarios. Default: 1 month.
- Period
Unit string - Purchase cycle for prepaid scenarios. Month: monthly subscription (default). Year: annual subscription.
- Auto
Renew bool - Auto-renewal for prepaid scenarios. true: auto-renew (default). false: do not auto-renew.
- Charge
End stringTime - Billing expiration time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Charge
Start stringTime - Billing start time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Charge
Status string - Payment status. Possible values: Normal: instance is normal. Overdue: instance is overdue. Unpaid: instance is awaiting payment.
- Charge
Type string - Billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription.
- Overdue
Reclaim stringTime - Estimated release time when service is suspended due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Overdue
Time string - Shutdown time due to overdue payment, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Period int
- Purchase duration for prepaid scenarios. Default: 1 month.
- Period
Unit string - Purchase cycle for prepaid scenarios. Month: monthly subscription (default). Year: annual subscription.
- auto_
renew bool - Auto-renewal for prepaid scenarios. true: auto-renew (default). false: do not auto-renew.
- charge_
end_ stringtime - Billing expiration time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge_
start_ stringtime - Billing start time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge_
status string - Payment status. Possible values: Normal: instance is normal. Overdue: instance is overdue. Unpaid: instance is awaiting payment.
- charge_
type string - Billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription.
- overdue_
reclaim_ stringtime - Estimated release time when service is suspended due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- overdue_
time string - Shutdown time due to overdue payment, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- period number
- Purchase duration for prepaid scenarios. Default: 1 month.
- period_
unit string - Purchase cycle for prepaid scenarios. Month: monthly subscription (default). Year: annual subscription.
- auto
Renew Boolean - Auto-renewal for prepaid scenarios. true: auto-renew (default). false: do not auto-renew.
- charge
End StringTime - Billing expiration time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge
Start StringTime - Billing start time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge
Status String - Payment status. Possible values: Normal: instance is normal. Overdue: instance is overdue. Unpaid: instance is awaiting payment.
- charge
Type String - Billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription.
- overdue
Reclaim StringTime - Estimated release time when service is suspended due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- overdue
Time String - Shutdown time due to overdue payment, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- period Integer
- Purchase duration for prepaid scenarios. Default: 1 month.
- period
Unit String - Purchase cycle for prepaid scenarios. Month: monthly subscription (default). Year: annual subscription.
- auto
Renew boolean - Auto-renewal for prepaid scenarios. true: auto-renew (default). false: do not auto-renew.
- charge
End stringTime - Billing expiration time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge
Start stringTime - Billing start time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge
Status string - Payment status. Possible values: Normal: instance is normal. Overdue: instance is overdue. Unpaid: instance is awaiting payment.
- charge
Type string - Billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription.
- overdue
Reclaim stringTime - Estimated release time when service is suspended due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- overdue
Time string - Shutdown time due to overdue payment, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- period number
- Purchase duration for prepaid scenarios. Default: 1 month.
- period
Unit string - Purchase cycle for prepaid scenarios. Month: monthly subscription (default). Year: annual subscription.
- auto_
renew bool - Auto-renewal for prepaid scenarios. true: auto-renew (default). false: do not auto-renew.
- charge_
end_ strtime - Billing expiration time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge_
start_ strtime - Billing start time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge_
status str - Payment status. Possible values: Normal: instance is normal. Overdue: instance is overdue. Unpaid: instance is awaiting payment.
- charge_
type str - Billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription.
- overdue_
reclaim_ strtime - Estimated release time when service is suspended due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- overdue_
time str - Shutdown time due to overdue payment, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- period int
- Purchase duration for prepaid scenarios. Default: 1 month.
- period_
unit str - Purchase cycle for prepaid scenarios. Month: monthly subscription (default). Year: annual subscription.
- auto
Renew Boolean - Auto-renewal for prepaid scenarios. true: auto-renew (default). false: do not auto-renew.
- charge
End StringTime - Billing expiration time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge
Start StringTime - Billing start time, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- charge
Status String - Payment status. Possible values: Normal: instance is normal. Overdue: instance is overdue. Unpaid: instance is awaiting payment.
- charge
Type String - Billing type. Values: PostPaid: pay-as-you-go. PrePaid: annual/monthly subscription.
- overdue
Reclaim StringTime - Estimated release time when service is suspended due to overdue payment. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
- overdue
Time String - Shutdown time due to overdue payment, in the format yyyy-MM-ddTHH:mm:ssZ (UTC time).
- period Number
- Purchase duration for prepaid scenarios. Default: 1 month.
- period
Unit String - Purchase cycle for prepaid scenarios. Month: monthly subscription (default). Year: annual subscription.
InstanceConnectionInfo, InstanceConnectionInfoArgs
- Addresses
List<Volcengine.
Instance Connection Info 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.
- Description string
- Description.
- Endpoint
Id string - Terminal ID.
- Endpoint
Name string - Terminal name.
- Endpoint
Type string - Terminal type. Possible values: Primary: primary node terminal. ROCluster: read-only cluster terminal. RO: read-only node terminal.
- Addresses
[]Instance
Connection Info 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.
- Description string
- Description.
- Endpoint
Id string - Terminal ID.
- Endpoint
Name string - Terminal name.
- Endpoint
Type string - Terminal type. Possible values: Primary: primary node terminal. ROCluster: read-only cluster terminal. RO: read-only node terminal.
- 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.
- description string
- Description.
- endpoint_
id string - Terminal ID.
- endpoint_
name string - Terminal name.
- endpoint_
type string - Terminal type. Possible values: Primary: primary node terminal. ROCluster: read-only cluster terminal. RO: read-only node terminal.
- addresses
List<Instance
Connection Info 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.
- description String
- Description.
- endpoint
Id String - Terminal ID.
- endpoint
Name String - Terminal name.
- endpoint
Type String - Terminal type. Possible values: Primary: primary node terminal. ROCluster: read-only cluster terminal. RO: read-only node terminal.
- addresses
Instance
Connection Info 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.
- description string
- Description.
- endpoint
Id string - Terminal ID.
- endpoint
Name string - Terminal name.
- endpoint
Type string - Terminal type. Possible values: Primary: primary node terminal. ROCluster: read-only cluster terminal. RO: read-only node terminal.
- addresses
Sequence[Instance
Connection Info 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.
- description str
- Description.
- endpoint_
id str - Terminal ID.
- endpoint_
name str - Terminal name.
- endpoint_
type str - Terminal type. Possible values: Primary: primary node terminal. ROCluster: read-only cluster terminal. RO: read-only node terminal.
- 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.
- description String
- Description.
- endpoint
Id String - Terminal ID.
- endpoint
Name String - Terminal name.
- endpoint
Type String - Terminal type. Possible values: Primary: primary node terminal. ROCluster: read-only cluster terminal. RO: read-only node terminal.
InstanceConnectionInfoAddress, InstanceConnectionInfoAddressArgs
- Dns
Visibility bool - Indicates whether private network to public network resolution is enabled. Available values: true: enabled. false: disabled.
- Domain string
- Domain name.
- Eip
Id string - EIP ID, valid only for public addresses.
- Ip
Address string - IP address.
- Network
Type string - Network address type. Possible values: Private: private network type. Public: public network type.
- Port string
- Port.
- Subnet
Id string - Subnet ID, valid only for private network addresses.
- Dns
Visibility bool - Indicates whether private network to public network resolution is enabled. Available values: true: enabled. false: disabled.
- Domain string
- Domain name.
- Eip
Id string - EIP ID, valid only for public addresses.
- Ip
Address string - IP address.
- Network
Type string - Network address type. Possible values: Private: private network type. Public: public network type.
- Port string
- Port.
- Subnet
Id string - Subnet ID, valid only for private network addresses.
- dns_
visibility bool - Indicates whether private network to public network resolution is enabled. Available values: true: enabled. false: disabled.
- domain string
- Domain name.
- eip_
id string - EIP ID, valid only for public addresses.
- ip_
address string - IP address.
- network_
type string - Network address type. Possible values: Private: private network type. Public: public network type.
- port string
- Port.
- subnet_
id string - Subnet ID, valid only for private network addresses.
- dns
Visibility Boolean - Indicates whether private network to public network resolution is enabled. Available values: true: enabled. false: disabled.
- domain String
- Domain name.
- eip
Id String - EIP ID, valid only for public addresses.
- ip
Address String - IP address.
- network
Type String - Network address type. Possible values: Private: private network type. Public: public network type.
- port String
- Port.
- subnet
Id String - Subnet ID, valid only for private network addresses.
- dns
Visibility boolean - Indicates whether private network to public network resolution is enabled. Available values: true: enabled. false: disabled.
- domain string
- Domain name.
- eip
Id string - EIP ID, valid only for public addresses.
- ip
Address string - IP address.
- network
Type string - Network address type. Possible values: Private: private network type. Public: public network type.
- port string
- Port.
- subnet
Id string - Subnet ID, valid only for private network addresses.
- dns_
visibility bool - Indicates whether private network to public network resolution is enabled. Available values: true: enabled. false: disabled.
- domain str
- Domain name.
- eip_
id str - EIP ID, valid only for public addresses.
- ip_
address str - IP address.
- network_
type str - Network address type. Possible values: Private: private network type. Public: public network type.
- port str
- Port.
- subnet_
id str - Subnet ID, valid only for private network addresses.
- dns
Visibility Boolean - Indicates whether private network to public network resolution is enabled. Available values: true: enabled. false: disabled.
- domain String
- Domain name.
- eip
Id String - EIP ID, valid only for public addresses.
- ip
Address String - IP address.
- network
Type String - Network address type. Possible values: Private: private network type. Public: public network type.
- port String
- Port.
- subnet
Id String - Subnet ID, valid only for private network addresses.
InstanceCrossBackupPolicy, InstanceCrossBackupPolicyArgs
- Backup
Enabled bool - Whether to enable cross-region backup. The values are as follows: true: Cross-region backup is enabled. false: Cross-region backup is disabled.
- Cross
Backup stringRegion - ID of the cross-region backup destination region. This parameter is required when BackupEnabled is set to true.
- Retention int
- Number of days to retain cross-region backups. The valid range is 7–1825 days. The default value is 7.
- Backup
Enabled bool - Whether to enable cross-region backup. The values are as follows: true: Cross-region backup is enabled. false: Cross-region backup is disabled.
- Cross
Backup stringRegion - ID of the cross-region backup destination region. This parameter is required when BackupEnabled is set to true.
- Retention int
- Number of days to retain cross-region backups. The valid range is 7–1825 days. The default value is 7.
- backup_
enabled bool - Whether to enable cross-region backup. The values are as follows: true: Cross-region backup is enabled. false: Cross-region backup is disabled.
- cross_
backup_ stringregion - ID of the cross-region backup destination region. This parameter is required when BackupEnabled is set to true.
- retention number
- Number of days to retain cross-region backups. The valid range is 7–1825 days. The default value is 7.
- backup
Enabled Boolean - Whether to enable cross-region backup. The values are as follows: true: Cross-region backup is enabled. false: Cross-region backup is disabled.
- cross
Backup StringRegion - ID of the cross-region backup destination region. This parameter is required when BackupEnabled is set to true.
- retention Integer
- Number of days to retain cross-region backups. The valid range is 7–1825 days. The default value is 7.
- backup
Enabled boolean - Whether to enable cross-region backup. The values are as follows: true: Cross-region backup is enabled. false: Cross-region backup is disabled.
- cross
Backup stringRegion - ID of the cross-region backup destination region. This parameter is required when BackupEnabled is set to true.
- retention number
- Number of days to retain cross-region backups. The valid range is 7–1825 days. The default value is 7.
- backup_
enabled bool - Whether to enable cross-region backup. The values are as follows: true: Cross-region backup is enabled. false: Cross-region backup is disabled.
- cross_
backup_ strregion - ID of the cross-region backup destination region. This parameter is required when BackupEnabled is set to true.
- retention int
- Number of days to retain cross-region backups. The valid range is 7–1825 days. The default value is 7.
- backup
Enabled Boolean - Whether to enable cross-region backup. The values are as follows: true: Cross-region backup is enabled. false: Cross-region backup is disabled.
- cross
Backup StringRegion - ID of the cross-region backup destination region. This parameter is required when BackupEnabled is set to true.
- retention Number
- Number of days to retain cross-region backups. The valid range is 7–1825 days. The default value is 7.
InstanceNodeDetailInfo, InstanceNodeDetailInfoArgs
- Create
Time string - Node creation time.
- Host
Name string - Node hostname.
- Instance
Id string - Instance ID.
- Memory int
- Memory size, in GiB.
- Node
Id string - Node ID.
- Node
Ip string - Node IP.
- Node
Spec string - Node specification.
- Node
Status string - Node status. Possible values: Running: running. Creating: creating. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: master/standby switching. Error: error.
- Node
Type string - Node type. Possible values: Primary: primary node terminal. ReadOnly: read-only node terminal. Secondary: standby node terminal.
- Region
Id string - Region ID.
- Update
Time string - Update time.
- Vcpu int
- vCPU count.
- Zone
Id string - Availability zone ID.
- Create
Time string - Node creation time.
- Host
Name string - Node hostname.
- Instance
Id string - Instance ID.
- Memory int
- Memory size, in GiB.
- Node
Id string - Node ID.
- Node
Ip string - Node IP.
- Node
Spec string - Node specification.
- Node
Status string - Node status. Possible values: Running: running. Creating: creating. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: master/standby switching. Error: error.
- Node
Type string - Node type. Possible values: Primary: primary node terminal. ReadOnly: read-only node terminal. Secondary: standby node terminal.
- Region
Id string - Region ID.
- Update
Time string - Update time.
- Vcpu int
- vCPU count.
- Zone
Id string - Availability zone ID.
- create_
time string - Node creation time.
- host_
name string - Node hostname.
- instance_
id string - Instance ID.
- memory number
- Memory size, in GiB.
- node_
id string - Node ID.
- node_
ip string - Node IP.
- node_
spec string - Node specification.
- node_
status string - Node status. Possible values: Running: running. Creating: creating. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: master/standby switching. Error: error.
- node_
type string - Node type. Possible values: Primary: primary node terminal. ReadOnly: read-only node terminal. Secondary: standby node terminal.
- region_
id string - Region ID.
- update_
time string - Update time.
- vcpu number
- vCPU count.
- zone_
id string - Availability zone ID.
- create
Time String - Node creation time.
- host
Name String - Node hostname.
- instance
Id String - Instance ID.
- memory Integer
- Memory size, in GiB.
- node
Id String - Node ID.
- node
Ip String - Node IP.
- node
Spec String - Node specification.
- node
Status String - Node status. Possible values: Running: running. Creating: creating. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: master/standby switching. Error: error.
- node
Type String - Node type. Possible values: Primary: primary node terminal. ReadOnly: read-only node terminal. Secondary: standby node terminal.
- region
Id String - Region ID.
- update
Time String - Update time.
- vcpu Integer
- vCPU count.
- zone
Id String - Availability zone ID.
- create
Time string - Node creation time.
- host
Name string - Node hostname.
- instance
Id string - Instance ID.
- memory number
- Memory size, in GiB.
- node
Id string - Node ID.
- node
Ip string - Node IP.
- node
Spec string - Node specification.
- node
Status string - Node status. Possible values: Running: running. Creating: creating. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: master/standby switching. Error: error.
- node
Type string - Node type. Possible values: Primary: primary node terminal. ReadOnly: read-only node terminal. Secondary: standby node terminal.
- region
Id string - Region ID.
- update
Time string - Update time.
- vcpu number
- vCPU count.
- zone
Id string - Availability zone ID.
- create_
time str - Node creation time.
- host_
name str - Node hostname.
- instance_
id str - Instance ID.
- memory int
- Memory size, in GiB.
- node_
id str - Node ID.
- node_
ip str - Node IP.
- node_
spec str - Node specification.
- node_
status str - Node status. Possible values: Running: running. Creating: creating. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: master/standby switching. Error: error.
- node_
type str - Node type. Possible values: Primary: primary node terminal. ReadOnly: read-only node terminal. Secondary: standby node terminal.
- region_
id str - Region ID.
- update_
time str - Update time.
- vcpu int
- vCPU count.
- zone_
id str - Availability zone ID.
- create
Time String - Node creation time.
- host
Name String - Node hostname.
- instance
Id String - Instance ID.
- memory Number
- Memory size, in GiB.
- node
Id String - Node ID.
- node
Ip String - Node IP.
- node
Spec String - Node specification.
- node
Status String - Node status. Possible values: Running: running. Creating: creating. Deleting: deleting. Restarting: restarting. Updating: updating. MasterChanging: master/standby switching. Error: error.
- node
Type String - Node type. Possible values: Primary: primary node terminal. ReadOnly: read-only node terminal. Secondary: standby node terminal.
- region
Id String - Region ID.
- update
Time String - Update time.
- vcpu Number
- vCPU count.
- zone
Id String - Availability zone ID.
InstanceTag, InstanceTagArgs
InstanceTdeConfig, InstanceTdeConfigArgs
- Certificate string
- Certificate file used for TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- Db
Statuses List<Volcengine.Instance Tde Config Db Status> - Database encryption status. 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.
- Password string
- Password for the private key of the certificate used in TDE encryption. Valid only when TDEMode is set to UserDefault. The password must be 8–32 characters long and can only contain uppercase and lowercase letters, numbers, and special characters ~!@#$%^&()-*+=?. It must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters. Note: This is only valid when the TDEMode parameter is set to User_Default.
- Private
Key string - Private key for the certificate used in TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- Tde
Mode string - Instance TDE encryption certificate generation mode. MSSQLDefault: Encryption certificate generated by SQL Server. UserDefault: Custom certificate uploaded by the user.
- Tde
Status string - Instance TDE status. Enable: The instance TDE status is enabled. Disable: The instance TDE status is disabled. Currently, only Enable is supported.
- Certificate string
- Certificate file used for TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- Db
Statuses []InstanceTde Config Db Status - Database encryption status. 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.
- Password string
- Password for the private key of the certificate used in TDE encryption. Valid only when TDEMode is set to UserDefault. The password must be 8–32 characters long and can only contain uppercase and lowercase letters, numbers, and special characters ~!@#$%^&()-*+=?. It must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters. Note: This is only valid when the TDEMode parameter is set to User_Default.
- Private
Key string - Private key for the certificate used in TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- Tde
Mode string - Instance TDE encryption certificate generation mode. MSSQLDefault: Encryption certificate generated by SQL Server. UserDefault: Custom certificate uploaded by the user.
- Tde
Status string - Instance TDE status. Enable: The instance TDE status is enabled. Disable: The instance TDE status is disabled. Currently, only Enable is supported.
- certificate string
- Certificate file used for TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- db_
statuses list(object) - Database encryption status. 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.
- password string
- Password for the private key of the certificate used in TDE encryption. Valid only when TDEMode is set to UserDefault. The password must be 8–32 characters long and can only contain uppercase and lowercase letters, numbers, and special characters ~!@#$%^&()-*+=?. It must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters. Note: This is only valid when the TDEMode parameter is set to User_Default.
- private_
key string - Private key for the certificate used in TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- tde_
mode string - Instance TDE encryption certificate generation mode. MSSQLDefault: Encryption certificate generated by SQL Server. UserDefault: Custom certificate uploaded by the user.
- tde_
status string - Instance TDE status. Enable: The instance TDE status is enabled. Disable: The instance TDE status is disabled. Currently, only Enable is supported.
- certificate String
- Certificate file used for TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- db
Statuses List<InstanceTde Config Db Status> - Database encryption status. 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.
- password String
- Password for the private key of the certificate used in TDE encryption. Valid only when TDEMode is set to UserDefault. The password must be 8–32 characters long and can only contain uppercase and lowercase letters, numbers, and special characters ~!@#$%^&()-*+=?. It must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters. Note: This is only valid when the TDEMode parameter is set to User_Default.
- private
Key String - Private key for the certificate used in TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- tde
Mode String - Instance TDE encryption certificate generation mode. MSSQLDefault: Encryption certificate generated by SQL Server. UserDefault: Custom certificate uploaded by the user.
- tde
Status String - Instance TDE status. Enable: The instance TDE status is enabled. Disable: The instance TDE status is disabled. Currently, only Enable is supported.
- certificate string
- Certificate file used for TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- db
Statuses InstanceTde Config Db Status[] - Database encryption status. 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.
- password string
- Password for the private key of the certificate used in TDE encryption. Valid only when TDEMode is set to UserDefault. The password must be 8–32 characters long and can only contain uppercase and lowercase letters, numbers, and special characters ~!@#$%^&()-*+=?. It must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters. Note: This is only valid when the TDEMode parameter is set to User_Default.
- private
Key string - Private key for the certificate used in TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- tde
Mode string - Instance TDE encryption certificate generation mode. MSSQLDefault: Encryption certificate generated by SQL Server. UserDefault: Custom certificate uploaded by the user.
- tde
Status string - Instance TDE status. Enable: The instance TDE status is enabled. Disable: The instance TDE status is disabled. Currently, only Enable is supported.
- certificate str
- Certificate file used for TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- db_
statuses Sequence[InstanceTde Config Db Status] - Database encryption status. 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.
- password str
- Password for the private key of the certificate used in TDE encryption. Valid only when TDEMode is set to UserDefault. The password must be 8–32 characters long and can only contain uppercase and lowercase letters, numbers, and special characters ~!@#$%^&()-*+=?. It must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters. Note: This is only valid when the TDEMode parameter is set to User_Default.
- private_
key str - Private key for the certificate used in TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- tde_
mode str - Instance TDE encryption certificate generation mode. MSSQLDefault: Encryption certificate generated by SQL Server. UserDefault: Custom certificate uploaded by the user.
- tde_
status str - Instance TDE status. Enable: The instance TDE status is enabled. Disable: The instance TDE status is disabled. Currently, only Enable is supported.
- certificate String
- Certificate file used for TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- db
Statuses List<Property Map> - Database encryption status. 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.
- password String
- Password for the private key of the certificate used in TDE encryption. Valid only when TDEMode is set to UserDefault. The password must be 8–32 characters long and can only contain uppercase and lowercase letters, numbers, and special characters ~!@#$%^&()-*+=?. It must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters. Note: This is only valid when the TDEMode parameter is set to User_Default.
- private
Key String - Private key for the certificate used in TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
- tde
Mode String - Instance TDE encryption certificate generation mode. MSSQLDefault: Encryption certificate generated by SQL Server. UserDefault: Custom certificate uploaded by the user.
- tde
Status String - Instance TDE status. Enable: The instance TDE status is enabled. Disable: The instance TDE status is disabled. Currently, only Enable is supported.
InstanceTdeConfigDbStatus, InstanceTdeConfigDbStatusArgs
Import
$ pulumi import volcenginecc:rdsmssql/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, Oct 15, 2026 by Volcengine