bytepluscc v0.0.15 published on Monday, Mar 2, 2026 by Byteplus
bytepluscc v0.0.15 published on Monday, Mar 2, 2026 by Byteplus
Data Source schema for Byteplus::Redis::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: Optional[pulumi.Input[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: bytepluscc:redis/getAccount:getAccount
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.
getAccount Result
The following output properties are available:
- Account
Name string - 账号名称。名称需同时满足如下要求:以小写字母开头,由小写字母或者数字结尾。长度为 2~16 个字符。由小写字母、数字、下划线(_)组成。
- Account
Status string - 账号状态。取值范围如下:Available:可用。Unavailable:不可用。
- Description string
- 账号描述,长度不超过 256 个字符。说明若该参数为空,表示不设置账号描述。
- Id string
- Uniquely identifies the resource.
- Instance
Id string - 实例 ID。
- Password string
- 账号密码。密码需同时满足如下要求:长度为 8~32 个字符。至少包含大写字母、小写字母、数字或特殊字符中的任意 2 种。支持如下特殊字符:()`~!@#$%^&*-+=_|{}[];<>,.?
- Role
Name string - 账号所属角色。支持如下默认角色:Administrator:允许对所有 Key 使用所有 Redis 实例已支持的命令。ReadWrite:允许对所有 Key 使用除 admin 类之外的所有命令。ReadOnly:允许对所有 Key 使用 read 类中的所有命令。NotDangerous:允许对所有 Key 使用除 dangerous 类之外的所有命令。说明关于各角色对应 ACL 规则支持的具体命令详情,请参见 ACL 语法。
- Account
Name string - 账号名称。名称需同时满足如下要求:以小写字母开头,由小写字母或者数字结尾。长度为 2~16 个字符。由小写字母、数字、下划线(_)组成。
- Account
Status string - 账号状态。取值范围如下:Available:可用。Unavailable:不可用。
- Description string
- 账号描述,长度不超过 256 个字符。说明若该参数为空,表示不设置账号描述。
- Id string
- Uniquely identifies the resource.
- Instance
Id string - 实例 ID。
- Password string
- 账号密码。密码需同时满足如下要求:长度为 8~32 个字符。至少包含大写字母、小写字母、数字或特殊字符中的任意 2 种。支持如下特殊字符:()`~!@#$%^&*-+=_|{}[];<>,.?
- Role
Name string - 账号所属角色。支持如下默认角色:Administrator:允许对所有 Key 使用所有 Redis 实例已支持的命令。ReadWrite:允许对所有 Key 使用除 admin 类之外的所有命令。ReadOnly:允许对所有 Key 使用 read 类中的所有命令。NotDangerous:允许对所有 Key 使用除 dangerous 类之外的所有命令。说明关于各角色对应 ACL 规则支持的具体命令详情,请参见 ACL 语法。
- account
Name String - 账号名称。名称需同时满足如下要求:以小写字母开头,由小写字母或者数字结尾。长度为 2~16 个字符。由小写字母、数字、下划线(_)组成。
- account
Status String - 账号状态。取值范围如下:Available:可用。Unavailable:不可用。
- description String
- 账号描述,长度不超过 256 个字符。说明若该参数为空,表示不设置账号描述。
- id String
- Uniquely identifies the resource.
- instance
Id String - 实例 ID。
- password String
- 账号密码。密码需同时满足如下要求:长度为 8~32 个字符。至少包含大写字母、小写字母、数字或特殊字符中的任意 2 种。支持如下特殊字符:()`~!@#$%^&*-+=_|{}[];<>,.?
- role
Name String - 账号所属角色。支持如下默认角色:Administrator:允许对所有 Key 使用所有 Redis 实例已支持的命令。ReadWrite:允许对所有 Key 使用除 admin 类之外的所有命令。ReadOnly:允许对所有 Key 使用 read 类中的所有命令。NotDangerous:允许对所有 Key 使用除 dangerous 类之外的所有命令。说明关于各角色对应 ACL 规则支持的具体命令详情,请参见 ACL 语法。
- account
Name string - 账号名称。名称需同时满足如下要求:以小写字母开头,由小写字母或者数字结尾。长度为 2~16 个字符。由小写字母、数字、下划线(_)组成。
- account
Status string - 账号状态。取值范围如下:Available:可用。Unavailable:不可用。
- description string
- 账号描述,长度不超过 256 个字符。说明若该参数为空,表示不设置账号描述。
- id string
- Uniquely identifies the resource.
- instance
Id string - 实例 ID。
- password string
- 账号密码。密码需同时满足如下要求:长度为 8~32 个字符。至少包含大写字母、小写字母、数字或特殊字符中的任意 2 种。支持如下特殊字符:()`~!@#$%^&*-+=_|{}[];<>,.?
- role
Name string - 账号所属角色。支持如下默认角色:Administrator:允许对所有 Key 使用所有 Redis 实例已支持的命令。ReadWrite:允许对所有 Key 使用除 admin 类之外的所有命令。ReadOnly:允许对所有 Key 使用 read 类中的所有命令。NotDangerous:允许对所有 Key 使用除 dangerous 类之外的所有命令。说明关于各角色对应 ACL 规则支持的具体命令详情,请参见 ACL 语法。
- account_
name str - 账号名称。名称需同时满足如下要求:以小写字母开头,由小写字母或者数字结尾。长度为 2~16 个字符。由小写字母、数字、下划线(_)组成。
- account_
status str - 账号状态。取值范围如下:Available:可用。Unavailable:不可用。
- description str
- 账号描述,长度不超过 256 个字符。说明若该参数为空,表示不设置账号描述。
- id str
- Uniquely identifies the resource.
- instance_
id str - 实例 ID。
- password str
- 账号密码。密码需同时满足如下要求:长度为 8~32 个字符。至少包含大写字母、小写字母、数字或特殊字符中的任意 2 种。支持如下特殊字符:()`~!@#$%^&*-+=_|{}[];<>,.?
- role_
name str - 账号所属角色。支持如下默认角色:Administrator:允许对所有 Key 使用所有 Redis 实例已支持的命令。ReadWrite:允许对所有 Key 使用除 admin 类之外的所有命令。ReadOnly:允许对所有 Key 使用 read 类中的所有命令。NotDangerous:允许对所有 Key 使用除 dangerous 类之外的所有命令。说明关于各角色对应 ACL 规则支持的具体命令详情,请参见 ACL 语法。
- account
Name String - 账号名称。名称需同时满足如下要求:以小写字母开头,由小写字母或者数字结尾。长度为 2~16 个字符。由小写字母、数字、下划线(_)组成。
- account
Status String - 账号状态。取值范围如下:Available:可用。Unavailable:不可用。
- description String
- 账号描述,长度不超过 256 个字符。说明若该参数为空,表示不设置账号描述。
- id String
- Uniquely identifies the resource.
- instance
Id String - 实例 ID。
- password String
- 账号密码。密码需同时满足如下要求:长度为 8~32 个字符。至少包含大写字母、小写字母、数字或特殊字符中的任意 2 种。支持如下特殊字符:()`~!@#$%^&*-+=_|{}[];<>,.?
- role
Name String - 账号所属角色。支持如下默认角色:Administrator:允许对所有 Key 使用所有 Redis 实例已支持的命令。ReadWrite:允许对所有 Key 使用除 admin 类之外的所有命令。ReadOnly:允许对所有 Key 使用 read 类中的所有命令。NotDangerous:允许对所有 Key 使用除 dangerous 类之外的所有命令。说明关于各角色对应 ACL 规则支持的具体命令详情,请参见 ACL 语法。
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
bytepluscc v0.0.15 published on Monday, Mar 2, 2026 by Byteplus
