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
# Find an alert route by name
data "rootly_alert_route" "example" {
name = "Production Alerts"
}
# Use the alert route ID in other resources
output "alert_route_id" {
value = data.rootly_alert_route.example.id
}
Using getAlertRoute
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 getAlertRoute(args: GetAlertRouteArgs, opts?: InvokeOptions): Promise<GetAlertRouteResult>
function getAlertRouteOutput(args: GetAlertRouteOutputArgs, opts?: InvokeOptions): Output<GetAlertRouteResult>def get_alert_route(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAlertRouteResult
def get_alert_route_output(name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAlertRouteResult]func LookupAlertRoute(ctx *Context, args *LookupAlertRouteArgs, opts ...InvokeOption) (*LookupAlertRouteResult, error)
func LookupAlertRouteOutput(ctx *Context, args *LookupAlertRouteOutputArgs, opts ...InvokeOption) LookupAlertRouteResultOutput> Note: This function is named LookupAlertRoute in the Go SDK.
public static class GetAlertRoute
{
public static Task<GetAlertRouteResult> InvokeAsync(GetAlertRouteArgs args, InvokeOptions? opts = null)
public static Output<GetAlertRouteResult> Invoke(GetAlertRouteInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAlertRouteResult> getAlertRoute(GetAlertRouteArgs args, InvokeOptions options)
public static Output<GetAlertRouteResult> getAlertRoute(GetAlertRouteArgs args, InvokeOptions options)
fn::invoke:
function: rootly:index/getAlertRoute:getAlertRoute
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Name string
- name String
- name string
- name str
- name String
getAlertRoute Result
The following output properties are available:
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
