DatabaseProps
Properties for defining a Database
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardbx-database
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpolardbx"
&alicloudroscdkpolardbx.DatabaseProps {
Accounts: interface{},
CharacterSetName: interface{},
DatabaseName: interface{},
DbInstanceId: interface{},
DatabaseDescription: interface{},
Mode: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Accounts |
interface{} |
Property accounts: List of accounts. |
CharacterSetName |
interface{} |
Property characterSetName: Character set, which supports the following character sets: - utf8 * * - gbk - latin1 * * - *utf8mb4 * . |
DatabaseName |
interface{} |
Property databaseName: The name of the database. |
DbInstanceId |
interface{} |
Property dbInstanceId: The ID of the instance. |
DatabaseDescription |
interface{} |
Property databaseDescription: Database description information. |
Mode |
interface{} |
Property mode: The mode selected when creating the database. |
Accounts
Required
Accounts interface{}
- Type: interface{}
Property accounts: List of accounts.
CharacterSetName
Required
CharacterSetName interface{}
- Type: interface{}
Property characterSetName: Character set, which supports the following character sets: - utf8 * * - gbk - latin1 * * - *utf8mb4 * .
DatabaseName
Required
DatabaseName interface{}
- Type: interface{}
Property databaseName: The name of the database.
DbInstanceId
Required
DbInstanceId interface{}
- Type: interface{}
Property dbInstanceId: The ID of the instance.
DatabaseDescription
Optional
DatabaseDescription interface{}
- Type: interface{}
Property databaseDescription: Database description information.
Mode
Optional
Mode interface{}
- Type: interface{}
Property mode: The mode selected when creating the database.
The values are as follows:
- auto: The database in this mode supports automatic partitioning, that is, you do not need to specify a partition key when creating a table;
- drds: databases in this mode do not support automatic partitioning. When creating tables, you must use the dedicated database Shard syntax and specify the database shard key.