import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * The zia.WorkloadGroup resource manages workload groups in the Zscaler Internet Access (ZIA) cloud. * Workload groups define sets of cloud workloads based on tag expressions that can be used in * firewall rules, URL filtering rules, and other policy rules to apply policies to specific * cloud workloads (e.g., VMs, subnets, ENIs). * * ## Example Usage * ### Basic Workload Group * * ```typescript * import * as zia from "@bdzscaler/pulumi-zia"; * * const example = new zia.WorkloadGroup("example", { * name: "Example Workload Group", * description: "Managed by Pulumi", * expressionJson: { * expressionContainers: [{ * tagType: "VM", * operator: "AND", * tagContainer: { * tags: [{ * key: "environment", * value: "production", * }], * operator: "OR", * }, * }], * }, * }); * ``` * * ## Import * * An existing workload group can be imported using its ID, e.g. * * ```sh * $ pulumi import zia:index:WorkloadGroup example 12345 * ``` */ export declare class WorkloadGroup extends pulumi.CustomResource { /** * Get an existing WorkloadGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WorkloadGroup; /** * Returns true if the given object is an instance of WorkloadGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is WorkloadGroup; /** * Description of the workload group. */ readonly description: pulumi.Output; /** * The expression JSON that defines the workload group matching criteria using tag expressions. */ readonly expressionJson: pulumi.Output; /** * The unique identifier for the workload group assigned by the ZIA cloud. */ readonly groupId: pulumi.Output; /** * Name of the workload group. */ readonly name: pulumi.Output; /** * Create a WorkloadGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: WorkloadGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a WorkloadGroup resource. */ export interface WorkloadGroupArgs { /** * Description of the workload group. */ description?: pulumi.Input; /** * The expression JSON that defines the workload group matching criteria using tag expressions. */ expressionJson?: pulumi.Input; /** * Name of the workload group. */ name?: pulumi.Input; } //# sourceMappingURL=workloadGroup.d.ts.map