Show / Hide Table of Contents

Class RuleMfa

Creates an MFA Policy Rule.

This resource allows you to create and configure an MFA Policy Rule.

Inheritance
System.Object
Resource
CustomResource
RuleMfa
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Okta.Policy
Assembly: Pulumi.Okta.dll
Syntax
public class RuleMfa : CustomResource

Constructors

View Source

RuleMfa(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 Source

Enroll

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>
View Source

Name

Policy Rule Name.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

NetworkConnection

Network selection mode: &quot;ANYWHERE&quot;, &quot;ZONE&quot;, &quot;ON_NETWORK&quot;, or &quot;OFF_NETWORK&quot;.

Declaration
public Output<string> NetworkConnection { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

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>>
View Source

Policyid

Policy ID.

Declaration
public Output<string> Policyid { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

Status

Policy Rule Status: &quot;ACTIVE&quot; or &quot;INACTIVE&quot;.

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.