Class MfaPolicyRule
Inherited Members
Namespace: Pulumi.Okta.Deprecated
Assembly: Pulumi.Okta.dll
Syntax
public class MfaPolicyRule : CustomResource
Constructors
View SourceMfaPolicyRule(String, MfaPolicyRuleArgs, CustomResourceOptions)
Create a MfaPolicyRule resource with the given unique name, arguments, and options.
Declaration
public MfaPolicyRule(string name, MfaPolicyRuleArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| MfaPolicyRuleArgs | 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
Should the user be enrolled the first time they LOGIN, the next time they are CHALLENGEd, 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 zones to exclude
Declaration
public Output<ImmutableArray<string>> NetworkExcludes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
NetworkIncludes
The zones to include
Declaration
public Output<ImmutableArray<string>> NetworkIncludes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Policyid
Policy ID of the Rule
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>, MfaPolicyRuleState, CustomResourceOptions)
Get an existing MfaPolicyRule resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static MfaPolicyRule Get(string name, Input<string> id, MfaPolicyRuleState 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. |
| MfaPolicyRuleState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| MfaPolicyRule |