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 by ID, name, model, owner, or OS attributes.
Using getDevice
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 getDevice(args: GetDeviceArgs, opts?: InvokeOptions): Promise<GetDeviceResult>
function getDeviceOutput(args: GetDeviceOutputArgs, opts?: InvokeOptions): Output<GetDeviceResult>def get_device(device_model: Optional[str] = None,
name: Optional[str] = None,
os_type: Optional[str] = None,
os_version: Optional[str] = None,
owner_name: Optional[str] = None,
resource_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetDeviceResult
def get_device_output(device_model: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
os_type: Optional[pulumi.Input[str]] = None,
os_version: Optional[pulumi.Input[str]] = None,
owner_name: Optional[pulumi.Input[str]] = None,
resource_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeviceResult]func GetDevice(ctx *Context, args *GetDeviceArgs, opts ...InvokeOption) (*GetDeviceResult, error)
func GetDeviceOutput(ctx *Context, args *GetDeviceOutputArgs, opts ...InvokeOption) GetDeviceResultOutput> Note: This function is named GetDevice in the Go SDK.
public static class GetDevice
{
public static Task<GetDeviceResult> InvokeAsync(GetDeviceArgs args, InvokeOptions? opts = null)
public static Output<GetDeviceResult> Invoke(GetDeviceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
public static Output<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
fn::invoke:
function: zia:getDevice
arguments:
# arguments dictionaryThe following arguments are supported:
- Device
Model string - The device model to filter by.
- Name string
- The name of the device to look up.
- Os
Type string - The OS type to filter by.
- Os
Version string - The OS version to filter by.
- Owner
Name string - The owner name to filter by.
- Resource
Id int - The ID of the device to look up.
- Device
Model string - The device model to filter by.
- Name string
- The name of the device to look up.
- Os
Type string - The OS type to filter by.
- Os
Version string - The OS version to filter by.
- Owner
Name string - The owner name to filter by.
- Resource
Id int - The ID of the device to look up.
- device
Model String - The device model to filter by.
- name String
- The name of the device to look up.
- os
Type String - The OS type to filter by.
- os
Version String - The OS version to filter by.
- owner
Name String - The owner name to filter by.
- resource
Id Integer - The ID of the device to look up.
- device
Model string - The device model to filter by.
- name string
- The name of the device to look up.
- os
Type string - The OS type to filter by.
- os
Version string - The OS version to filter by.
- owner
Name string - The owner name to filter by.
- resource
Id number - The ID of the device to look up.
- device_
model str - The device model to filter by.
- name str
- The name of the device to look up.
- os_
type str - The OS type to filter by.
- os_
version str - The OS version to filter by.
- owner_
name str - The owner name to filter by.
- resource_
id int - The ID of the device to look up.
- device
Model String - The device model to filter by.
- name String
- The name of the device to look up.
- os
Type String - The OS type to filter by.
- os
Version String - The OS version to filter by.
- owner
Name String - The owner name to filter by.
- resource
Id Number - The ID of the device to look up.
getDevice Result
The following output properties are available:
- Description string
- The description of the device.
- Device
Group stringType - The device group type.
- Device
Model string - The model of the device.
- Hostname string
- The hostname of the device.
- Name string
- The name of the device.
- Os
Type string - The OS type of the device.
- Os
Version string - The OS version of the device.
- Owner
Name string - The name of the device owner.
- Owner
User intId - The user ID of the device owner.
- Resource
Id int - The ID of the device.
- Description string
- The description of the device.
- Device
Group stringType - The device group type.
- Device
Model string - The model of the device.
- Hostname string
- The hostname of the device.
- Name string
- The name of the device.
- Os
Type string - The OS type of the device.
- Os
Version string - The OS version of the device.
- Owner
Name string - The name of the device owner.
- Owner
User intId - The user ID of the device owner.
- Resource
Id int - The ID of the device.
- description String
- The description of the device.
- device
Group StringType - The device group type.
- device
Model String - The model of the device.
- hostname String
- The hostname of the device.
- name String
- The name of the device.
- os
Type String - The OS type of the device.
- os
Version String - The OS version of the device.
- owner
Name String - The name of the device owner.
- owner
User IntegerId - The user ID of the device owner.
- resource
Id Integer - The ID of the device.
- description string
- The description of the device.
- device
Group stringType - The device group type.
- device
Model string - The model of the device.
- hostname string
- The hostname of the device.
- name string
- The name of the device.
- os
Type string - The OS type of the device.
- os
Version string - The OS version of the device.
- owner
Name string - The name of the device owner.
- owner
User numberId - The user ID of the device owner.
- resource
Id number - The ID of the device.
- description str
- The description of the device.
- device_
group_ strtype - The device group type.
- device_
model str - The model of the device.
- hostname str
- The hostname of the device.
- name str
- The name of the device.
- os_
type str - The OS type of the device.
- os_
version str - The OS version of the device.
- owner_
name str - The name of the device owner.
- owner_
user_ intid - The user ID of the device owner.
- resource_
id int - The ID of the device.
- description String
- The description of the device.
- device
Group StringType - The device group type.
- device
Model String - The model of the device.
- hostname String
- The hostname of the device.
- name String
- The name of the device.
- os
Type String - The OS type of the device.
- os
Version String - The OS version of the device.
- owner
Name String - The name of the device owner.
- owner
User NumberId - The user ID of the device owner.
- resource
Id Number - The ID of the device.
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
