import * as pulumi from "@pulumi/pulumi"; /** * Data Source schema for Volcengine::RDSPostgreSQL::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 { /** * Database account name. The account name rules are as follows: Length must be 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Cannot start with pg*. Reserved keywords cannot be used. For all disabled keywords, see Disabled Keywords. */ readonly accountName: string; /** * Database account password. The password rules are as follows: Length must be 8–32 characters. Must contain any three of the following: uppercase letters, lowercase letters, numbers, special characters. Supported special characters: !@#$%^*()&_+-=. */ readonly accountPassword: string; /** * Account permission information. Separate multiple permissions with commas (,). Valid values: Login: Login permission. Inherit: Inherit permission. CreateRole: Create role permission. CreateDB: Create database permission. Note: If the account type is high privilege, you do not need to provide this parameter; all permissions are supported by default. If the account type is normal, you can provide this parameter; the default values are Login and Inherit. If the account type is instance read-only, that is, AccountType is set to InstanceReadOnly, this parameter is not supported. */ readonly accountPrivileges: string; /** * Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account. */ readonly accountType: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Instance ID */ readonly instanceId: string; /** * Permissions disabled for the account. Currently, only DDL is supported. Note: This field can only be provided for high privilege or normal accounts, that is, when AccountType is set to Super or Normal. */ readonly notAllowPrivileges: string[]; } /** * Data Source schema for Volcengine::RDSPostgreSQL::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; }