onelogin v0.6.3 published on Friday, May 10, 2024 by Pulumi
onelogin.roles.getRoles
Explore with Pulumi AI
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:
getRoles Result
The following output properties are available:
Supporting Types
GetRolesFilter
Package Details
- Repository
- onelogin pulumi/pulumi-onelogin
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
onelogin
Terraform Provider.