Skip to content

AccountProps

Properties for defining a Account.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Adb;
new AccountProps {
    object AccountName,
    object AccountPassword,
    object DbClusterId,
    object AccountDescription = null,
    object AccountType = null
};

Properties

Name Type Description
AccountName object Property accountName: The database account name.
AccountPassword object Property accountPassword: The database account password.
DbClusterId object Property dbClusterId: The ID of the cluster.
AccountDescription object Property accountDescription: The description of the account.
AccountType object Property accountType: Normal: standard account Super: privileged account.

AccountNameRequired

public object AccountName { get; set; }
  • Type: object

Property accountName: The database account name.

The name must meet the following requirements:

  • Start with a lowercase letter and end with a lowercase letter or digit.
  • Contain only lowercase letters, digits, or underscores (_).
  • Be 2 to 16 characters long.
  • Not use reserved usernames such as root, admin, or opsadmin.

AccountPasswordRequired

public object AccountPassword { get; set; }
  • Type: object

Property accountPassword: The database account password.

  • Use any three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
  • Special characters include the following: !@#$%^&*()_+-=
  • Be 8 to 32 characters long.

DbClusterIdRequired

public object DbClusterId { get; set; }
  • Type: object

Property dbClusterId: The ID of the cluster.


AccountDescriptionOptional

public object AccountDescription { get; set; }
  • Type: object

Property accountDescription: The description of the account.

The description cannot start with http://or https://. The description can be up to 256 characters in length.


AccountTypeOptional

public object AccountType { get; set; }
  • Type: object

Property accountType: Normal: standard account Super: privileged account.