Viewing docs for Rootly v4.0.0
published on Tuesday, Sep 15, 2026 by rootlyhq
published on Tuesday, Sep 15, 2026 by rootlyhq
Viewing docs for Rootly v4.0.0
published on Tuesday, Sep 15, 2026 by rootlyhq
published on Tuesday, Sep 15, 2026 by rootlyhq
Example Usage
data "rootly_user" "my-user" {
email = "john@acme.com"
}
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?: InvokeOutputOptions): Output<GetUserResult>def get_user(created_at: Optional[Mapping[str, str]] = None,
email: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(created_at: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
email: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetUserResult]func GetUser(ctx *Context, args *GetUserArgs, opts ...InvokeOption) (*GetUserResult, error)
func GetUserOutput(ctx *Context, args *GetUserOutputArgs, opts ...InvokeOption) GetUserResultOutput> 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)
public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOutputOptions options)
fn::invoke:
function: rootly:index/getUser:getUser
arguments:
# arguments dictionarydata "rootly_get_user" "name" {
# arguments
}The following arguments are supported:
- created_
at map(string) - Filter by date range using 'lt' and 'gt'.
- email string
- created_
at Mapping[str, str] - Filter by date range using 'lt' and 'gt'.
- email str
getUser Result
The following output properties are available:
- Email string
- Id string
- The ID of this resource.
- On
Call stringRole Id - The ID of the user's on-call role, or empty when unset.
- Role
Id string - The ID of the user's (general) role, or empty when unset.
- Created
At Dictionary<string, string> - Filter by date range using 'lt' and 'gt'.
- Email string
- Id string
- The ID of this resource.
- On
Call stringRole Id - The ID of the user's on-call role, or empty when unset.
- Role
Id string - The ID of the user's (general) role, or empty when unset.
- Created
At map[string]string - Filter by date range using 'lt' and 'gt'.
- email string
- id string
- The ID of this resource.
- on_
call_ stringrole_ id - The ID of the user's on-call role, or empty when unset.
- role_
id string - The ID of the user's (general) role, or empty when unset.
- created_
at map(string) - Filter by date range using 'lt' and 'gt'.
- email String
- id String
- The ID of this resource.
- on
Call StringRole Id - The ID of the user's on-call role, or empty when unset.
- role
Id String - The ID of the user's (general) role, or empty when unset.
- created
At Map<String,String> - Filter by date range using 'lt' and 'gt'.
- email string
- id string
- The ID of this resource.
- on
Call stringRole Id - The ID of the user's on-call role, or empty when unset.
- role
Id string - The ID of the user's (general) role, or empty when unset.
- created
At {[key: string]: string} - Filter by date range using 'lt' and 'gt'.
- email str
- id str
- The ID of this resource.
- on_
call_ strrole_ id - The ID of the user's on-call role, or empty when unset.
- role_
id str - The ID of the user's (general) role, or empty when unset.
- created_
at Mapping[str, str] - Filter by date range using 'lt' and 'gt'.
- email String
- id String
- The ID of this resource.
- on
Call StringRole Id - The ID of the user's on-call role, or empty when unset.
- role
Id String - The ID of the user's (general) role, or empty when unset.
- created
At Map<String> - 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
rootlyTerraform Provider.
Viewing docs for Rootly v4.0.0
published on Tuesday, Sep 15, 2026 by rootlyhq
published on Tuesday, Sep 15, 2026 by rootlyhq