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:
- Disk
Encryption 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
- Os
Version string - Minimum os version of the device in the device assurance policy.
- Screenlock
Types List<string> - List of screenlock type, can be
BIOMETRIC
orBIOMETRIC, PASSCODE
- Secure
Hardware boolPresent - Indicates if the device contains a secure hardware functionality
- Disk
Encryption []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
- Os
Version string - Minimum os version of the device in the device assurance policy.
- Screenlock
Types []string - List of screenlock type, can be
BIOMETRIC
orBIOMETRIC, PASSCODE
- Secure
Hardware boolPresent - Indicates if the device contains a secure hardware functionality
- disk
Encryption 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
- os
Version String - Minimum os version of the device in the device assurance policy.
- screenlock
Types List<String> - List of screenlock type, can be
BIOMETRIC
orBIOMETRIC, PASSCODE
- secure
Hardware BooleanPresent - Indicates if the device contains a secure hardware functionality
- disk
Encryption 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
- os
Version string - Minimum os version of the device in the device assurance policy.
- screenlock
Types string[] - List of screenlock type, can be
BIOMETRIC
orBIOMETRIC, PASSCODE
- secure
Hardware 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
BIOMETRIC
orBIOMETRIC, PASSCODE
- secure_
hardware_ boolpresent - Indicates if the device contains a secure hardware functionality
- disk
Encryption 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
- os
Version String - Minimum os version of the device in the device assurance policy.
- screenlock
Types List<String> - List of screenlock type, can be
BIOMETRIC
orBIOMETRIC, PASSCODE
- secure
Hardware 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:
- Created
By string - Created by
- Created
Date string - Created date
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - Last update
- Last
Updated stringBy - Last updated by
- Platform string
- Policy device assurance platform
- Created
By string - Created by
- Created
Date string - Created date
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - Last update
- Last
Updated stringBy - Last updated by
- Platform string
- Policy device assurance platform
- created
By String - Created by
- created
Date String - Created date
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - Last update
- last
Updated StringBy - Last updated by
- platform String
- Policy device assurance platform
- created
By string - Created by
- created
Date string - Created date
- id string
- The provider-assigned unique ID for this managed resource.
- last
Update string - Last update
- last
Updated 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
- created
By String - Created by
- created
Date String - Created date
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - Last update
- last
Updated 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) -> DeviceAssuranceAndroid
func 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)
Resource lookup is not supported in YAML
- 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.
- Created
By string - Created by
- Created
Date string - Created date
- Disk
Encryption List<string>Types - List of disk encryption type, can be
FULL
,USER
- Jailbreak bool
- Is the device jailbroken in the device assurance policy.
- Last
Update string - Last update
- Last
Updated stringBy - Last updated by
- Name string
- Policy device assurance name
- Os
Version string - Minimum os version of the device in the device assurance policy.
- Platform string
- Policy device assurance platform
- Screenlock
Types List<string> - List of screenlock type, can be
BIOMETRIC
orBIOMETRIC, PASSCODE
- Secure
Hardware boolPresent - Indicates if the device contains a secure hardware functionality
- Created
By string - Created by
- Created
Date string - Created date
- Disk
Encryption []stringTypes - List of disk encryption type, can be
FULL
,USER
- Jailbreak bool
- Is the device jailbroken in the device assurance policy.
- Last
Update string - Last update
- Last
Updated stringBy - Last updated by
- Name string
- Policy device assurance name
- Os
Version string - Minimum os version of the device in the device assurance policy.
- Platform string
- Policy device assurance platform
- Screenlock
Types []string - List of screenlock type, can be
BIOMETRIC
orBIOMETRIC, PASSCODE
- Secure
Hardware boolPresent - Indicates if the device contains a secure hardware functionality
- created
By String - Created by
- created
Date String - Created date
- disk
Encryption List<String>Types - List of disk encryption type, can be
FULL
,USER
- jailbreak Boolean
- Is the device jailbroken in the device assurance policy.
- last
Update String - Last update
- last
Updated StringBy - Last updated by
- name String
- Policy device assurance name
- os
Version String - Minimum os version of the device in the device assurance policy.
- platform String
- Policy device assurance platform
- screenlock
Types List<String> - List of screenlock type, can be
BIOMETRIC
orBIOMETRIC, PASSCODE
- secure
Hardware BooleanPresent - Indicates if the device contains a secure hardware functionality
- created
By string - Created by
- created
Date string - Created date
- disk
Encryption string[]Types - List of disk encryption type, can be
FULL
,USER
- jailbreak boolean
- Is the device jailbroken in the device assurance policy.
- last
Update string - Last update
- last
Updated stringBy - Last updated by
- name string
- Policy device assurance name
- os
Version string - Minimum os version of the device in the device assurance policy.
- platform string
- Policy device assurance platform
- screenlock
Types string[] - List of screenlock type, can be
BIOMETRIC
orBIOMETRIC, PASSCODE
- secure
Hardware 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
BIOMETRIC
orBIOMETRIC, PASSCODE
- secure_
hardware_ boolpresent - Indicates if the device contains a secure hardware functionality
- created
By String - Created by
- created
Date String - Created date
- disk
Encryption List<String>Types - List of disk encryption type, can be
FULL
,USER
- jailbreak Boolean
- Is the device jailbroken in the device assurance policy.
- last
Update String - Last update
- last
Updated StringBy - Last updated by
- name String
- Policy device assurance name
- os
Version String - Minimum os version of the device in the device assurance policy.
- platform String
- Policy device assurance platform
- screenlock
Types List<String> - List of screenlock type, can be
BIOMETRIC
orBIOMETRIC, PASSCODE
- secure
Hardware 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
okta
Terraform Provider.