1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. organization
  6. getUnit
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 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
    Creation time.
    DeleteUk string
    Deletion flag.
    DeletedTime string
    Deletion time.
    Depth int
    Depth.
    Description string
    Description.
    Id string
    Uniquely identifies the resource.
    Name string
    Organizational unit name.
    OrgId string
    Organization ID.
    OrgType int
    Organization type. Enterprise organization: 1
    OrgUnitId string
    Organizational unit ID.
    Owner string
    Administrator ID.
    ParentId string
    Parent unit ID.
    UpdatedTime string
    Update time.
    CreatedTime string
    Creation time.
    DeleteUk string
    Deletion flag.
    DeletedTime string
    Deletion time.
    Depth int
    Depth.
    Description string
    Description.
    Id string
    Uniquely identifies the resource.
    Name string
    Organizational unit name.
    OrgId string
    Organization ID.
    OrgType int
    Organization type. Enterprise organization: 1
    OrgUnitId string
    Organizational unit ID.
    Owner string
    Administrator ID.
    ParentId string
    Parent unit ID.
    UpdatedTime string
    Update time.
    createdTime String
    Creation time.
    deleteUk String
    Deletion flag.
    deletedTime String
    Deletion time.
    depth Integer
    Depth.
    description String
    Description.
    id String
    Uniquely identifies the resource.
    name String
    Organizational unit name.
    orgId String
    Organization ID.
    orgType Integer
    Organization type. Enterprise organization: 1
    orgUnitId String
    Organizational unit ID.
    owner String
    Administrator ID.
    parentId String
    Parent unit ID.
    updatedTime String
    Update time.
    createdTime string
    Creation time.
    deleteUk string
    Deletion flag.
    deletedTime string
    Deletion time.
    depth number
    Depth.
    description string
    Description.
    id string
    Uniquely identifies the resource.
    name string
    Organizational unit name.
    orgId string
    Organization ID.
    orgType number
    Organization type. Enterprise organization: 1
    orgUnitId string
    Organizational unit ID.
    owner string
    Administrator ID.
    parentId string
    Parent unit ID.
    updatedTime string
    Update time.
    created_time str
    Creation time.
    delete_uk str
    Deletion flag.
    deleted_time str
    Deletion time.
    depth int
    Depth.
    description str
    Description.
    id str
    Uniquely identifies the resource.
    name str
    Organizational unit name.
    org_id str
    Organization ID.
    org_type int
    Organization type. Enterprise organization: 1
    org_unit_id str
    Organizational unit ID.
    owner str
    Administrator ID.
    parent_id str
    Parent unit ID.
    updated_time str
    Update time.
    createdTime String
    Creation time.
    deleteUk String
    Deletion flag.
    deletedTime String
    Deletion time.
    depth Number
    Depth.
    description String
    Description.
    id String
    Uniquely identifies the resource.
    name String
    Organizational unit name.
    orgId String
    Organization ID.
    orgType Number
    Organization type. Enterprise organization: 1
    orgUnitId String
    Organizational unit ID.
    owner String
    Administrator ID.
    parentId String
    Parent unit ID.
    updatedTime String
    Update time.

    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.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.