Skip to content

DrdsDBProps

Properties for defining a DrdsDB.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-drds-drdsdb

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdrds"
&alicloudroscdkdrds.DrdsDBProps {
    DrdsInstanceId: interface{},
    AccountName: interface{},
    DbInstanceIsCreating: interface{},
    DbInstType: interface{},
    DbName: interface{},
    Encode: interface{},
    InstDbName: interface{},
    Password: interface{},
    RdsInstance: interface{},
    Type: interface{},
}

Properties

Name Type Description
DrdsInstanceId interface{} Property drdsInstanceId: DRDS instance ID.
AccountName interface{} Property accountName: In the vertical split scenario, an account name with access rights to the corresponding database on all RDSs.
DbInstanceIsCreating interface{} Property dbInstanceIsCreating: Check whether the RDS instance is being created.
DbInstType interface{} Property dbInstType: The type of the attached storage.
DbName interface{} Property dbName: Database Name.
Encode interface{} Property encode: Encoding used by the database.
InstDbName interface{} Property instDbName:.
Password interface{} Property password: The logon password of the database instance.
RdsInstance interface{} Property rdsInstance: This property is required only for vertical partitioning.
Type interface{} Property type: Database Sharding method.

DrdsInstanceIdRequired

DrdsInstanceId interface{}
  • Type: interface{}

Property drdsInstanceId: DRDS instance ID.


AccountNameOptional

AccountName interface{}
  • Type: interface{}

Property accountName: In the vertical split scenario, an account name with access rights to the corresponding database on all RDSs.


DbInstanceIsCreatingOptional

DbInstanceIsCreating interface{}
  • Type: interface{}

Property dbInstanceIsCreating: Check whether the RDS instance is being created.


DbInstTypeOptional

DbInstType interface{}
  • Type: interface{}

Property dbInstType: The type of the attached storage.

Valid values: RDS or POLARDB


DbNameOptional

DbName interface{}
  • Type: interface{}

Property dbName: Database Name.


EncodeOptional

Encode interface{}
  • Type: interface{}

Property encode: Encoding used by the database.


InstDbNameOptional

InstDbName interface{}
  • Type: interface{}

Property instDbName:.


PasswordOptional

Password interface{}
  • Type: interface{}

Property password: The logon password of the database instance.


RdsInstanceOptional

RdsInstance interface{}
  • Type: interface{}

Property rdsInstance: This property is required only for vertical partitioning.


TypeOptional

Type interface{}
  • Type: interface{}

Property type: Database Sharding method.

For more information, see scalability principle. Valid values: HORIZONTAL: indicates HORIZONTAL partitioning, which is commonly known as database and table sharding. VERTICAL: indicates VERTICAL partitioning.