1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. rdspostgresql
  6. getDbAccount
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    Data Source schema for Volcengine::RDSPostgreSQL::DBAccount

    Using getDbAccount

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDbAccount(args: GetDbAccountArgs, opts?: InvokeOptions): Promise<GetDbAccountResult>
    function getDbAccountOutput(args: GetDbAccountOutputArgs, opts?: InvokeOptions): Output<GetDbAccountResult>
    def get_db_account(id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetDbAccountResult
    def get_db_account_output(id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetDbAccountResult]
    func LookupDbAccount(ctx *Context, args *LookupDbAccountArgs, opts ...InvokeOption) (*LookupDbAccountResult, error)
    func LookupDbAccountOutput(ctx *Context, args *LookupDbAccountOutputArgs, opts ...InvokeOption) LookupDbAccountResultOutput

    > Note: This function is named LookupDbAccount in the Go SDK.

    public static class GetDbAccount 
    {
        public static Task<GetDbAccountResult> InvokeAsync(GetDbAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetDbAccountResult> Invoke(GetDbAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDbAccountResult> getDbAccount(GetDbAccountArgs args, InvokeOptions options)
    public static Output<GetDbAccountResult> getDbAccount(GetDbAccountArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:rdspostgresql/getDbAccount:getDbAccount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getDbAccount Result

    The following output properties are available:

    AccountName string
    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.
    AccountPassword 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: !@#$%^*()&_+-=.
    AccountPrivileges 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.
    AccountType string
    Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.
    Id string
    Uniquely identifies the resource.
    InstanceId string
    Instance ID
    NotAllowPrivileges List<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.
    AccountName string
    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.
    AccountPassword 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: !@#$%^*()&_+-=.
    AccountPrivileges 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.
    AccountType string
    Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.
    Id string
    Uniquely identifies the resource.
    InstanceId string
    Instance ID
    NotAllowPrivileges []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.
    accountName String
    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.
    accountPassword 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: !@#$%^*()&_+-=.
    accountPrivileges 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.
    accountType String
    Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.
    id String
    Uniquely identifies the resource.
    instanceId String
    Instance ID
    notAllowPrivileges List<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.
    accountName string
    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.
    accountPassword 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: !@#$%^*()&_+-=.
    accountPrivileges 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.
    accountType string
    Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.
    id string
    Uniquely identifies the resource.
    instanceId string
    Instance ID
    notAllowPrivileges 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.
    account_name str
    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.
    account_password str
    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: !@#$%^*()&_+-=.
    account_privileges str
    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.
    account_type str
    Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.
    id str
    Uniquely identifies the resource.
    instance_id str
    Instance ID
    not_allow_privileges Sequence[str]
    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.
    accountName String
    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.
    accountPassword 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: !@#$%^*()&_+-=.
    accountPrivileges 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.
    accountType String
    Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.
    id String
    Uniquely identifies the resource.
    instanceId String
    Instance ID
    notAllowPrivileges List<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.

    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.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.