Skip to content

DBInstanceProps

Properties for defining a DBInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rds-dbinstance

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrds"
&alicloudroscdkrds.DBInstanceProps {
    DbInstanceClass: interface{},
    DbInstanceStorage: interface{},
    Engine: interface{},
    EngineVersion: interface{},
    SecurityIpList: interface{},
    AllocatePublicConnection: interface{},
    ArchiveBackupKeepCount: interface{},
    ArchiveBackupKeepPolicy: interface{},
    ArchiveBackupRetentionPeriod: interface{},
    AutoRenew: interface{},
    BackUpCategory: interface{},
    BackupPolicyMode: interface{},
    BackupRetentionPeriod: interface{},
    BurstingEnabled: interface{},
    Category: interface{},
    ColdDataEnabled: interface{},
    CompressType: interface{},
    ConnectionMode: interface{},
    ConnectionStringPrefix: interface{},
    ConnectionStringType: interface{},
    DbInstanceDescription: interface{},
    DbInstanceNetType: interface{},
    DbInstanceStorageType: interface{},
    DbIsIgnoreCase: interface{},
    DbMappings: interface{},
    DbParamGroupId: interface{},
    DbTimeZone: interface{},
    DedicatedHostGroupId: interface{},
    DeletionProtection: interface{},
    EnableBackupLog: interface{},
    EncryptionKey: interface{},
    HighSpaceUsageProtection: interface{},
    InstanceNetworkType: interface{},
    IoAccelerationEnabled: interface{},
    LocalLogRetentionHours: interface{},
    LocalLogRetentionSpace: interface{},
    LogBackupFrequency: interface{},
    LogBackupLocalRetentionNumber: interface{},
    LogBackupRetentionPeriod: interface{},
    MaintainTime: interface{},
    MasterUsername: interface{},
    MasterUserPassword: interface{},
    MasterUserType: interface{},
    MultiAz: interface{},
    PayType: interface{},
    Period: interface{},
    PeriodType: interface{},
    Port: interface{},
    PreferredBackupPeriod: interface{},
    PreferredBackupTime: interface{},
    PrivateIpAddress: interface{},
    ReleasedKeepPolicy: interface{},
    ResourceGroupId: interface{},
    RoleArn: interface{},
    SecurityGroupId: interface{},
    ServerlessConfig: interface{},
    SlaveZoneIds: interface{},
    SqlCollectorStatus: interface{},
    SslSetting: interface{},
    StorageAutoScale: interface{},
    StorageThreshold: interface{},
    StorageUpperBound: interface{},
    Tags: *map[string]interface{},
    TargetDedicatedHostIdForLog: interface{},
    TargetDedicatedHostIdForMaster: interface{},
    TargetDedicatedHostIdForSlave: interface{},
    VpcId: interface{},
    VSwitchId: interface{},
    ZoneId: interface{},
}

Properties

Name Type Description
DbInstanceClass interface{} Property dbInstanceClass: Database instance type.
DbInstanceStorage interface{} Property dbInstanceStorage: The storage capacity of the instance.
Engine interface{} Property engine: Database instance engine type.
EngineVersion interface{} Property engineVersion: Database instance version of the relative engine type.
SecurityIpList interface{} Property securityIpList: Security ip to access the database instance, combine with comma, 0.0.0.0\/0 means no limitation.
AllocatePublicConnection interface{} Property allocatePublicConnection: If true, allocate public connection automate.
ArchiveBackupKeepCount interface{} Property archiveBackupKeepCount: The number of archived backups that can be retained.
ArchiveBackupKeepPolicy interface{} Property archiveBackupKeepPolicy: The period for which to retain archived backups.
ArchiveBackupRetentionPeriod interface{} Property archiveBackupRetentionPeriod: The number of days for which to retain archived backups.
AutoRenew interface{} Property autoRenew: Specifies whether to enable auto-renewal.
BackUpCategory interface{} Property backUpCategory: Specifies whether to enable the second-level backup function.
BackupPolicyMode interface{} Property backupPolicyMode: Backup type, DataBackupPolicy: data backup LogBackupPolicy: log backup.
BackupRetentionPeriod interface{} Property backupRetentionPeriod: The retention period of the data backup.
BurstingEnabled interface{} Property burstingEnabled: Whether to enable bursting.
Category interface{} Property category: The edition of the instance.
ColdDataEnabled interface{} Property coldDataEnabled: Whether to enable cold data storage.
CompressType interface{} Property compressType: The format used to compress backups.
ConnectionMode interface{} Property connectionMode: Connection Mode for database instance,support 'Standard' and 'Safe' mode.
ConnectionStringPrefix interface{} Property connectionStringPrefix: The prefix of the endpoint.
ConnectionStringType interface{} Property connectionStringType: The endpoint type of the instance, allow values: Inner, Public.
DbInstanceDescription interface{} Property dbInstanceDescription: Description of created database instance.
DbInstanceNetType interface{} Property dbInstanceNetType: Database instance net type, default is Intranet.Internet for public access, Intranet for private access.
DbInstanceStorageType interface{} Property dbInstanceStorageType: The storage type of the instance.
DbIsIgnoreCase interface{} Property dbIsIgnoreCase: Specifies whether table names are case-sensitive.
DbMappings interface{} Property dbMappings: Database mappings to attach to db instance.
DbParamGroupId interface{} Property dbParamGroupId: The ID of the parameter template used by the instance.
DbTimeZone interface{} Property dbTimeZone: The UTC time zone of the instance.
DedicatedHostGroupId interface{} Property dedicatedHostGroupId: The ID of the host group to which the instance belongs if you create an instance in a host group.
DeletionProtection interface{} Property deletionProtection: Specifies whether to enable the release protection feature for the instance.
EnableBackupLog interface{} Property enableBackupLog: Specifies whether to enable the log backup function.
EncryptionKey interface{} Property encryptionKey: The ID of the encryption key that is used to encrypt data on SSDs in the region.
HighSpaceUsageProtection interface{} Property highSpaceUsageProtection: Specifies whether to forcibly delete log backup files when the space usage of the instance exceeds 80% or the remaining space is less than 5 GB.
InstanceNetworkType interface{} Property instanceNetworkType: Instance network type, VPC or Classic.
IoAccelerationEnabled interface{} Property ioAccelerationEnabled: Whether to enable IO Acceleration, 1 for enable 0 for disable.
LocalLogRetentionHours interface{} Property localLogRetentionHours: The number of hours for which to retain log backup files on the instance.
LocalLogRetentionSpace interface{} Property localLogRetentionSpace: The maximum percentage of space that is allowed to store log backup files on the instance.
LogBackupFrequency interface{} Property logBackupFrequency: The frequency at which to back up logs.
LogBackupLocalRetentionNumber interface{} Property logBackupLocalRetentionNumber: The number of log backup files that can be retained on the instance.
LogBackupRetentionPeriod interface{} Property logBackupRetentionPeriod: The number of days for which to retain log backup files.
MaintainTime interface{} Property maintainTime: The period during which the maintenance performs.
MasterUsername interface{} Property masterUsername: The master user name for the database instance.
MasterUserPassword interface{} Property masterUserPassword: The master password for the database instance.
MasterUserType interface{} Property masterUserType: Privilege type of account.
MultiAz interface{} Property multiAz: Specifies if the database instance is a multiple Availability Zone deployment.
PayType interface{} Property payType: The charge type of created instance.
Period interface{} Property period: The subscription duration.
PeriodType interface{} Property periodType: Charge period for created instances.
Port interface{} Property port: The port of the database service.
PreferredBackupPeriod interface{} Property preferredBackupPeriod: The backup period.
PreferredBackupTime interface{} Property preferredBackupTime: The time when the backup task is performed.
PrivateIpAddress interface{} Property privateIpAddress: The private ip for created instance.
ReleasedKeepPolicy interface{} Property releasedKeepPolicy: The policy used to retain archived backups if the instance is released.
ResourceGroupId interface{} Property resourceGroupId: Resource group id.
RoleArn interface{} Property roleArn: The Alibaba Cloud Resource Name (ARN) provided to the service account of the instance by your Alibaba Cloud account to connect to KMS.
SecurityGroupId interface{} Property securityGroupId: The ID of the ECS security groups.
ServerlessConfig interface{} Property serverlessConfig: The config of RDS serverless instance.
SlaveZoneIds interface{} Property slaveZoneIds: List of slave zone ids can specify slave zone ids when creating the high-availability or enterprise edition instance.
SqlCollectorStatus interface{} Property sqlCollectorStatus: Specifies whether to enable or disable the SQL Explorer (SQL audit) feature.
SslSetting interface{} Property sslSetting: Secure Sockets Layer (SSL) link setting of the instance.
StorageAutoScale interface{} Property storageAutoScale: Storage space automatic expansion switch, only supported by MySQL and PostgreSQL.
StorageThreshold interface{} Property storageThreshold: Storage space automatic expansion trigger threshold (percentage).
StorageUpperBound interface{} Property storageUpperBound: The total storage space upper limit for automatic storage space expansion, that is, automatic expansion will not cause the total storage space of the instance to exceed this value.
Tags *map[string]interface{} Property tags: The tags of an instance.
TargetDedicatedHostIdForLog interface{} Property targetDedicatedHostIdForLog: The ID of the host to which the instance belongs if you create a log instance in a host group.
TargetDedicatedHostIdForMaster interface{} Property targetDedicatedHostIdForMaster: The ID of the host to which the instance belongs if you create a primary instance in a host group.
TargetDedicatedHostIdForSlave interface{} Property targetDedicatedHostIdForSlave: The ID of the host to which the instance belongs if you create a secondary instance in a host group.
VpcId interface{} Property vpcId: The VPC id of created database instance.
VSwitchId interface{} Property vSwitchId: The vSwitch id of created instance.
ZoneId interface{} Property zoneId: selected zone to create database instance.

DbInstanceClassRequired

DbInstanceClass interface{}
  • Type: interface{}

Property dbInstanceClass: Database instance type.

Refer the RDS database instance type reference, such as 'rds.mys2.large', 'rds.mss1.large', 'rds.pg.s1.small' etc


DbInstanceStorageRequired

DbInstanceStorage interface{}
  • Type: interface{}

Property dbInstanceStorage: The storage capacity of the instance.

Unit: GB. The storage capacity increases in increments of 5 GB. You can call the DescribeAvailableResource operation to query the storage capacity range that is supported for a specified instance type in a region.


EngineRequired

Engine interface{}
  • Type: interface{}

Property engine: Database instance engine type.

Support MySQL/SQLServer/PostgreSQL/PPAS/MariaDB now.


EngineVersionRequired

EngineVersion interface{}
  • Type: interface{}

Property engineVersion: Database instance version of the relative engine type.

Support: Valid values when you set the Engine parameter to MySQL: 5.5, 5.6, 5.7, and 8.0 Valid values when you set the Engine parameter to SQL Server: 2008r2, 08r2_ent_ha, 2012, 2012_ent_ha, 2012_std_ha, 2012_web, 2014_std_ha, 2016_ent_ha, 2016_std_ha, 2016_web, 2017_std_ha, 2017_ent, 2019_std_ha, and 2019_ent Valid values when you set the Engine parameter to PostgreSQL: 10.0, 11.0, 12.0, 13.0, and 14.0 Valid values when you set the Engine parameter to MariaDB: 10.3


SecurityIpListRequired

SecurityIpList interface{}
  • Type: interface{}

Property securityIpList: Security ip to access the database instance, combine with comma, 0.0.0.0\/0 means no limitation.


AllocatePublicConnectionOptional

AllocatePublicConnection interface{}
  • Type: interface{}

Property allocatePublicConnection: If true, allocate public connection automate.


ArchiveBackupKeepCountOptional

ArchiveBackupKeepCount interface{}
  • Type: interface{}

Property archiveBackupKeepCount: The number of archived backups that can be retained.

Default value: 1. Valid values: The value of this parameter ranges from 1 to 31 when the ArchiveBackupKeepPolicy parameter is set to ByMonth. The value of this parameter ranges from 1 to 7 when the ArchiveBackupKeepPolicy parameter is set to ByWeek. Note You do not need to specify this parameter when the ArchiveBackupKeepPolicy parameter is set to KeepAll.


ArchiveBackupKeepPolicyOptional

ArchiveBackupKeepPolicy interface{}
  • Type: interface{}

Property archiveBackupKeepPolicy: The period for which to retain archived backups.

The number of archived backups that can be retained within the specified period is determined by the ArchiveBackupKeepCount parameter. Default value: 0. Valid values: ByMonth ByWeek KeepAll


ArchiveBackupRetentionPeriodOptional

ArchiveBackupRetentionPeriod interface{}
  • Type: interface{}

Property archiveBackupRetentionPeriod: The number of days for which to retain archived backups.

The default value 0 specifies not to enable the backup archiving function. Valid values: 30 to 1095.


AutoRenewOptional

AutoRenew interface{}
  • Type: interface{}

Property autoRenew: Specifies whether to enable auto-renewal.

Valid values: true and false. Note :Monthly subscription: The auto-renewal cycle is one month. Annual subscription: The auto-renewal cycle is one year.


BackUpCategoryOptional

BackUpCategory interface{}
  • Type: interface{}

Property backUpCategory: Specifies whether to enable the second-level backup function.

This function allows a backup to be completed within seconds. Valid values: Flash: specifies to enable the second-level backup function. Standard: specifies to disable the second-level backup function.


BackupPolicyModeOptional

BackupPolicyMode interface{}
  • Type: interface{}

Property backupPolicyMode: Backup type, DataBackupPolicy: data backup LogBackupPolicy: log backup.


BackupRetentionPeriodOptional

BackupRetentionPeriod interface{}
  • Type: interface{}

Property backupRetentionPeriod: The retention period of the data backup.

Value range: 7 to 730. The default value is the original value. Note When the BackupPolicyMode parameter is set to LogBackupPolicy, this parameter is required.


BurstingEnabledOptional

BurstingEnabled interface{}
  • Type: interface{}

Property burstingEnabled: Whether to enable bursting.


CategoryOptional

Category interface{}
  • Type: interface{}

Property category: The edition of the instance.

Valid values: Basic: RDS Basic Edition HighAvailability: RDS High-availability Edition cluster: RDS Cluster Edition AlwaysOn: RDS Cluster Edition for SQL Server Finance: RDS Enterprise Edition serverless_basic: RDS Serverless Basic Edition


ColdDataEnabledOptional

ColdDataEnabled interface{}
  • Type: interface{}

Property coldDataEnabled: Whether to enable cold data storage.


CompressTypeOptional

CompressType interface{}
  • Type: interface{}

Property compressType: The format used to compress backups.

Valid values: 1: The zlib tool is used to compress backups into .tar.gz files. 4: The QuickLZ tool is used to compress backups into .xb.gz files. This compression format is supported only when the instance runs MySQL 5.6 or 5.7. It can be used to restore individual databases and tables. 8: The QuickLZ tool is used to compress backups into .xb.gz files. This compression format is supported only when the instance runs MySQL 8.0. It cannot be used to restore individual databases or tables.


ConnectionModeOptional

ConnectionMode interface{}
  • Type: interface{}

Property connectionMode: Connection Mode for database instance,support 'Standard' and 'Safe' mode.

Default is RDS system assigns.


ConnectionStringPrefixOptional

ConnectionStringPrefix interface{}
  • Type: interface{}

Property connectionStringPrefix: The prefix of the endpoint.

Only the prefix of the CurrentConnectionString parameter value can be modified. The prefix must be 8 to 64 characters in length and can contain letters, digits, and hyphens (-).


ConnectionStringTypeOptional

ConnectionStringType interface{}
  • Type: interface{}

Property connectionStringType: The endpoint type of the instance, allow values: Inner, Public.


DbInstanceDescriptionOptional

DbInstanceDescription interface{}
  • Type: interface{}

Property dbInstanceDescription: Description of created database instance.


DbInstanceNetTypeOptional

DbInstanceNetType interface{}
  • Type: interface{}

Property dbInstanceNetType: Database instance net type, default is Intranet.Internet for public access, Intranet for private access.


DbInstanceStorageTypeOptional

DbInstanceStorageType interface{}
  • Type: interface{}

Property dbInstanceStorageType: The storage type of the instance.

Valid values: local_ssd: specifies to use local SSDs. This is the recommended storage type. cloud_ssd: specifies to use standard SSDs. cloud_essd: enhanced SSD of performance level (PL)1. cloud_essd2: enhanced SSD of PL2. cloud_essd3: enhanced SSD of PL3.


DbIsIgnoreCaseOptional

DbIsIgnoreCase interface{}
  • Type: interface{}

Property dbIsIgnoreCase: Specifies whether table names are case-sensitive.

Valid values: 1: Table names are not case-sensitive. This is the default value. 0: Table names are case-sensitive.


DbMappingsOptional

DbMappings interface{}
  • Type: interface{}

Property dbMappings: Database mappings to attach to db instance.


DbParamGroupIdOptional

DbParamGroupId interface{}
  • Type: interface{}

Property dbParamGroupId: The ID of the parameter template used by the instance.


DbTimeZoneOptional

DbTimeZone interface{}
  • Type: interface{}

Property dbTimeZone: The UTC time zone of the instance.

Valid values: -12:00 to +12:00. The time zone must be an integer value such as +08:00. Values such as +08:30 are not allowed.


DedicatedHostGroupIdOptional

DedicatedHostGroupId interface{}
  • Type: interface{}

Property dedicatedHostGroupId: The ID of the host group to which the instance belongs if you create an instance in a host group.


DeletionProtectionOptional

DeletionProtection interface{}
  • Type: interface{}

Property deletionProtection: Specifies whether to enable the release protection feature for the instance.

This feature is available only for pay-as-you-go instances. Default is false.


EnableBackupLogOptional

EnableBackupLog interface{}
  • Type: interface{}

Property enableBackupLog: Specifies whether to enable the log backup function.

Valid values: True: specifies to enable the log backup function. False: specifies to disable the log backup function. Note You must specify this parameter when the BackupPolicyMode parameter is set to LogBackupPolicy.


EncryptionKeyOptional

EncryptionKey interface{}
  • Type: interface{}

Property encryptionKey: The ID of the encryption key that is used to encrypt data on SSDs in the region.

You can view the encryption key ID in the Key Management Service (KMS) console. You can also create an encryption key.


HighSpaceUsageProtectionOptional

HighSpaceUsageProtection interface{}
  • Type: interface{}

Property highSpaceUsageProtection: Specifies whether to forcibly delete log backup files when the space usage of the instance exceeds 80% or the remaining space is less than 5 GB.

Valid values: Enable and Disable. You can retain the default value. Note You must specify this parameter when the BackupPolicyMode parameter is set to LogBackupPolicy.


InstanceNetworkTypeOptional

InstanceNetworkType interface{}
  • Type: interface{}

Property instanceNetworkType: Instance network type, VPC or Classic.


IoAccelerationEnabledOptional

IoAccelerationEnabled interface{}
  • Type: interface{}

Property ioAccelerationEnabled: Whether to enable IO Acceleration, 1 for enable 0 for disable.


LocalLogRetentionHoursOptional

LocalLogRetentionHours interface{}
  • Type: interface{}

Property localLogRetentionHours: The number of hours for which to retain log backup files on the instance.

Valid values: 0 to 168. The value 0 specifies not to retain log backup files on the instance. You can retain the default value. Note You must specify this parameter when the BackupPolicyMode parameter is set to LogBackupPolicy.


LocalLogRetentionSpaceOptional

LocalLogRetentionSpace interface{}
  • Type: interface{}

Property localLogRetentionSpace: The maximum percentage of space that is allowed to store log backup files on the instance.

If the space usage for log backup files exceeds this percentage, the system deletes earlier log backup files until the space usage falls below this percentage. Valid values:0 to 50. You can retain the default value. Note You must specify this parameter when the BackupPolicyMode parameter is set to LogBackupPolicy.


LogBackupFrequencyOptional

LogBackupFrequency interface{}
  • Type: interface{}

Property logBackupFrequency: The frequency at which to back up logs.

Valid values: The value LogInterval specifies to back up logs every 30 minutes. The default value of this parameter is the same as the data backup frequency. Note The value LogInterval is supported only when the instance runs SQL Server.


LogBackupLocalRetentionNumberOptional

LogBackupLocalRetentionNumber interface{}
  • Type: interface{}

Property logBackupLocalRetentionNumber: The number of log backup files that can be retained on the instance.

Default value: 60. Valid values: 6 to 100.


LogBackupRetentionPeriodOptional

LogBackupRetentionPeriod interface{}
  • Type: interface{}

Property logBackupRetentionPeriod: The number of days for which to retain log backup files.

Valid values: 7 to 730. The log backup retention period cannot be longer than the data backup retention period.Note If you enable the log backup function, you can specify the log backup retention period. This applies only when the instance runs MySQL, PostgreSQL, or PPAS.


MaintainTimeOptional

MaintainTime interface{}
  • Type: interface{}

Property maintainTime: The period during which the maintenance performs.

The format is HH:mmZ-HH:mmZ.


MasterUsernameOptional

MasterUsername interface{}
  • Type: interface{}

Property masterUsername: The master user name for the database instance.


MasterUserPasswordOptional

MasterUserPassword interface{}
  • Type: interface{}

Property masterUserPassword: The master password for the database instance.


MasterUserTypeOptional

MasterUserType interface{}
  • Type: interface{}

Property masterUserType: Privilege type of account.

Normal: Common privilege. Super: High privilege. Sysadmin: Super privileges (SA) (only supported by SQL Server) The default value is Normal.


MultiAzOptional

MultiAz interface{}
  • Type: interface{}

Property multiAz: Specifies if the database instance is a multiple Availability Zone deployment.


PayTypeOptional

PayType interface{}
  • Type: interface{}

Property payType: The charge type of created instance.


PeriodOptional

Period interface{}
  • Type: interface{}

Property period: The subscription duration.

Valid values: When PeriodType is Month, it could be from 1 to 12, 24, 36, 48, 60. When PeriodType is Year, it could be from 1 to 5.


PeriodTypeOptional

PeriodType interface{}
  • Type: interface{}

Property periodType: Charge period for created instances.


PortOptional

Port interface{}
  • Type: interface{}

Property port: The port of the database service.


PreferredBackupPeriodOptional

PreferredBackupPeriod interface{}
  • Type: interface{}

Property preferredBackupPeriod: The backup period.

Separate multiple values with commas (,). The default value is the original value. Valid values:Monday Tuesday Wednesday Thursday Friday Saturday Sunday Note When the BackupPolicyMode parameter is set to DataBackupPolicy, this parameter is required.


PreferredBackupTimeOptional

PreferredBackupTime interface{}
  • Type: interface{}

Property preferredBackupTime: The time when the backup task is performed.

Format: yyyy-MM-ddZ-HH:mm:ssZ.Note When the BackupPolicyMode parameter is set to DataBackupPolicy, this parameter is required.


PrivateIpAddressOptional

PrivateIpAddress interface{}
  • Type: interface{}

Property privateIpAddress: The private ip for created instance.


ReleasedKeepPolicyOptional

ReleasedKeepPolicy interface{}
  • Type: interface{}

Property releasedKeepPolicy: The policy used to retain archived backups if the instance is released.

Default value: None. Valid values: Lastest: Only the last archived backup is retained. All: All of the archived backups are retained.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: Resource group id.


RoleArnOptional

RoleArn interface{}
  • Type: interface{}

Property roleArn: The Alibaba Cloud Resource Name (ARN) provided to the service account of the instance by your Alibaba Cloud account to connect to KMS.

You can copy the ARN from the RAM console.


SecurityGroupIdOptional

SecurityGroupId interface{}
  • Type: interface{}

Property securityGroupId: The ID of the ECS security groups.

Each RDS instance can be associated with up to three ECS security groups. You must separate them with commas (,). To delete an ECS Security group, leave this parameter empty.


ServerlessConfigOptional

ServerlessConfig interface{}
  • Type: interface{}

Property serverlessConfig: The config of RDS serverless instance.

This is required when creating serverless instance.


SlaveZoneIdsOptional

SlaveZoneIds interface{}
  • Type: interface{}

Property slaveZoneIds: List of slave zone ids can specify slave zone ids when creating the high-availability or enterprise edition instance.

Meanwhile, VSwitchId needs to pass in the corresponding vswitch id to the slave zone by order. For example, ZoneId = "zone-a" and SlaveZoneIds = ["zone-c", "zone-b"], then the VSwitchId must be "vsw-zone-a,vsw-zone-c,vsw-zone-b".


SqlCollectorStatusOptional

SqlCollectorStatus interface{}
  • Type: interface{}

Property sqlCollectorStatus: Specifies whether to enable or disable the SQL Explorer (SQL audit) feature.

Valid values:Enable | Disabled.


SslSettingOptional

SslSetting interface{}
  • Type: interface{}

Property sslSetting: Secure Sockets Layer (SSL) link setting of the instance.

Valid values: Disabled: Disable SSL EnabledForPublicConnection: Public connection address will be protected by the SSL certificate. It requires AllocatePublicConnection is true. EnabledForInnerConnection: Private connection address will be protected by the SSL certificate. Default value is Disabled.


StorageAutoScaleOptional

StorageAutoScale interface{}
  • Type: interface{}

Property storageAutoScale: Storage space automatic expansion switch, only supported by MySQL and PostgreSQL.


StorageThresholdOptional

StorageThreshold interface{}
  • Type: interface{}

Property storageThreshold: Storage space automatic expansion trigger threshold (percentage).


StorageUpperBoundOptional

StorageUpperBound interface{}
  • Type: interface{}

Property storageUpperBound: The total storage space upper limit for automatic storage space expansion, that is, automatic expansion will not cause the total storage space of the instance to exceed this value.


TagsOptional

Tags *map[string]interface{}
  • Type: *map[string]interface{}

Property tags: The tags of an instance.

You should input the information of the tag with the format of the Key-Value, such as {"key1":"value1","key2":"value2", ... "key5":"value5"}. At most 20 tags can be specified. Key It can be up to 64 characters in length. Cannot begin with aliyun. Cannot begin with http:// or https://. Cannot be a null string. Value It can be up to 128 characters in length. Cannot begin with aliyun. Cannot begin with http:// or https://. Can be a null string.


TargetDedicatedHostIdForLogOptional

TargetDedicatedHostIdForLog interface{}
  • Type: interface{}

Property targetDedicatedHostIdForLog: The ID of the host to which the instance belongs if you create a log instance in a host group.


TargetDedicatedHostIdForMasterOptional

TargetDedicatedHostIdForMaster interface{}
  • Type: interface{}

Property targetDedicatedHostIdForMaster: The ID of the host to which the instance belongs if you create a primary instance in a host group.


TargetDedicatedHostIdForSlaveOptional

TargetDedicatedHostIdForSlave interface{}
  • Type: interface{}

Property targetDedicatedHostIdForSlave: The ID of the host to which the instance belongs if you create a secondary instance in a host group.


VpcIdOptional

VpcId interface{}
  • Type: interface{}

Property vpcId: The VPC id of created database instance.

For VPC network, the property is required.


VSwitchIdOptional

VSwitchId interface{}
  • Type: interface{}

Property vSwitchId: The vSwitch id of created instance.

For VPC network, the property is required.


ZoneIdOptional

ZoneId interface{}
  • Type: interface{}

Property zoneId: selected zone to create database instance.

You cannot set the ZoneId parameter if the MultiAZ parameter is set to true.