/**
 * Admin API
 * The Admin API is used to manage the ApeCloud platform.
 *
 * The version of the OpenAPI document: 1.0.0
 * Contact: support@apecloud.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import type { AccountRoleType } from './account-role-type';
import type { PrivilegeListItem } from './privilege-list-item';
/**
 * Cluster account information
 * @export
 * @interface Account
 */
export interface Account {
    /**
     * A list of privileges and their databases.
     * @type {Array<PrivilegeListItem>}
     * @memberof Account
     */
    'privilegesList'?: Array<PrivilegeListItem>;
    /**
     * Specify the name of component to be connected. If not specified, pick the first one.
     * @type {string}
     * @memberof Account
     */
    'component'?: string;
    /**
     * Specify the name of instance to be connected.
     * @type {string}
     * @memberof Account
     */
    'instance'?: string;
    /**
     * Specify the name of user, which must be unique.
     * @type {string}
     * @memberof Account
     */
    'name': string;
    /**
     * Specify the password of user. The default value is empty, which means a random password will be generated.
     * @type {string}
     * @memberof Account
     */
    'password'?: string;
    /**
     *
     * @type {AccountRoleType}
     * @memberof Account
     */
    'role': AccountRoleType;
    /**
     * extra information of account
     * @type {{ [key: string]: any; }}
     * @memberof Account
     */
    'extra'?: {
        [key: string]: any;
    };
}
//# sourceMappingURL=account.d.ts.map