Class RuleMfa
Creates an MFA Policy Rule.
This resource allows you to create and configure an MFA Policy Rule.
Inherited Members
Namespace: Pulumi.Okta.Policy
Assembly: Pulumi.Okta.dll
Syntax
public class RuleMfa : CustomResource
Constructors
View SourceRuleMfa(String, RuleMfaArgs, CustomResourceOptions)
Create a RuleMfa resource with the given unique name, arguments, and options.
Declaration
public RuleMfa(string name, RuleMfaArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RuleMfaArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceEnroll
When a user should be prompted for MFA. It can be "CHALLENGE", "LOGIN", or "NEVER".
Declaration
public Output<string> Enroll { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Policy Rule Name.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NetworkConnection
Network selection mode: "ANYWHERE", "ZONE", "ON_NETWORK", or "OFF_NETWORK".
Declaration
public Output<string> NetworkConnection { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NetworkExcludes
The network zones to exclude. Conflicts with network_includes.
Declaration
public Output<ImmutableArray<string>> NetworkExcludes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
NetworkIncludes
The network zones to include. Conflicts with network_excludes.
Declaration
public Output<ImmutableArray<string>> NetworkIncludes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Policyid
Policy ID.
Declaration
public Output<string> Policyid { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Priority
Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.
Declaration
public Output<int?> Priority { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Status
Policy Rule Status: "ACTIVE" or "INACTIVE".
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UsersExcludeds
Set of User IDs to Exclude
Declaration
public Output<ImmutableArray<string>> UsersExcludeds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Methods
View SourceGet(String, Input<String>, RuleMfaState, CustomResourceOptions)
Get an existing RuleMfa resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static RuleMfa Get(string name, Input<string> id, RuleMfaState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| RuleMfaState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| RuleMfa |