1. Packages
  2. onelogin
  3. API Docs
  4. apps
  5. Rules
onelogin v0.6.0 published on Tuesday, Apr 25, 2023 by Pulumi

onelogin.apps.Rules

Explore with Pulumi AI

onelogin logo
onelogin v0.6.0 published on Tuesday, Apr 25, 2023 by Pulumi

    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)
    public Rules(String name, RulesArgs args)
    public Rules(String name, RulesArgs args, CustomResourceOptions options)
    
    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:

    AppsId string
    Actions List<RulesAction>
    Conditions List<RulesCondition>

    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.

    AppsId string
    Actions []RulesActionArgs
    Conditions []RulesConditionArgs

    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.

    appsId String
    actions List<RulesAction>
    conditions List<RulesCondition>

    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.

    appsId string
    actions RulesAction[]
    conditions RulesCondition[]

    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[RulesActionArgs]
    conditions Sequence[RulesConditionArgs]

    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.

    appsId 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.
    The following state arguments are supported:
    Actions List<RulesAction>
    AppsId string
    Conditions List<RulesCondition>

    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 []RulesActionArgs
    AppsId string
    Conditions []RulesConditionArgs

    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<RulesAction>
    appsId String
    conditions List<RulesCondition>

    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 RulesAction[]
    appsId string
    conditions RulesCondition[]

    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[RulesActionArgs]
    apps_id str
    conditions Sequence[RulesConditionArgs]

    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>
    appsId 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

    Action string
    Values List<string>
    Action string
    Values []string
    action String
    values List<String>
    action string
    values string[]
    action str
    values Sequence[str]
    action String
    values List<String>

    RulesCondition, RulesConditionArgs

    Operator string
    Source string
    Value string
    Operator string
    Source string
    Value string
    operator String
    source String
    value String
    operator string
    source string
    value string
    operator String
    source String
    value String

    Package Details

    Repository
    onelogin pulumi/pulumi-onelogin
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the onelogin Terraform Provider.

    onelogin logo
    onelogin v0.6.0 published on Tuesday, Apr 25, 2023 by Pulumi