1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. rdsmysql
  6. DbAccount
Viewing docs for volcenginecc v0.0.35
published on Thursday, May 14, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.35
published on Thursday, May 14, 2026 by Volcengine

    Database account.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      rDSMySQLDBAccountDemo:
        type: volcenginecc:rdsmysql:DbAccount
        name: RDSMySQLDBAccountDemo
        properties:
          accountDesc: RDSMySQLDBAccountDemo desc
          instanceId: mysql-a5b5caexxxxx
          accountName: RDSMySQLDBAccountDemo
          accountPassword: '********'
          accountType: Normal
          accountPrivileges:
            - account_privilege: Custom
              account_privilege_detail:
                - CREATE
                - DROP
                - REFERENCES
                - INDEX
              db_name: test
            - account_privilege: Global
              account_privilege_detail:
                - PROCESS
                - REPLICATION SLAVE
                - REPLICATION CLIENT
                - DROP
                - ALTER
              db_name: ""
          host: '%'
          tableColumnPrivileges: []
    
    Example coming soon!
    

    Create DbAccount Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DbAccount(name: string, args: DbAccountArgs, opts?: CustomResourceOptions);
    @overload
    def DbAccount(resource_name: str,
                  args: DbAccountArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbAccount(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  account_name: Optional[str] = None,
                  account_password: Optional[str] = None,
                  account_type: Optional[str] = None,
                  instance_id: Optional[str] = None,
                  account_desc: Optional[str] = None,
                  account_privileges: Optional[Sequence[DbAccountAccountPrivilegeArgs]] = None,
                  host: Optional[str] = None,
                  table_column_privileges: Optional[Sequence[DbAccountTableColumnPrivilegeArgs]] = None)
    func NewDbAccount(ctx *Context, name string, args DbAccountArgs, opts ...ResourceOption) (*DbAccount, error)
    public DbAccount(string name, DbAccountArgs args, CustomResourceOptions? opts = null)
    public DbAccount(String name, DbAccountArgs args)
    public DbAccount(String name, DbAccountArgs args, CustomResourceOptions options)
    
    type: volcenginecc:rdsmysql:DbAccount
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "volcenginecc_rdsmysql_dbaccount" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DbAccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DbAccountArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DbAccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbAccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbAccountArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dbAccountResource = new Volcenginecc.Rdsmysql.DbAccount("dbAccountResource", new()
    {
        AccountName = "string",
        AccountPassword = "string",
        AccountType = "string",
        InstanceId = "string",
        AccountDesc = "string",
        AccountPrivileges = new[]
        {
            new Volcenginecc.Rdsmysql.Inputs.DbAccountAccountPrivilegeArgs
            {
                AccountPrivilege = "string",
                AccountPrivilegeDetails = new[]
                {
                    "string",
                },
                DbName = "string",
            },
        },
        Host = "string",
        TableColumnPrivileges = new[]
        {
            new Volcenginecc.Rdsmysql.Inputs.DbAccountTableColumnPrivilegeArgs
            {
                ColumnPrivileges = new[]
                {
                    new Volcenginecc.Rdsmysql.Inputs.DbAccountTableColumnPrivilegeColumnPrivilegeArgs
                    {
                        AccountPrivilegeDetails = new[]
                        {
                            "string",
                        },
                        ColumnName = "string",
                        TableName = "string",
                    },
                },
                DbName = "string",
                TablePrivileges = new[]
                {
                    new Volcenginecc.Rdsmysql.Inputs.DbAccountTableColumnPrivilegeTablePrivilegeArgs
                    {
                        AccountPrivilegeDetails = new[]
                        {
                            "string",
                        },
                        TableName = "string",
                    },
                },
            },
        },
    });
    
    example, err := rdsmysql.NewDbAccount(ctx, "dbAccountResource", &rdsmysql.DbAccountArgs{
    	AccountName:     pulumi.String("string"),
    	AccountPassword: pulumi.String("string"),
    	AccountType:     pulumi.String("string"),
    	InstanceId:      pulumi.String("string"),
    	AccountDesc:     pulumi.String("string"),
    	AccountPrivileges: rdsmysql.DbAccountAccountPrivilegeArray{
    		&rdsmysql.DbAccountAccountPrivilegeArgs{
    			AccountPrivilege: pulumi.String("string"),
    			AccountPrivilegeDetails: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DbName: pulumi.String("string"),
    		},
    	},
    	Host: pulumi.String("string"),
    	TableColumnPrivileges: rdsmysql.DbAccountTableColumnPrivilegeArray{
    		&rdsmysql.DbAccountTableColumnPrivilegeArgs{
    			ColumnPrivileges: rdsmysql.DbAccountTableColumnPrivilegeColumnPrivilegeArray{
    				&rdsmysql.DbAccountTableColumnPrivilegeColumnPrivilegeArgs{
    					AccountPrivilegeDetails: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					ColumnName: pulumi.String("string"),
    					TableName:  pulumi.String("string"),
    				},
    			},
    			DbName: pulumi.String("string"),
    			TablePrivileges: rdsmysql.DbAccountTableColumnPrivilegeTablePrivilegeArray{
    				&rdsmysql.DbAccountTableColumnPrivilegeTablePrivilegeArgs{
    					AccountPrivilegeDetails: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					TableName: pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    resource "volcenginecc_rdsmysql_dbaccount" "dbAccountResource" {
      account_name     = "string"
      account_password = "string"
      account_type     = "string"
      instance_id      = "string"
      account_desc     = "string"
      account_privileges {
        account_privilege         = "string"
        account_privilege_details = ["string"]
        db_name                   = "string"
      }
      host = "string"
      table_column_privileges {
        column_privileges {
          account_privilege_details = ["string"]
          column_name               = "string"
          table_name                = "string"
        }
        db_name = "string"
        table_privileges {
          account_privilege_details = ["string"]
          table_name                = "string"
        }
      }
    }
    
    var dbAccountResource = new com.volcengine.volcenginecc.rdsmysql.DbAccount("dbAccountResource", com.volcengine.volcenginecc.rdsmysql.DbAccountArgs.builder()
        .accountName("string")
        .accountPassword("string")
        .accountType("string")
        .instanceId("string")
        .accountDesc("string")
        .accountPrivileges(DbAccountAccountPrivilegeArgs.builder()
            .accountPrivilege("string")
            .accountPrivilegeDetails("string")
            .dbName("string")
            .build())
        .host("string")
        .tableColumnPrivileges(DbAccountTableColumnPrivilegeArgs.builder()
            .columnPrivileges(DbAccountTableColumnPrivilegeColumnPrivilegeArgs.builder()
                .accountPrivilegeDetails("string")
                .columnName("string")
                .tableName("string")
                .build())
            .dbName("string")
            .tablePrivileges(DbAccountTableColumnPrivilegeTablePrivilegeArgs.builder()
                .accountPrivilegeDetails("string")
                .tableName("string")
                .build())
            .build())
        .build());
    
    db_account_resource = volcenginecc.rdsmysql.DbAccount("dbAccountResource",
        account_name="string",
        account_password="string",
        account_type="string",
        instance_id="string",
        account_desc="string",
        account_privileges=[{
            "account_privilege": "string",
            "account_privilege_details": ["string"],
            "db_name": "string",
        }],
        host="string",
        table_column_privileges=[{
            "column_privileges": [{
                "account_privilege_details": ["string"],
                "column_name": "string",
                "table_name": "string",
            }],
            "db_name": "string",
            "table_privileges": [{
                "account_privilege_details": ["string"],
                "table_name": "string",
            }],
        }])
    
    const dbAccountResource = new volcenginecc.rdsmysql.DbAccount("dbAccountResource", {
        accountName: "string",
        accountPassword: "string",
        accountType: "string",
        instanceId: "string",
        accountDesc: "string",
        accountPrivileges: [{
            accountPrivilege: "string",
            accountPrivilegeDetails: ["string"],
            dbName: "string",
        }],
        host: "string",
        tableColumnPrivileges: [{
            columnPrivileges: [{
                accountPrivilegeDetails: ["string"],
                columnName: "string",
                tableName: "string",
            }],
            dbName: "string",
            tablePrivileges: [{
                accountPrivilegeDetails: ["string"],
                tableName: "string",
            }],
        }],
    });
    
    type: volcenginecc:rdsmysql:DbAccount
    properties:
        accountDesc: string
        accountName: string
        accountPassword: string
        accountPrivileges:
            - accountPrivilege: string
              accountPrivilegeDetails:
                - string
              dbName: string
        accountType: string
        host: string
        instanceId: string
        tableColumnPrivileges:
            - columnPrivileges:
                - accountPrivilegeDetails:
                    - string
                  columnName: string
                  tableName: string
              dbName: string
              tablePrivileges:
                - accountPrivilegeDetails:
                    - string
                  tableName: string
    

    DbAccount Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DbAccount resource accepts the following input properties:

    AccountName string
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    AccountPassword string
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    AccountType string
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    InstanceId string
    Instance ID.
    AccountDesc string
    Account information description, maximum length 256 characters.
    AccountPrivileges List<Volcengine.DbAccountAccountPrivilege>
    Host string
    IP address from which the specified database account can access the database.
    TableColumnPrivileges List<Volcengine.DbAccountTableColumnPrivilege>
    AccountName string
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    AccountPassword string
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    AccountType string
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    InstanceId string
    Instance ID.
    AccountDesc string
    Account information description, maximum length 256 characters.
    AccountPrivileges []DbAccountAccountPrivilegeArgs
    Host string
    IP address from which the specified database account can access the database.
    TableColumnPrivileges []DbAccountTableColumnPrivilegeArgs
    account_name string
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    account_password string
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    account_type string
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    instance_id string
    Instance ID.
    account_desc string
    Account information description, maximum length 256 characters.
    account_privileges list(object)
    host string
    IP address from which the specified database account can access the database.
    table_column_privileges list(object)
    accountName String
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    accountPassword String
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    accountType String
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    instanceId String
    Instance ID.
    accountDesc String
    Account information description, maximum length 256 characters.
    accountPrivileges List<DbAccountAccountPrivilege>
    host String
    IP address from which the specified database account can access the database.
    tableColumnPrivileges List<DbAccountTableColumnPrivilege>
    accountName string
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    accountPassword string
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    accountType string
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    instanceId string
    Instance ID.
    accountDesc string
    Account information description, maximum length 256 characters.
    accountPrivileges DbAccountAccountPrivilege[]
    host string
    IP address from which the specified database account can access the database.
    tableColumnPrivileges DbAccountTableColumnPrivilege[]
    account_name str
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    account_password str
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    account_type str
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    instance_id str
    Instance ID.
    account_desc str
    Account information description, maximum length 256 characters.
    account_privileges Sequence[DbAccountAccountPrivilegeArgs]
    host str
    IP address from which the specified database account can access the database.
    table_column_privileges Sequence[DbAccountTableColumnPrivilegeArgs]
    accountName String
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    accountPassword String
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    accountType String
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    instanceId String
    Instance ID.
    accountDesc String
    Account information description, maximum length 256 characters.
    accountPrivileges List<Property Map>
    host String
    IP address from which the specified database account can access the database.
    tableColumnPrivileges List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DbAccount resource produces the following output properties:

    AccountPrivilegesSqls List<string>
    SQL statement for the account's specified database permission information.
    AccountStatus string
    Account status. Values: Unavailable: unavailable. Available: available.
    HasTableColumnPrivilegeDbNames List<string>
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccountPrivilegesSqls []string
    SQL statement for the account's specified database permission information.
    AccountStatus string
    Account status. Values: Unavailable: unavailable. Available: available.
    HasTableColumnPrivilegeDbNames []string
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    Id string
    The provider-assigned unique ID for this managed resource.
    account_privileges_sqls list(string)
    SQL statement for the account's specified database permission information.
    account_status string
    Account status. Values: Unavailable: unavailable. Available: available.
    has_table_column_privilege_db_names list(string)
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    id string
    The provider-assigned unique ID for this managed resource.
    accountPrivilegesSqls List<String>
    SQL statement for the account's specified database permission information.
    accountStatus String
    Account status. Values: Unavailable: unavailable. Available: available.
    hasTableColumnPrivilegeDbNames List<String>
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    id String
    The provider-assigned unique ID for this managed resource.
    accountPrivilegesSqls string[]
    SQL statement for the account's specified database permission information.
    accountStatus string
    Account status. Values: Unavailable: unavailable. Available: available.
    hasTableColumnPrivilegeDbNames string[]
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    id string
    The provider-assigned unique ID for this managed resource.
    account_privileges_sqls Sequence[str]
    SQL statement for the account's specified database permission information.
    account_status str
    Account status. Values: Unavailable: unavailable. Available: available.
    has_table_column_privilege_db_names Sequence[str]
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    id str
    The provider-assigned unique ID for this managed resource.
    accountPrivilegesSqls List<String>
    SQL statement for the account's specified database permission information.
    accountStatus String
    Account status. Values: Unavailable: unavailable. Available: available.
    hasTableColumnPrivilegeDbNames List<String>
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DbAccount Resource

    Get an existing DbAccount resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DbAccountState, opts?: CustomResourceOptions): DbAccount
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_desc: Optional[str] = None,
            account_name: Optional[str] = None,
            account_password: Optional[str] = None,
            account_privileges: Optional[Sequence[DbAccountAccountPrivilegeArgs]] = None,
            account_privileges_sqls: Optional[Sequence[str]] = None,
            account_status: Optional[str] = None,
            account_type: Optional[str] = None,
            has_table_column_privilege_db_names: Optional[Sequence[str]] = None,
            host: Optional[str] = None,
            instance_id: Optional[str] = None,
            table_column_privileges: Optional[Sequence[DbAccountTableColumnPrivilegeArgs]] = None) -> DbAccount
    func GetDbAccount(ctx *Context, name string, id IDInput, state *DbAccountState, opts ...ResourceOption) (*DbAccount, error)
    public static DbAccount Get(string name, Input<string> id, DbAccountState? state, CustomResourceOptions? opts = null)
    public static DbAccount get(String name, Output<String> id, DbAccountState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:rdsmysql:DbAccount    get:      id: ${id}
    import {
      to = volcenginecc_rdsmysql_dbaccount.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountDesc string
    Account information description, maximum length 256 characters.
    AccountName string
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    AccountPassword string
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    AccountPrivileges List<Volcengine.DbAccountAccountPrivilege>
    AccountPrivilegesSqls List<string>
    SQL statement for the account's specified database permission information.
    AccountStatus string
    Account status. Values: Unavailable: unavailable. Available: available.
    AccountType string
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    HasTableColumnPrivilegeDbNames List<string>
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    Host string
    IP address from which the specified database account can access the database.
    InstanceId string
    Instance ID.
    TableColumnPrivileges List<Volcengine.DbAccountTableColumnPrivilege>
    AccountDesc string
    Account information description, maximum length 256 characters.
    AccountName string
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    AccountPassword string
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    AccountPrivileges []DbAccountAccountPrivilegeArgs
    AccountPrivilegesSqls []string
    SQL statement for the account's specified database permission information.
    AccountStatus string
    Account status. Values: Unavailable: unavailable. Available: available.
    AccountType string
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    HasTableColumnPrivilegeDbNames []string
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    Host string
    IP address from which the specified database account can access the database.
    InstanceId string
    Instance ID.
    TableColumnPrivileges []DbAccountTableColumnPrivilegeArgs
    account_desc string
    Account information description, maximum length 256 characters.
    account_name string
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    account_password string
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    account_privileges list(object)
    account_privileges_sqls list(string)
    SQL statement for the account's specified database permission information.
    account_status string
    Account status. Values: Unavailable: unavailable. Available: available.
    account_type string
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    has_table_column_privilege_db_names list(string)
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    host string
    IP address from which the specified database account can access the database.
    instance_id string
    Instance ID.
    table_column_privileges list(object)
    accountDesc String
    Account information description, maximum length 256 characters.
    accountName String
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    accountPassword String
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    accountPrivileges List<DbAccountAccountPrivilege>
    accountPrivilegesSqls List<String>
    SQL statement for the account's specified database permission information.
    accountStatus String
    Account status. Values: Unavailable: unavailable. Available: available.
    accountType String
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    hasTableColumnPrivilegeDbNames List<String>
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    host String
    IP address from which the specified database account can access the database.
    instanceId String
    Instance ID.
    tableColumnPrivileges List<DbAccountTableColumnPrivilege>
    accountDesc string
    Account information description, maximum length 256 characters.
    accountName string
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    accountPassword string
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    accountPrivileges DbAccountAccountPrivilege[]
    accountPrivilegesSqls string[]
    SQL statement for the account's specified database permission information.
    accountStatus string
    Account status. Values: Unavailable: unavailable. Available: available.
    accountType string
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    hasTableColumnPrivilegeDbNames string[]
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    host string
    IP address from which the specified database account can access the database.
    instanceId string
    Instance ID.
    tableColumnPrivileges DbAccountTableColumnPrivilege[]
    account_desc str
    Account information description, maximum length 256 characters.
    account_name str
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    account_password str
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    account_privileges Sequence[DbAccountAccountPrivilegeArgs]
    account_privileges_sqls Sequence[str]
    SQL statement for the account's specified database permission information.
    account_status str
    Account status. Values: Unavailable: unavailable. Available: available.
    account_type str
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    has_table_column_privilege_db_names Sequence[str]
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    host str
    IP address from which the specified database account can access the database.
    instance_id str
    Instance ID.
    table_column_privileges Sequence[DbAccountTableColumnPrivilegeArgs]
    accountDesc String
    Account information description, maximum length 256 characters.
    accountName String
    Database account name. Naming rules: Must be 2–32 characters long. Must start with a letter and end with a letter or number. Can contain letters, numbers, underscores (_), and hyphens (-). The account name must be unique within the instance. Certain reserved words cannot be used; for disabled reserved words, see the disabled word list. Note: The keywords root and admin can be used in high-privilege account names.
    accountPassword String
    Database account password. Rules: Length must be 8–32 characters. Must include at least three of the following: uppercase letters, lowercase letters, numbers, special characters. Allowed special characters: !@#$%^&*()_+-=,.&?|/.
    accountPrivileges List<Property Map>
    accountPrivilegesSqls List<String>
    SQL statement for the account's specified database permission information.
    accountStatus String
    Account status. Values: Unavailable: unavailable. Available: available.
    accountType String
    Account type. Value options: Super: high-privilege account. Normal: regular account.
    hasTableColumnPrivilegeDbNames List<String>
    The database to which the account's table/column privileges belong. Note: If the account does not have table/column privileges, this field will not be returned.
    host String
    IP address from which the specified database account can access the database.
    instanceId String
    Instance ID.
    tableColumnPrivileges List<Property Map>

    Supporting Types

    DbAccountAccountPrivilege, DbAccountAccountPrivilegeArgs

    AccountPrivilege string
    Type of database permission. Value options: ReadWrite: read and write permission. ReadOnly: read-only permission. DDLOnly: DDL permission only. DMLOnly: DML permission only. Custom: custom permission. Global: global permission. None: clear account permission. Note: When used as a request parameter, pay attention to the following: Only Global and None are allowed as values when used as request parameters. Permission type is single-select; passing multiple values will result in an error. Only the GrantDBAccountPrivilege API supports None as a value for AccountPrivilege. When AccountPrivilege is set to None and DBName is an empty string, all global permissions for the account are cleared. If DBName is set to a specific database, all permissions for the account in that database are cleared.
    AccountPrivilegeDetails List<string>
    Account privilege information. When AccountPrivilege is set to Custom, the valid values for this field are: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, EVENT, TRIGGER, CREATE ROUTINE, ALTER ROUTINE. When AccountPrivilege is set to Global, the valid values for this field are: PROCESS, REPLICATION SLAVE, REPLICATION CLIENT, SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, REFERENCES, INDEX, ALTER, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, SHOW DATABASES, CREATE TEMPORARY TABLES. Note: When used as a request parameter, this field is required if AccountPrivilege is set to Custom. In the CreateDBAccount API, REPLICATION SLAVE, PROCESS, and REPLICATION CLIENT global privileges are automatically granted to the account. Multiple values can be specified, separated by commas (,). The write mode is overwrite.
    DbName string
    The name of the database for which account authorization needs to be modified or for which the account already has privileges. Note: When used as a request parameter in the CreateDBAccount and GrantDBAccountPrivilege APIs, ensure that the database corresponding to DBName already exists. For global privilege modifications, set DBName to an empty string.
    AccountPrivilege string
    Type of database permission. Value options: ReadWrite: read and write permission. ReadOnly: read-only permission. DDLOnly: DDL permission only. DMLOnly: DML permission only. Custom: custom permission. Global: global permission. None: clear account permission. Note: When used as a request parameter, pay attention to the following: Only Global and None are allowed as values when used as request parameters. Permission type is single-select; passing multiple values will result in an error. Only the GrantDBAccountPrivilege API supports None as a value for AccountPrivilege. When AccountPrivilege is set to None and DBName is an empty string, all global permissions for the account are cleared. If DBName is set to a specific database, all permissions for the account in that database are cleared.
    AccountPrivilegeDetails []string
    Account privilege information. When AccountPrivilege is set to Custom, the valid values for this field are: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, EVENT, TRIGGER, CREATE ROUTINE, ALTER ROUTINE. When AccountPrivilege is set to Global, the valid values for this field are: PROCESS, REPLICATION SLAVE, REPLICATION CLIENT, SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, REFERENCES, INDEX, ALTER, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, SHOW DATABASES, CREATE TEMPORARY TABLES. Note: When used as a request parameter, this field is required if AccountPrivilege is set to Custom. In the CreateDBAccount API, REPLICATION SLAVE, PROCESS, and REPLICATION CLIENT global privileges are automatically granted to the account. Multiple values can be specified, separated by commas (,). The write mode is overwrite.
    DbName string
    The name of the database for which account authorization needs to be modified or for which the account already has privileges. Note: When used as a request parameter in the CreateDBAccount and GrantDBAccountPrivilege APIs, ensure that the database corresponding to DBName already exists. For global privilege modifications, set DBName to an empty string.
    account_privilege string
    Type of database permission. Value options: ReadWrite: read and write permission. ReadOnly: read-only permission. DDLOnly: DDL permission only. DMLOnly: DML permission only. Custom: custom permission. Global: global permission. None: clear account permission. Note: When used as a request parameter, pay attention to the following: Only Global and None are allowed as values when used as request parameters. Permission type is single-select; passing multiple values will result in an error. Only the GrantDBAccountPrivilege API supports None as a value for AccountPrivilege. When AccountPrivilege is set to None and DBName is an empty string, all global permissions for the account are cleared. If DBName is set to a specific database, all permissions for the account in that database are cleared.
    account_privilege_details list(string)
    Account privilege information. When AccountPrivilege is set to Custom, the valid values for this field are: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, EVENT, TRIGGER, CREATE ROUTINE, ALTER ROUTINE. When AccountPrivilege is set to Global, the valid values for this field are: PROCESS, REPLICATION SLAVE, REPLICATION CLIENT, SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, REFERENCES, INDEX, ALTER, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, SHOW DATABASES, CREATE TEMPORARY TABLES. Note: When used as a request parameter, this field is required if AccountPrivilege is set to Custom. In the CreateDBAccount API, REPLICATION SLAVE, PROCESS, and REPLICATION CLIENT global privileges are automatically granted to the account. Multiple values can be specified, separated by commas (,). The write mode is overwrite.
    db_name string
    The name of the database for which account authorization needs to be modified or for which the account already has privileges. Note: When used as a request parameter in the CreateDBAccount and GrantDBAccountPrivilege APIs, ensure that the database corresponding to DBName already exists. For global privilege modifications, set DBName to an empty string.
    accountPrivilege String
    Type of database permission. Value options: ReadWrite: read and write permission. ReadOnly: read-only permission. DDLOnly: DDL permission only. DMLOnly: DML permission only. Custom: custom permission. Global: global permission. None: clear account permission. Note: When used as a request parameter, pay attention to the following: Only Global and None are allowed as values when used as request parameters. Permission type is single-select; passing multiple values will result in an error. Only the GrantDBAccountPrivilege API supports None as a value for AccountPrivilege. When AccountPrivilege is set to None and DBName is an empty string, all global permissions for the account are cleared. If DBName is set to a specific database, all permissions for the account in that database are cleared.
    accountPrivilegeDetails List<String>
    Account privilege information. When AccountPrivilege is set to Custom, the valid values for this field are: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, EVENT, TRIGGER, CREATE ROUTINE, ALTER ROUTINE. When AccountPrivilege is set to Global, the valid values for this field are: PROCESS, REPLICATION SLAVE, REPLICATION CLIENT, SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, REFERENCES, INDEX, ALTER, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, SHOW DATABASES, CREATE TEMPORARY TABLES. Note: When used as a request parameter, this field is required if AccountPrivilege is set to Custom. In the CreateDBAccount API, REPLICATION SLAVE, PROCESS, and REPLICATION CLIENT global privileges are automatically granted to the account. Multiple values can be specified, separated by commas (,). The write mode is overwrite.
    dbName String
    The name of the database for which account authorization needs to be modified or for which the account already has privileges. Note: When used as a request parameter in the CreateDBAccount and GrantDBAccountPrivilege APIs, ensure that the database corresponding to DBName already exists. For global privilege modifications, set DBName to an empty string.
    accountPrivilege string
    Type of database permission. Value options: ReadWrite: read and write permission. ReadOnly: read-only permission. DDLOnly: DDL permission only. DMLOnly: DML permission only. Custom: custom permission. Global: global permission. None: clear account permission. Note: When used as a request parameter, pay attention to the following: Only Global and None are allowed as values when used as request parameters. Permission type is single-select; passing multiple values will result in an error. Only the GrantDBAccountPrivilege API supports None as a value for AccountPrivilege. When AccountPrivilege is set to None and DBName is an empty string, all global permissions for the account are cleared. If DBName is set to a specific database, all permissions for the account in that database are cleared.
    accountPrivilegeDetails string[]
    Account privilege information. When AccountPrivilege is set to Custom, the valid values for this field are: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, EVENT, TRIGGER, CREATE ROUTINE, ALTER ROUTINE. When AccountPrivilege is set to Global, the valid values for this field are: PROCESS, REPLICATION SLAVE, REPLICATION CLIENT, SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, REFERENCES, INDEX, ALTER, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, SHOW DATABASES, CREATE TEMPORARY TABLES. Note: When used as a request parameter, this field is required if AccountPrivilege is set to Custom. In the CreateDBAccount API, REPLICATION SLAVE, PROCESS, and REPLICATION CLIENT global privileges are automatically granted to the account. Multiple values can be specified, separated by commas (,). The write mode is overwrite.
    dbName string
    The name of the database for which account authorization needs to be modified or for which the account already has privileges. Note: When used as a request parameter in the CreateDBAccount and GrantDBAccountPrivilege APIs, ensure that the database corresponding to DBName already exists. For global privilege modifications, set DBName to an empty string.
    account_privilege str
    Type of database permission. Value options: ReadWrite: read and write permission. ReadOnly: read-only permission. DDLOnly: DDL permission only. DMLOnly: DML permission only. Custom: custom permission. Global: global permission. None: clear account permission. Note: When used as a request parameter, pay attention to the following: Only Global and None are allowed as values when used as request parameters. Permission type is single-select; passing multiple values will result in an error. Only the GrantDBAccountPrivilege API supports None as a value for AccountPrivilege. When AccountPrivilege is set to None and DBName is an empty string, all global permissions for the account are cleared. If DBName is set to a specific database, all permissions for the account in that database are cleared.
    account_privilege_details Sequence[str]
    Account privilege information. When AccountPrivilege is set to Custom, the valid values for this field are: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, EVENT, TRIGGER, CREATE ROUTINE, ALTER ROUTINE. When AccountPrivilege is set to Global, the valid values for this field are: PROCESS, REPLICATION SLAVE, REPLICATION CLIENT, SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, REFERENCES, INDEX, ALTER, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, SHOW DATABASES, CREATE TEMPORARY TABLES. Note: When used as a request parameter, this field is required if AccountPrivilege is set to Custom. In the CreateDBAccount API, REPLICATION SLAVE, PROCESS, and REPLICATION CLIENT global privileges are automatically granted to the account. Multiple values can be specified, separated by commas (,). The write mode is overwrite.
    db_name str
    The name of the database for which account authorization needs to be modified or for which the account already has privileges. Note: When used as a request parameter in the CreateDBAccount and GrantDBAccountPrivilege APIs, ensure that the database corresponding to DBName already exists. For global privilege modifications, set DBName to an empty string.
    accountPrivilege String
    Type of database permission. Value options: ReadWrite: read and write permission. ReadOnly: read-only permission. DDLOnly: DDL permission only. DMLOnly: DML permission only. Custom: custom permission. Global: global permission. None: clear account permission. Note: When used as a request parameter, pay attention to the following: Only Global and None are allowed as values when used as request parameters. Permission type is single-select; passing multiple values will result in an error. Only the GrantDBAccountPrivilege API supports None as a value for AccountPrivilege. When AccountPrivilege is set to None and DBName is an empty string, all global permissions for the account are cleared. If DBName is set to a specific database, all permissions for the account in that database are cleared.
    accountPrivilegeDetails List<String>
    Account privilege information. When AccountPrivilege is set to Custom, the valid values for this field are: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, EVENT, TRIGGER, CREATE ROUTINE, ALTER ROUTINE. When AccountPrivilege is set to Global, the valid values for this field are: PROCESS, REPLICATION SLAVE, REPLICATION CLIENT, SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, REFERENCES, INDEX, ALTER, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, SHOW DATABASES, CREATE TEMPORARY TABLES. Note: When used as a request parameter, this field is required if AccountPrivilege is set to Custom. In the CreateDBAccount API, REPLICATION SLAVE, PROCESS, and REPLICATION CLIENT global privileges are automatically granted to the account. Multiple values can be specified, separated by commas (,). The write mode is overwrite.
    dbName String
    The name of the database for which account authorization needs to be modified or for which the account already has privileges. Note: When used as a request parameter in the CreateDBAccount and GrantDBAccountPrivilege APIs, ensure that the database corresponding to DBName already exists. For global privilege modifications, set DBName to an empty string.

    DbAccountTableColumnPrivilege, DbAccountTableColumnPrivilegeArgs

    ColumnPrivileges []DbAccountTableColumnPrivilegeColumnPrivilege
    DbName string
    Name of the database to which the table belongs for setting permissions for the account.
    TablePrivileges []DbAccountTableColumnPrivilegeTablePrivilege
    column_privileges list(object)
    db_name string
    Name of the database to which the table belongs for setting permissions for the account.
    table_privileges list(object)
    columnPrivileges List<DbAccountTableColumnPrivilegeColumnPrivilege>
    dbName String
    Name of the database to which the table belongs for setting permissions for the account.
    tablePrivileges List<DbAccountTableColumnPrivilegeTablePrivilege>
    columnPrivileges DbAccountTableColumnPrivilegeColumnPrivilege[]
    dbName string
    Name of the database to which the table belongs for setting permissions for the account.
    tablePrivileges DbAccountTableColumnPrivilegeTablePrivilege[]
    columnPrivileges List<Property Map>
    dbName String
    Name of the database to which the table belongs for setting permissions for the account.
    tablePrivileges List<Property Map>

    DbAccountTableColumnPrivilegeColumnPrivilege, DbAccountTableColumnPrivilegeColumnPrivilegeArgs

    AccountPrivilegeDetails List<string>
    Permission information for setting column permissions for the account. Values (multiple selections allowed): INSERT, REFERENCES, SELECT, UPDATE. Note: Use commas (,) to separate multiple permissions.
    ColumnName string
    Name of the column for setting column permissions for the account.
    TableName string
    Name of the database to which the table belongs for setting column permissions for the account.
    AccountPrivilegeDetails []string
    Permission information for setting column permissions for the account. Values (multiple selections allowed): INSERT, REFERENCES, SELECT, UPDATE. Note: Use commas (,) to separate multiple permissions.
    ColumnName string
    Name of the column for setting column permissions for the account.
    TableName string
    Name of the database to which the table belongs for setting column permissions for the account.
    account_privilege_details list(string)
    Permission information for setting column permissions for the account. Values (multiple selections allowed): INSERT, REFERENCES, SELECT, UPDATE. Note: Use commas (,) to separate multiple permissions.
    column_name string
    Name of the column for setting column permissions for the account.
    table_name string
    Name of the database to which the table belongs for setting column permissions for the account.
    accountPrivilegeDetails List<String>
    Permission information for setting column permissions for the account. Values (multiple selections allowed): INSERT, REFERENCES, SELECT, UPDATE. Note: Use commas (,) to separate multiple permissions.
    columnName String
    Name of the column for setting column permissions for the account.
    tableName String
    Name of the database to which the table belongs for setting column permissions for the account.
    accountPrivilegeDetails string[]
    Permission information for setting column permissions for the account. Values (multiple selections allowed): INSERT, REFERENCES, SELECT, UPDATE. Note: Use commas (,) to separate multiple permissions.
    columnName string
    Name of the column for setting column permissions for the account.
    tableName string
    Name of the database to which the table belongs for setting column permissions for the account.
    account_privilege_details Sequence[str]
    Permission information for setting column permissions for the account. Values (multiple selections allowed): INSERT, REFERENCES, SELECT, UPDATE. Note: Use commas (,) to separate multiple permissions.
    column_name str
    Name of the column for setting column permissions for the account.
    table_name str
    Name of the database to which the table belongs for setting column permissions for the account.
    accountPrivilegeDetails List<String>
    Permission information for setting column permissions for the account. Values (multiple selections allowed): INSERT, REFERENCES, SELECT, UPDATE. Note: Use commas (,) to separate multiple permissions.
    columnName String
    Name of the column for setting column permissions for the account.
    tableName String
    Name of the database to which the table belongs for setting column permissions for the account.

    DbAccountTableColumnPrivilegeTablePrivilege, DbAccountTableColumnPrivilegeTablePrivilegeArgs

    AccountPrivilegeDetails List<string>
    Account table permissions. Value options (multiple selections allowed): ALTER, CREATE, DELETE, DROP, INDEX, INSERT, SELECT, SHOW, VIEW, TRIGGER, UPDATE, CREATE VIEW, REFERENCES. Note: Use commas (,) to separate multiple permissions.
    TableName string
    Name of the table for setting permissions for the account.
    AccountPrivilegeDetails []string
    Account table permissions. Value options (multiple selections allowed): ALTER, CREATE, DELETE, DROP, INDEX, INSERT, SELECT, SHOW, VIEW, TRIGGER, UPDATE, CREATE VIEW, REFERENCES. Note: Use commas (,) to separate multiple permissions.
    TableName string
    Name of the table for setting permissions for the account.
    account_privilege_details list(string)
    Account table permissions. Value options (multiple selections allowed): ALTER, CREATE, DELETE, DROP, INDEX, INSERT, SELECT, SHOW, VIEW, TRIGGER, UPDATE, CREATE VIEW, REFERENCES. Note: Use commas (,) to separate multiple permissions.
    table_name string
    Name of the table for setting permissions for the account.
    accountPrivilegeDetails List<String>
    Account table permissions. Value options (multiple selections allowed): ALTER, CREATE, DELETE, DROP, INDEX, INSERT, SELECT, SHOW, VIEW, TRIGGER, UPDATE, CREATE VIEW, REFERENCES. Note: Use commas (,) to separate multiple permissions.
    tableName String
    Name of the table for setting permissions for the account.
    accountPrivilegeDetails string[]
    Account table permissions. Value options (multiple selections allowed): ALTER, CREATE, DELETE, DROP, INDEX, INSERT, SELECT, SHOW, VIEW, TRIGGER, UPDATE, CREATE VIEW, REFERENCES. Note: Use commas (,) to separate multiple permissions.
    tableName string
    Name of the table for setting permissions for the account.
    account_privilege_details Sequence[str]
    Account table permissions. Value options (multiple selections allowed): ALTER, CREATE, DELETE, DROP, INDEX, INSERT, SELECT, SHOW, VIEW, TRIGGER, UPDATE, CREATE VIEW, REFERENCES. Note: Use commas (,) to separate multiple permissions.
    table_name str
    Name of the table for setting permissions for the account.
    accountPrivilegeDetails List<String>
    Account table permissions. Value options (multiple selections allowed): ALTER, CREATE, DELETE, DROP, INDEX, INSERT, SELECT, SHOW, VIEW, TRIGGER, UPDATE, CREATE VIEW, REFERENCES. Note: Use commas (,) to separate multiple permissions.
    tableName String
    Name of the table for setting permissions for the account.

    Import

    $ pulumi import volcenginecc:rdsmysql/dbAccount:DbAccount example "instance_id|account_name|host"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.35
    published on Thursday, May 14, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.