1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getUserManagementDepartment
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
zia logo
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler

    Use this data source to look up a user management department by ID or name.

    Using getUserManagementDepartment

    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 getUserManagementDepartment(args: GetUserManagementDepartmentArgs, opts?: InvokeOptions): Promise<GetUserManagementDepartmentResult>
    function getUserManagementDepartmentOutput(args: GetUserManagementDepartmentOutputArgs, opts?: InvokeOptions): Output<GetUserManagementDepartmentResult>
    def get_user_management_department(name: Optional[str] = None,
                                       resource_id: Optional[int] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetUserManagementDepartmentResult
    def get_user_management_department_output(name: Optional[pulumi.Input[str]] = None,
                                       resource_id: Optional[pulumi.Input[int]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetUserManagementDepartmentResult]
    func GetUserManagementDepartment(ctx *Context, args *GetUserManagementDepartmentArgs, opts ...InvokeOption) (*GetUserManagementDepartmentResult, error)
    func GetUserManagementDepartmentOutput(ctx *Context, args *GetUserManagementDepartmentOutputArgs, opts ...InvokeOption) GetUserManagementDepartmentResultOutput

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

    public static class GetUserManagementDepartment 
    {
        public static Task<GetUserManagementDepartmentResult> InvokeAsync(GetUserManagementDepartmentArgs args, InvokeOptions? opts = null)
        public static Output<GetUserManagementDepartmentResult> Invoke(GetUserManagementDepartmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUserManagementDepartmentResult> getUserManagementDepartment(GetUserManagementDepartmentArgs args, InvokeOptions options)
    public static Output<GetUserManagementDepartmentResult> getUserManagementDepartment(GetUserManagementDepartmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:getUserManagementDepartment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the department to look up.
    ResourceId int
    The ID of the department to look up.
    Name string
    The name of the department to look up.
    ResourceId int
    The ID of the department to look up.
    name String
    The name of the department to look up.
    resourceId Integer
    The ID of the department to look up.
    name string
    The name of the department to look up.
    resourceId number
    The ID of the department to look up.
    name str
    The name of the department to look up.
    resource_id int
    The ID of the department to look up.
    name String
    The name of the department to look up.
    resourceId Number
    The ID of the department to look up.

    getUserManagementDepartment Result

    The following output properties are available:

    Comments string
    Comments or notes about the department.
    Deleted bool
    Whether the department has been deleted.
    IdpId int
    The IDP ID associated with the department.
    Name string
    The name of the department.
    ResourceId int
    The ID of the department.
    Comments string
    Comments or notes about the department.
    Deleted bool
    Whether the department has been deleted.
    IdpId int
    The IDP ID associated with the department.
    Name string
    The name of the department.
    ResourceId int
    The ID of the department.
    comments String
    Comments or notes about the department.
    deleted Boolean
    Whether the department has been deleted.
    idpId Integer
    The IDP ID associated with the department.
    name String
    The name of the department.
    resourceId Integer
    The ID of the department.
    comments string
    Comments or notes about the department.
    deleted boolean
    Whether the department has been deleted.
    idpId number
    The IDP ID associated with the department.
    name string
    The name of the department.
    resourceId number
    The ID of the department.
    comments str
    Comments or notes about the department.
    deleted bool
    Whether the department has been deleted.
    idp_id int
    The IDP ID associated with the department.
    name str
    The name of the department.
    resource_id int
    The ID of the department.
    comments String
    Comments or notes about the department.
    deleted Boolean
    Whether the department has been deleted.
    idpId Number
    The IDP ID associated with the department.
    name String
    The name of the department.
    resourceId Number
    The ID of the department.

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    zia logo
    Viewing docs for pulumi-resource-zia v1.3.8
    published on Friday, Mar 13, 2026 by Zscaler
      Try Pulumi Cloud free. Your team will thank you.