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 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 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 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 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 String
- The unique name of the resource.
- args 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",
},
});
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"),
},
})
var deviceAssuranceIosResource = new DeviceAssuranceIos("deviceAssuranceIosResource", DeviceAssuranceIosArgs.builder()
.jailbreak(false)
.name("string")
.osVersion("string")
.screenlockTypes("string")
.build());
device_assurance_ios_resource = okta.policy.DeviceAssuranceIos("deviceAssuranceIosResource",
jailbreak=False,
name="string",
os_version="string",
screenlock_types=["string"])
const deviceAssuranceIosResource = new okta.policy.DeviceAssuranceIos("deviceAssuranceIosResource", {
jailbreak: false,
name: "string",
osVersion: "string",
screenlockTypes: ["string"],
});
type: okta:policy:DeviceAssuranceIos
properties:
jailbreak: false
name: string
osVersion: string
screenlockTypes:
- string
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.
- 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
- Jailbreak bool
- Is the device jailbroken in the device assurance policy.
- Name string
- Name of the device assurance policy.
- 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
- jailbreak Boolean
- Is the device jailbroken in the device assurance policy.
- name String
- Name of the device assurance policy.
- 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
- jailbreak boolean
- Is the device jailbroken in the device assurance policy.
- name string
- Name of the device assurance policy.
- 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
- 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
orBIOMETRIC, PASSCODE
- jailbreak Boolean
- Is the device jailbroken in the device assurance policy.
- name String
- Name of the device assurance policy.
- 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
Outputs
All input properties are implicitly available as output properties. Additionally, the DeviceAssuranceIos resource produces the following output properties:
- Created
By string - Created by of the device assurance polic
- Created
Date string - Created date of the device assurance polic
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - Last update of the device assurance polic
- Last
Updated stringBy - Last updated by of the device assurance polic
- Platform string
- Policy device assurance platform
- Created
By string - Created by of the device assurance polic
- Created
Date string - Created date of the device assurance polic
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - Last update of the device assurance polic
- Last
Updated stringBy - Last updated by of the device assurance polic
- Platform string
- Policy device assurance platform
- created
By String - Created by of the device assurance polic
- created
Date String - Created date of the device assurance polic
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - Last update of the device assurance polic
- last
Updated StringBy - Last updated by of the device assurance polic
- platform String
- Policy device assurance platform
- created
By string - Created by of the device assurance polic
- created
Date string - Created date of the device assurance polic
- id string
- The provider-assigned unique ID for this managed resource.
- last
Update string - Last update of the device assurance polic
- last
Updated stringBy - 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_ strby - Last updated by of the device assurance polic
- platform str
- Policy device assurance platform
- created
By String - Created by of the device assurance polic
- created
Date String - Created date of the device assurance polic
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - Last update of the device assurance polic
- last
Updated StringBy - 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)
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 of the device assurance polic
- Created
Date string - Created date of the device assurance polic
- Jailbreak bool
- Is the device jailbroken in the device assurance policy.
- Last
Update string - Last update of the device assurance polic
- Last
Updated stringBy - Last updated by of the device assurance polic
- Name string
- Name of the device assurance policy.
- 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
- Created
By string - Created by of the device assurance polic
- Created
Date string - Created date of the device assurance polic
- Jailbreak bool
- Is the device jailbroken in the device assurance policy.
- Last
Update string - Last update of the device assurance polic
- Last
Updated stringBy - Last updated by of the device assurance polic
- Name string
- Name of the device assurance policy.
- 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
- created
By String - Created by of the device assurance polic
- created
Date String - Created date of the device assurance polic
- jailbreak Boolean
- Is the device jailbroken in the device assurance policy.
- last
Update String - Last update of the device assurance polic
- last
Updated StringBy - Last updated by of the device assurance polic
- name String
- Name of the device assurance policy.
- 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
- created
By string - Created by of the device assurance polic
- created
Date string - Created date of the device assurance polic
- jailbreak boolean
- Is the device jailbroken in the device assurance policy.
- last
Update string - Last update of the device assurance polic
- last
Updated stringBy - Last updated by of the device assurance polic
- name string
- Name of the device assurance policy.
- 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
- 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_ strby - 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
orBIOMETRIC, PASSCODE
- created
By String - Created by of the device assurance polic
- created
Date String - Created date of the device assurance polic
- jailbreak Boolean
- Is the device jailbroken in the device assurance policy.
- last
Update String - Last update of the device assurance polic
- last
Updated StringBy - Last updated by of the device assurance polic
- name String
- Name of the device assurance policy.
- 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
Import
$ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos 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.