1. Packages
  2. Okta Provider
  3. API Docs
  4. policy
  5. DeviceAssuranceIos
Okta v4.16.0 published on Wednesday, Apr 9, 2025 by Pulumi

okta.policy.DeviceAssuranceIos

Explore with Pulumi AI

Manages a device assurance policy for ios.

Create DeviceAssuranceIos Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DeviceAssuranceIos(name: string, args?: DeviceAssuranceIosArgs, opts?: CustomResourceOptions);
@overload
def DeviceAssuranceIos(resource_name: str,
                       args: Optional[DeviceAssuranceIosArgs] = None,
                       opts: Optional[ResourceOptions] = None)

@overload
def DeviceAssuranceIos(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       jailbreak: Optional[bool] = None,
                       name: Optional[str] = None,
                       os_version: Optional[str] = None,
                       screenlock_types: Optional[Sequence[str]] = None)
func NewDeviceAssuranceIos(ctx *Context, name string, args *DeviceAssuranceIosArgs, opts ...ResourceOption) (*DeviceAssuranceIos, error)
public DeviceAssuranceIos(string name, DeviceAssuranceIosArgs? args = null, CustomResourceOptions? opts = null)
public DeviceAssuranceIos(String name, DeviceAssuranceIosArgs args)
public DeviceAssuranceIos(String name, DeviceAssuranceIosArgs args, CustomResourceOptions options)
type: okta:policy:DeviceAssuranceIos
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args DeviceAssuranceIosArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args DeviceAssuranceIosArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args DeviceAssuranceIosArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args DeviceAssuranceIosArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DeviceAssuranceIosArgs
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 deviceAssuranceIosResource = new Okta.Policy.DeviceAssuranceIos("deviceAssuranceIosResource", new()
{
    Jailbreak = false,
    Name = "string",
    OsVersion = "string",
    ScreenlockTypes = new[]
    {
        "string",
    },
});
Copy
example, err := policy.NewDeviceAssuranceIos(ctx, "deviceAssuranceIosResource", &policy.DeviceAssuranceIosArgs{
	Jailbreak: pulumi.Bool(false),
	Name:      pulumi.String("string"),
	OsVersion: pulumi.String("string"),
	ScreenlockTypes: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var deviceAssuranceIosResource = new DeviceAssuranceIos("deviceAssuranceIosResource", DeviceAssuranceIosArgs.builder()
    .jailbreak(false)
    .name("string")
    .osVersion("string")
    .screenlockTypes("string")
    .build());
Copy
device_assurance_ios_resource = okta.policy.DeviceAssuranceIos("deviceAssuranceIosResource",
    jailbreak=False,
    name="string",
    os_version="string",
    screenlock_types=["string"])
Copy
const deviceAssuranceIosResource = new okta.policy.DeviceAssuranceIos("deviceAssuranceIosResource", {
    jailbreak: false,
    name: "string",
    osVersion: "string",
    screenlockTypes: ["string"],
});
Copy
type: okta:policy:DeviceAssuranceIos
properties:
    jailbreak: false
    name: string
    osVersion: string
    screenlockTypes:
        - string
Copy

DeviceAssuranceIos 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 DeviceAssuranceIos resource accepts the following input properties:

Jailbreak bool
Is the device jailbroken in the device assurance policy.
Name string
Name of the device assurance policy.
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
Jailbreak bool
Is the device jailbroken in the device assurance policy.
Name string
Name of the device assurance policy.
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
jailbreak Boolean
Is the device jailbroken in the device assurance policy.
name String
Name of the device assurance policy.
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
jailbreak boolean
Is the device jailbroken in the device assurance policy.
name string
Name of the device assurance policy.
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
jailbreak bool
Is the device jailbroken in the device assurance policy.
name str
Name of the device assurance policy.
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
jailbreak Boolean
Is the device jailbroken in the device assurance policy.
name String
Name of the device assurance policy.
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

Outputs

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

CreatedBy string
Created by of the device assurance polic
CreatedDate string
Created date of the device assurance polic
Id string
The provider-assigned unique ID for this managed resource.
LastUpdate string
Last update of the device assurance polic
LastUpdatedBy string
Last updated by of the device assurance polic
Platform string
Policy device assurance platform
CreatedBy string
Created by of the device assurance polic
CreatedDate string
Created date of the device assurance polic
Id string
The provider-assigned unique ID for this managed resource.
LastUpdate string
Last update of the device assurance polic
LastUpdatedBy string
Last updated by of the device assurance polic
Platform string
Policy device assurance platform
createdBy String
Created by of the device assurance polic
createdDate String
Created date of the device assurance polic
id String
The provider-assigned unique ID for this managed resource.
lastUpdate String
Last update of the device assurance polic
lastUpdatedBy String
Last updated by of the device assurance polic
platform String
Policy device assurance platform
createdBy string
Created by of the device assurance polic
createdDate string
Created date of the device assurance polic
id string
The provider-assigned unique ID for this managed resource.
lastUpdate string
Last update of the device assurance polic
lastUpdatedBy string
Last updated by of the device assurance polic
platform string
Policy device assurance platform
created_by str
Created by of the device assurance polic
created_date str
Created date of the device assurance polic
id str
The provider-assigned unique ID for this managed resource.
last_update str
Last update of the device assurance polic
last_updated_by str
Last updated by of the device assurance polic
platform str
Policy device assurance platform
createdBy String
Created by of the device assurance polic
createdDate String
Created date of the device assurance polic
id String
The provider-assigned unique ID for this managed resource.
lastUpdate String
Last update of the device assurance polic
lastUpdatedBy String
Last updated by of the device assurance polic
platform String
Policy device assurance platform

Look up Existing DeviceAssuranceIos Resource

Get an existing DeviceAssuranceIos 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?: DeviceAssuranceIosState, opts?: CustomResourceOptions): DeviceAssuranceIos
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_by: Optional[str] = None,
        created_date: Optional[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) -> DeviceAssuranceIos
func GetDeviceAssuranceIos(ctx *Context, name string, id IDInput, state *DeviceAssuranceIosState, opts ...ResourceOption) (*DeviceAssuranceIos, error)
public static DeviceAssuranceIos Get(string name, Input<string> id, DeviceAssuranceIosState? state, CustomResourceOptions? opts = null)
public static DeviceAssuranceIos get(String name, Output<String> id, DeviceAssuranceIosState state, CustomResourceOptions options)
resources:  _:    type: okta:policy:DeviceAssuranceIos    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 of the device assurance polic
CreatedDate string
Created date of the device assurance polic
Jailbreak bool
Is the device jailbroken in the device assurance policy.
LastUpdate string
Last update of the device assurance polic
LastUpdatedBy string
Last updated by of the device assurance polic
Name string
Name of the device assurance policy.
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
CreatedBy string
Created by of the device assurance polic
CreatedDate string
Created date of the device assurance polic
Jailbreak bool
Is the device jailbroken in the device assurance policy.
LastUpdate string
Last update of the device assurance polic
LastUpdatedBy string
Last updated by of the device assurance polic
Name string
Name of the device assurance policy.
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
createdBy String
Created by of the device assurance polic
createdDate String
Created date of the device assurance polic
jailbreak Boolean
Is the device jailbroken in the device assurance policy.
lastUpdate String
Last update of the device assurance polic
lastUpdatedBy String
Last updated by of the device assurance polic
name String
Name of the device assurance policy.
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
createdBy string
Created by of the device assurance polic
createdDate string
Created date of the device assurance polic
jailbreak boolean
Is the device jailbroken in the device assurance policy.
lastUpdate string
Last update of the device assurance polic
lastUpdatedBy string
Last updated by of the device assurance polic
name string
Name of the device assurance policy.
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
created_by str
Created by of the device assurance polic
created_date str
Created date of the device assurance polic
jailbreak bool
Is the device jailbroken in the device assurance policy.
last_update str
Last update of the device assurance polic
last_updated_by str
Last updated by of the device assurance polic
name str
Name of the device assurance policy.
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
createdBy String
Created by of the device assurance polic
createdDate String
Created date of the device assurance polic
jailbreak Boolean
Is the device jailbroken in the device assurance policy.
lastUpdate String
Last update of the device assurance polic
lastUpdatedBy String
Last updated by of the device assurance polic
name String
Name of the device assurance policy.
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

Import

$ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example <device_assurance_id>
Copy

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.