AccountsProps
Properties for defining a Accounts.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-polardbx-accounts
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpolardbx/datasource"
&datasource.AccountsProps {
DbInstanceId: interface{},
AccountType: interface{},
PolarDbxAccountName: interface{},
RefreshOptions: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DbInstanceId |
interface{} |
Property dbInstanceId: The ID of the PolarDB-X 2.0 instance. |
AccountType |
interface{} |
Property accountType: The type of the account. |
PolarDbxAccountName |
interface{} |
Property polarDbxAccountName: The username of the account that you want to query. |
RefreshOptions |
interface{} |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
DbInstanceIdRequired
DbInstanceId interface{}
- Type: interface{}
Property dbInstanceId: The ID of the PolarDB-X 2.0 instance.
AccountTypeOptional
AccountType interface{}
- Type: interface{}
Property accountType: The type of the account.
0 represents an ordinary account, and 1 represents a high-privilege account.
PolarDbxAccountNameOptional
PolarDbxAccountName interface{}
- Type: interface{}
Property polarDbxAccountName: The username of the account that you want to query.
If you want to query information about a specific account, you must specify this parameter.
RefreshOptionsOptional
RefreshOptions interface{}
- Type: interface{}
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.