1. Packages
  2. onelogin
  3. API Docs
  4. apps
  5. getRules
onelogin v0.6.2 published on Monday, Mar 11, 2024 by Pulumi

onelogin.apps.getRules

Explore with Pulumi AI

onelogin logo
onelogin v0.6.2 published on Monday, Mar 11, 2024 by Pulumi

    Using getRules

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRules(args: GetRulesArgs, opts?: InvokeOptions): Promise<GetRulesResult>
    function getRulesOutput(args: GetRulesOutputArgs, opts?: InvokeOptions): Output<GetRulesResult>
    def get_rules(actions: Optional[Sequence[GetRulesAction]] = None,
                  apps_id: Optional[str] = None,
                  conditions: Optional[Sequence[GetRulesCondition]] = None,
                  enabled: Optional[bool] = None,
                  filters: Optional[Sequence[GetRulesFilter]] = None,
                  match: Optional[str] = None,
                  name: Optional[str] = None,
                  position: Optional[int] = None,
                  opts: Optional[InvokeOptions] = None) -> GetRulesResult
    def get_rules_output(actions: Optional[pulumi.Input[Sequence[pulumi.Input[GetRulesActionArgs]]]] = None,
                  apps_id: Optional[pulumi.Input[str]] = None,
                  conditions: Optional[pulumi.Input[Sequence[pulumi.Input[GetRulesConditionArgs]]]] = None,
                  enabled: Optional[pulumi.Input[bool]] = None,
                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetRulesFilterArgs]]]] = None,
                  match: Optional[pulumi.Input[str]] = None,
                  name: Optional[pulumi.Input[str]] = None,
                  position: Optional[pulumi.Input[int]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetRulesResult]
    func LookupRules(ctx *Context, args *LookupRulesArgs, opts ...InvokeOption) (*LookupRulesResult, error)
    func LookupRulesOutput(ctx *Context, args *LookupRulesOutputArgs, opts ...InvokeOption) LookupRulesResultOutput

    > Note: This function is named LookupRules in the Go SDK.

    public static class GetRules 
    {
        public static Task<GetRulesResult> InvokeAsync(GetRulesArgs args, InvokeOptions? opts = null)
        public static Output<GetRulesResult> Invoke(GetRulesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRulesResult> getRules(GetRulesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: onelogin:apps/getRules:getRules
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getRules Result

    The following output properties are available:

    Actions List<GetRulesAction>
    AppsId string
    Conditions List<GetRulesCondition>
    Enabled bool
    Id string
    The provider-assigned unique ID for this managed resource.
    Match string
    Name string
    Position int
    Filters List<GetRulesFilter>
    Actions []GetRulesAction
    AppsId string
    Conditions []GetRulesCondition
    Enabled bool
    Id string
    The provider-assigned unique ID for this managed resource.
    Match string
    Name string
    Position int
    Filters []GetRulesFilter
    actions List<GetRulesAction>
    appsId String
    conditions List<GetRulesCondition>
    enabled Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    match String
    name String
    position Integer
    filters List<GetRulesFilter>
    actions GetRulesAction[]
    appsId string
    conditions GetRulesCondition[]
    enabled boolean
    id string
    The provider-assigned unique ID for this managed resource.
    match string
    name string
    position number
    filters GetRulesFilter[]
    actions List<Property Map>
    appsId String
    conditions List<Property Map>
    enabled Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    match String
    name String
    position Number
    filters List<Property Map>

    Supporting Types

    GetRulesAction

    Action string
    The action to apply
    Values List<string>
    Only applicable to provisioned and set_* actions. Items in the array will be a plain text string or valid value for the selected action.
    Action string
    The action to apply
    Values []string
    Only applicable to provisioned and set_* actions. Items in the array will be a plain text string or valid value for the selected action.
    action String
    The action to apply
    values List<String>
    Only applicable to provisioned and set_* actions. Items in the array will be a plain text string or valid value for the selected action.
    action string
    The action to apply
    values string[]
    Only applicable to provisioned and set_* actions. Items in the array will be a plain text string or valid value for the selected action.
    action str
    The action to apply
    values Sequence[str]
    Only applicable to provisioned and set_* actions. Items in the array will be a plain text string or valid value for the selected action.
    action String
    The action to apply
    values List<String>
    Only applicable to provisioned and set_* actions. Items in the array will be a plain text string or valid value for the selected action.

    GetRulesCondition

    Operator string
    A valid operator for the selected condition source
    Source string
    source field to check.
    Value string
    A plain text string or valid value for the selected condition source
    Operator string
    A valid operator for the selected condition source
    Source string
    source field to check.
    Value string
    A plain text string or valid value for the selected condition source
    operator String
    A valid operator for the selected condition source
    source String
    source field to check.
    value String
    A plain text string or valid value for the selected condition source
    operator string
    A valid operator for the selected condition source
    source string
    source field to check.
    value string
    A plain text string or valid value for the selected condition source
    operator str
    A valid operator for the selected condition source
    source str
    source field to check.
    value str
    A plain text string or valid value for the selected condition source
    operator String
    A valid operator for the selected condition source
    source String
    source field to check.
    value String
    A plain text string or valid value for the selected condition source

    GetRulesFilter

    Name string
    Values List<string>
    Name string
    Values []string
    name String
    values List<String>
    name string
    values string[]
    name str
    values Sequence[str]
    name String
    values List<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.2 published on Monday, Mar 11, 2024 by Pulumi