AccountsProps
Properties for defining a Accounts
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-polardbx-accounts
Initializer
using AlibabaCloud.SDK.ROS.CDK.Polardbx;
new AccountsProps {
object DbInstanceId,
object AccountType = null,
object PolarDbxAccountName = null,
object RefreshOptions = null
};
Properties
Name | Type | Description |
---|---|---|
DbInstanceId |
object |
Property dbInstanceId: The ID of the PolarDB-X 2.0 instance. |
AccountType |
object |
Property accountType: The type of the account. |
PolarDbxAccountName |
object |
Property polarDbxAccountName: The username of the account that you want to query. |
RefreshOptions |
object |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
DbInstanceId
Required
public object DbInstanceId { get; set; }
- Type: object
Property dbInstanceId: The ID of the PolarDB-X 2.0 instance.
AccountType
Optional
public object AccountType { get; set; }
- Type: object
Property accountType: The type of the account.
0 represents an ordinary account, and 1 represents a high-privilege account.
PolarDbxAccountName
Optional
public object PolarDbxAccountName { get; set; }
- Type: object
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.
RefreshOptions
Optional
public object RefreshOptions { get; set; }
- Type: object
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.