1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. organization
  5. getUnit
volcenginecc v0.0.11 published on Thursday, Dec 4, 2025 by Volcengine
volcenginecc logo
volcenginecc v0.0.11 published on Thursday, Dec 4, 2025 by Volcengine

    Data Source schema for Volcengine::Organization::Unit

    Using getUnit

    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 getUnit(args: GetUnitArgs, opts?: InvokeOptions): Promise<GetUnitResult>
    function getUnitOutput(args: GetUnitOutputArgs, opts?: InvokeOptions): Output<GetUnitResult>
    def get_unit(id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetUnitResult
    def get_unit_output(id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetUnitResult]
    func LookupUnit(ctx *Context, args *LookupUnitArgs, opts ...InvokeOption) (*LookupUnitResult, error)
    func LookupUnitOutput(ctx *Context, args *LookupUnitOutputArgs, opts ...InvokeOption) LookupUnitResultOutput

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

    public static class GetUnit 
    {
        public static Task<GetUnitResult> InvokeAsync(GetUnitArgs args, InvokeOptions? opts = null)
        public static Output<GetUnitResult> Invoke(GetUnitInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUnitResult> getUnit(GetUnitArgs args, InvokeOptions options)
    public static Output<GetUnitResult> getUnit(GetUnitArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:organization/getUnit:getUnit
      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.

    getUnit Result

    The following output properties are available:

    CreatedTime string
    创建时间。
    DeleteUk string
    删除标识。
    DeletedTime string
    删除时间。
    Depth int
    深度。
    Description string
    描述。
    Id string
    Uniquely identifies the resource.
    Name string
    组织单元名称。
    OrgId string
    组织ID。
    OrgType int
    组织类型。企业组织: 1
    OrgUnitId string
    组织单元ID。
    Owner string
    管理员ID。
    ParentId string
    父单元Id。
    UpdatedTime string
    更新时间。
    CreatedTime string
    创建时间。
    DeleteUk string
    删除标识。
    DeletedTime string
    删除时间。
    Depth int
    深度。
    Description string
    描述。
    Id string
    Uniquely identifies the resource.
    Name string
    组织单元名称。
    OrgId string
    组织ID。
    OrgType int
    组织类型。企业组织: 1
    OrgUnitId string
    组织单元ID。
    Owner string
    管理员ID。
    ParentId string
    父单元Id。
    UpdatedTime string
    更新时间。
    createdTime String
    创建时间。
    deleteUk String
    删除标识。
    deletedTime String
    删除时间。
    depth Integer
    深度。
    description String
    描述。
    id String
    Uniquely identifies the resource.
    name String
    组织单元名称。
    orgId String
    组织ID。
    orgType Integer
    组织类型。企业组织: 1
    orgUnitId String
    组织单元ID。
    owner String
    管理员ID。
    parentId String
    父单元Id。
    updatedTime String
    更新时间。
    createdTime string
    创建时间。
    deleteUk string
    删除标识。
    deletedTime string
    删除时间。
    depth number
    深度。
    description string
    描述。
    id string
    Uniquely identifies the resource.
    name string
    组织单元名称。
    orgId string
    组织ID。
    orgType number
    组织类型。企业组织: 1
    orgUnitId string
    组织单元ID。
    owner string
    管理员ID。
    parentId string
    父单元Id。
    updatedTime string
    更新时间。
    created_time str
    创建时间。
    delete_uk str
    删除标识。
    deleted_time str
    删除时间。
    depth int
    深度。
    description str
    描述。
    id str
    Uniquely identifies the resource.
    name str
    组织单元名称。
    org_id str
    组织ID。
    org_type int
    组织类型。企业组织: 1
    org_unit_id str
    组织单元ID。
    owner str
    管理员ID。
    parent_id str
    父单元Id。
    updated_time str
    更新时间。
    createdTime String
    创建时间。
    deleteUk String
    删除标识。
    deletedTime String
    删除时间。
    depth Number
    深度。
    description String
    描述。
    id String
    Uniquely identifies the resource.
    name String
    组织单元名称。
    orgId String
    组织ID。
    orgType Number
    组织类型。企业组织: 1
    orgUnitId String
    组织单元ID。
    owner String
    管理员ID。
    parentId String
    父单元Id。
    updatedTime String
    更新时间。

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    volcenginecc v0.0.11 published on Thursday, Dec 4, 2025 by Volcengine
      Meet Neo: Your AI Platform Teammate