import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::RDSMySQL::DBAccount */ export declare function getDbAccount(args: GetDbAccountArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbAccount. */ export interface GetDbAccountArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getDbAccount. */ export interface GetDbAccountResult { /** * Account information description, maximum length 256 characters. */ readonly accountDesc: 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. */ readonly accountName: 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: !@#$%^&*()_+-=,.&?|/. */ readonly accountPassword: string; /** * Specified database privilege information for the account. Note: When AccountType is set to Super, AccountPrivileges does not need to be specified. */ readonly accountPrivileges: outputs.rdsmysql.GetDbAccountAccountPrivilege[]; /** * SQL statement for the account's specified database permission information. */ readonly accountPrivilegesSqls: string[]; /** * Account status. Values: Unavailable: unavailable. Available: available. */ readonly accountStatus: string; /** * Account type. Value options: Super: high-privilege account. Normal: regular account. */ readonly accountType: 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. */ readonly hasTableColumnPrivilegeDbNames: string[]; /** * IP address from which the specified database account can access the database. */ readonly host: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Instance ID. */ readonly instanceId: string; /** * Account table column permission settings. */ readonly tableColumnPrivileges: outputs.rdsmysql.GetDbAccountTableColumnPrivilege[]; } /** * Data Source schema for Volcengine::RDSMySQL::DBAccount */ export declare function getDbAccountOutput(args: GetDbAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbAccount. */ export interface GetDbAccountOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }