DevicePolicyArgs

data class DevicePolicyArgs(val allowedDeviceManagementLevels: Output<List<DevicePolicyAllowedDeviceManagementLevelsItem>>? = null, val allowedEncryptionStatuses: Output<List<DevicePolicyAllowedEncryptionStatusesItem>>? = null, val osConstraints: Output<List<OsConstraintArgs>>? = null, val requireAdminApproval: Output<Boolean>? = null, val requireCorpOwned: Output<Boolean>? = null, val requireScreenlock: Output<Boolean>? = null) : ConvertibleToJava<DevicePolicyArgs>

DevicePolicy specifies device specific restrictions necessary to acquire a given access level. A DevicePolicy specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. DevicePolicy acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.

Constructors

Link copied to clipboard
fun DevicePolicyArgs(allowedDeviceManagementLevels: Output<List<DevicePolicyAllowedDeviceManagementLevelsItem>>? = null, allowedEncryptionStatuses: Output<List<DevicePolicyAllowedEncryptionStatusesItem>>? = null, osConstraints: Output<List<OsConstraintArgs>>? = null, requireAdminApproval: Output<Boolean>? = null, requireCorpOwned: Output<Boolean>? = null, requireScreenlock: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): DevicePolicyArgs

Properties

Link copied to clipboard

Allowed device management levels, an empty list allows all management levels.

Link copied to clipboard

Allowed encryptions statuses, an empty list allows all statuses.

Link copied to clipboard
val osConstraints: Output<List<OsConstraintArgs>>? = null

Allowed OS versions, an empty list allows all types and all versions.

Link copied to clipboard
val requireAdminApproval: Output<Boolean>? = null

Whether the device needs to be approved by the customer admin.

Link copied to clipboard
val requireCorpOwned: Output<Boolean>? = null

Whether the device needs to be corp owned.

Link copied to clipboard
val requireScreenlock: Output<Boolean>? = null

Whether or not screenlock is required for the DevicePolicy to be true. Defaults to false.