1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. organization
  5. getAccount
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus

    Data Source schema for Byteplus::Organization::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:organization/getAccount:getAccount
      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.

    getAccount Result

    The following output properties are available:

    AccountId string
    火山账号ID。
    AccountName string
    账户名称。5-20个字符。
    AllowConsole int
    允许控制台访问,1: 允许,2: 不允许。
    AllowExit int
    允许退出,1: 允许,2: 不允许。
    CreatedTime string
    创建时间。
    DeleteUk string
    删除标记。
    DeletedTime string
    删除时间。
    Description string
    描述。
    IamRole string
    IAM角色名称。
    Id string
    Uniquely identifies the resource.
    IsOwner int
    是否是管理员,0.非管理员,1.管理员。
    JoinType int
    加入类型,1: 创建,2: 邀请。
    MainName string
    主体名称。
    MemberAccountId string
    组织成员账号ID。
    OrgId string
    组织ID。
    OrgType int
    组织类型,1.企业组织。
    OrgUnitId string
    组织单元ID。传入 0 加入到 root 单元。
    OrgUnitName string
    组织单元名称。
    OrgVerificationId string
    认证主体ID。
    Owner string
    管理员ID。
    Password string
    账户密码。
    SecureContactInfo Byteplus.GetAccountSecureContactInfo
    安全联系信息。
    ShowName string
    显示名称。
    Tags List<Byteplus.GetAccountTag>
    标签列表。
    UpdatedTime string
    更新时间。
    VerificationRelationId string
    被继承认证主体的账号ID,给非管理员认证主体创建账号时需要,账号需已加入企业组织。默认不传,则继承企业组织管理员的认证主体。
    AccountId string
    火山账号ID。
    AccountName string
    账户名称。5-20个字符。
    AllowConsole int
    允许控制台访问,1: 允许,2: 不允许。
    AllowExit int
    允许退出,1: 允许,2: 不允许。
    CreatedTime string
    创建时间。
    DeleteUk string
    删除标记。
    DeletedTime string
    删除时间。
    Description string
    描述。
    IamRole string
    IAM角色名称。
    Id string
    Uniquely identifies the resource.
    IsOwner int
    是否是管理员,0.非管理员,1.管理员。
    JoinType int
    加入类型,1: 创建,2: 邀请。
    MainName string
    主体名称。
    MemberAccountId string
    组织成员账号ID。
    OrgId string
    组织ID。
    OrgType int
    组织类型,1.企业组织。
    OrgUnitId string
    组织单元ID。传入 0 加入到 root 单元。
    OrgUnitName string
    组织单元名称。
    OrgVerificationId string
    认证主体ID。
    Owner string
    管理员ID。
    Password string
    账户密码。
    SecureContactInfo GetAccountSecureContactInfo
    安全联系信息。
    ShowName string
    显示名称。
    Tags []GetAccountTag
    标签列表。
    UpdatedTime string
    更新时间。
    VerificationRelationId string
    被继承认证主体的账号ID,给非管理员认证主体创建账号时需要,账号需已加入企业组织。默认不传,则继承企业组织管理员的认证主体。
    accountId String
    火山账号ID。
    accountName String
    账户名称。5-20个字符。
    allowConsole Integer
    允许控制台访问,1: 允许,2: 不允许。
    allowExit Integer
    允许退出,1: 允许,2: 不允许。
    createdTime String
    创建时间。
    deleteUk String
    删除标记。
    deletedTime String
    删除时间。
    description String
    描述。
    iamRole String
    IAM角色名称。
    id String
    Uniquely identifies the resource.
    isOwner Integer
    是否是管理员,0.非管理员,1.管理员。
    joinType Integer
    加入类型,1: 创建,2: 邀请。
    mainName String
    主体名称。
    memberAccountId String
    组织成员账号ID。
    orgId String
    组织ID。
    orgType Integer
    组织类型,1.企业组织。
    orgUnitId String
    组织单元ID。传入 0 加入到 root 单元。
    orgUnitName String
    组织单元名称。
    orgVerificationId String
    认证主体ID。
    owner String
    管理员ID。
    password String
    账户密码。
    secureContactInfo GetAccountSecureContactInfo
    安全联系信息。
    showName String
    显示名称。
    tags List<GetAccountTag>
    标签列表。
    updatedTime String
    更新时间。
    verificationRelationId String
    被继承认证主体的账号ID,给非管理员认证主体创建账号时需要,账号需已加入企业组织。默认不传,则继承企业组织管理员的认证主体。
    accountId string
    火山账号ID。
    accountName string
    账户名称。5-20个字符。
    allowConsole number
    允许控制台访问,1: 允许,2: 不允许。
    allowExit number
    允许退出,1: 允许,2: 不允许。
    createdTime string
    创建时间。
    deleteUk string
    删除标记。
    deletedTime string
    删除时间。
    description string
    描述。
    iamRole string
    IAM角色名称。
    id string
    Uniquely identifies the resource.
    isOwner number
    是否是管理员,0.非管理员,1.管理员。
    joinType number
    加入类型,1: 创建,2: 邀请。
    mainName string
    主体名称。
    memberAccountId string
    组织成员账号ID。
    orgId string
    组织ID。
    orgType number
    组织类型,1.企业组织。
    orgUnitId string
    组织单元ID。传入 0 加入到 root 单元。
    orgUnitName string
    组织单元名称。
    orgVerificationId string
    认证主体ID。
    owner string
    管理员ID。
    password string
    账户密码。
    secureContactInfo GetAccountSecureContactInfo
    安全联系信息。
    showName string
    显示名称。
    tags GetAccountTag[]
    标签列表。
    updatedTime string
    更新时间。
    verificationRelationId string
    被继承认证主体的账号ID,给非管理员认证主体创建账号时需要,账号需已加入企业组织。默认不传,则继承企业组织管理员的认证主体。
    account_id str
    火山账号ID。
    account_name str
    账户名称。5-20个字符。
    allow_console int
    允许控制台访问,1: 允许,2: 不允许。
    allow_exit int
    允许退出,1: 允许,2: 不允许。
    created_time str
    创建时间。
    delete_uk str
    删除标记。
    deleted_time str
    删除时间。
    description str
    描述。
    iam_role str
    IAM角色名称。
    id str
    Uniquely identifies the resource.
    is_owner int
    是否是管理员,0.非管理员,1.管理员。
    join_type int
    加入类型,1: 创建,2: 邀请。
    main_name str
    主体名称。
    member_account_id str
    组织成员账号ID。
    org_id str
    组织ID。
    org_type int
    组织类型,1.企业组织。
    org_unit_id str
    组织单元ID。传入 0 加入到 root 单元。
    org_unit_name str
    组织单元名称。
    org_verification_id str
    认证主体ID。
    owner str
    管理员ID。
    password str
    账户密码。
    secure_contact_info GetAccountSecureContactInfo
    安全联系信息。
    show_name str
    显示名称。
    tags Sequence[GetAccountTag]
    标签列表。
    updated_time str
    更新时间。
    verification_relation_id str
    被继承认证主体的账号ID,给非管理员认证主体创建账号时需要,账号需已加入企业组织。默认不传,则继承企业组织管理员的认证主体。
    accountId String
    火山账号ID。
    accountName String
    账户名称。5-20个字符。
    allowConsole Number
    允许控制台访问,1: 允许,2: 不允许。
    allowExit Number
    允许退出,1: 允许,2: 不允许。
    createdTime String
    创建时间。
    deleteUk String
    删除标记。
    deletedTime String
    删除时间。
    description String
    描述。
    iamRole String
    IAM角色名称。
    id String
    Uniquely identifies the resource.
    isOwner Number
    是否是管理员,0.非管理员,1.管理员。
    joinType Number
    加入类型,1: 创建,2: 邀请。
    mainName String
    主体名称。
    memberAccountId String
    组织成员账号ID。
    orgId String
    组织ID。
    orgType Number
    组织类型,1.企业组织。
    orgUnitId String
    组织单元ID。传入 0 加入到 root 单元。
    orgUnitName String
    组织单元名称。
    orgVerificationId String
    认证主体ID。
    owner String
    管理员ID。
    password String
    账户密码。
    secureContactInfo Property Map
    安全联系信息。
    showName String
    显示名称。
    tags List<Property Map>
    标签列表。
    updatedTime String
    更新时间。
    verificationRelationId String
    被继承认证主体的账号ID,给非管理员认证主体创建账号时需要,账号需已加入企业组织。默认不传,则继承企业组织管理员的认证主体。

    Supporting Types

    GetAccountSecureContactInfo

    Email string
    安全邮箱。
    EmailVerified int
    安全邮箱是否验证,1: 未验证,2: 已验证。
    NewEmail string
    变更中的新邮箱。
    NewPhone string
    变更中的新手机号。
    Phone string
    安全手机号。
    PhoneVerified int
    安全手机号是否验证,1: 未验证,2: 已验证。
    Email string
    安全邮箱。
    EmailVerified int
    安全邮箱是否验证,1: 未验证,2: 已验证。
    NewEmail string
    变更中的新邮箱。
    NewPhone string
    变更中的新手机号。
    Phone string
    安全手机号。
    PhoneVerified int
    安全手机号是否验证,1: 未验证,2: 已验证。
    email String
    安全邮箱。
    emailVerified Integer
    安全邮箱是否验证,1: 未验证,2: 已验证。
    newEmail String
    变更中的新邮箱。
    newPhone String
    变更中的新手机号。
    phone String
    安全手机号。
    phoneVerified Integer
    安全手机号是否验证,1: 未验证,2: 已验证。
    email string
    安全邮箱。
    emailVerified number
    安全邮箱是否验证,1: 未验证,2: 已验证。
    newEmail string
    变更中的新邮箱。
    newPhone string
    变更中的新手机号。
    phone string
    安全手机号。
    phoneVerified number
    安全手机号是否验证,1: 未验证,2: 已验证。
    email str
    安全邮箱。
    email_verified int
    安全邮箱是否验证,1: 未验证,2: 已验证。
    new_email str
    变更中的新邮箱。
    new_phone str
    变更中的新手机号。
    phone str
    安全手机号。
    phone_verified int
    安全手机号是否验证,1: 未验证,2: 已验证。
    email String
    安全邮箱。
    emailVerified Number
    安全邮箱是否验证,1: 未验证,2: 已验证。
    newEmail String
    变更中的新邮箱。
    newPhone String
    变更中的新手机号。
    phone String
    安全手机号。
    phoneVerified Number
    安全手机号是否验证,1: 未验证,2: 已验证。

    GetAccountTag

    Key string
    标签键。
    Value string
    标签值。
    Key string
    标签键。
    Value string
    标签值。
    key String
    标签键。
    value String
    标签值。
    key string
    标签键。
    value string
    标签值。
    key str
    标签键。
    value str
    标签值。
    key String
    标签键。
    value String
    标签值。

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.16
    published on Monday, Mar 9, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.