okta.policy.DeviceAssuranceAndroid
Explore with Pulumi AI
Manages a device assurance policy for android.
Create DeviceAssuranceAndroid Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeviceAssuranceAndroid(name: string, args?: DeviceAssuranceAndroidArgs, opts?: CustomResourceOptions);@overload
def DeviceAssuranceAndroid(resource_name: str,
                           args: Optional[DeviceAssuranceAndroidArgs] = None,
                           opts: Optional[ResourceOptions] = None)
@overload
def DeviceAssuranceAndroid(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           disk_encryption_types: Optional[Sequence[str]] = None,
                           jailbreak: Optional[bool] = None,
                           name: Optional[str] = None,
                           os_version: Optional[str] = None,
                           screenlock_types: Optional[Sequence[str]] = None,
                           secure_hardware_present: Optional[bool] = None)func NewDeviceAssuranceAndroid(ctx *Context, name string, args *DeviceAssuranceAndroidArgs, opts ...ResourceOption) (*DeviceAssuranceAndroid, error)public DeviceAssuranceAndroid(string name, DeviceAssuranceAndroidArgs? args = null, CustomResourceOptions? opts = null)
public DeviceAssuranceAndroid(String name, DeviceAssuranceAndroidArgs args)
public DeviceAssuranceAndroid(String name, DeviceAssuranceAndroidArgs args, CustomResourceOptions options)
type: okta:policy:DeviceAssuranceAndroid
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DeviceAssuranceAndroidArgs
- 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 DeviceAssuranceAndroidArgs
- 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 DeviceAssuranceAndroidArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeviceAssuranceAndroidArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeviceAssuranceAndroidArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var deviceAssuranceAndroidResource = new Okta.Policy.DeviceAssuranceAndroid("deviceAssuranceAndroidResource", new()
{
    DiskEncryptionTypes = new[]
    {
        "string",
    },
    Jailbreak = false,
    Name = "string",
    OsVersion = "string",
    ScreenlockTypes = new[]
    {
        "string",
    },
    SecureHardwarePresent = false,
});
example, err := policy.NewDeviceAssuranceAndroid(ctx, "deviceAssuranceAndroidResource", &policy.DeviceAssuranceAndroidArgs{
	DiskEncryptionTypes: pulumi.StringArray{
		pulumi.String("string"),
	},
	Jailbreak: pulumi.Bool(false),
	Name:      pulumi.String("string"),
	OsVersion: pulumi.String("string"),
	ScreenlockTypes: pulumi.StringArray{
		pulumi.String("string"),
	},
	SecureHardwarePresent: pulumi.Bool(false),
})
var deviceAssuranceAndroidResource = new DeviceAssuranceAndroid("deviceAssuranceAndroidResource", DeviceAssuranceAndroidArgs.builder()
    .diskEncryptionTypes("string")
    .jailbreak(false)
    .name("string")
    .osVersion("string")
    .screenlockTypes("string")
    .secureHardwarePresent(false)
    .build());
device_assurance_android_resource = okta.policy.DeviceAssuranceAndroid("deviceAssuranceAndroidResource",
    disk_encryption_types=["string"],
    jailbreak=False,
    name="string",
    os_version="string",
    screenlock_types=["string"],
    secure_hardware_present=False)
const deviceAssuranceAndroidResource = new okta.policy.DeviceAssuranceAndroid("deviceAssuranceAndroidResource", {
    diskEncryptionTypes: ["string"],
    jailbreak: false,
    name: "string",
    osVersion: "string",
    screenlockTypes: ["string"],
    secureHardwarePresent: false,
});
type: okta:policy:DeviceAssuranceAndroid
properties:
    diskEncryptionTypes:
        - string
    jailbreak: false
    name: string
    osVersion: string
    screenlockTypes:
        - string
    secureHardwarePresent: false
DeviceAssuranceAndroid Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DeviceAssuranceAndroid resource accepts the following input properties:
- DiskEncryption List<string>Types 
- List of disk encryption type, can be FULL,USER
- Jailbreak bool
- Is the device jailbroken in the device assurance policy.
- Name string
- Policy device assurance name
- OsVersion string
- Minimum os version of the device in the device assurance policy.
- ScreenlockTypes List<string>
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- SecureHardware boolPresent 
- Indicates if the device contains a secure hardware functionality
- DiskEncryption []stringTypes 
- List of disk encryption type, can be FULL,USER
- Jailbreak bool
- Is the device jailbroken in the device assurance policy.
- Name string
- Policy device assurance name
- OsVersion string
- Minimum os version of the device in the device assurance policy.
- ScreenlockTypes []string
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- SecureHardware boolPresent 
- Indicates if the device contains a secure hardware functionality
- diskEncryption List<String>Types 
- List of disk encryption type, can be FULL,USER
- jailbreak Boolean
- Is the device jailbroken in the device assurance policy.
- name String
- Policy device assurance name
- osVersion String
- Minimum os version of the device in the device assurance policy.
- screenlockTypes List<String>
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- secureHardware BooleanPresent 
- Indicates if the device contains a secure hardware functionality
- diskEncryption string[]Types 
- List of disk encryption type, can be FULL,USER
- jailbreak boolean
- Is the device jailbroken in the device assurance policy.
- name string
- Policy device assurance name
- osVersion string
- Minimum os version of the device in the device assurance policy.
- screenlockTypes string[]
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- secureHardware booleanPresent 
- Indicates if the device contains a secure hardware functionality
- disk_encryption_ Sequence[str]types 
- List of disk encryption type, can be FULL,USER
- jailbreak bool
- Is the device jailbroken in the device assurance policy.
- name str
- Policy device assurance name
- os_version str
- Minimum os version of the device in the device assurance policy.
- screenlock_types Sequence[str]
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- secure_hardware_ boolpresent 
- Indicates if the device contains a secure hardware functionality
- diskEncryption List<String>Types 
- List of disk encryption type, can be FULL,USER
- jailbreak Boolean
- Is the device jailbroken in the device assurance policy.
- name String
- Policy device assurance name
- osVersion String
- Minimum os version of the device in the device assurance policy.
- screenlockTypes List<String>
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- secureHardware BooleanPresent 
- Indicates if the device contains a secure hardware functionality
Outputs
All input properties are implicitly available as output properties. Additionally, the DeviceAssuranceAndroid resource produces the following output properties:
- CreatedBy string
- Created by
- CreatedDate string
- Created date
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdate string
- Last update
- LastUpdated stringBy 
- Last updated by
- Platform string
- Policy device assurance platform
- CreatedBy string
- Created by
- CreatedDate string
- Created date
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdate string
- Last update
- LastUpdated stringBy 
- Last updated by
- Platform string
- Policy device assurance platform
- createdBy String
- Created by
- createdDate String
- Created date
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdate String
- Last update
- lastUpdated StringBy 
- Last updated by
- platform String
- Policy device assurance platform
- createdBy string
- Created by
- createdDate string
- Created date
- id string
- The provider-assigned unique ID for this managed resource.
- lastUpdate string
- Last update
- lastUpdated stringBy 
- Last updated by
- platform string
- Policy device assurance platform
- created_by str
- Created by
- created_date str
- Created date
- id str
- The provider-assigned unique ID for this managed resource.
- last_update str
- Last update
- last_updated_ strby 
- Last updated by
- platform str
- Policy device assurance platform
- createdBy String
- Created by
- createdDate String
- Created date
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdate String
- Last update
- lastUpdated StringBy 
- Last updated by
- platform String
- Policy device assurance platform
Look up Existing DeviceAssuranceAndroid Resource
Get an existing DeviceAssuranceAndroid resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DeviceAssuranceAndroidState, opts?: CustomResourceOptions): DeviceAssuranceAndroid@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_by: Optional[str] = None,
        created_date: Optional[str] = None,
        disk_encryption_types: Optional[Sequence[str]] = None,
        jailbreak: Optional[bool] = None,
        last_update: Optional[str] = None,
        last_updated_by: Optional[str] = None,
        name: Optional[str] = None,
        os_version: Optional[str] = None,
        platform: Optional[str] = None,
        screenlock_types: Optional[Sequence[str]] = None,
        secure_hardware_present: Optional[bool] = None) -> DeviceAssuranceAndroidfunc GetDeviceAssuranceAndroid(ctx *Context, name string, id IDInput, state *DeviceAssuranceAndroidState, opts ...ResourceOption) (*DeviceAssuranceAndroid, error)public static DeviceAssuranceAndroid Get(string name, Input<string> id, DeviceAssuranceAndroidState? state, CustomResourceOptions? opts = null)public static DeviceAssuranceAndroid get(String name, Output<String> id, DeviceAssuranceAndroidState state, CustomResourceOptions options)resources:  _:    type: okta:policy:DeviceAssuranceAndroid    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CreatedBy string
- Created by
- CreatedDate string
- Created date
- DiskEncryption List<string>Types 
- List of disk encryption type, can be FULL,USER
- Jailbreak bool
- Is the device jailbroken in the device assurance policy.
- LastUpdate string
- Last update
- LastUpdated stringBy 
- Last updated by
- Name string
- Policy device assurance name
- OsVersion string
- Minimum os version of the device in the device assurance policy.
- Platform string
- Policy device assurance platform
- ScreenlockTypes List<string>
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- SecureHardware boolPresent 
- Indicates if the device contains a secure hardware functionality
- CreatedBy string
- Created by
- CreatedDate string
- Created date
- DiskEncryption []stringTypes 
- List of disk encryption type, can be FULL,USER
- Jailbreak bool
- Is the device jailbroken in the device assurance policy.
- LastUpdate string
- Last update
- LastUpdated stringBy 
- Last updated by
- Name string
- Policy device assurance name
- OsVersion string
- Minimum os version of the device in the device assurance policy.
- Platform string
- Policy device assurance platform
- ScreenlockTypes []string
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- SecureHardware boolPresent 
- Indicates if the device contains a secure hardware functionality
- createdBy String
- Created by
- createdDate String
- Created date
- diskEncryption List<String>Types 
- List of disk encryption type, can be FULL,USER
- jailbreak Boolean
- Is the device jailbroken in the device assurance policy.
- lastUpdate String
- Last update
- lastUpdated StringBy 
- Last updated by
- name String
- Policy device assurance name
- osVersion String
- Minimum os version of the device in the device assurance policy.
- platform String
- Policy device assurance platform
- screenlockTypes List<String>
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- secureHardware BooleanPresent 
- Indicates if the device contains a secure hardware functionality
- createdBy string
- Created by
- createdDate string
- Created date
- diskEncryption string[]Types 
- List of disk encryption type, can be FULL,USER
- jailbreak boolean
- Is the device jailbroken in the device assurance policy.
- lastUpdate string
- Last update
- lastUpdated stringBy 
- Last updated by
- name string
- Policy device assurance name
- osVersion string
- Minimum os version of the device in the device assurance policy.
- platform string
- Policy device assurance platform
- screenlockTypes string[]
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- secureHardware booleanPresent 
- Indicates if the device contains a secure hardware functionality
- created_by str
- Created by
- created_date str
- Created date
- disk_encryption_ Sequence[str]types 
- List of disk encryption type, can be FULL,USER
- jailbreak bool
- Is the device jailbroken in the device assurance policy.
- last_update str
- Last update
- last_updated_ strby 
- Last updated by
- name str
- Policy device assurance name
- os_version str
- Minimum os version of the device in the device assurance policy.
- platform str
- Policy device assurance platform
- screenlock_types Sequence[str]
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- secure_hardware_ boolpresent 
- Indicates if the device contains a secure hardware functionality
- createdBy String
- Created by
- createdDate String
- Created date
- diskEncryption List<String>Types 
- List of disk encryption type, can be FULL,USER
- jailbreak Boolean
- Is the device jailbroken in the device assurance policy.
- lastUpdate String
- Last update
- lastUpdated StringBy 
- Last updated by
- name String
- Policy device assurance name
- osVersion String
- Minimum os version of the device in the device assurance policy.
- platform String
- Policy device assurance platform
- screenlockTypes List<String>
- List of screenlock type, can be BIOMETRICorBIOMETRIC, PASSCODE
- secureHardware BooleanPresent 
- Indicates if the device contains a secure hardware functionality
Import
$ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example <device_assurance_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the oktaTerraform Provider.