1. Packages
  2. Okta
  3. API Docs
  4. policy
  5. DeviceAssuranceAndroid
Okta v4.9.2 published on Tuesday, Jun 25, 2024 by Pulumi

okta.policy.DeviceAssuranceAndroid

Explore with Pulumi AI

okta logo
Okta v4.9.2 published on Tuesday, Jun 25, 2024 by Pulumi

    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

    The DeviceAssuranceAndroid resource accepts the following input properties:

    DiskEncryptionTypes List<string>
    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 BIOMETRIC or BIOMETRIC, PASSCODE
    SecureHardwarePresent bool
    Indicates if the device contains a secure hardware functionality
    DiskEncryptionTypes []string
    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 BIOMETRIC or BIOMETRIC, PASSCODE
    SecureHardwarePresent bool
    Indicates if the device contains a secure hardware functionality
    diskEncryptionTypes List<String>
    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 BIOMETRIC or BIOMETRIC, PASSCODE
    secureHardwarePresent Boolean
    Indicates if the device contains a secure hardware functionality
    diskEncryptionTypes string[]
    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 BIOMETRIC or BIOMETRIC, PASSCODE
    secureHardwarePresent boolean
    Indicates if the device contains a secure hardware functionality
    disk_encryption_types Sequence[str]
    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 or BIOMETRIC, PASSCODE
    secure_hardware_present bool
    Indicates if the device contains a secure hardware functionality
    diskEncryptionTypes List<String>
    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 BIOMETRIC or BIOMETRIC, PASSCODE
    secureHardwarePresent Boolean
    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
    LastUpdatedBy string
    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
    LastUpdatedBy string
    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
    lastUpdatedBy String
    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
    lastUpdatedBy string
    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_by str
    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
    lastUpdatedBy String
    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.
    The following state arguments are supported:
    CreatedBy string
    Created by
    CreatedDate string
    Created date
    DiskEncryptionTypes List<string>
    List of disk encryption type, can be FULL, USER
    Jailbreak bool
    Is the device jailbroken in the device assurance policy.
    LastUpdate string
    Last update
    LastUpdatedBy string
    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 BIOMETRIC or BIOMETRIC, PASSCODE
    SecureHardwarePresent bool
    Indicates if the device contains a secure hardware functionality
    CreatedBy string
    Created by
    CreatedDate string
    Created date
    DiskEncryptionTypes []string
    List of disk encryption type, can be FULL, USER
    Jailbreak bool
    Is the device jailbroken in the device assurance policy.
    LastUpdate string
    Last update
    LastUpdatedBy string
    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 BIOMETRIC or BIOMETRIC, PASSCODE
    SecureHardwarePresent bool
    Indicates if the device contains a secure hardware functionality
    createdBy String
    Created by
    createdDate String
    Created date
    diskEncryptionTypes List<String>
    List of disk encryption type, can be FULL, USER
    jailbreak Boolean
    Is the device jailbroken in the device assurance policy.
    lastUpdate String
    Last update
    lastUpdatedBy String
    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 BIOMETRIC or BIOMETRIC, PASSCODE
    secureHardwarePresent Boolean
    Indicates if the device contains a secure hardware functionality
    createdBy string
    Created by
    createdDate string
    Created date
    diskEncryptionTypes string[]
    List of disk encryption type, can be FULL, USER
    jailbreak boolean
    Is the device jailbroken in the device assurance policy.
    lastUpdate string
    Last update
    lastUpdatedBy string
    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 BIOMETRIC or BIOMETRIC, PASSCODE
    secureHardwarePresent boolean
    Indicates if the device contains a secure hardware functionality
    created_by str
    Created by
    created_date str
    Created date
    disk_encryption_types Sequence[str]
    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_by str
    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 or BIOMETRIC, PASSCODE
    secure_hardware_present bool
    Indicates if the device contains a secure hardware functionality
    createdBy String
    Created by
    createdDate String
    Created date
    diskEncryptionTypes List<String>
    List of disk encryption type, can be FULL, USER
    jailbreak Boolean
    Is the device jailbroken in the device assurance policy.
    lastUpdate String
    Last update
    lastUpdatedBy String
    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 BIOMETRIC or BIOMETRIC, PASSCODE
    secureHardwarePresent Boolean
    Indicates if the device contains a secure hardware functionality

    Import

    $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example &#60;device assurance id&#62;
    

    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.
    okta logo
    Okta v4.9.2 published on Tuesday, Jun 25, 2024 by Pulumi