Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Example Usage
data "rootly_on_call_role" "my-on-call-role" {
slug = "my-on-call-role"
}
Using getOnCallRole
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 getOnCallRole(args: GetOnCallRoleArgs, opts?: InvokeOptions): Promise<GetOnCallRoleResult>
function getOnCallRoleOutput(args: GetOnCallRoleOutputArgs, opts?: InvokeOptions): Output<GetOnCallRoleResult>def get_on_call_role(created_at: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
slug: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOnCallRoleResult
def get_on_call_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[GetOnCallRoleResult]func LookupOnCallRole(ctx *Context, args *LookupOnCallRoleArgs, opts ...InvokeOption) (*LookupOnCallRoleResult, error)
func LookupOnCallRoleOutput(ctx *Context, args *LookupOnCallRoleOutputArgs, opts ...InvokeOption) LookupOnCallRoleResultOutput> Note: This function is named LookupOnCallRole in the Go SDK.
public static class GetOnCallRole
{
public static Task<GetOnCallRoleResult> InvokeAsync(GetOnCallRoleArgs args, InvokeOptions? opts = null)
public static Output<GetOnCallRoleResult> Invoke(GetOnCallRoleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOnCallRoleResult> getOnCallRole(GetOnCallRoleArgs args, InvokeOptions options)
public static Output<GetOnCallRoleResult> getOnCallRole(GetOnCallRoleArgs args, InvokeOptions options)
fn::invoke:
function: rootly:index/getOnCallRole:getOnCallRole
arguments:
# arguments dictionaryThe following arguments are supported:
- created_
at Mapping[str, str] - Filter by date range using 'lt' and 'gt'.
- name str
- slug str
getOnCallRole Result
The following output properties are available:
- 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.3.0
published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
