1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. getVpcRoutingTableStaticRoute
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud

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

    This datasource is part of the experimental feature vpc and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.

    Using getVpcRoutingTableStaticRoute

    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 getVpcRoutingTableStaticRoute(args: GetVpcRoutingTableStaticRouteArgs, opts?: InvokeOptions): Promise<GetVpcRoutingTableStaticRouteResult>
    function getVpcRoutingTableStaticRouteOutput(args: GetVpcRoutingTableStaticRouteOutputArgs, opts?: InvokeOutputOptions): Output<GetVpcRoutingTableStaticRouteResult>
    def get_vpc_routing_table_static_route(project_id: Optional[str] = None,
                                           region: Optional[str] = None,
                                           route_id: Optional[str] = None,
                                           routing_table_id: Optional[str] = None,
                                           timeouts: Optional[GetVpcRoutingTableStaticRouteTimeouts] = None,
                                           vpc_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetVpcRoutingTableStaticRouteResult
    def get_vpc_routing_table_static_route_output(project_id: pulumi.Input[Optional[str]] = None,
                                           region: pulumi.Input[Optional[str]] = None,
                                           route_id: pulumi.Input[Optional[str]] = None,
                                           routing_table_id: pulumi.Input[Optional[str]] = None,
                                           timeouts: pulumi.Input[Optional[GetVpcRoutingTableStaticRouteTimeoutsArgs]] = None,
                                           vpc_id: pulumi.Input[Optional[str]] = None,
                                           opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpcRoutingTableStaticRouteResult]
    func LookupVpcRoutingTableStaticRoute(ctx *Context, args *LookupVpcRoutingTableStaticRouteArgs, opts ...InvokeOption) (*LookupVpcRoutingTableStaticRouteResult, error)
    func LookupVpcRoutingTableStaticRouteOutput(ctx *Context, args *LookupVpcRoutingTableStaticRouteOutputArgs, opts ...InvokeOption) LookupVpcRoutingTableStaticRouteResultOutput

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

    public static class GetVpcRoutingTableStaticRoute 
    {
        public static Task<GetVpcRoutingTableStaticRouteResult> InvokeAsync(GetVpcRoutingTableStaticRouteArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcRoutingTableStaticRouteResult> Invoke(GetVpcRoutingTableStaticRouteInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcRoutingTableStaticRouteResult> Invoke(GetVpcRoutingTableStaticRouteInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetVpcRoutingTableStaticRouteResult> getVpcRoutingTableStaticRoute(GetVpcRoutingTableStaticRouteArgs args, InvokeOptions options)
    public static Output<GetVpcRoutingTableStaticRouteResult> getVpcRoutingTableStaticRoute(GetVpcRoutingTableStaticRouteArgs args, InvokeOptions options)
    public static Output<GetVpcRoutingTableStaticRouteResult> getVpcRoutingTableStaticRoute(GetVpcRoutingTableStaticRouteArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: stackit:index/getVpcRoutingTableStaticRoute:getVpcRoutingTableStaticRoute
      arguments:
        # arguments dictionary
    data "stackit_get_vpc_routing_table_static_route" "name" {
        # arguments
    }

    The following arguments are supported:

    ProjectId string
    STACKIT Project ID to which the static route is associated.
    RouteId string
    The static route ID.
    RoutingTableId string
    The routing table ID to which the static route is associated.
    VpcId string
    The VPC ID to which the static route is associated.
    Region string
    The region of the static route.
    Timeouts GetVpcRoutingTableStaticRouteTimeouts
    ProjectId string
    STACKIT Project ID to which the static route is associated.
    RouteId string
    The static route ID.
    RoutingTableId string
    The routing table ID to which the static route is associated.
    VpcId string
    The VPC ID to which the static route is associated.
    Region string
    The region of the static route.
    Timeouts GetVpcRoutingTableStaticRouteTimeouts
    project_id string
    STACKIT Project ID to which the static route is associated.
    route_id string
    The static route ID.
    routing_table_id string
    The routing table ID to which the static route is associated.
    vpc_id string
    The VPC ID to which the static route is associated.
    region string
    The region of the static route.
    timeouts object
    projectId String
    STACKIT Project ID to which the static route is associated.
    routeId String
    The static route ID.
    routingTableId String
    The routing table ID to which the static route is associated.
    vpcId String
    The VPC ID to which the static route is associated.
    region String
    The region of the static route.
    timeouts GetVpcRoutingTableStaticRouteTimeouts
    projectId string
    STACKIT Project ID to which the static route is associated.
    routeId string
    The static route ID.
    routingTableId string
    The routing table ID to which the static route is associated.
    vpcId string
    The VPC ID to which the static route is associated.
    region string
    The region of the static route.
    timeouts GetVpcRoutingTableStaticRouteTimeouts
    project_id str
    STACKIT Project ID to which the static route is associated.
    route_id str
    The static route ID.
    routing_table_id str
    The routing table ID to which the static route is associated.
    vpc_id str
    The VPC ID to which the static route is associated.
    region str
    The region of the static route.
    timeouts GetVpcRoutingTableStaticRouteTimeouts
    projectId String
    STACKIT Project ID to which the static route is associated.
    routeId String
    The static route ID.
    routingTableId String
    The routing table ID to which the static route is associated.
    vpcId String
    The VPC ID to which the static route is associated.
    region String
    The region of the static route.
    timeouts Property Map

    getVpcRoutingTableStaticRoute Result

    The following output properties are available:

    Destination GetVpcRoutingTableStaticRouteDestination
    The destination of the static route.
    Id string
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId,routeId".
    Labels Dictionary<string, string>
    Labels are key-value string pairs which can be attached to a resource container
    Nexthop GetVpcRoutingTableStaticRouteNexthop
    The nexthop of the static route.
    ProjectId string
    STACKIT Project ID to which the static route is associated.
    Region string
    The region of the static route.
    RouteId string
    The static route ID.
    RoutingTableId string
    The routing table ID to which the static route is associated.
    VpcId string
    The VPC ID to which the static route is associated.
    Timeouts GetVpcRoutingTableStaticRouteTimeouts
    Destination GetVpcRoutingTableStaticRouteDestination
    The destination of the static route.
    Id string
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId,routeId".
    Labels map[string]string
    Labels are key-value string pairs which can be attached to a resource container
    Nexthop GetVpcRoutingTableStaticRouteNexthop
    The nexthop of the static route.
    ProjectId string
    STACKIT Project ID to which the static route is associated.
    Region string
    The region of the static route.
    RouteId string
    The static route ID.
    RoutingTableId string
    The routing table ID to which the static route is associated.
    VpcId string
    The VPC ID to which the static route is associated.
    Timeouts GetVpcRoutingTableStaticRouteTimeouts
    destination object
    The destination of the static route.
    id string
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId,routeId".
    labels map(string)
    Labels are key-value string pairs which can be attached to a resource container
    nexthop object
    The nexthop of the static route.
    project_id string
    STACKIT Project ID to which the static route is associated.
    region string
    The region of the static route.
    route_id string
    The static route ID.
    routing_table_id string
    The routing table ID to which the static route is associated.
    vpc_id string
    The VPC ID to which the static route is associated.
    timeouts object
    destination GetVpcRoutingTableStaticRouteDestination
    The destination of the static route.
    id String
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId,routeId".
    labels Map<String,String>
    Labels are key-value string pairs which can be attached to a resource container
    nexthop GetVpcRoutingTableStaticRouteNexthop
    The nexthop of the static route.
    projectId String
    STACKIT Project ID to which the static route is associated.
    region String
    The region of the static route.
    routeId String
    The static route ID.
    routingTableId String
    The routing table ID to which the static route is associated.
    vpcId String
    The VPC ID to which the static route is associated.
    timeouts GetVpcRoutingTableStaticRouteTimeouts
    destination GetVpcRoutingTableStaticRouteDestination
    The destination of the static route.
    id string
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId,routeId".
    labels {[key: string]: string}
    Labels are key-value string pairs which can be attached to a resource container
    nexthop GetVpcRoutingTableStaticRouteNexthop
    The nexthop of the static route.
    projectId string
    STACKIT Project ID to which the static route is associated.
    region string
    The region of the static route.
    routeId string
    The static route ID.
    routingTableId string
    The routing table ID to which the static route is associated.
    vpcId string
    The VPC ID to which the static route is associated.
    timeouts GetVpcRoutingTableStaticRouteTimeouts
    destination GetVpcRoutingTableStaticRouteDestination
    The destination of the static route.
    id str
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId,routeId".
    labels Mapping[str, str]
    Labels are key-value string pairs which can be attached to a resource container
    nexthop GetVpcRoutingTableStaticRouteNexthop
    The nexthop of the static route.
    project_id str
    STACKIT Project ID to which the static route is associated.
    region str
    The region of the static route.
    route_id str
    The static route ID.
    routing_table_id str
    The routing table ID to which the static route is associated.
    vpc_id str
    The VPC ID to which the static route is associated.
    timeouts GetVpcRoutingTableStaticRouteTimeouts
    destination Property Map
    The destination of the static route.
    id String
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId,routeId".
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container
    nexthop Property Map
    The nexthop of the static route.
    projectId String
    STACKIT Project ID to which the static route is associated.
    region String
    The region of the static route.
    routeId String
    The static route ID.
    routingTableId String
    The routing table ID to which the static route is associated.
    vpcId String
    The VPC ID to which the static route is associated.
    timeouts Property Map

    Supporting Types

    GetVpcRoutingTableStaticRouteDestination

    Type string
    Value string
    Type string
    Value string
    type string
    value string
    type String
    value String
    type string
    value string
    type str
    value str
    type String
    value String

    GetVpcRoutingTableStaticRouteNexthop

    Type string
    Value string
    Type string
    Value string
    type string
    value string
    type String
    value String
    type string
    value string
    type str
    value str
    type String
    value String

    GetVpcRoutingTableStaticRouteTimeouts

    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    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.7
    published on Monday, Aug 17, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial