1. Packages
  2. onelogin
  3. API Docs
  4. roles
  5. getRoles
onelogin v0.6.6 published on Friday, Sep 20, 2024 by Pulumi

onelogin.roles.getRoles

Explore with Pulumi AI

onelogin logo
onelogin v0.6.6 published on Friday, Sep 20, 2024 by Pulumi

    Using getRoles

    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 getRoles(args: GetRolesArgs, opts?: InvokeOptions): Promise<GetRolesResult>
    function getRolesOutput(args: GetRolesOutputArgs, opts?: InvokeOptions): Output<GetRolesResult>
    def get_roles(admins: Optional[Sequence[int]] = None,
                  apps: Optional[Sequence[int]] = None,
                  filters: Optional[Sequence[GetRolesFilter]] = None,
                  name: Optional[str] = None,
                  users: Optional[Sequence[int]] = None,
                  opts: Optional[InvokeOptions] = None) -> GetRolesResult
    def get_roles_output(admins: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
                  apps: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetRolesFilterArgs]]]] = None,
                  name: Optional[pulumi.Input[str]] = None,
                  users: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetRolesResult]
    func GetRoles(ctx *Context, args *GetRolesArgs, opts ...InvokeOption) (*GetRolesResult, error)
    func GetRolesOutput(ctx *Context, args *GetRolesOutputArgs, opts ...InvokeOption) GetRolesResultOutput

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

    public static class GetRoles 
    {
        public static Task<GetRolesResult> InvokeAsync(GetRolesArgs args, InvokeOptions? opts = null)
        public static Output<GetRolesResult> Invoke(GetRolesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRolesResult> getRoles(GetRolesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: onelogin:roles/getRoles:getRoles
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Admins List<int>
    Apps List<int>
    Filters List<GetRolesFilter>
    Name string
    Users List<int>
    admins List<Integer>
    apps List<Integer>
    filters List<GetRolesFilter>
    name String
    users List<Integer>
    admins number[]
    apps number[]
    filters GetRolesFilter[]
    name string
    users number[]
    admins Sequence[int]
    apps Sequence[int]
    filters Sequence[GetRolesFilter]
    name str
    users Sequence[int]
    admins List<Number>
    apps List<Number>
    filters List<Property Map>
    name String
    users List<Number>

    getRoles Result

    The following output properties are available:

    Admins List<int>
    Apps List<int>
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Users List<int>
    Filters List<GetRolesFilter>
    Admins []int
    Apps []int
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Users []int
    Filters []GetRolesFilter
    admins List<Integer>
    apps List<Integer>
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    users List<Integer>
    filters List<GetRolesFilter>
    admins number[]
    apps number[]
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    users number[]
    filters GetRolesFilter[]
    admins Sequence[int]
    apps Sequence[int]
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    users Sequence[int]
    filters Sequence[GetRolesFilter]
    admins List<Number>
    apps List<Number>
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    users List<Number>
    filters List<Property Map>

    Supporting Types

    GetRolesFilter

    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.6 published on Friday, Sep 20, 2024 by Pulumi