onelogin.apps.Rules
Explore with Pulumi AI
Create Rules Resource
new Rules(name: string, args: RulesArgs, opts?: CustomResourceOptions);
@overload
def Rules(resource_name: str,
opts: Optional[ResourceOptions] = None,
actions: Optional[Sequence[RulesActionArgs]] = None,
apps_id: Optional[str] = None,
conditions: Optional[Sequence[RulesConditionArgs]] = None,
enabled: Optional[bool] = None,
match: Optional[str] = None,
name: Optional[str] = None,
position: Optional[int] = None)
@overload
def Rules(resource_name: str,
args: RulesArgs,
opts: Optional[ResourceOptions] = None)
func NewRules(ctx *Context, name string, args RulesArgs, opts ...ResourceOption) (*Rules, error)
public Rules(string name, RulesArgs args, CustomResourceOptions? opts = null)
type: onelogin:apps:Rules
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RulesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RulesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RulesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Rules Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Rules resource accepts the following input properties:
- Apps
Id string - Actions
List<Rules
Action> - Conditions
List<Rules
Condition> An array of conditions that the user must meet in order for the rule to be applied.
- Enabled bool
Indicates if the rule is enabled or not.
- Match string
Indicates how conditions should be matched.
- Name string
Rule Name
- Position int
Indicates the order of the rule. When
null
this will default to last position.
- Apps
Id string - Actions
[]Rules
Action Args - Conditions
[]Rules
Condition Args An array of conditions that the user must meet in order for the rule to be applied.
- Enabled bool
Indicates if the rule is enabled or not.
- Match string
Indicates how conditions should be matched.
- Name string
Rule Name
- Position int
Indicates the order of the rule. When
null
this will default to last position.
- apps
Id String - actions
List<Rules
Action> - conditions
List<Rules
Condition> An array of conditions that the user must meet in order for the rule to be applied.
- enabled Boolean
Indicates if the rule is enabled or not.
- match String
Indicates how conditions should be matched.
- name String
Rule Name
- position Integer
Indicates the order of the rule. When
null
this will default to last position.
- apps
Id string - actions
Rules
Action[] - conditions
Rules
Condition[] An array of conditions that the user must meet in order for the rule to be applied.
- enabled boolean
Indicates if the rule is enabled or not.
- match string
Indicates how conditions should be matched.
- name string
Rule Name
- position number
Indicates the order of the rule. When
null
this will default to last position.
- apps_
id str - actions
Sequence[Rules
Action Args] - conditions
Sequence[Rules
Condition Args] An array of conditions that the user must meet in order for the rule to be applied.
- enabled bool
Indicates if the rule is enabled or not.
- match str
Indicates how conditions should be matched.
- name str
Rule Name
- position int
Indicates the order of the rule. When
null
this will default to last position.
- apps
Id String - actions List<Property Map>
- conditions List<Property Map>
An array of conditions that the user must meet in order for the rule to be applied.
- enabled Boolean
Indicates if the rule is enabled or not.
- match String
Indicates how conditions should be matched.
- name String
Rule Name
- position Number
Indicates the order of the rule. When
null
this will default to last position.
Outputs
All input properties are implicitly available as output properties. Additionally, the Rules resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing Rules Resource
Get an existing Rules 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?: RulesState, opts?: CustomResourceOptions): Rules
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
actions: Optional[Sequence[RulesActionArgs]] = None,
apps_id: Optional[str] = None,
conditions: Optional[Sequence[RulesConditionArgs]] = None,
enabled: Optional[bool] = None,
match: Optional[str] = None,
name: Optional[str] = None,
position: Optional[int] = None) -> Rules
func GetRules(ctx *Context, name string, id IDInput, state *RulesState, opts ...ResourceOption) (*Rules, error)
public static Rules Get(string name, Input<string> id, RulesState? state, CustomResourceOptions? opts = null)
public static Rules get(String name, Output<String> id, RulesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Actions
List<Rules
Action> - Apps
Id string - Conditions
List<Rules
Condition> An array of conditions that the user must meet in order for the rule to be applied.
- Enabled bool
Indicates if the rule is enabled or not.
- Match string
Indicates how conditions should be matched.
- Name string
Rule Name
- Position int
Indicates the order of the rule. When
null
this will default to last position.
- Actions
[]Rules
Action Args - Apps
Id string - Conditions
[]Rules
Condition Args An array of conditions that the user must meet in order for the rule to be applied.
- Enabled bool
Indicates if the rule is enabled or not.
- Match string
Indicates how conditions should be matched.
- Name string
Rule Name
- Position int
Indicates the order of the rule. When
null
this will default to last position.
- actions
List<Rules
Action> - apps
Id String - conditions
List<Rules
Condition> An array of conditions that the user must meet in order for the rule to be applied.
- enabled Boolean
Indicates if the rule is enabled or not.
- match String
Indicates how conditions should be matched.
- name String
Rule Name
- position Integer
Indicates the order of the rule. When
null
this will default to last position.
- actions
Rules
Action[] - apps
Id string - conditions
Rules
Condition[] An array of conditions that the user must meet in order for the rule to be applied.
- enabled boolean
Indicates if the rule is enabled or not.
- match string
Indicates how conditions should be matched.
- name string
Rule Name
- position number
Indicates the order of the rule. When
null
this will default to last position.
- actions
Sequence[Rules
Action Args] - apps_
id str - conditions
Sequence[Rules
Condition Args] An array of conditions that the user must meet in order for the rule to be applied.
- enabled bool
Indicates if the rule is enabled or not.
- match str
Indicates how conditions should be matched.
- name str
Rule Name
- position int
Indicates the order of the rule. When
null
this will default to last position.
- actions List<Property Map>
- apps
Id String - conditions List<Property Map>
An array of conditions that the user must meet in order for the rule to be applied.
- enabled Boolean
Indicates if the rule is enabled or not.
- match String
Indicates how conditions should be matched.
- name String
Rule Name
- position Number
Indicates the order of the rule. When
null
this will default to last position.
Supporting Types
RulesAction, RulesActionArgs
RulesCondition, RulesConditionArgs
Package Details
- Repository
- onelogin pulumi/pulumi-onelogin
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
onelogin
Terraform Provider.