Google Cloud Native v0.30.0, Apr 14 23
Google Cloud Native v0.30.0, Apr 14 23
google-native.cloudidentity/v1beta1.getDevice
Explore with Pulumi AI
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/v1beta1: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. V1Beta1. Outputs. Android 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.
- Client
Types List<string> List of the clients the device is reporting to.
- 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.
- Endpoint
Verification Pulumi.Specific Attributes Google Native. Cloud Identity. V1Beta1. Outputs. Endpoint Verification Specific Attributes Response Attributes specific to Endpoint Verification devices.
- 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_id}
, where device_id 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 AndroidAttributes 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.
- Client
Types []string List of the clients the device is reporting to.
- 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.
- Endpoint
Verification EndpointSpecific Attributes Verification Specific Attributes Response Attributes specific to Endpoint Verification devices.
- 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_id}
, where device_id 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 AndroidAttributes 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.
- client
Types List<String> List of the clients the device is reporting to.
- 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.
- endpoint
Verification EndpointSpecific Attributes Verification Specific Attributes Response Attributes specific to Endpoint Verification devices.
- 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_id}
, where device_id 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 AndroidAttributes 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.
- client
Types string[] List of the clients the device is reporting to.
- 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.
- endpoint
Verification EndpointSpecific Attributes Verification Specific Attributes Response Attributes specific to Endpoint Verification devices.
- 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_id}
, where device_id 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_ Androidattributes 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.
- client_
types Sequence[str] List of the clients the device is reporting to.
- 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.
- endpoint_
verification_ Endpointspecific_ attributes Verification Specific Attributes Response Attributes specific to Endpoint Verification devices.
- 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_id}
, where device_id 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.
- client
Types List<String> List of the clients the device is reporting to.
- 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.
- endpoint
Verification Property MapSpecific Attributes Attributes specific to Endpoint Verification devices.
- 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_id}
, where device_id 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
AndroidAttributesResponse
- Enabled
Unknown boolSources Whether applications from unknown sources can be installed on 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.
- Enabled
Unknown boolSources Whether applications from unknown sources can be installed on 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.
- enabled
Unknown BooleanSources Whether applications from unknown sources can be installed on 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.
- enabled
Unknown booleanSources Whether applications from unknown sources can be installed on 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.
- enabled_
unknown_ boolsources Whether applications from unknown sources can be installed on 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.
- enabled
Unknown BooleanSources Whether applications from unknown sources can be installed on 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.
CertificateAttributesResponse
- Certificate
Template Pulumi.Google Native. Cloud Identity. V1Beta1. Inputs. Certificate Template Response The X.509 extension for CertificateTemplate.
- Fingerprint string
The encoded certificate fingerprint.
- Issuer string
The name of the issuer of this certificate.
- Serial
Number string Serial number of the certificate, Example: "123456789".
- Subject string
The subject name of this certificate.
- Thumbprint string
The certificate thumbprint.
- Validation
State string Validation state of this certificate.
- Validity
Expiration stringTime Certificate not valid at or after this timestamp.
- Validity
Start stringTime Certificate not valid before this timestamp.
- Certificate
Template CertificateTemplate Response The X.509 extension for CertificateTemplate.
- Fingerprint string
The encoded certificate fingerprint.
- Issuer string
The name of the issuer of this certificate.
- Serial
Number string Serial number of the certificate, Example: "123456789".
- Subject string
The subject name of this certificate.
- Thumbprint string
The certificate thumbprint.
- Validation
State string Validation state of this certificate.
- Validity
Expiration stringTime Certificate not valid at or after this timestamp.
- Validity
Start stringTime Certificate not valid before this timestamp.
- certificate
Template CertificateTemplate Response The X.509 extension for CertificateTemplate.
- fingerprint String
The encoded certificate fingerprint.
- issuer String
The name of the issuer of this certificate.
- serial
Number String Serial number of the certificate, Example: "123456789".
- subject String
The subject name of this certificate.
- thumbprint String
The certificate thumbprint.
- validation
State String Validation state of this certificate.
- validity
Expiration StringTime Certificate not valid at or after this timestamp.
- validity
Start StringTime Certificate not valid before this timestamp.
- certificate
Template CertificateTemplate Response The X.509 extension for CertificateTemplate.
- fingerprint string
The encoded certificate fingerprint.
- issuer string
The name of the issuer of this certificate.
- serial
Number string Serial number of the certificate, Example: "123456789".
- subject string
The subject name of this certificate.
- thumbprint string
The certificate thumbprint.
- validation
State string Validation state of this certificate.
- validity
Expiration stringTime Certificate not valid at or after this timestamp.
- validity
Start stringTime Certificate not valid before this timestamp.
- certificate_
template CertificateTemplate Response The X.509 extension for CertificateTemplate.
- fingerprint str
The encoded certificate fingerprint.
- issuer str
The name of the issuer of this certificate.
- serial_
number str Serial number of the certificate, Example: "123456789".
- subject str
The subject name of this certificate.
- thumbprint str
The certificate thumbprint.
- validation_
state str Validation state of this certificate.
- validity_
expiration_ strtime Certificate not valid at or after this timestamp.
- validity_
start_ strtime Certificate not valid before this timestamp.
- certificate
Template Property Map The X.509 extension for CertificateTemplate.
- fingerprint String
The encoded certificate fingerprint.
- issuer String
The name of the issuer of this certificate.
- serial
Number String Serial number of the certificate, Example: "123456789".
- subject String
The subject name of this certificate.
- thumbprint String
The certificate thumbprint.
- validation
State String Validation state of this certificate.
- validity
Expiration StringTime Certificate not valid at or after this timestamp.
- validity
Start StringTime Certificate not valid before this timestamp.
CertificateTemplateResponse
- Major
Version int The Major version of the template. Example: 100.
- Minor
Version int The minor version of the template. Example: 12.
- Major
Version int The Major version of the template. Example: 100.
- Minor
Version int The minor version of the template. Example: 12.
- major
Version Integer The Major version of the template. Example: 100.
- minor
Version Integer The minor version of the template. Example: 12.
- major
Version number The Major version of the template. Example: 100.
- minor
Version number The minor version of the template. Example: 12.
- major_
version int The Major version of the template. Example: 100.
- minor_
version int The minor version of the template. Example: 12.
- major
Version Number The Major version of the template. Example: 100.
- minor
Version Number The minor version of the template. Example: 12.
EndpointVerificationSpecificAttributesResponse
- Certificate
Attributes []CertificateAttributes Response Details of certificates.
- certificate
Attributes List<CertificateAttributes Response> Details of certificates.
- certificate
Attributes CertificateAttributes Response[] Details of certificates.
- certificate_
attributes Sequence[CertificateAttributes Response] Details of certificates.
- certificate
Attributes List<Property Map> Details of certificates.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0