google-native logo
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:

DeviceId string
Customer string
DeviceId string
Customer string
deviceId String
customer String
deviceId string
customer string
deviceId String
customer String

getDevice Result

The following output properties are available:

AndroidSpecificAttributes Pulumi.GoogleNative.CloudIdentity.V1Beta1.Outputs.AndroidAttributesResponse

Attributes specific to Android devices.

AssetTag string

Asset tag of the device.

BasebandVersion string

Baseband version of the device.

BootloaderVersion string

Device bootloader version. Example: 0.6.7.

Brand string

Device brand. Example: Samsung.

BuildNumber string

Build number of the device.

ClientTypes List<string>

List of the clients the device is reporting to.

CompromisedState string

Represents whether the Device is compromised.

CreateTime string

When the Company-Owned device was imported. This field is empty for BYOD devices.

DeviceId string

Unique identifier for the device.

DeviceType string

Type of device.

EnabledDeveloperOptions bool

Whether developer options is enabled on device.

EnabledUsbDebugging bool

Whether USB debugging is enabled on device.

EncryptionState string

Device encryption state.

EndpointVerificationSpecificAttributes Pulumi.GoogleNative.CloudIdentity.V1Beta1.Outputs.EndpointVerificationSpecificAttributesResponse

Attributes specific to Endpoint Verification devices.

Hostname string

Host name of the device.

Imei string

IMEI number of device if GSM device; empty otherwise.

KernelVersion string

Kernel version of the device.

LastSyncTime string

Most recent time when device synced with this service.

ManagementState 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.

NetworkOperator string

Mobile or network operator of device, if available.

OsVersion string

OS version of the device. Example: Android 8.1.0.

OtherAccounts 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".

OwnerType string

Whether the device is owned by the company or an individual

ReleaseVersion string

OS release version. Example: 6.0.

SecurityPatchTime string

OS security patch update time on device.

SerialNumber string

Serial Number of device. Example: HT82V1A01076.

WifiMacAddresses List<string>

WiFi MAC addresses of device.

AndroidSpecificAttributes AndroidAttributesResponse

Attributes specific to Android devices.

AssetTag string

Asset tag of the device.

BasebandVersion string

Baseband version of the device.

BootloaderVersion string

Device bootloader version. Example: 0.6.7.

Brand string

Device brand. Example: Samsung.

BuildNumber string

Build number of the device.

ClientTypes []string

List of the clients the device is reporting to.

CompromisedState string

Represents whether the Device is compromised.

CreateTime string

When the Company-Owned device was imported. This field is empty for BYOD devices.

DeviceId string

Unique identifier for the device.

DeviceType string

Type of device.

EnabledDeveloperOptions bool

Whether developer options is enabled on device.

EnabledUsbDebugging bool

Whether USB debugging is enabled on device.

EncryptionState string

Device encryption state.

EndpointVerificationSpecificAttributes EndpointVerificationSpecificAttributesResponse

Attributes specific to Endpoint Verification devices.

Hostname string

Host name of the device.

Imei string

IMEI number of device if GSM device; empty otherwise.

KernelVersion string

Kernel version of the device.

LastSyncTime string

Most recent time when device synced with this service.

ManagementState 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.

NetworkOperator string

Mobile or network operator of device, if available.

OsVersion string

OS version of the device. Example: Android 8.1.0.

OtherAccounts []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".

OwnerType string

Whether the device is owned by the company or an individual

ReleaseVersion string

OS release version. Example: 6.0.

SecurityPatchTime string

OS security patch update time on device.

SerialNumber string

Serial Number of device. Example: HT82V1A01076.

WifiMacAddresses []string

WiFi MAC addresses of device.

androidSpecificAttributes AndroidAttributesResponse

Attributes specific to Android devices.

assetTag String

Asset tag of the device.

basebandVersion String

Baseband version of the device.

bootloaderVersion String

Device bootloader version. Example: 0.6.7.

brand String

Device brand. Example: Samsung.

buildNumber String

Build number of the device.

clientTypes List<String>

List of the clients the device is reporting to.

compromisedState String

Represents whether the Device is compromised.

createTime String

When the Company-Owned device was imported. This field is empty for BYOD devices.

deviceId String

Unique identifier for the device.

deviceType String

Type of device.

enabledDeveloperOptions Boolean

Whether developer options is enabled on device.

enabledUsbDebugging Boolean

Whether USB debugging is enabled on device.

encryptionState String

Device encryption state.

endpointVerificationSpecificAttributes EndpointVerificationSpecificAttributesResponse

Attributes specific to Endpoint Verification devices.

hostname String

Host name of the device.

imei String

IMEI number of device if GSM device; empty otherwise.

kernelVersion String

Kernel version of the device.

lastSyncTime String

Most recent time when device synced with this service.

managementState 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.

networkOperator String

Mobile or network operator of device, if available.

osVersion String

OS version of the device. Example: Android 8.1.0.

otherAccounts 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".

ownerType String

Whether the device is owned by the company or an individual

releaseVersion String

OS release version. Example: 6.0.

securityPatchTime String

OS security patch update time on device.

serialNumber String

Serial Number of device. Example: HT82V1A01076.

wifiMacAddresses List<String>

WiFi MAC addresses of device.

androidSpecificAttributes AndroidAttributesResponse

Attributes specific to Android devices.

assetTag string

Asset tag of the device.

basebandVersion string

Baseband version of the device.

bootloaderVersion string

Device bootloader version. Example: 0.6.7.

brand string

Device brand. Example: Samsung.

buildNumber string

Build number of the device.

clientTypes string[]

List of the clients the device is reporting to.

compromisedState string

Represents whether the Device is compromised.

createTime string

When the Company-Owned device was imported. This field is empty for BYOD devices.

deviceId string

Unique identifier for the device.

deviceType string

Type of device.

enabledDeveloperOptions boolean

Whether developer options is enabled on device.

enabledUsbDebugging boolean

Whether USB debugging is enabled on device.

encryptionState string

Device encryption state.

endpointVerificationSpecificAttributes EndpointVerificationSpecificAttributesResponse

Attributes specific to Endpoint Verification devices.

hostname string

Host name of the device.

imei string

IMEI number of device if GSM device; empty otherwise.

kernelVersion string

Kernel version of the device.

lastSyncTime string

Most recent time when device synced with this service.

managementState 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.

networkOperator string

Mobile or network operator of device, if available.

osVersion string

OS version of the device. Example: Android 8.1.0.

otherAccounts 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".

ownerType string

Whether the device is owned by the company or an individual

releaseVersion string

OS release version. Example: 6.0.

securityPatchTime string

OS security patch update time on device.

serialNumber string

Serial Number of device. Example: HT82V1A01076.

wifiMacAddresses string[]

WiFi MAC addresses of device.

android_specific_attributes AndroidAttributesResponse

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_options bool

Whether developer options is enabled on device.

enabled_usb_debugging bool

Whether USB debugging is enabled on device.

encryption_state str

Device encryption state.

endpoint_verification_specific_attributes EndpointVerificationSpecificAttributesResponse

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_time str

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_time str

OS security patch update time on device.

serial_number str

Serial Number of device. Example: HT82V1A01076.

wifi_mac_addresses Sequence[str]

WiFi MAC addresses of device.

androidSpecificAttributes Property Map

Attributes specific to Android devices.

assetTag String

Asset tag of the device.

basebandVersion String

Baseband version of the device.

bootloaderVersion String

Device bootloader version. Example: 0.6.7.

brand String

Device brand. Example: Samsung.

buildNumber String

Build number of the device.

clientTypes List<String>

List of the clients the device is reporting to.

compromisedState String

Represents whether the Device is compromised.

createTime String

When the Company-Owned device was imported. This field is empty for BYOD devices.

deviceId String

Unique identifier for the device.

deviceType String

Type of device.

enabledDeveloperOptions Boolean

Whether developer options is enabled on device.

enabledUsbDebugging Boolean

Whether USB debugging is enabled on device.

encryptionState String

Device encryption state.

endpointVerificationSpecificAttributes Property Map

Attributes specific to Endpoint Verification devices.

hostname String

Host name of the device.

imei String

IMEI number of device if GSM device; empty otherwise.

kernelVersion String

Kernel version of the device.

lastSyncTime String

Most recent time when device synced with this service.

managementState 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.

networkOperator String

Mobile or network operator of device, if available.

osVersion String

OS version of the device. Example: Android 8.1.0.

otherAccounts 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".

ownerType String

Whether the device is owned by the company or an individual

releaseVersion String

OS release version. Example: 6.0.

securityPatchTime String

OS security patch update time on device.

serialNumber String

Serial Number of device. Example: HT82V1A01076.

wifiMacAddresses List<String>

WiFi MAC addresses of device.

Supporting Types

AndroidAttributesResponse

EnabledUnknownSources bool

Whether applications from unknown sources can be installed on device.

OwnerProfileAccount bool

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.

OwnershipPrivilege string

Ownership privileges on device.

SupportsWorkProfile bool

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.

EnabledUnknownSources bool

Whether applications from unknown sources can be installed on device.

OwnerProfileAccount bool

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.

OwnershipPrivilege string

Ownership privileges on device.

SupportsWorkProfile bool

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.

enabledUnknownSources Boolean

Whether applications from unknown sources can be installed on device.

ownerProfileAccount Boolean

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.

ownershipPrivilege String

Ownership privileges on device.

supportsWorkProfile Boolean

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.

enabledUnknownSources boolean

Whether applications from unknown sources can be installed on device.

ownerProfileAccount boolean

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.

ownershipPrivilege string

Ownership privileges on device.

supportsWorkProfile boolean

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_sources bool

Whether applications from unknown sources can be installed on device.

owner_profile_account bool

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_profile bool

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.

enabledUnknownSources Boolean

Whether applications from unknown sources can be installed on device.

ownerProfileAccount Boolean

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.

ownershipPrivilege String

Ownership privileges on device.

supportsWorkProfile Boolean

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

CertificateTemplate Pulumi.GoogleNative.CloudIdentity.V1Beta1.Inputs.CertificateTemplateResponse

The X.509 extension for CertificateTemplate.

Fingerprint string

The encoded certificate fingerprint.

Issuer string

The name of the issuer of this certificate.

SerialNumber string

Serial number of the certificate, Example: "123456789".

Subject string

The subject name of this certificate.

Thumbprint string

The certificate thumbprint.

ValidationState string

Validation state of this certificate.

ValidityExpirationTime string

Certificate not valid at or after this timestamp.

ValidityStartTime string

Certificate not valid before this timestamp.

CertificateTemplate CertificateTemplateResponse

The X.509 extension for CertificateTemplate.

Fingerprint string

The encoded certificate fingerprint.

Issuer string

The name of the issuer of this certificate.

SerialNumber string

Serial number of the certificate, Example: "123456789".

Subject string

The subject name of this certificate.

Thumbprint string

The certificate thumbprint.

ValidationState string

Validation state of this certificate.

ValidityExpirationTime string

Certificate not valid at or after this timestamp.

ValidityStartTime string

Certificate not valid before this timestamp.

certificateTemplate CertificateTemplateResponse

The X.509 extension for CertificateTemplate.

fingerprint String

The encoded certificate fingerprint.

issuer String

The name of the issuer of this certificate.

serialNumber String

Serial number of the certificate, Example: "123456789".

subject String

The subject name of this certificate.

thumbprint String

The certificate thumbprint.

validationState String

Validation state of this certificate.

validityExpirationTime String

Certificate not valid at or after this timestamp.

validityStartTime String

Certificate not valid before this timestamp.

certificateTemplate CertificateTemplateResponse

The X.509 extension for CertificateTemplate.

fingerprint string

The encoded certificate fingerprint.

issuer string

The name of the issuer of this certificate.

serialNumber string

Serial number of the certificate, Example: "123456789".

subject string

The subject name of this certificate.

thumbprint string

The certificate thumbprint.

validationState string

Validation state of this certificate.

validityExpirationTime string

Certificate not valid at or after this timestamp.

validityStartTime string

Certificate not valid before this timestamp.

certificate_template CertificateTemplateResponse

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_time str

Certificate not valid at or after this timestamp.

validity_start_time str

Certificate not valid before this timestamp.

certificateTemplate Property Map

The X.509 extension for CertificateTemplate.

fingerprint String

The encoded certificate fingerprint.

issuer String

The name of the issuer of this certificate.

serialNumber String

Serial number of the certificate, Example: "123456789".

subject String

The subject name of this certificate.

thumbprint String

The certificate thumbprint.

validationState String

Validation state of this certificate.

validityExpirationTime String

Certificate not valid at or after this timestamp.

validityStartTime String

Certificate not valid before this timestamp.

CertificateTemplateResponse

MajorVersion int

The Major version of the template. Example: 100.

MinorVersion int

The minor version of the template. Example: 12.

MajorVersion int

The Major version of the template. Example: 100.

MinorVersion int

The minor version of the template. Example: 12.

majorVersion Integer

The Major version of the template. Example: 100.

minorVersion Integer

The minor version of the template. Example: 12.

majorVersion number

The Major version of the template. Example: 100.

minorVersion 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.

majorVersion Number

The Major version of the template. Example: 100.

minorVersion Number

The minor version of the template. Example: 12.

EndpointVerificationSpecificAttributesResponse

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0