Viewing docs for Rootly v3.4.0
published on Tuesday, May 12, 2026 by rootlyhq
published on Tuesday, May 12, 2026 by rootlyhq
Viewing docs for Rootly v3.4.0
published on Tuesday, May 12, 2026 by rootlyhq
published on Tuesday, May 12, 2026 by rootlyhq
Example Usage
data "rootly_role" "my-role" {
slug = "my-role"
}
Using getRole
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 getRole(args: GetRoleArgs, opts?: InvokeOptions): Promise<GetRoleResult>
function getRoleOutput(args: GetRoleOutputArgs, opts?: InvokeOptions): Output<GetRoleResult>def get_role(created_at: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
slug: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRoleResult
def get_role_output(created_at: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
name: pulumi.Input[Optional[str]] = None,
slug: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRoleResult]func LookupRole(ctx *Context, args *LookupRoleArgs, opts ...InvokeOption) (*LookupRoleResult, error)
func LookupRoleOutput(ctx *Context, args *LookupRoleOutputArgs, opts ...InvokeOption) LookupRoleResultOutput> Note: This function is named LookupRole in the Go SDK.
public static class GetRole
{
public static Task<GetRoleResult> InvokeAsync(GetRoleArgs args, InvokeOptions? opts = null)
public static Output<GetRoleResult> Invoke(GetRoleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRoleResult> getRole(GetRoleArgs args, InvokeOptions options)
public static Output<GetRoleResult> getRole(GetRoleArgs args, InvokeOptions options)
fn::invoke:
function: rootly:index/getRole:getRole
arguments:
# arguments dictionarydata "rootly_getrole" "name" {
# arguments
}The following arguments are supported:
- created_
at map(string) - Filter by date range using 'lt' and 'gt'.
- name string
- slug string
- created_
at Mapping[str, str] - Filter by date range using 'lt' and 'gt'.
- name str
- slug str
getRole Result
The following output properties are available:
- id string
- The ID of this resource.
- name string
- slug string
- created_
at map(string) - Filter by date range using 'lt' and 'gt'.
- id str
- The ID of this resource.
- name str
- slug str
- created_
at Mapping[str, str] - 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 v3.4.0
published on Tuesday, May 12, 2026 by rootlyhq
published on Tuesday, May 12, 2026 by rootlyhq
