onelogin
AppRule
Create a AppRule Resource
new AppRule(name: string, args: AppRuleArgs, opts?: CustomResourceOptions);
@overload
def AppRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
actions: Optional[Sequence[AppRuleActionArgs]] = None,
app_id: Optional[str] = None,
conditions: Optional[Sequence[AppRuleConditionArgs]] = None,
enabled: Optional[bool] = None,
match: Optional[str] = None,
name: Optional[str] = None,
position: Optional[int] = None)
@overload
def AppRule(resource_name: str,
args: AppRuleArgs,
opts: Optional[ResourceOptions] = None)
func NewAppRule(ctx *Context, name string, args AppRuleArgs, opts ...ResourceOption) (*AppRule, error)
public AppRule(string name, AppRuleArgs args, CustomResourceOptions? opts = null)
public AppRule(String name, AppRuleArgs args)
public AppRule(String name, AppRuleArgs args, CustomResourceOptions options)
type: onelogin:AppRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppRuleArgs
- 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 AppRuleArgs
- 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 AppRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AppRule 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 AppRule resource accepts the following input properties:
- App
Id string - Match string
- Actions
List<App
Rule Action Args> - Conditions
List<App
Rule Condition Args> - Enabled bool
- Name string
- Position int
- App
Id string - Match string
- Actions
[]App
Rule Action Args - Conditions
[]App
Rule Condition Args - Enabled bool
- Name string
- Position int
- app
Id String - match String
- actions
List
Rule Action Args> - conditions
List
Rule Condition Args> - enabled Boolean
- name String
- position Integer
- app
Id string - match string
- actions
App
Rule Action Args[] - conditions
App
Rule Condition Args[] - enabled boolean
- name string
- position number
Outputs
All input properties are implicitly available as output properties. Additionally, the AppRule 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 an Existing AppRule Resource
Get an existing AppRule 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?: AppRuleState, opts?: CustomResourceOptions): AppRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
actions: Optional[Sequence[AppRuleActionArgs]] = None,
app_id: Optional[str] = None,
conditions: Optional[Sequence[AppRuleConditionArgs]] = None,
enabled: Optional[bool] = None,
match: Optional[str] = None,
name: Optional[str] = None,
position: Optional[int] = None) -> AppRule
func GetAppRule(ctx *Context, name string, id IDInput, state *AppRuleState, opts ...ResourceOption) (*AppRule, error)
public static AppRule Get(string name, Input<string> id, AppRuleState? state, CustomResourceOptions? opts = null)
public static AppRule get(String name, Output<String> id, AppRuleState 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<App
Rule Action Args> - App
Id string - Conditions
List<App
Rule Condition Args> - Enabled bool
- Match string
- Name string
- Position int
- Actions
[]App
Rule Action Args - App
Id string - Conditions
[]App
Rule Condition Args - Enabled bool
- Match string
- Name string
- Position int
- actions
List
Rule Action Args> - app
Id String - conditions
List
Rule Condition Args> - enabled Boolean
- match String
- name String
- position Integer
- actions
App
Rule Action Args[] - app
Id string - conditions
App
Rule Condition Args[] - enabled boolean
- match string
- name string
- position number
Supporting Types
AppRuleAction
- Action string
- Values List<string>
- Expression string
- Action string
- Values []string
- Expression string
- action String
- values
List
- expression String
- action string
- values string[]
- expression string
- action str
- values Sequence[str]
- expression str
- action String
- values
List
- expression String
AppRuleCondition
Package Details
- Repository
- https://github.com/pulumi/pulumi-onelogin
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
onelogin
Terraform Provider.