Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler
zia.getDepartmentManagement
Explore with Pulumi AI
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:
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.