DatabaseProps
Properties for defining a Database.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardbx-database
Initializer
using AlibabaCloud.SDK.ROS.CDK.Polardbx;
new DatabaseProps {
object Accounts,
object CharacterSetName,
object DatabaseName,
object DbInstanceId,
object DatabaseDescription = null,
object Mode = null
};
Properties
| Name | Type | Description |
|---|---|---|
Accounts | object | Property accounts: List of accounts. |
CharacterSetName | object | Property characterSetName: Character set, which supports the following character sets: - utf8 * * - gbk - latin1 * * - *utf8mb4 * . |
DatabaseName | object | Property databaseName: The name of the database. |
DbInstanceId | object | Property dbInstanceId: The ID of the instance. |
DatabaseDescription | object | Property databaseDescription: Database description information. |
Mode | object | Property mode: The mode selected when creating the database. |
AccountsRequired
public object Accounts { get; set; }
- Type: object
Property accounts: List of accounts.
CharacterSetNameRequired
public object CharacterSetName { get; set; }
- Type: object
Property characterSetName: Character set, which supports the following character sets: - utf8 * * - gbk - latin1 * * - *utf8mb4 * .
DatabaseNameRequired
public object DatabaseName { get; set; }
- Type: object
Property databaseName: The name of the database.
DbInstanceIdRequired
public object DbInstanceId { get; set; }
- Type: object
Property dbInstanceId: The ID of the instance.
DatabaseDescriptionOptional
public object DatabaseDescription { get; set; }
- Type: object
Property databaseDescription: Database description information.
ModeOptional
public object Mode { get; set; }
- Type: object
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.