AccountProps
Properties for defining a Account
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rds-account
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrds"
&alicloudroscdkrds.AccountProps {
AccountName: interface{},
AccountPassword: interface{},
DbInstanceId: interface{},
AccountDescription: interface{},
AccountType: interface{},
}
Properties
Name | Type | Description |
---|---|---|
AccountName |
interface{} |
Property accountName: Account name, which must be unique and meet the following requirements: Start with a letter; |
AccountPassword |
interface{} |
Property accountPassword: The account password for the database instance. |
DbInstanceId |
interface{} |
Property dbInstanceId: RDS instance ID. |
AccountDescription |
interface{} |
Property accountDescription: Account remarks. |
AccountType |
interface{} |
Property accountType: Privilege type of account. |
AccountName
Required
AccountName interface{}
- Type: interface{}
Property accountName: Account name, which must be unique and meet the following requirements: Start with a letter;
Consist of lower-case letters, digits, and underscores (_); Length: MySQL 8.0 and 5.7: 2-32 characters. MySQL 5.6ćMariaDB and PostgreSQL Local version: 2-16 characters. SQL Server: 2-64 characters. PostgreSQL Cloud version: 2-63 characters.
AccountPassword
Required
AccountPassword interface{}
- Type: interface{}
Property accountPassword: The account password for the database instance.
It may consist of letters, digits, or underlines, with a length of 8 to 32 characters.
DbInstanceId
Required
DbInstanceId interface{}
- Type: interface{}
Property dbInstanceId: RDS instance ID.
AccountDescription
Optional
AccountDescription interface{}
- Type: interface{}
Property accountDescription: Account remarks.
It cannot begin with http:// or https://. It must start with a Chinese character or English letter. It can include Chinese and English characters/letters, underscores (_), hyphens (-), and digits. The length may be 2-256 characters.
AccountType
Optional
AccountType interface{}
- Type: interface{}
Property accountType: Privilege type of account.
Normal: Common privilege. Super: High privilege. And the default value is Normal. Sysadmin: Super privileges (SA) (only supported by SQL Server) This parameter is valid for MySQL 5.5/5.6 only. MySQL 5.7, SQL Server 2012/2016, PostgreSQL, and PPAS each can have only one initial account. Other accounts are created by the initial account that has logged on to the database.