1. Packages
  2. Packages
  3. Rootly
  4. API Docs
  5. getAlertRoutingRule
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
rootly logo
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq

    Note: If you are an advanced alert routing user, you should use the Alert Routes resource/data source instead of this one. If you don’t know whether you are an advanced alert routing user, please contact Rootly customer support.

    Using getAlertRoutingRule

    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 getAlertRoutingRule(args: GetAlertRoutingRuleArgs, opts?: InvokeOptions): Promise<GetAlertRoutingRuleResult>
    function getAlertRoutingRuleOutput(args: GetAlertRoutingRuleOutputArgs, opts?: InvokeOptions): Output<GetAlertRoutingRuleResult>
    def get_alert_routing_rule(created_at: Optional[Mapping[str, str]] = None,
                               name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetAlertRoutingRuleResult
    def get_alert_routing_rule_output(created_at: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                               name: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetAlertRoutingRuleResult]
    func LookupAlertRoutingRule(ctx *Context, args *LookupAlertRoutingRuleArgs, opts ...InvokeOption) (*LookupAlertRoutingRuleResult, error)
    func LookupAlertRoutingRuleOutput(ctx *Context, args *LookupAlertRoutingRuleOutputArgs, opts ...InvokeOption) LookupAlertRoutingRuleResultOutput

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

    public static class GetAlertRoutingRule 
    {
        public static Task<GetAlertRoutingRuleResult> InvokeAsync(GetAlertRoutingRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetAlertRoutingRuleResult> Invoke(GetAlertRoutingRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAlertRoutingRuleResult> getAlertRoutingRule(GetAlertRoutingRuleArgs args, InvokeOptions options)
    public static Output<GetAlertRoutingRuleResult> getAlertRoutingRule(GetAlertRoutingRuleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: rootly:index/getAlertRoutingRule:getAlertRoutingRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CreatedAt Dictionary<string, string>
    Filter by date range using 'lt' and 'gt'.
    Name string
    CreatedAt map[string]string
    Filter by date range using 'lt' and 'gt'.
    Name string
    createdAt Map<String,String>
    Filter by date range using 'lt' and 'gt'.
    name String
    createdAt {[key: string]: string}
    Filter by date range using 'lt' and 'gt'.
    name string
    created_at Mapping[str, str]
    Filter by date range using 'lt' and 'gt'.
    name str
    createdAt Map<String>
    Filter by date range using 'lt' and 'gt'.
    name String

    getAlertRoutingRule Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Name string
    CreatedAt Dictionary<string, string>
    Filter by date range using 'lt' and 'gt'.
    Id string
    The ID of this resource.
    Name string
    CreatedAt map[string]string
    Filter by date range using 'lt' and 'gt'.
    id String
    The ID of this resource.
    name String
    createdAt Map<String,String>
    Filter by date range using 'lt' and 'gt'.
    id string
    The ID of this resource.
    name string
    createdAt {[key: string]: string}
    Filter by date range using 'lt' and 'gt'.
    id str
    The ID of this resource.
    name str
    created_at Mapping[str, str]
    Filter by date range using 'lt' and 'gt'.
    id String
    The ID of this resource.
    name String
    createdAt 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 rootly Terraform Provider.
    rootly logo
    Viewing docs for Rootly v3.3.0
    published on Thursday, May 7, 2026 by rootlyhq
      Try Pulumi Cloud free. Your team will thank you.