1. Packages
  2. stackit
  3. API Docs
  4. getRoutingTableRoutes
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 routes 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_routes" "example" {
      organization_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      network_area_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getRoutingTableRoutes

    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 getRoutingTableRoutes(args: GetRoutingTableRoutesArgs, opts?: InvokeOptions): Promise<GetRoutingTableRoutesResult>
    function getRoutingTableRoutesOutput(args: GetRoutingTableRoutesOutputArgs, opts?: InvokeOptions): Output<GetRoutingTableRoutesResult>
    def get_routing_table_routes(network_area_id: Optional[str] = None,
                                 organization_id: Optional[str] = None,
                                 region: Optional[str] = None,
                                 routing_table_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetRoutingTableRoutesResult
    def get_routing_table_routes_output(network_area_id: Optional[pulumi.Input[str]] = None,
                                 organization_id: Optional[pulumi.Input[str]] = None,
                                 region: Optional[pulumi.Input[str]] = None,
                                 routing_table_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetRoutingTableRoutesResult]
    func GetRoutingTableRoutes(ctx *Context, args *GetRoutingTableRoutesArgs, opts ...InvokeOption) (*GetRoutingTableRoutesResult, error)
    func GetRoutingTableRoutesOutput(ctx *Context, args *GetRoutingTableRoutesOutputArgs, opts ...InvokeOption) GetRoutingTableRoutesResultOutput

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

    public static class GetRoutingTableRoutes 
    {
        public static Task<GetRoutingTableRoutesResult> InvokeAsync(GetRoutingTableRoutesArgs args, InvokeOptions? opts = null)
        public static Output<GetRoutingTableRoutesResult> Invoke(GetRoutingTableRoutesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRoutingTableRoutesResult> getRoutingTableRoutes(GetRoutingTableRoutesArgs args, InvokeOptions options)
    public static Output<GetRoutingTableRoutesResult> getRoutingTableRoutes(GetRoutingTableRoutesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getRoutingTableRoutes:getRoutingTableRoutes
      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.
    RoutingTableId string
    The routing tables ID.
    Region string
    The datasource 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.
    RoutingTableId string
    The routing tables ID.
    Region string
    The datasource 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.
    routingTableId String
    The routing tables ID.
    region String
    The datasource 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.
    routingTableId string
    The routing tables ID.
    region string
    The datasource 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.
    routing_table_id str
    The routing tables ID.
    region str
    The datasource 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.
    routingTableId String
    The routing tables ID.
    region String
    The datasource region. If not defined, the provider region is used.

    getRoutingTableRoutes Result

    The following output properties are available:

    Id string
    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.
    Routes List<GetRoutingTableRoutesRoute>
    List of routes.
    RoutingTableId string
    The routing tables ID.
    Region string
    The datasource region. If not defined, the provider region is used.
    Id string
    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.
    Routes []GetRoutingTableRoutesRoute
    List of routes.
    RoutingTableId string
    The routing tables ID.
    Region string
    The datasource region. If not defined, the provider region is used.
    id String
    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.
    routes List<GetRoutingTableRoutesRoute>
    List of routes.
    routingTableId String
    The routing tables ID.
    region String
    The datasource region. If not defined, the provider region is used.
    id string
    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.
    routes GetRoutingTableRoutesRoute[]
    List of routes.
    routingTableId string
    The routing tables ID.
    region string
    The datasource region. If not defined, the provider region is used.
    id str
    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.
    routes Sequence[GetRoutingTableRoutesRoute]
    List of routes.
    routing_table_id str
    The routing tables ID.
    region str
    The datasource region. If not defined, the provider region is used.
    id String
    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.
    routes List<Property Map>
    List of routes.
    routingTableId String
    The routing tables ID.
    region String
    The datasource region. If not defined, the provider region is used.

    Supporting Types

    GetRoutingTableRoutesRoute

    CreatedAt string
    Date-time when the route was created
    Destination GetRoutingTableRoutesRouteDestination
    Destination of the route.
    Labels Dictionary<string, string>
    Labels are key-value string pairs which can be attached to a resource container
    NextHop GetRoutingTableRoutesRouteNextHop
    Next hop destination.
    RouteId string
    Route ID.
    UpdatedAt string
    Date-time when the route was updated
    CreatedAt string
    Date-time when the route was created
    Destination GetRoutingTableRoutesRouteDestination
    Destination of the route.
    Labels map[string]string
    Labels are key-value string pairs which can be attached to a resource container
    NextHop GetRoutingTableRoutesRouteNextHop
    Next hop destination.
    RouteId string
    Route ID.
    UpdatedAt string
    Date-time when the route was updated
    createdAt String
    Date-time when the route was created
    destination GetRoutingTableRoutesRouteDestination
    Destination of the route.
    labels Map<String,String>
    Labels are key-value string pairs which can be attached to a resource container
    nextHop GetRoutingTableRoutesRouteNextHop
    Next hop destination.
    routeId String
    Route ID.
    updatedAt String
    Date-time when the route was updated
    createdAt string
    Date-time when the route was created
    destination GetRoutingTableRoutesRouteDestination
    Destination of the route.
    labels {[key: string]: string}
    Labels are key-value string pairs which can be attached to a resource container
    nextHop GetRoutingTableRoutesRouteNextHop
    Next hop destination.
    routeId string
    Route ID.
    updatedAt string
    Date-time when the route was updated
    created_at str
    Date-time when the route was created
    destination GetRoutingTableRoutesRouteDestination
    Destination of the route.
    labels Mapping[str, str]
    Labels are key-value string pairs which can be attached to a resource container
    next_hop GetRoutingTableRoutesRouteNextHop
    Next hop destination.
    route_id str
    Route ID.
    updated_at str
    Date-time when the route was updated
    createdAt String
    Date-time when the route was created
    destination Property Map
    Destination of the route.
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container
    nextHop Property Map
    Next hop destination.
    routeId String
    Route ID.
    updatedAt String
    Date-time when the route was updated

    GetRoutingTableRoutesRouteDestination

    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.

    GetRoutingTableRoutesRouteNextHop

    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.