volcenginecc v0.0.23 published on Monday, Mar 2, 2026 by Volcengine
volcenginecc v0.0.23 published on Monday, Mar 2, 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 dictionaryThe 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:
- Account
Name string - 数据库账号名称。账号名称的设置规则如下:长度 2~63 个字符。由字母、数字、下划线()或中划线(-)组成。以字母开头,字母或数字结尾。不能以 pg 开头。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
- Account
Password string - 数据库账号的密码。数据库账号密码的设置规则如下:长度为 8~32 个字符。由大写字母、小写字母、数字、特殊字符中的任意三种组成。特殊字符为 !@#$%^*()&_+-=。
- Account
Privileges string - 账号权限信息。多个权限中间以英文逗号(,)分隔。取值:Login:登录权限。Inherit:继承权限。CreateRole:创建角色权限。CreateDB:创建数据库权限。说明当账号类型为高权限账号时,无需传入该参数,默认支持全部权限。当账号类型为普通账号时,支持传入该参数,默认值为 Login 和 Inherit。账号类型为实例只读账号时,即 AccountType 取值为 InstanceReadOnly 时,不支持传入该参数
- Account
Type string - 数据库账号类型,取值范围如下:Super:高权限账号。Normal:普通账号。InstanceReadOnly:实例只读账号。
- Id string
- Uniquely identifies the resource.
- Instance
Id string - 实例 ID
- Not
Allow List<string>Privileges - 为账号禁用的权限。当前仅支持取值为 DDL。说明仅支持为高权限账号或普通账号传入此字段,即 AccountType 取值为 Super 或 Normal 时。
- Account
Name string - 数据库账号名称。账号名称的设置规则如下:长度 2~63 个字符。由字母、数字、下划线()或中划线(-)组成。以字母开头,字母或数字结尾。不能以 pg 开头。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
- Account
Password string - 数据库账号的密码。数据库账号密码的设置规则如下:长度为 8~32 个字符。由大写字母、小写字母、数字、特殊字符中的任意三种组成。特殊字符为 !@#$%^*()&_+-=。
- Account
Privileges string - 账号权限信息。多个权限中间以英文逗号(,)分隔。取值:Login:登录权限。Inherit:继承权限。CreateRole:创建角色权限。CreateDB:创建数据库权限。说明当账号类型为高权限账号时,无需传入该参数,默认支持全部权限。当账号类型为普通账号时,支持传入该参数,默认值为 Login 和 Inherit。账号类型为实例只读账号时,即 AccountType 取值为 InstanceReadOnly 时,不支持传入该参数
- Account
Type string - 数据库账号类型,取值范围如下:Super:高权限账号。Normal:普通账号。InstanceReadOnly:实例只读账号。
- Id string
- Uniquely identifies the resource.
- Instance
Id string - 实例 ID
- Not
Allow []stringPrivileges - 为账号禁用的权限。当前仅支持取值为 DDL。说明仅支持为高权限账号或普通账号传入此字段,即 AccountType 取值为 Super 或 Normal 时。
- account
Name String - 数据库账号名称。账号名称的设置规则如下:长度 2~63 个字符。由字母、数字、下划线()或中划线(-)组成。以字母开头,字母或数字结尾。不能以 pg 开头。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
- account
Password String - 数据库账号的密码。数据库账号密码的设置规则如下:长度为 8~32 个字符。由大写字母、小写字母、数字、特殊字符中的任意三种组成。特殊字符为 !@#$%^*()&_+-=。
- account
Privileges String - 账号权限信息。多个权限中间以英文逗号(,)分隔。取值:Login:登录权限。Inherit:继承权限。CreateRole:创建角色权限。CreateDB:创建数据库权限。说明当账号类型为高权限账号时,无需传入该参数,默认支持全部权限。当账号类型为普通账号时,支持传入该参数,默认值为 Login 和 Inherit。账号类型为实例只读账号时,即 AccountType 取值为 InstanceReadOnly 时,不支持传入该参数
- account
Type String - 数据库账号类型,取值范围如下:Super:高权限账号。Normal:普通账号。InstanceReadOnly:实例只读账号。
- id String
- Uniquely identifies the resource.
- instance
Id String - 实例 ID
- not
Allow List<String>Privileges - 为账号禁用的权限。当前仅支持取值为 DDL。说明仅支持为高权限账号或普通账号传入此字段,即 AccountType 取值为 Super 或 Normal 时。
- account
Name string - 数据库账号名称。账号名称的设置规则如下:长度 2~63 个字符。由字母、数字、下划线()或中划线(-)组成。以字母开头,字母或数字结尾。不能以 pg 开头。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
- account
Password string - 数据库账号的密码。数据库账号密码的设置规则如下:长度为 8~32 个字符。由大写字母、小写字母、数字、特殊字符中的任意三种组成。特殊字符为 !@#$%^*()&_+-=。
- account
Privileges string - 账号权限信息。多个权限中间以英文逗号(,)分隔。取值:Login:登录权限。Inherit:继承权限。CreateRole:创建角色权限。CreateDB:创建数据库权限。说明当账号类型为高权限账号时,无需传入该参数,默认支持全部权限。当账号类型为普通账号时,支持传入该参数,默认值为 Login 和 Inherit。账号类型为实例只读账号时,即 AccountType 取值为 InstanceReadOnly 时,不支持传入该参数
- account
Type string - 数据库账号类型,取值范围如下:Super:高权限账号。Normal:普通账号。InstanceReadOnly:实例只读账号。
- id string
- Uniquely identifies the resource.
- instance
Id string - 实例 ID
- not
Allow string[]Privileges - 为账号禁用的权限。当前仅支持取值为 DDL。说明仅支持为高权限账号或普通账号传入此字段,即 AccountType 取值为 Super 或 Normal 时。
- account_
name str - 数据库账号名称。账号名称的设置规则如下:长度 2~63 个字符。由字母、数字、下划线()或中划线(-)组成。以字母开头,字母或数字结尾。不能以 pg 开头。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
- account_
password str - 数据库账号的密码。数据库账号密码的设置规则如下:长度为 8~32 个字符。由大写字母、小写字母、数字、特殊字符中的任意三种组成。特殊字符为 !@#$%^*()&_+-=。
- account_
privileges str - 账号权限信息。多个权限中间以英文逗号(,)分隔。取值:Login:登录权限。Inherit:继承权限。CreateRole:创建角色权限。CreateDB:创建数据库权限。说明当账号类型为高权限账号时,无需传入该参数,默认支持全部权限。当账号类型为普通账号时,支持传入该参数,默认值为 Login 和 Inherit。账号类型为实例只读账号时,即 AccountType 取值为 InstanceReadOnly 时,不支持传入该参数
- account_
type str - 数据库账号类型,取值范围如下:Super:高权限账号。Normal:普通账号。InstanceReadOnly:实例只读账号。
- id str
- Uniquely identifies the resource.
- instance_
id str - 实例 ID
- not_
allow_ Sequence[str]privileges - 为账号禁用的权限。当前仅支持取值为 DDL。说明仅支持为高权限账号或普通账号传入此字段,即 AccountType 取值为 Super 或 Normal 时。
- account
Name String - 数据库账号名称。账号名称的设置规则如下:长度 2~63 个字符。由字母、数字、下划线()或中划线(-)组成。以字母开头,字母或数字结尾。不能以 pg 开头。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
- account
Password String - 数据库账号的密码。数据库账号密码的设置规则如下:长度为 8~32 个字符。由大写字母、小写字母、数字、特殊字符中的任意三种组成。特殊字符为 !@#$%^*()&_+-=。
- account
Privileges String - 账号权限信息。多个权限中间以英文逗号(,)分隔。取值:Login:登录权限。Inherit:继承权限。CreateRole:创建角色权限。CreateDB:创建数据库权限。说明当账号类型为高权限账号时,无需传入该参数,默认支持全部权限。当账号类型为普通账号时,支持传入该参数,默认值为 Login 和 Inherit。账号类型为实例只读账号时,即 AccountType 取值为 InstanceReadOnly 时,不支持传入该参数
- account
Type String - 数据库账号类型,取值范围如下:Super:高权限账号。Normal:普通账号。InstanceReadOnly:实例只读账号。
- id String
- Uniquely identifies the resource.
- instance
Id String - 实例 ID
- not
Allow List<String>Privileges - 为账号禁用的权限。当前仅支持取值为 DDL。说明仅支持为高权限账号或普通账号传入此字段,即 AccountType 取值为 Super 或 Normal 时。
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
volcenginecc v0.0.23 published on Monday, Mar 2, 2026 by Volcengine
