1. Packages
  2. stackit
  3. API Docs
  4. getRoutingTableRoute
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud

    Routing table route datasource schema. Must have a region specified in the provider configuration.

    This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.

    Example Usage

    data "stackit_routing_table_route" "example" {
      organization_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      network_area_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      route_id         = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getRoutingTableRoute

    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 getRoutingTableRoute(args: GetRoutingTableRouteArgs, opts?: InvokeOptions): Promise<GetRoutingTableRouteResult>
    function getRoutingTableRouteOutput(args: GetRoutingTableRouteOutputArgs, opts?: InvokeOptions): Output<GetRoutingTableRouteResult>
    def get_routing_table_route(network_area_id: Optional[str] = None,
                                organization_id: Optional[str] = None,
                                region: Optional[str] = None,
                                route_id: Optional[str] = None,
                                routing_table_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetRoutingTableRouteResult
    def get_routing_table_route_output(network_area_id: Optional[pulumi.Input[str]] = None,
                                organization_id: Optional[pulumi.Input[str]] = None,
                                region: Optional[pulumi.Input[str]] = None,
                                route_id: Optional[pulumi.Input[str]] = None,
                                routing_table_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetRoutingTableRouteResult]
    func LookupRoutingTableRoute(ctx *Context, args *LookupRoutingTableRouteArgs, opts ...InvokeOption) (*LookupRoutingTableRouteResult, error)
    func LookupRoutingTableRouteOutput(ctx *Context, args *LookupRoutingTableRouteOutputArgs, opts ...InvokeOption) LookupRoutingTableRouteResultOutput

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

    public static class GetRoutingTableRoute 
    {
        public static Task<GetRoutingTableRouteResult> InvokeAsync(GetRoutingTableRouteArgs args, InvokeOptions? opts = null)
        public static Output<GetRoutingTableRouteResult> Invoke(GetRoutingTableRouteInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRoutingTableRouteResult> getRoutingTableRoute(GetRoutingTableRouteArgs args, InvokeOptions options)
    public static Output<GetRoutingTableRouteResult> getRoutingTableRoute(GetRoutingTableRouteArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getRoutingTableRoute:getRoutingTableRoute
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkAreaId string
    The network area ID to which the routing table is associated.
    OrganizationId string
    STACKIT organization ID to which the routing table is associated.
    RouteId string
    Route ID.
    RoutingTableId string
    The routing tables ID.
    Region string
    The resource region. If not defined, the provider region is used.
    NetworkAreaId string
    The network area ID to which the routing table is associated.
    OrganizationId string
    STACKIT organization ID to which the routing table is associated.
    RouteId string
    Route ID.
    RoutingTableId string
    The routing tables ID.
    Region string
    The resource region. If not defined, the provider region is used.
    networkAreaId String
    The network area ID to which the routing table is associated.
    organizationId String
    STACKIT organization ID to which the routing table is associated.
    routeId String
    Route ID.
    routingTableId String
    The routing tables ID.
    region String
    The resource region. If not defined, the provider region is used.
    networkAreaId string
    The network area ID to which the routing table is associated.
    organizationId string
    STACKIT organization ID to which the routing table is associated.
    routeId string
    Route ID.
    routingTableId string
    The routing tables ID.
    region string
    The resource region. If not defined, the provider region is used.
    network_area_id str
    The network area ID to which the routing table is associated.
    organization_id str
    STACKIT organization ID to which the routing table is associated.
    route_id str
    Route ID.
    routing_table_id str
    The routing tables ID.
    region str
    The resource region. If not defined, the provider region is used.
    networkAreaId String
    The network area ID to which the routing table is associated.
    organizationId String
    STACKIT organization ID to which the routing table is associated.
    routeId String
    Route ID.
    routingTableId String
    The routing tables ID.
    region String
    The resource region. If not defined, the provider region is used.

    getRoutingTableRoute Result

    The following output properties are available:

    CreatedAt string
    Date-time when the route was created
    Destination GetRoutingTableRouteDestination
    Destination of the route.
    Id string
    Labels Dictionary<string, string>
    Labels are key-value string pairs which can be attached to a resource container
    NetworkAreaId string
    The network area ID to which the routing table is associated.
    NextHop GetRoutingTableRouteNextHop
    Next hop destination.
    OrganizationId string
    STACKIT organization ID to which the routing table is associated.
    RouteId string
    Route ID.
    RoutingTableId string
    The routing tables ID.
    UpdatedAt string
    Date-time when the route was updated
    Region string
    The resource region. If not defined, the provider region is used.
    CreatedAt string
    Date-time when the route was created
    Destination GetRoutingTableRouteDestination
    Destination of the route.
    Id string
    Labels map[string]string
    Labels are key-value string pairs which can be attached to a resource container
    NetworkAreaId string
    The network area ID to which the routing table is associated.
    NextHop GetRoutingTableRouteNextHop
    Next hop destination.
    OrganizationId string
    STACKIT organization ID to which the routing table is associated.
    RouteId string
    Route ID.
    RoutingTableId string
    The routing tables ID.
    UpdatedAt string
    Date-time when the route was updated
    Region string
    The resource region. If not defined, the provider region is used.
    createdAt String
    Date-time when the route was created
    destination GetRoutingTableRouteDestination
    Destination of the route.
    id String
    labels Map<String,String>
    Labels are key-value string pairs which can be attached to a resource container
    networkAreaId String
    The network area ID to which the routing table is associated.
    nextHop GetRoutingTableRouteNextHop
    Next hop destination.
    organizationId String
    STACKIT organization ID to which the routing table is associated.
    routeId String
    Route ID.
    routingTableId String
    The routing tables ID.
    updatedAt String
    Date-time when the route was updated
    region String
    The resource region. If not defined, the provider region is used.
    createdAt string
    Date-time when the route was created
    destination GetRoutingTableRouteDestination
    Destination of the route.
    id string
    labels {[key: string]: string}
    Labels are key-value string pairs which can be attached to a resource container
    networkAreaId string
    The network area ID to which the routing table is associated.
    nextHop GetRoutingTableRouteNextHop
    Next hop destination.
    organizationId string
    STACKIT organization ID to which the routing table is associated.
    routeId string
    Route ID.
    routingTableId string
    The routing tables ID.
    updatedAt string
    Date-time when the route was updated
    region string
    The resource region. If not defined, the provider region is used.
    created_at str
    Date-time when the route was created
    destination GetRoutingTableRouteDestination
    Destination of the route.
    id str
    labels Mapping[str, str]
    Labels are key-value string pairs which can be attached to a resource container
    network_area_id str
    The network area ID to which the routing table is associated.
    next_hop GetRoutingTableRouteNextHop
    Next hop destination.
    organization_id str
    STACKIT organization ID to which the routing table is associated.
    route_id str
    Route ID.
    routing_table_id str
    The routing tables ID.
    updated_at str
    Date-time when the route was updated
    region str
    The resource region. If not defined, the provider region is used.
    createdAt String
    Date-time when the route was created
    destination Property Map
    Destination of the route.
    id String
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container
    networkAreaId String
    The network area ID to which the routing table is associated.
    nextHop Property Map
    Next hop destination.
    organizationId String
    STACKIT organization ID to which the routing table is associated.
    routeId String
    Route ID.
    routingTableId String
    The routing tables ID.
    updatedAt String
    Date-time when the route was updated
    region String
    The resource region. If not defined, the provider region is used.

    Supporting Types

    GetRoutingTableRouteDestination

    Type string
    CIDRV type. Possible values are: cidrv4, cidrv6. Only cidrv4 is supported during experimental stage.
    Value string
    An CIDR string.
    Type string
    CIDRV type. Possible values are: cidrv4, cidrv6. Only cidrv4 is supported during experimental stage.
    Value string
    An CIDR string.
    type String
    CIDRV type. Possible values are: cidrv4, cidrv6. Only cidrv4 is supported during experimental stage.
    value String
    An CIDR string.
    type string
    CIDRV type. Possible values are: cidrv4, cidrv6. Only cidrv4 is supported during experimental stage.
    value string
    An CIDR string.
    type str
    CIDRV type. Possible values are: cidrv4, cidrv6. Only cidrv4 is supported during experimental stage.
    value str
    An CIDR string.
    type String
    CIDRV type. Possible values are: cidrv4, cidrv6. Only cidrv4 is supported during experimental stage.
    value String
    An CIDR string.

    GetRoutingTableRouteNextHop

    Type string
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    Value string
    Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage.
    Type string
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    Value string
    Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage.
    type String
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    value String
    Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage.
    type string
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    value string
    Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage.
    type str
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    value str
    Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage.
    type String
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    value String
    Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.