Google Native

Pulumi Official
Package maintained by Pulumi
v0.23.0 published on Thursday, Aug 11, 2022 by Pulumi

Device

Creates a device. Only company-owned device may be created. Note: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium Auto-naming is currently not supported for this resource.

Create a Device Resource

new Device(name: string, args?: DeviceArgs, opts?: CustomResourceOptions);
@overload
def Device(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           asset_tag: Optional[str] = None,
           device_id: Optional[str] = None,
           last_sync_time: Optional[str] = None,
           serial_number: Optional[str] = None,
           wifi_mac_addresses: Optional[Sequence[str]] = None)
@overload
def Device(resource_name: str,
           args: Optional[DeviceArgs] = None,
           opts: Optional[ResourceOptions] = None)
func NewDevice(ctx *Context, name string, args *DeviceArgs, opts ...ResourceOption) (*Device, error)
public Device(string name, DeviceArgs? args = null, CustomResourceOptions? opts = null)
public Device(String name, DeviceArgs args)
public Device(String name, DeviceArgs args, CustomResourceOptions options)
type: google-native:cloudidentity/v1beta1:Device
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DeviceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DeviceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DeviceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DeviceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DeviceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Device Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Device resource accepts the following input properties:

AssetTag string

Asset tag of the device.

DeviceId string

Unique identifier for the device.

LastSyncTime string

Most recent time when device synced with this service.

SerialNumber string

Serial Number of device. Example: HT82V1A01076.

WifiMacAddresses List<string>

WiFi MAC addresses of device.

AssetTag string

Asset tag of the device.

DeviceId string

Unique identifier for the device.

LastSyncTime string

Most recent time when device synced with this service.

SerialNumber string

Serial Number of device. Example: HT82V1A01076.

WifiMacAddresses []string

WiFi MAC addresses of device.

assetTag String

Asset tag of the device.

deviceId String

Unique identifier for the device.

lastSyncTime String

Most recent time when device synced with this service.

serialNumber String

Serial Number of device. Example: HT82V1A01076.

wifiMacAddresses List<String>

WiFi MAC addresses of device.

assetTag string

Asset tag of the device.

deviceId string

Unique identifier for the device.

lastSyncTime string

Most recent time when device synced with this service.

serialNumber string

Serial Number of device. Example: HT82V1A01076.

wifiMacAddresses string[]

WiFi MAC addresses of device.

asset_tag str

Asset tag of the device.

device_id str

Unique identifier for the device.

last_sync_time str

Most recent time when device synced with this service.

serial_number str

Serial Number of device. Example: HT82V1A01076.

wifi_mac_addresses Sequence[str]

WiFi MAC addresses of device.

assetTag String

Asset tag of the device.

deviceId String

Unique identifier for the device.

lastSyncTime String

Most recent time when device synced with this service.

serialNumber String

Serial Number of device. Example: HT82V1A01076.

wifiMacAddresses List<String>

WiFi MAC addresses of device.

Outputs

All input properties are implicitly available as output properties. Additionally, the Device resource produces the following output properties:

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

Attributes specific to Android devices.

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.

CompromisedState string

Represents whether the Device is compromised.

CreateTime string

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

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.

Id string

The provider-assigned unique ID for this managed resource.

Imei string

IMEI number of device if GSM device; empty otherwise.

KernelVersion string

Kernel version of the device.

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.

AndroidSpecificAttributes AndroidAttributesResponse

Attributes specific to Android devices.

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.

CompromisedState string

Represents whether the Device is compromised.

CreateTime string

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

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.

Id string

The provider-assigned unique ID for this managed resource.

Imei string

IMEI number of device if GSM device; empty otherwise.

KernelVersion string

Kernel version of the device.

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.

androidSpecificAttributes AndroidAttributesResponse

Attributes specific to Android devices.

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.

compromisedState String

Represents whether the Device is compromised.

createTime String

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

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.

id String

The provider-assigned unique ID for this managed resource.

imei String

IMEI number of device if GSM device; empty otherwise.

kernelVersion String

Kernel version of the device.

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.

androidSpecificAttributes AndroidAttributesResponse

Attributes specific to Android devices.

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.

compromisedState string

Represents whether the Device is compromised.

createTime string

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

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.

id string

The provider-assigned unique ID for this managed resource.

imei string

IMEI number of device if GSM device; empty otherwise.

kernelVersion string

Kernel version of the device.

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.

android_specific_attributes AndroidAttributesResponse

Attributes specific to Android devices.

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

id str

The provider-assigned unique ID for this managed resource.

imei str

IMEI number of device if GSM device; empty otherwise.

kernel_version str

Kernel version of the device.

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.

androidSpecificAttributes Property Map

Attributes specific to Android devices.

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.

compromisedState String

Represents whether the Device is compromised.

createTime String

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

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.

id String

The provider-assigned unique ID for this managed resource.

imei String

IMEI number of device if GSM device; empty otherwise.

kernelVersion String

Kernel version of the device.

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.

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
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0