UNPKG

@bdzscaler/pulumi-zia

Version:

A Pulumi package for creating and managing zia cloud resources.

69 lines (68 loc) 2.83 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * * [Official documentation](https://help.zscaler.com/zia/about-workload-groups) * * [API documentation](https://help.zscaler.com/zia/workload-groups#/workloadGroups-get) * * Use the **zia_workload_groups** data source to get information about Workload Groups in the Zscaler Internet Access cloud or via the API. This data source can then be used as a criterion in ZIA policies such as, Firewall Filtering, URL Filtering, and Data Loss Prevention (DLP) to apply security policies to the workload traffic. * * ## Example Usage */ export declare function getWorkloadGroups(args?: GetWorkloadGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkloadGroupsResult>; /** * A collection of arguments for invoking getWorkloadGroups. */ export interface GetWorkloadGroupsArgs { /** * The name of the workload group to be exported. */ name?: string; } /** * A collection of values returned by getWorkloadGroups. */ export interface GetWorkloadGroupsResult { /** * (String) The description of the workload group. */ readonly description: string; /** * (String) The workload group expression containing tag types, tags, and their relationships. */ readonly expression: string; /** * (List) The workload group expression containing tag types, tags, and their relationships represented in a JSON format. */ readonly expressionJsons: outputs.GetWorkloadGroupsExpressionJson[]; /** * (Number) Identifier that uniquely identifies an entity */ readonly id: number; readonly lastModifiedBies: outputs.GetWorkloadGroupsLastModifiedBy[]; /** * (Number) When the rule was last modified */ readonly lastModifiedTime: number; /** * (String) The configured name of the entity */ readonly name?: string; } /** * * [Official documentation](https://help.zscaler.com/zia/about-workload-groups) * * [API documentation](https://help.zscaler.com/zia/workload-groups#/workloadGroups-get) * * Use the **zia_workload_groups** data source to get information about Workload Groups in the Zscaler Internet Access cloud or via the API. This data source can then be used as a criterion in ZIA policies such as, Firewall Filtering, URL Filtering, and Data Loss Prevention (DLP) to apply security policies to the workload traffic. * * ## Example Usage */ export declare function getWorkloadGroupsOutput(args?: GetWorkloadGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkloadGroupsResult>; /** * A collection of arguments for invoking getWorkloadGroups. */ export interface GetWorkloadGroupsOutputArgs { /** * The name of the workload group to be exported. */ name?: pulumi.Input<string>; }