PasswordPolicyRule
Create a PasswordPolicyRule Resource
new PasswordPolicyRule(name: string, args: PasswordPolicyRuleArgs, opts?: CustomResourceOptions);def PasswordPolicyRule(resource_name, opts=None, name=None, network_connection=None, network_excludes=None, network_includes=None, password_change=None, password_reset=None, password_unlock=None, policyid=None, priority=None, status=None, users_excludeds=None, __props__=None);func NewPasswordPolicyRule(ctx *Context, name string, args PasswordPolicyRuleArgs, opts ...ResourceOption) (*PasswordPolicyRule, error)public PasswordPolicyRule(string name, PasswordPolicyRuleArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args PasswordPolicyRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PasswordPolicyRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PasswordPolicyRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
PasswordPolicyRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The PasswordPolicyRule resource accepts the following input properties:
- Policyid string
Policy ID of the Rule
- Name string
Policy Rule Name
- Network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- Network
Excludes List<string> The zones to exclude
- Network
Includes List<string> The zones to include
- Password
Change string Allow or deny a user to change their password: ALLOW or DENY. Default = ALLOW
- Password
Reset string Allow or deny a user to reset their password: ALLOW or DENY. Default = ALLOW
- Password
Unlock string Allow or deny a user to unlock. Default = DENY
- Priority int
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.
- Status string
Policy Rule Status: ACTIVE or INACTIVE.
- Users
Excludeds List<string> Set of User IDs to Exclude
- Policyid string
Policy ID of the Rule
- Name string
Policy Rule Name
- Network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- Network
Excludes []string The zones to exclude
- Network
Includes []string The zones to include
- Password
Change string Allow or deny a user to change their password: ALLOW or DENY. Default = ALLOW
- Password
Reset string Allow or deny a user to reset their password: ALLOW or DENY. Default = ALLOW
- Password
Unlock string Allow or deny a user to unlock. Default = DENY
- Priority int
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.
- Status string
Policy Rule Status: ACTIVE or INACTIVE.
- Users
Excludeds []string Set of User IDs to Exclude
- policyid string
Policy ID of the Rule
- name string
Policy Rule Name
- network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- network
Excludes string[] The zones to exclude
- network
Includes string[] The zones to include
- password
Change string Allow or deny a user to change their password: ALLOW or DENY. Default = ALLOW
- password
Reset string Allow or deny a user to reset their password: ALLOW or DENY. Default = ALLOW
- password
Unlock string Allow or deny a user to unlock. Default = DENY
- priority number
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.
- status string
Policy Rule Status: ACTIVE or INACTIVE.
- users
Excludeds string[] Set of User IDs to Exclude
- policyid str
Policy ID of the Rule
- name str
Policy Rule Name
- network_
connection str Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- network_
excludes List[str] The zones to exclude
- network_
includes List[str] The zones to include
- password_
change str Allow or deny a user to change their password: ALLOW or DENY. Default = ALLOW
- password_
reset str Allow or deny a user to reset their password: ALLOW or DENY. Default = ALLOW
- password_
unlock str Allow or deny a user to unlock. Default = DENY
- priority float
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.
- status str
Policy Rule Status: ACTIVE or INACTIVE.
- users_
excludeds List[str] Set of User IDs to Exclude
Outputs
All input properties are implicitly available as output properties. Additionally, the PasswordPolicyRule resource produces the following output properties:
Look up an Existing PasswordPolicyRule Resource
Get an existing PasswordPolicyRule 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?: PasswordPolicyRuleState, opts?: CustomResourceOptions): PasswordPolicyRulestatic get(resource_name, id, opts=None, name=None, network_connection=None, network_excludes=None, network_includes=None, password_change=None, password_reset=None, password_unlock=None, policyid=None, priority=None, status=None, users_excludeds=None, __props__=None);func GetPasswordPolicyRule(ctx *Context, name string, id IDInput, state *PasswordPolicyRuleState, opts ...ResourceOption) (*PasswordPolicyRule, error)public static PasswordPolicyRule Get(string name, Input<string> id, PasswordPolicyRuleState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Name string
Policy Rule Name
- Network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- Network
Excludes List<string> The zones to exclude
- Network
Includes List<string> The zones to include
- Password
Change string Allow or deny a user to change their password: ALLOW or DENY. Default = ALLOW
- Password
Reset string Allow or deny a user to reset their password: ALLOW or DENY. Default = ALLOW
- Password
Unlock string Allow or deny a user to unlock. Default = DENY
- Policyid string
Policy ID of the Rule
- Priority int
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.
- Status string
Policy Rule Status: ACTIVE or INACTIVE.
- Users
Excludeds List<string> Set of User IDs to Exclude
- Name string
Policy Rule Name
- Network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- Network
Excludes []string The zones to exclude
- Network
Includes []string The zones to include
- Password
Change string Allow or deny a user to change their password: ALLOW or DENY. Default = ALLOW
- Password
Reset string Allow or deny a user to reset their password: ALLOW or DENY. Default = ALLOW
- Password
Unlock string Allow or deny a user to unlock. Default = DENY
- Policyid string
Policy ID of the Rule
- Priority int
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.
- Status string
Policy Rule Status: ACTIVE or INACTIVE.
- Users
Excludeds []string Set of User IDs to Exclude
- name string
Policy Rule Name
- network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- network
Excludes string[] The zones to exclude
- network
Includes string[] The zones to include
- password
Change string Allow or deny a user to change their password: ALLOW or DENY. Default = ALLOW
- password
Reset string Allow or deny a user to reset their password: ALLOW or DENY. Default = ALLOW
- password
Unlock string Allow or deny a user to unlock. Default = DENY
- policyid string
Policy ID of the Rule
- priority number
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.
- status string
Policy Rule Status: ACTIVE or INACTIVE.
- users
Excludeds string[] Set of User IDs to Exclude
- name str
Policy Rule Name
- network_
connection str Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- network_
excludes List[str] The zones to exclude
- network_
includes List[str] The zones to include
- password_
change str Allow or deny a user to change their password: ALLOW or DENY. Default = ALLOW
- password_
reset str Allow or deny a user to reset their password: ALLOW or DENY. Default = ALLOW
- password_
unlock str Allow or deny a user to unlock. Default = DENY
- policyid str
Policy ID of the Rule
- priority float
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.
- status str
Policy Rule Status: ACTIVE or INACTIVE.
- users_
excludeds List[str] Set of User IDs to Exclude
Package Details
- Repository
- https://github.com/pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.