1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. mongodb
  6. getAccount
Viewing docs for volcenginecc v0.0.43
published on Monday, Jun 15, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.43
published on Monday, Jun 15, 2026 by Volcengine

    Data Source schema for Volcengine::MongoDB::Account

    Using getAccount

    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 getAccount(args: GetAccountArgs, opts?: InvokeOptions): Promise<GetAccountResult>
    function getAccountOutput(args: GetAccountOutputArgs, opts?: InvokeOptions): Output<GetAccountResult>
    def get_account(id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetAccountResult
    def get_account_output(id: pulumi.Input[Optional[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetAccountResult]
    func LookupAccount(ctx *Context, args *LookupAccountArgs, opts ...InvokeOption) (*LookupAccountResult, error)
    func LookupAccountOutput(ctx *Context, args *LookupAccountOutputArgs, opts ...InvokeOption) LookupAccountResultOutput

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

    public static class GetAccount 
    {
        public static Task<GetAccountResult> InvokeAsync(GetAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetAccountResult> Invoke(GetAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
    public static Output<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:mongodb/getAccount:getAccount
      arguments:
        # arguments dictionary
    data "volcenginecc_mongodb_getaccount" "name" {
        # arguments
    }

    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 string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getAccount Result

    The following output properties are available:

    AccountDesc string
    Account remarks.
    AccountName string
    Account name.
    AccountPassword string
    Account password.
    AccountPrivileges List<Volcengine.GetAccountAccountPrivilege>
    List of database permissions currently owned by the account.
    AccountType string
    Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
    AuthDb string
    Database associated with the account.
    CreateTime string
    Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    Id string
    Uniquely identifies the resource.
    InstanceId string
    Instance ID.
    ModifyTime string
    Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    ResetDbAccount bool
    Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
    AccountDesc string
    Account remarks.
    AccountName string
    Account name.
    AccountPassword string
    Account password.
    AccountPrivileges []GetAccountAccountPrivilege
    List of database permissions currently owned by the account.
    AccountType string
    Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
    AuthDb string
    Database associated with the account.
    CreateTime string
    Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    Id string
    Uniquely identifies the resource.
    InstanceId string
    Instance ID.
    ModifyTime string
    Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    ResetDbAccount bool
    Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
    account_desc string
    Account remarks.
    account_name string
    Account name.
    account_password string
    Account password.
    account_privileges list(object)
    List of database permissions currently owned by the account.
    account_type string
    Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
    auth_db string
    Database associated with the account.
    create_time string
    Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    id string
    Uniquely identifies the resource.
    instance_id string
    Instance ID.
    modify_time string
    Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    reset_db_account bool
    Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
    accountDesc String
    Account remarks.
    accountName String
    Account name.
    accountPassword String
    Account password.
    accountPrivileges List<GetAccountAccountPrivilege>
    List of database permissions currently owned by the account.
    accountType String
    Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
    authDb String
    Database associated with the account.
    createTime String
    Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    id String
    Uniquely identifies the resource.
    instanceId String
    Instance ID.
    modifyTime String
    Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    resetDbAccount Boolean
    Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
    accountDesc string
    Account remarks.
    accountName string
    Account name.
    accountPassword string
    Account password.
    accountPrivileges GetAccountAccountPrivilege[]
    List of database permissions currently owned by the account.
    accountType string
    Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
    authDb string
    Database associated with the account.
    createTime string
    Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    id string
    Uniquely identifies the resource.
    instanceId string
    Instance ID.
    modifyTime string
    Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    resetDbAccount boolean
    Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
    account_desc str
    Account remarks.
    account_name str
    Account name.
    account_password str
    Account password.
    account_privileges Sequence[GetAccountAccountPrivilege]
    List of database permissions currently owned by the account.
    account_type str
    Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
    auth_db str
    Database associated with the account.
    create_time str
    Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    id str
    Uniquely identifies the resource.
    instance_id str
    Instance ID.
    modify_time str
    Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    reset_db_account bool
    Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
    accountDesc String
    Account remarks.
    accountName String
    Account name.
    accountPassword String
    Account password.
    accountPrivileges List<Property Map>
    List of database permissions currently owned by the account.
    accountType String
    Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
    authDb String
    Database associated with the account.
    createTime String
    Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    id String
    Uniquely identifies the resource.
    instanceId String
    Instance ID.
    modifyTime String
    Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
    resetDbAccount Boolean
    Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).

    Supporting Types

    GetAccountAccountPrivilege

    DbName string
    Databases for which the account has permissions.
    RoleName string
    Permissions the account has in the current database.
    DbName string
    Databases for which the account has permissions.
    RoleName string
    Permissions the account has in the current database.
    db_name string
    Databases for which the account has permissions.
    role_name string
    Permissions the account has in the current database.
    dbName String
    Databases for which the account has permissions.
    roleName String
    Permissions the account has in the current database.
    dbName string
    Databases for which the account has permissions.
    roleName string
    Permissions the account has in the current database.
    db_name str
    Databases for which the account has permissions.
    role_name str
    Permissions the account has in the current database.
    dbName String
    Databases for which the account has permissions.
    roleName String
    Permissions the account has in the current database.

    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.43
    published on Monday, Jun 15, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial