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 device group by ID or name.
Using getDeviceGroup
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 getDeviceGroup(args: GetDeviceGroupArgs, opts?: InvokeOptions): Promise<GetDeviceGroupResult>
function getDeviceGroupOutput(args: GetDeviceGroupOutputArgs, opts?: InvokeOptions): Output<GetDeviceGroupResult>def get_device_group(name: Optional[str] = None,
resource_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetDeviceGroupResult
def get_device_group_output(name: Optional[pulumi.Input[str]] = None,
resource_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeviceGroupResult]func GetDeviceGroup(ctx *Context, args *GetDeviceGroupArgs, opts ...InvokeOption) (*GetDeviceGroupResult, error)
func GetDeviceGroupOutput(ctx *Context, args *GetDeviceGroupOutputArgs, opts ...InvokeOption) GetDeviceGroupResultOutput> Note: This function is named GetDeviceGroup in the Go SDK.
public static class GetDeviceGroup
{
public static Task<GetDeviceGroupResult> InvokeAsync(GetDeviceGroupArgs args, InvokeOptions? opts = null)
public static Output<GetDeviceGroupResult> Invoke(GetDeviceGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDeviceGroupResult> getDeviceGroup(GetDeviceGroupArgs args, InvokeOptions options)
public static Output<GetDeviceGroupResult> getDeviceGroup(GetDeviceGroupArgs args, InvokeOptions options)
fn::invoke:
function: zia:getDeviceGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the device group to look up.
- Resource
Id int - The ID of the device group to look up.
- Name string
- The name of the device group to look up.
- Resource
Id int - The ID of the device group to look up.
- name String
- The name of the device group to look up.
- resource
Id Integer - The ID of the device group to look up.
- name string
- The name of the device group to look up.
- resource
Id number - The ID of the device group to look up.
- name str
- The name of the device group to look up.
- resource_
id int - The ID of the device group to look up.
- name String
- The name of the device group to look up.
- resource
Id Number - The ID of the device group to look up.
getDeviceGroup Result
The following output properties are available:
- List
List<zscaler.
Pulumi Package. Zia. Outputs. Device Group Item> - The list of all device groups when no specific filter is provided.
- Description string
- The description of the device group.
- Device
Count int - The number of devices in the group.
- Device
Names string - The device names in the group.
- Group
Type string - The type of the device group.
- Name string
- The name of the device group.
- Os
Type string - The OS type of the device group.
- Predefined bool
- Whether the device group is predefined.
- Resource
Id int - The ID of the device group.
- List
[]Device
Group Item - The list of all device groups when no specific filter is provided.
- Description string
- The description of the device group.
- Device
Count int - The number of devices in the group.
- Device
Names string - The device names in the group.
- Group
Type string - The type of the device group.
- Name string
- The name of the device group.
- Os
Type string - The OS type of the device group.
- Predefined bool
- Whether the device group is predefined.
- Resource
Id int - The ID of the device group.
- list
List<Device
Group Item> - The list of all device groups when no specific filter is provided.
- description String
- The description of the device group.
- device
Count Integer - The number of devices in the group.
- device
Names String - The device names in the group.
- group
Type String - The type of the device group.
- name String
- The name of the device group.
- os
Type String - The OS type of the device group.
- predefined Boolean
- Whether the device group is predefined.
- resource
Id Integer - The ID of the device group.
- list
Device
Group Item[] - The list of all device groups when no specific filter is provided.
- description string
- The description of the device group.
- device
Count number - The number of devices in the group.
- device
Names string - The device names in the group.
- group
Type string - The type of the device group.
- name string
- The name of the device group.
- os
Type string - The OS type of the device group.
- predefined boolean
- Whether the device group is predefined.
- resource
Id number - The ID of the device group.
- list
Sequence[Device
Group Item] - The list of all device groups when no specific filter is provided.
- description str
- The description of the device group.
- device_
count int - The number of devices in the group.
- device_
names str - The device names in the group.
- group_
type str - The type of the device group.
- name str
- The name of the device group.
- os_
type str - The OS type of the device group.
- predefined bool
- Whether the device group is predefined.
- resource_
id int - The ID of the device group.
- list List<Property Map>
- The list of all device groups when no specific filter is provided.
- description String
- The description of the device group.
- device
Count Number - The number of devices in the group.
- device
Names String - The device names in the group.
- group
Type String - The type of the device group.
- name String
- The name of the device group.
- os
Type String - The OS type of the device group.
- predefined Boolean
- Whether the device group is predefined.
- resource
Id Number - The ID of the device group.
Supporting Types
DeviceGroupItem
- Description string
- Device
Count int - Device
Names string - Group
Type string - Name string
- Os
Type string - Predefined bool
- Resource
Id int
- Description string
- Device
Count int - Device
Names string - Group
Type string - Name string
- Os
Type string - Predefined bool
- Resource
Id int
- description String
- device
Count Integer - device
Names String - group
Type String - name String
- os
Type String - predefined Boolean
- resource
Id Integer
- description string
- device
Count number - device
Names string - group
Type string - name string
- os
Type string - predefined boolean
- resource
Id number
- description str
- device_
count int - device_
names str - group_
type str - name str
- os_
type str - predefined bool
- resource_
id int
- description String
- device
Count Number - device
Names String - group
Type String - name String
- os
Type String - predefined Boolean
- resource
Id Number
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
