Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
Use this data source to look up a workload group by ID or name.
Using getWorkloadGroup
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 getWorkloadGroup(args: GetWorkloadGroupArgs, opts?: InvokeOptions): Promise<GetWorkloadGroupResult>
function getWorkloadGroupOutput(args: GetWorkloadGroupOutputArgs, opts?: InvokeOptions): Output<GetWorkloadGroupResult>def get_workload_group(group_id: Optional[int] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkloadGroupResult
def get_workload_group_output(group_id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkloadGroupResult]func LookupWorkloadGroup(ctx *Context, args *LookupWorkloadGroupArgs, opts ...InvokeOption) (*LookupWorkloadGroupResult, error)
func LookupWorkloadGroupOutput(ctx *Context, args *LookupWorkloadGroupOutputArgs, opts ...InvokeOption) LookupWorkloadGroupResultOutput> Note: This function is named LookupWorkloadGroup in the Go SDK.
public static class GetWorkloadGroup
{
public static Task<GetWorkloadGroupResult> InvokeAsync(GetWorkloadGroupArgs args, InvokeOptions? opts = null)
public static Output<GetWorkloadGroupResult> Invoke(GetWorkloadGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkloadGroupResult> getWorkloadGroup(GetWorkloadGroupArgs args, InvokeOptions options)
public static Output<GetWorkloadGroupResult> getWorkloadGroup(GetWorkloadGroupArgs args, InvokeOptions options)
fn::invoke:
function: zia:getWorkloadGroup
arguments:
# arguments dictionaryThe following arguments are supported:
getWorkloadGroup Result
The following output properties are available:
- Description string
- The description of the workload group.
- Expression string
- The expression string for the workload group.
- Group
Id int - The ID of the workload group.
- Last
Modified intTime - The last modification time of the workload group (epoch).
- Name string
- The name of the workload group.
- Expression
Json zscaler.Pulumi Package. Zia. Outputs. Workload Group Expression Json Input - The expression JSON that defines the workload group matching criteria.
- Description string
- The description of the workload group.
- Expression string
- The expression string for the workload group.
- Group
Id int - The ID of the workload group.
- Last
Modified intTime - The last modification time of the workload group (epoch).
- Name string
- The name of the workload group.
- Expression
Json WorkloadGroup Expression Json Input - The expression JSON that defines the workload group matching criteria.
- description String
- The description of the workload group.
- expression String
- The expression string for the workload group.
- group
Id Integer - The ID of the workload group.
- last
Modified IntegerTime - The last modification time of the workload group (epoch).
- name String
- The name of the workload group.
- expression
Json WorkloadGroup Expression Json Input - The expression JSON that defines the workload group matching criteria.
- description string
- The description of the workload group.
- expression string
- The expression string for the workload group.
- group
Id number - The ID of the workload group.
- last
Modified numberTime - The last modification time of the workload group (epoch).
- name string
- The name of the workload group.
- expression
Json WorkloadGroup Expression Json Input - The expression JSON that defines the workload group matching criteria.
- description str
- The description of the workload group.
- expression str
- The expression string for the workload group.
- group_
id int - The ID of the workload group.
- last_
modified_ inttime - The last modification time of the workload group (epoch).
- name str
- The name of the workload group.
- expression_
json WorkloadGroup Expression Json Input - The expression JSON that defines the workload group matching criteria.
- description String
- The description of the workload group.
- expression String
- The expression string for the workload group.
- group
Id Number - The ID of the workload group.
- last
Modified NumberTime - The last modification time of the workload group (epoch).
- name String
- The name of the workload group.
- expression
Json Property Map - The expression JSON that defines the workload group matching criteria.
Supporting Types
WorkloadGroupExpressionContainerInput
- Operator string
- Tag
Container WorkloadGroup Tag Container Input - Tag
Type string
- operator String
- tag
Container WorkloadGroup Tag Container Input - tag
Type String
- operator string
- tag
Container WorkloadGroup Tag Container Input - tag
Type string
- operator String
- tag
Container Property Map - tag
Type String
WorkloadGroupExpressionJsonInput
WorkloadGroupTagContainerInput
- Operator string
-
[]Workload
Group Tag Input
- operator string
-
Workload
Group Tag Input[]
- operator String
- List<Property Map>
WorkloadGroupTagInput
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
