Skip to content

AccountProps

Properties for defining a Account.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gpdb-account

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkgpdb"
&alicloudroscdkgpdb.AccountProps {
    AccountName: interface{},
    AccountPassword: interface{},
    DbInstanceId: interface{},
    AccountDescription: interface{},
}

Properties

Name Type Description
AccountName interface{} Property accountName: The name of the privileged account.
AccountPassword interface{} Property accountPassword: The password of the privileged account.
DbInstanceId interface{} Property dbInstanceId: The ID of the instance.
AccountDescription interface{} Property accountDescription: The description of the privileged account.

AccountNameRequired

AccountName interface{}
  • Type: interface{}

Property accountName: The name of the privileged account.

The name can contain lowercase letters, digits, and underscores (_). The name must start with a lowercase letter and end with a lowercase letter or a digit. The name cannot start with gp. The name must be 2 to 16 characters in length.


AccountPasswordRequired

AccountPassword interface{}
  • Type: interface{}

Property accountPassword: The password of the privileged account.

The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - = The password must be 8 to 32 characters in length.


DbInstanceIdRequired

DbInstanceId interface{}
  • Type: interface{}

Property dbInstanceId: The ID of the instance.

Note You can call the DescribeDBInstances operation to query details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.


AccountDescriptionOptional

AccountDescription interface{}
  • Type: interface{}

Property accountDescription: The description of the privileged account.