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

onelogin.getPrivilegesInstance

Explore with Pulumi AI

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

    Using getPrivilegesInstance

    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 getPrivilegesInstance(args: GetPrivilegesInstanceArgs, opts?: InvokeOptions): Promise<GetPrivilegesInstanceResult>
    function getPrivilegesInstanceOutput(args: GetPrivilegesInstanceOutputArgs, opts?: InvokeOptions): Output<GetPrivilegesInstanceResult>
    def get_privileges_instance(description: Optional[str] = None,
                                id: Optional[str] = None,
                                name: Optional[str] = None,
                                privilege: Optional[GetPrivilegesInstancePrivilege] = None,
                                opts: Optional[InvokeOptions] = None) -> GetPrivilegesInstanceResult
    def get_privileges_instance_output(description: Optional[pulumi.Input[str]] = None,
                                id: Optional[pulumi.Input[str]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                privilege: Optional[pulumi.Input[GetPrivilegesInstancePrivilegeArgs]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetPrivilegesInstanceResult]
    func GetPrivilegesInstance(ctx *Context, args *GetPrivilegesInstanceArgs, opts ...InvokeOption) (*GetPrivilegesInstanceResult, error)
    func GetPrivilegesInstanceOutput(ctx *Context, args *GetPrivilegesInstanceOutputArgs, opts ...InvokeOption) GetPrivilegesInstanceResultOutput

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

    public static class GetPrivilegesInstance 
    {
        public static Task<GetPrivilegesInstanceResult> InvokeAsync(GetPrivilegesInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetPrivilegesInstanceResult> Invoke(GetPrivilegesInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPrivilegesInstanceResult> getPrivilegesInstance(GetPrivilegesInstanceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: onelogin:index/getPrivilegesInstance:getPrivilegesInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getPrivilegesInstance Result

    The following output properties are available:

    Supporting Types

    GetPrivilegesInstancePrivilege

    GetPrivilegesInstancePrivilegeStatement

    Actions List<string>
    An array of strings that represent actions within OneLogin. Actions are prefixed with the class of object they are related to and followed by a specific action for the given class. e.g. users:List, where the class is users and the specific action is List. Don’t mix classes within an Action array. To create a privilege that includes multiple different classes, create multiple statements. A wildcard * that includes all actions is supported. Use wildcards to create a Super User privilege.
    Effect string
    Set to “Allow.” By default, all actions are denied, this Statement allows the listed actions to be executed.
    Scopes List<string>
    Target the privileged action against specific resources with the scope. The scope pattern is the class of object used by the Action, followed by an ID that represents a resource in OneLogin. e.g. apps/1234, where apps is the class and 1234 is the ID of an app. The wildcard * is supported and indicates that all resources of the class type declared, in the Action, are in scope. The Action and Scope classes must match. However, there is an exception, a scope of roles/{role_id} can be combined with Actions on the user or app class. The exception allows you to target groups of users or apps with specific actions.
    Actions []string
    An array of strings that represent actions within OneLogin. Actions are prefixed with the class of object they are related to and followed by a specific action for the given class. e.g. users:List, where the class is users and the specific action is List. Don’t mix classes within an Action array. To create a privilege that includes multiple different classes, create multiple statements. A wildcard * that includes all actions is supported. Use wildcards to create a Super User privilege.
    Effect string
    Set to “Allow.” By default, all actions are denied, this Statement allows the listed actions to be executed.
    Scopes []string
    Target the privileged action against specific resources with the scope. The scope pattern is the class of object used by the Action, followed by an ID that represents a resource in OneLogin. e.g. apps/1234, where apps is the class and 1234 is the ID of an app. The wildcard * is supported and indicates that all resources of the class type declared, in the Action, are in scope. The Action and Scope classes must match. However, there is an exception, a scope of roles/{role_id} can be combined with Actions on the user or app class. The exception allows you to target groups of users or apps with specific actions.
    actions List<String>
    An array of strings that represent actions within OneLogin. Actions are prefixed with the class of object they are related to and followed by a specific action for the given class. e.g. users:List, where the class is users and the specific action is List. Don’t mix classes within an Action array. To create a privilege that includes multiple different classes, create multiple statements. A wildcard * that includes all actions is supported. Use wildcards to create a Super User privilege.
    effect String
    Set to “Allow.” By default, all actions are denied, this Statement allows the listed actions to be executed.
    scopes List<String>
    Target the privileged action against specific resources with the scope. The scope pattern is the class of object used by the Action, followed by an ID that represents a resource in OneLogin. e.g. apps/1234, where apps is the class and 1234 is the ID of an app. The wildcard * is supported and indicates that all resources of the class type declared, in the Action, are in scope. The Action and Scope classes must match. However, there is an exception, a scope of roles/{role_id} can be combined with Actions on the user or app class. The exception allows you to target groups of users or apps with specific actions.
    actions string[]
    An array of strings that represent actions within OneLogin. Actions are prefixed with the class of object they are related to and followed by a specific action for the given class. e.g. users:List, where the class is users and the specific action is List. Don’t mix classes within an Action array. To create a privilege that includes multiple different classes, create multiple statements. A wildcard * that includes all actions is supported. Use wildcards to create a Super User privilege.
    effect string
    Set to “Allow.” By default, all actions are denied, this Statement allows the listed actions to be executed.
    scopes string[]
    Target the privileged action against specific resources with the scope. The scope pattern is the class of object used by the Action, followed by an ID that represents a resource in OneLogin. e.g. apps/1234, where apps is the class and 1234 is the ID of an app. The wildcard * is supported and indicates that all resources of the class type declared, in the Action, are in scope. The Action and Scope classes must match. However, there is an exception, a scope of roles/{role_id} can be combined with Actions on the user or app class. The exception allows you to target groups of users or apps with specific actions.
    actions Sequence[str]
    An array of strings that represent actions within OneLogin. Actions are prefixed with the class of object they are related to and followed by a specific action for the given class. e.g. users:List, where the class is users and the specific action is List. Don’t mix classes within an Action array. To create a privilege that includes multiple different classes, create multiple statements. A wildcard * that includes all actions is supported. Use wildcards to create a Super User privilege.
    effect str
    Set to “Allow.” By default, all actions are denied, this Statement allows the listed actions to be executed.
    scopes Sequence[str]
    Target the privileged action against specific resources with the scope. The scope pattern is the class of object used by the Action, followed by an ID that represents a resource in OneLogin. e.g. apps/1234, where apps is the class and 1234 is the ID of an app. The wildcard * is supported and indicates that all resources of the class type declared, in the Action, are in scope. The Action and Scope classes must match. However, there is an exception, a scope of roles/{role_id} can be combined with Actions on the user or app class. The exception allows you to target groups of users or apps with specific actions.
    actions List<String>
    An array of strings that represent actions within OneLogin. Actions are prefixed with the class of object they are related to and followed by a specific action for the given class. e.g. users:List, where the class is users and the specific action is List. Don’t mix classes within an Action array. To create a privilege that includes multiple different classes, create multiple statements. A wildcard * that includes all actions is supported. Use wildcards to create a Super User privilege.
    effect String
    Set to “Allow.” By default, all actions are denied, this Statement allows the listed actions to be executed.
    scopes List<String>
    Target the privileged action against specific resources with the scope. The scope pattern is the class of object used by the Action, followed by an ID that represents a resource in OneLogin. e.g. apps/1234, where apps is the class and 1234 is the ID of an app. The wildcard * is supported and indicates that all resources of the class type declared, in the Action, are in scope. The Action and Scope classes must match. However, there is an exception, a scope of roles/{role_id} can be combined with Actions on the user or app class. The exception allows you to target groups of users or apps with specific actions.

    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