1. Packages
  2. Rootly
  3. API Docs
  4. getUser
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.getUser

Explore with Pulumi AI

Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

Using getUser

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 getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>
Copy
def get_user(created_at: Optional[Mapping[str, Any]] = None,
             email: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(created_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
             email: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]
Copy
func GetUser(ctx *Context, args *GetUserArgs, opts ...InvokeOption) (*GetUserResult, error)
func GetUserOutput(ctx *Context, args *GetUserOutputArgs, opts ...InvokeOption) GetUserResultOutput
Copy

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

public static class GetUser 
{
    public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
    public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: rootly:index/getUser:getUser
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CreatedAt Dictionary<string, object>
Filter by date range using 'lt' and 'gt'.
Email string
CreatedAt map[string]interface{}
Filter by date range using 'lt' and 'gt'.
Email string
createdAt Map<String,Object>
Filter by date range using 'lt' and 'gt'.
email String
createdAt {[key: string]: any}
Filter by date range using 'lt' and 'gt'.
email string
created_at Mapping[str, Any]
Filter by date range using 'lt' and 'gt'.
email str
createdAt Map<Any>
Filter by date range using 'lt' and 'gt'.
email String

getUser Result

The following output properties are available:

Email string
Id string
The ID of this resource.
CreatedAt Dictionary<string, object>
Filter by date range using 'lt' and 'gt'.
Email string
Id string
The ID of this resource.
CreatedAt map[string]interface{}
Filter by date range using 'lt' and 'gt'.
email String
id String
The ID of this resource.
createdAt Map<String,Object>
Filter by date range using 'lt' and 'gt'.
email string
id string
The ID of this resource.
createdAt {[key: string]: any}
Filter by date range using 'lt' and 'gt'.
email str
id str
The ID of this resource.
created_at Mapping[str, Any]
Filter by date range using 'lt' and 'gt'.
email String
id String
The ID of this resource.
createdAt Map<Any>
Filter by date range using 'lt' and 'gt'.

Package Details

Repository
rootly rootlyhq/pulumi-rootly
License
Apache-2.0
Notes
This Pulumi package is based on the rootly Terraform Provider.
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly