Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.cloudidentity/v1.getDevice
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Retrieves the specified device.
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(customer: Optional[str] = None,
device_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeviceResult
def get_device_output(customer: Optional[pulumi.Input[str]] = None,
device_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeviceResult]
func LookupDevice(ctx *Context, args *LookupDeviceArgs, opts ...InvokeOption) (*LookupDeviceResult, error)
func LookupDeviceOutput(ctx *Context, args *LookupDeviceOutputArgs, opts ...InvokeOption) LookupDeviceResultOutput
> Note: This function is named LookupDevice
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:cloudidentity/v1:getDevice
arguments:
# arguments dictionary
The following arguments are supported:
getDevice Result
The following output properties are available:
- Android
Specific Pulumi.Attributes Google Native. Cloud Identity. V1. Outputs. Google Apps Cloudidentity Devices V1Android Attributes Response - Attributes specific to Android devices.
- Asset
Tag string - Asset tag of the device.
- Baseband
Version string - Baseband version of the device.
- Bootloader
Version string - Device bootloader version. Example: 0.6.7.
- Brand string
- Device brand. Example: Samsung.
- Build
Number string - Build number of the device.
- Compromised
State string - Represents whether the Device is compromised.
- Create
Time string - When the Company-Owned device was imported. This field is empty for BYOD devices.
- Device
Id string - Unique identifier for the device.
- Device
Type string - Type of device.
- Enabled
Developer boolOptions - Whether developer options is enabled on device.
- Enabled
Usb boolDebugging - Whether USB debugging is enabled on device.
- Encryption
State string - Device encryption state.
- Hostname string
- Host name of the device.
- Imei string
- IMEI number of device if GSM device; empty otherwise.
- Kernel
Version string - Kernel version of the device.
- Last
Sync stringTime - Most recent time when device synced with this service.
- Management
State string - Management state of the device
- Manufacturer string
- Device manufacturer. Example: Motorola.
- Meid string
- MEID number of device if CDMA device; empty otherwise.
- Model string
- Model name of device. Example: Pixel 3.
- Name string
- Resource name of the Device in format:
devices/{device}
, where device is the unique id assigned to the Device. - Network
Operator string - Mobile or network operator of device, if available.
- Os
Version string - OS version of the device. Example: Android 8.1.0.
- Other
Accounts List<string> - Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
- Owner
Type string - Whether the device is owned by the company or an individual
- Release
Version string - OS release version. Example: 6.0.
- Security
Patch stringTime - OS security patch update time on device.
- Serial
Number string - Serial Number of device. Example: HT82V1A01076.
- Wifi
Mac List<string>Addresses - WiFi MAC addresses of device.
- Android
Specific GoogleAttributes Apps Cloudidentity Devices V1Android Attributes Response - Attributes specific to Android devices.
- Asset
Tag string - Asset tag of the device.
- Baseband
Version string - Baseband version of the device.
- Bootloader
Version string - Device bootloader version. Example: 0.6.7.
- Brand string
- Device brand. Example: Samsung.
- Build
Number string - Build number of the device.
- Compromised
State string - Represents whether the Device is compromised.
- Create
Time string - When the Company-Owned device was imported. This field is empty for BYOD devices.
- Device
Id string - Unique identifier for the device.
- Device
Type string - Type of device.
- Enabled
Developer boolOptions - Whether developer options is enabled on device.
- Enabled
Usb boolDebugging - Whether USB debugging is enabled on device.
- Encryption
State string - Device encryption state.
- Hostname string
- Host name of the device.
- Imei string
- IMEI number of device if GSM device; empty otherwise.
- Kernel
Version string - Kernel version of the device.
- Last
Sync stringTime - Most recent time when device synced with this service.
- Management
State string - Management state of the device
- Manufacturer string
- Device manufacturer. Example: Motorola.
- Meid string
- MEID number of device if CDMA device; empty otherwise.
- Model string
- Model name of device. Example: Pixel 3.
- Name string
- Resource name of the Device in format:
devices/{device}
, where device is the unique id assigned to the Device. - Network
Operator string - Mobile or network operator of device, if available.
- Os
Version string - OS version of the device. Example: Android 8.1.0.
- Other
Accounts []string - Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
- Owner
Type string - Whether the device is owned by the company or an individual
- Release
Version string - OS release version. Example: 6.0.
- Security
Patch stringTime - OS security patch update time on device.
- Serial
Number string - Serial Number of device. Example: HT82V1A01076.
- Wifi
Mac []stringAddresses - WiFi MAC addresses of device.
- android
Specific GoogleAttributes Apps Cloudidentity Devices V1Android Attributes Response - Attributes specific to Android devices.
- asset
Tag String - Asset tag of the device.
- baseband
Version String - Baseband version of the device.
- bootloader
Version String - Device bootloader version. Example: 0.6.7.
- brand String
- Device brand. Example: Samsung.
- build
Number String - Build number of the device.
- compromised
State String - Represents whether the Device is compromised.
- create
Time String - When the Company-Owned device was imported. This field is empty for BYOD devices.
- device
Id String - Unique identifier for the device.
- device
Type String - Type of device.
- enabled
Developer BooleanOptions - Whether developer options is enabled on device.
- enabled
Usb BooleanDebugging - Whether USB debugging is enabled on device.
- encryption
State String - Device encryption state.
- hostname String
- Host name of the device.
- imei String
- IMEI number of device if GSM device; empty otherwise.
- kernel
Version String - Kernel version of the device.
- last
Sync StringTime - Most recent time when device synced with this service.
- management
State String - Management state of the device
- manufacturer String
- Device manufacturer. Example: Motorola.
- meid String
- MEID number of device if CDMA device; empty otherwise.
- model String
- Model name of device. Example: Pixel 3.
- name String
- Resource name of the Device in format:
devices/{device}
, where device is the unique id assigned to the Device. - network
Operator String - Mobile or network operator of device, if available.
- os
Version String - OS version of the device. Example: Android 8.1.0.
- other
Accounts List<String> - Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
- owner
Type String - Whether the device is owned by the company or an individual
- release
Version String - OS release version. Example: 6.0.
- security
Patch StringTime - OS security patch update time on device.
- serial
Number String - Serial Number of device. Example: HT82V1A01076.
- wifi
Mac List<String>Addresses - WiFi MAC addresses of device.
- android
Specific GoogleAttributes Apps Cloudidentity Devices V1Android Attributes Response - Attributes specific to Android devices.
- asset
Tag string - Asset tag of the device.
- baseband
Version string - Baseband version of the device.
- bootloader
Version string - Device bootloader version. Example: 0.6.7.
- brand string
- Device brand. Example: Samsung.
- build
Number string - Build number of the device.
- compromised
State string - Represents whether the Device is compromised.
- create
Time string - When the Company-Owned device was imported. This field is empty for BYOD devices.
- device
Id string - Unique identifier for the device.
- device
Type string - Type of device.
- enabled
Developer booleanOptions - Whether developer options is enabled on device.
- enabled
Usb booleanDebugging - Whether USB debugging is enabled on device.
- encryption
State string - Device encryption state.
- hostname string
- Host name of the device.
- imei string
- IMEI number of device if GSM device; empty otherwise.
- kernel
Version string - Kernel version of the device.
- last
Sync stringTime - Most recent time when device synced with this service.
- management
State string - Management state of the device
- manufacturer string
- Device manufacturer. Example: Motorola.
- meid string
- MEID number of device if CDMA device; empty otherwise.
- model string
- Model name of device. Example: Pixel 3.
- name string
- Resource name of the Device in format:
devices/{device}
, where device is the unique id assigned to the Device. - network
Operator string - Mobile or network operator of device, if available.
- os
Version string - OS version of the device. Example: Android 8.1.0.
- other
Accounts string[] - Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
- owner
Type string - Whether the device is owned by the company or an individual
- release
Version string - OS release version. Example: 6.0.
- security
Patch stringTime - OS security patch update time on device.
- serial
Number string - Serial Number of device. Example: HT82V1A01076.
- wifi
Mac string[]Addresses - WiFi MAC addresses of device.
- android_
specific_ Googleattributes Apps Cloudidentity Devices V1Android Attributes Response - Attributes specific to Android devices.
- asset_
tag str - Asset tag of the device.
- baseband_
version str - Baseband version of the device.
- bootloader_
version str - Device bootloader version. Example: 0.6.7.
- brand str
- Device brand. Example: Samsung.
- build_
number str - Build number of the device.
- compromised_
state str - Represents whether the Device is compromised.
- create_
time str - When the Company-Owned device was imported. This field is empty for BYOD devices.
- device_
id str - Unique identifier for the device.
- device_
type str - Type of device.
- enabled_
developer_ booloptions - Whether developer options is enabled on device.
- enabled_
usb_ booldebugging - Whether USB debugging is enabled on device.
- encryption_
state str - Device encryption state.
- hostname str
- Host name of the device.
- imei str
- IMEI number of device if GSM device; empty otherwise.
- kernel_
version str - Kernel version of the device.
- last_
sync_ strtime - Most recent time when device synced with this service.
- management_
state str - Management state of the device
- manufacturer str
- Device manufacturer. Example: Motorola.
- meid str
- MEID number of device if CDMA device; empty otherwise.
- model str
- Model name of device. Example: Pixel 3.
- name str
- Resource name of the Device in format:
devices/{device}
, where device is the unique id assigned to the Device. - network_
operator str - Mobile or network operator of device, if available.
- os_
version str - OS version of the device. Example: Android 8.1.0.
- other_
accounts Sequence[str] - Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
- owner_
type str - Whether the device is owned by the company or an individual
- release_
version str - OS release version. Example: 6.0.
- security_
patch_ strtime - OS security patch update time on device.
- serial_
number str - Serial Number of device. Example: HT82V1A01076.
- wifi_
mac_ Sequence[str]addresses - WiFi MAC addresses of device.
- android
Specific Property MapAttributes - Attributes specific to Android devices.
- asset
Tag String - Asset tag of the device.
- baseband
Version String - Baseband version of the device.
- bootloader
Version String - Device bootloader version. Example: 0.6.7.
- brand String
- Device brand. Example: Samsung.
- build
Number String - Build number of the device.
- compromised
State String - Represents whether the Device is compromised.
- create
Time String - When the Company-Owned device was imported. This field is empty for BYOD devices.
- device
Id String - Unique identifier for the device.
- device
Type String - Type of device.
- enabled
Developer BooleanOptions - Whether developer options is enabled on device.
- enabled
Usb BooleanDebugging - Whether USB debugging is enabled on device.
- encryption
State String - Device encryption state.
- hostname String
- Host name of the device.
- imei String
- IMEI number of device if GSM device; empty otherwise.
- kernel
Version String - Kernel version of the device.
- last
Sync StringTime - Most recent time when device synced with this service.
- management
State String - Management state of the device
- manufacturer String
- Device manufacturer. Example: Motorola.
- meid String
- MEID number of device if CDMA device; empty otherwise.
- model String
- Model name of device. Example: Pixel 3.
- name String
- Resource name of the Device in format:
devices/{device}
, where device is the unique id assigned to the Device. - network
Operator String - Mobile or network operator of device, if available.
- os
Version String - OS version of the device. Example: Android 8.1.0.
- other
Accounts List<String> - Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
- owner
Type String - Whether the device is owned by the company or an individual
- release
Version String - OS release version. Example: 6.0.
- security
Patch StringTime - OS security patch update time on device.
- serial
Number String - Serial Number of device. Example: HT82V1A01076.
- wifi
Mac List<String>Addresses - WiFi MAC addresses of device.
Supporting Types
GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse
- Cts
Profile boolMatch - Whether the device passes Android CTS compliance.
- Enabled
Unknown boolSources - Whether applications from unknown sources can be installed on device.
- Has
Potentially boolHarmful Apps - Whether any potentially harmful apps were detected on the device.
- Owner
Profile boolAccount - Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
- Ownership
Privilege string - Ownership privileges on device.
- Supports
Work boolProfile - Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
- Verified
Boot bool - Whether Android verified boot status is GREEN.
- Verify
Apps boolEnabled - Whether Google Play Protect Verify Apps is enabled.
- Cts
Profile boolMatch - Whether the device passes Android CTS compliance.
- Enabled
Unknown boolSources - Whether applications from unknown sources can be installed on device.
- Has
Potentially boolHarmful Apps - Whether any potentially harmful apps were detected on the device.
- Owner
Profile boolAccount - Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
- Ownership
Privilege string - Ownership privileges on device.
- Supports
Work boolProfile - Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
- Verified
Boot bool - Whether Android verified boot status is GREEN.
- Verify
Apps boolEnabled - Whether Google Play Protect Verify Apps is enabled.
- cts
Profile BooleanMatch - Whether the device passes Android CTS compliance.
- enabled
Unknown BooleanSources - Whether applications from unknown sources can be installed on device.
- has
Potentially BooleanHarmful Apps - Whether any potentially harmful apps were detected on the device.
- owner
Profile BooleanAccount - Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
- ownership
Privilege String - Ownership privileges on device.
- supports
Work BooleanProfile - Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
- verified
Boot Boolean - Whether Android verified boot status is GREEN.
- verify
Apps BooleanEnabled - Whether Google Play Protect Verify Apps is enabled.
- cts
Profile booleanMatch - Whether the device passes Android CTS compliance.
- enabled
Unknown booleanSources - Whether applications from unknown sources can be installed on device.
- has
Potentially booleanHarmful Apps - Whether any potentially harmful apps were detected on the device.
- owner
Profile booleanAccount - Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
- ownership
Privilege string - Ownership privileges on device.
- supports
Work booleanProfile - Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
- verified
Boot boolean - Whether Android verified boot status is GREEN.
- verify
Apps booleanEnabled - Whether Google Play Protect Verify Apps is enabled.
- cts_
profile_ boolmatch - Whether the device passes Android CTS compliance.
- enabled_
unknown_ boolsources - Whether applications from unknown sources can be installed on device.
- has_
potentially_ boolharmful_ apps - Whether any potentially harmful apps were detected on the device.
- owner_
profile_ boolaccount - Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
- ownership_
privilege str - Ownership privileges on device.
- supports_
work_ boolprofile - Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
- verified_
boot bool - Whether Android verified boot status is GREEN.
- verify_
apps_ boolenabled - Whether Google Play Protect Verify Apps is enabled.
- cts
Profile BooleanMatch - Whether the device passes Android CTS compliance.
- enabled
Unknown BooleanSources - Whether applications from unknown sources can be installed on device.
- has
Potentially BooleanHarmful Apps - Whether any potentially harmful apps were detected on the device.
- owner
Profile BooleanAccount - Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
- ownership
Privilege String - Ownership privileges on device.
- supports
Work BooleanProfile - Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
- verified
Boot Boolean - Whether Android verified boot status is GREEN.
- verify
Apps BooleanEnabled - Whether Google Play Protect Verify Apps is enabled.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi