PrepayDBInstanceProps
Properties for defining a PrepayDBInstance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rds-prepaydbinstance
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrds"
&alicloudroscdkrds.PrepayDBInstanceProps {
CommodityCode: interface{},
DbInstanceClass: interface{},
DbInstanceStorage: interface{},
Engine: interface{},
EngineVersion: interface{},
Period: interface{},
PeriodType: interface{},
AllocatePublicConnection: interface{},
ArchiveBackupKeepCount: interface{},
ArchiveBackupKeepPolicy: interface{},
ArchiveBackupRetentionPeriod: interface{},
AutoPay: interface{},
AutoRenew: interface{},
BackUpCategory: interface{},
BackupPolicyMode: interface{},
BackupRetentionPeriod: interface{},
BurstingEnabled: interface{},
Category: interface{},
ColdDataEnabled: interface{},
CompressType: interface{},
ConnectionMode: interface{},
ConnectionStringPrefix: interface{},
ConnectionStringType: interface{},
CouponCode: 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{},
Port: interface{},
PreferredBackupPeriod: interface{},
PreferredBackupTime: interface{},
PrivateIpAddress: interface{},
Quantity: 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 |
---|---|---|
CommodityCode |
interface{} |
Property commodityCode: The CommodityCode of the order. |
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. |
Period |
interface{} |
Property period: Prepaid time period. |
PeriodType |
interface{} |
Property periodType: Charge period for created instances. |
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. |
AutoPay |
interface{} |
Property autoPay: Automatic Payment. |
AutoRenew |
interface{} |
Property autoRenew: Auto renew the prepay instance. |
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. |
CouponCode |
interface{} |
Property couponCode: The coupon code of the order. |
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. |
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. |
Quantity |
interface{} |
Property quantity: The number of instance to be created, default is 1, max number is 99. |
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. |
CommodityCode
Required
CommodityCode interface{}
- Type: interface{}
Property commodityCode: The CommodityCode of the order.
DbInstanceClass
Required
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
DbInstanceStorage
Required
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.
Engine
Required
Engine interface{}
- Type: interface{}
Property engine: Database instance engine type.
Support MySQL/SQLServer/PostgreSQL/PPAS/MariaDB now.
EngineVersion
Required
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
Period
Required
Period interface{}
- Type: interface{}
Property period: Prepaid time period.
While choose by pay by month, it could be from 1 to 9. While choose pay by year, it could be from 1 to 3.
PeriodType
Required
PeriodType interface{}
- Type: interface{}
Property periodType: Charge period for created instances.
AllocatePublicConnection
Optional
AllocatePublicConnection interface{}
- Type: interface{}
Property allocatePublicConnection: If true, allocate public connection automate.
ArchiveBackupKeepCount
Optional
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.
ArchiveBackupKeepPolicy
Optional
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
ArchiveBackupRetentionPeriod
Optional
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.
AutoPay
Optional
AutoPay interface{}
- Type: interface{}
Property autoPay: Automatic Payment.
Default is true.
AutoRenew
Optional
AutoRenew interface{}
- Type: interface{}
Property autoRenew: Auto renew the prepay instance.
If the period type is by year, it will renew by year, else it will renew by month.
BackUpCategory
Optional
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.
BackupPolicyMode
Optional
BackupPolicyMode interface{}
- Type: interface{}
Property backupPolicyMode: Backup type, DataBackupPolicy: data backup LogBackupPolicy: log backup.
BackupRetentionPeriod
Optional
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.
BurstingEnabled
Optional
BurstingEnabled interface{}
- Type: interface{}
Property burstingEnabled: Whether to enable bursting.
Category
Optional
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
ColdDataEnabled
Optional
ColdDataEnabled interface{}
- Type: interface{}
Property coldDataEnabled: Whether to enable cold data storage.
CompressType
Optional
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.
ConnectionMode
Optional
ConnectionMode interface{}
- Type: interface{}
Property connectionMode: Connection Mode for database instance,support 'Standard' and 'Safe' mode.
Default is RDS system assigns.
ConnectionStringPrefix
Optional
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 (-).
ConnectionStringType
Optional
ConnectionStringType interface{}
- Type: interface{}
Property connectionStringType: The endpoint type of the instance, allow values: Inner, Public.
CouponCode
Optional
CouponCode interface{}
- Type: interface{}
Property couponCode: The coupon code of the order.
DbInstanceDescription
Optional
DbInstanceDescription interface{}
- Type: interface{}
Property dbInstanceDescription: Description of created database instance.
DbInstanceNetType
Optional
DbInstanceNetType interface{}
- Type: interface{}
Property dbInstanceNetType: Database instance net type, default is Intranet.Internet for public access, Intranet for private access.
DbInstanceStorageType
Optional
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.
DbIsIgnoreCase
Optional
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.
DbMappings
Optional
DbMappings interface{}
- Type: interface{}
Property dbMappings: Database mappings to attach to db instance.
DbParamGroupId
Optional
DbParamGroupId interface{}
- Type: interface{}
Property dbParamGroupId: The ID of the parameter template used by the instance.
DbTimeZone
Optional
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.
DedicatedHostGroupId
Optional
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.
DeletionProtection
Optional
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.
EnableBackupLog
Optional
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.
EncryptionKey
Optional
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.
HighSpaceUsageProtection
Optional
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.
InstanceNetworkType
Optional
InstanceNetworkType interface{}
- Type: interface{}
Property instanceNetworkType: Instance network type, VPC or Classic.
IoAccelerationEnabled
Optional
IoAccelerationEnabled interface{}
- Type: interface{}
Property ioAccelerationEnabled: Whether to enable IO Acceleration, 1 for enable 0 for disable.
LocalLogRetentionHours
Optional
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.
LocalLogRetentionSpace
Optional
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.
LogBackupFrequency
Optional
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.
LogBackupLocalRetentionNumber
Optional
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.
LogBackupRetentionPeriod
Optional
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.
MaintainTime
Optional
MaintainTime interface{}
- Type: interface{}
Property maintainTime: The period during which the maintenance performs.
The format is HH:mmZ-HH:mmZ.
MasterUsername
Optional
MasterUsername interface{}
- Type: interface{}
Property masterUsername: The master user name for the database instance.
MasterUserPassword
Optional
MasterUserPassword interface{}
- Type: interface{}
Property masterUserPassword: The master password for the database instance.
MasterUserType
Optional
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.
MultiAz
Optional
MultiAz interface{}
- Type: interface{}
Property multiAz: Specifies if the database instance is a multiple Availability Zone deployment.
Port
Optional
Port interface{}
- Type: interface{}
Property port: The port of the database service.
PreferredBackupPeriod
Optional
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.
PreferredBackupTime
Optional
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.
PrivateIpAddress
Optional
PrivateIpAddress interface{}
- Type: interface{}
Property privateIpAddress: The private ip for created instance.
Quantity
Optional
Quantity interface{}
- Type: interface{}
Property quantity: The number of instance to be created, default is 1, max number is 99.
ReleasedKeepPolicy
Optional
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.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
RoleArn
Optional
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.
SecurityGroupId
Optional
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.
ServerlessConfig
Optional
ServerlessConfig interface{}
- Type: interface{}
Property serverlessConfig: The config of RDS serverless instance.
This is required when creating serverless instance.
SlaveZoneIds
Optional
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".
SqlCollectorStatus
Optional
SqlCollectorStatus interface{}
- Type: interface{}
Property sqlCollectorStatus: Specifies whether to enable or disable the SQL Explorer (SQL audit) feature.
Valid values:Enable | Disabled.
SslSetting
Optional
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.
StorageAutoScale
Optional
StorageAutoScale interface{}
- Type: interface{}
Property storageAutoScale: Storage space automatic expansion switch, only supported by MySQL and PostgreSQL.
StorageThreshold
Optional
StorageThreshold interface{}
- Type: interface{}
Property storageThreshold: Storage space automatic expansion trigger threshold (percentage).
StorageUpperBound
Optional
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.
Tags
Optional
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.
TargetDedicatedHostIdForLog
Optional
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.
TargetDedicatedHostIdForMaster
Optional
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.
TargetDedicatedHostIdForSlave
Optional
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.
VpcId
Optional
VpcId interface{}
- Type: interface{}
Property vpcId: The VPC id of created database instance.
For VPC network, the property is required.
VSwitchId
Optional
VSwitchId interface{}
- Type: interface{}
Property vSwitchId: The vSwitch id of created instance.
For VPC network, the property is required.
ZoneId
Optional
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.