1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getDepartmentManagement
Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler

zia.getDepartmentManagement

Explore with Pulumi AI

zia logo
Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler

    Use the zia_department_management data source to get information about user department created in the Zscaler Internet Access cloud or via the API. This data source can then be associated with several ZIA resources such as: URL filtering rules, Cloud Firewall rules, and locations.

    Example Usage

    # ZIA User Department Data Source
    data "zia_department_management" "engineering" {
     name = "Engineering"
    }
    
    # ZIA User Department Data Source
    data "zia_department_management" "finance" {
     name = "Finance"
    }
    

    Using getDepartmentManagement

    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 getDepartmentManagement(args: GetDepartmentManagementArgs, opts?: InvokeOptions): Promise<GetDepartmentManagementResult>
    function getDepartmentManagementOutput(args: GetDepartmentManagementOutputArgs, opts?: InvokeOptions): Output<GetDepartmentManagementResult>
    def get_department_management(name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetDepartmentManagementResult
    def get_department_management_output(name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetDepartmentManagementResult]
    func GetDepartmentManagement(ctx *Context, args *GetDepartmentManagementArgs, opts ...InvokeOption) (*GetDepartmentManagementResult, error)
    func GetDepartmentManagementOutput(ctx *Context, args *GetDepartmentManagementOutputArgs, opts ...InvokeOption) GetDepartmentManagementResultOutput

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

    public static class GetDepartmentManagement 
    {
        public static Task<GetDepartmentManagementResult> InvokeAsync(GetDepartmentManagementArgs args, InvokeOptions? opts = null)
        public static Output<GetDepartmentManagementResult> Invoke(GetDepartmentManagementInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDepartmentManagementResult> getDepartmentManagement(GetDepartmentManagementArgs args, InvokeOptions options)
    public static Output<GetDepartmentManagementResult> getDepartmentManagement(GetDepartmentManagementArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:index/getDepartmentManagement:getDepartmentManagement
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of the user department
    Name string
    Name of the user department
    name String
    Name of the user department
    name string
    Name of the user department
    name str
    Name of the user department
    name String
    Name of the user department

    getDepartmentManagement Result

    The following output properties are available:

    Comments string
    (Optional) Additional information about this department
    Deleted bool
    (Boolean) default: false
    Id int
    IdpId int
    (Optional) Unique identfier for the identity provider (IdP)
    Name string
    Comments string
    (Optional) Additional information about this department
    Deleted bool
    (Boolean) default: false
    Id int
    IdpId int
    (Optional) Unique identfier for the identity provider (IdP)
    Name string
    comments String
    (Optional) Additional information about this department
    deleted Boolean
    (Boolean) default: false
    id Integer
    idpId Integer
    (Optional) Unique identfier for the identity provider (IdP)
    name String
    comments string
    (Optional) Additional information about this department
    deleted boolean
    (Boolean) default: false
    id number
    idpId number
    (Optional) Unique identfier for the identity provider (IdP)
    name string
    comments str
    (Optional) Additional information about this department
    deleted bool
    (Boolean) default: false
    id int
    idp_id int
    (Optional) Unique identfier for the identity provider (IdP)
    name str
    comments String
    (Optional) Additional information about this department
    deleted Boolean
    (Boolean) default: false
    id Number
    idpId Number
    (Optional) Unique identfier for the identity provider (IdP)
    name String

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler