Class RulePassword
Creates a Password Policy Rule.
This resource allows you to create and configure a Password Policy Rule.
Inherited Members
Namespace: Pulumi.Okta.Policy
Assembly: Pulumi.Okta.dll
Syntax
public class RulePassword : CustomResource
Constructors
View SourceRulePassword(String, RulePasswordArgs, CustomResourceOptions)
Create a RulePassword resource with the given unique name, arguments, and options.
Declaration
public RulePassword(string name, RulePasswordArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RulePasswordArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceName
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>> |
PasswordChange
Allow or deny a user to change their password: "ALLOW" or "DENY". By default it is "ALLOW".
Declaration
public Output<string> PasswordChange { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PasswordReset
Allow or deny a user to reset their password: "ALLOW" or "DENY". By default it is "ALLOW".
Declaration
public Output<string> PasswordReset { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PasswordUnlock
Allow or deny a user to unlock: "ALLOW" or "DENY". By default it is "DENY",
Declaration
public Output<string> PasswordUnlock { get; }
Property Value
| Type | Description |
|---|---|
| Output<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>, RulePasswordState, CustomResourceOptions)
Get an existing RulePassword resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static RulePassword Get(string name, Input<string> id, RulePasswordState 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. |
| RulePasswordState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| RulePassword |