1. Packages
  2. onelogin
  3. API Docs
  4. roles
  5. getInstance
onelogin v0.6.3 published on Friday, May 10, 2024 by Pulumi

onelogin.roles.getInstance

Explore with Pulumi AI

onelogin logo
onelogin v0.6.3 published on Friday, May 10, 2024 by Pulumi

    Using getInstance

    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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
    function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
    def get_instance(admins: Optional[Sequence[int]] = None,
                     apps: Optional[Sequence[int]] = None,
                     id: Optional[str] = None,
                     name: Optional[str] = None,
                     users: Optional[Sequence[int]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetInstanceResult
    def get_instance_output(admins: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
                     apps: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
                     id: Optional[pulumi.Input[str]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     users: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
    func GetInstance(ctx *Context, args *GetInstanceArgs, opts ...InvokeOption) (*GetInstanceResult, error)
    func GetInstanceOutput(ctx *Context, args *GetInstanceOutputArgs, opts ...InvokeOption) GetInstanceResultOutput

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

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

    The following arguments are supported:

    Id string
    Admins List<int>
    Apps List<int>
    Name string
    Users List<int>
    Id string
    Admins []int
    Apps []int
    Name string
    Users []int
    id String
    admins List<Integer>
    apps List<Integer>
    name String
    users List<Integer>
    id string
    admins number[]
    apps number[]
    name string
    users number[]
    id str
    admins Sequence[int]
    apps Sequence[int]
    name str
    users Sequence[int]
    id String
    admins List<Number>
    apps List<Number>
    name String
    users List<Number>

    getInstance Result

    The following output properties are available:

    Admins List<int>
    Apps List<int>
    Id string
    Name string
    Users List<int>
    Admins []int
    Apps []int
    Id string
    Name string
    Users []int
    admins List<Integer>
    apps List<Integer>
    id String
    name String
    users List<Integer>
    admins number[]
    apps number[]
    id string
    name string
    users number[]
    admins Sequence[int]
    apps Sequence[int]
    id str
    name str
    users Sequence[int]
    admins List<Number>
    apps List<Number>
    id String
    name String
    users List<Number>

    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.3 published on Friday, May 10, 2024 by Pulumi