1. Packages
  2. Ibm Provider
  3. API Docs
  4. getIsVpcRoutingTable
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getIsVpcRoutingTable

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a read-only data source for RoutingTable. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax. For more information, about VPC routing tables, see about routing tables and routes

    Note: VPC infrastructure services are a regional specific based endpoint, by default targets to us-south. Please make sure to target right region in the provider block as shown in the provider.tf file, if VPC service is created in region other than us-south.

    provider.tf

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
        }
    }
    
    {}
    

    Example Usage

    Using Routing Table Id)

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const exampleRoutingTable = ibm.getIsVpcRoutingTable({
        vpc: ibm_is_vpc.example_vpc.id,
        routingTable: ibm_is_vpc_routing_table.example_rt.routing_table,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example_routing_table = ibm.get_is_vpc_routing_table(vpc=ibm_is_vpc["example_vpc"]["id"],
        routing_table=ibm_is_vpc_routing_table["example_rt"]["routing_table"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.LookupIsVpcRoutingTable(ctx, &ibm.LookupIsVpcRoutingTableArgs{
    			Vpc:          ibm_is_vpc.Example_vpc.Id,
    			RoutingTable: pulumi.StringRef(ibm_is_vpc_routing_table.Example_rt.Routing_table),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleRoutingTable = Ibm.GetIsVpcRoutingTable.Invoke(new()
        {
            Vpc = ibm_is_vpc.Example_vpc.Id,
            RoutingTable = ibm_is_vpc_routing_table.Example_rt.Routing_table,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetIsVpcRoutingTableArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var exampleRoutingTable = IbmFunctions.getIsVpcRoutingTable(GetIsVpcRoutingTableArgs.builder()
                .vpc(ibm_is_vpc.example_vpc().id())
                .routingTable(ibm_is_vpc_routing_table.example_rt().routing_table())
                .build());
    
        }
    }
    
    variables:
      exampleRoutingTable:
        fn::invoke:
          function: ibm:getIsVpcRoutingTable
          arguments:
            vpc: ${ibm_is_vpc.example_vpc.id}
            routingTable: ${ibm_is_vpc_routing_table.example_rt.routing_table}
    

    Using Routing Table Name)

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const exampleRoutingTableName = ibm.getIsVpcRoutingTable({
        vpc: ibm_is_vpc.example_vpc.id,
        name: ibm_is_vpc_routing_table.example_rt.name,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example_routing_table_name = ibm.get_is_vpc_routing_table(vpc=ibm_is_vpc["example_vpc"]["id"],
        name=ibm_is_vpc_routing_table["example_rt"]["name"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.LookupIsVpcRoutingTable(ctx, &ibm.LookupIsVpcRoutingTableArgs{
    			Vpc:  ibm_is_vpc.Example_vpc.Id,
    			Name: pulumi.StringRef(ibm_is_vpc_routing_table.Example_rt.Name),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleRoutingTableName = Ibm.GetIsVpcRoutingTable.Invoke(new()
        {
            Vpc = ibm_is_vpc.Example_vpc.Id,
            Name = ibm_is_vpc_routing_table.Example_rt.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetIsVpcRoutingTableArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var exampleRoutingTableName = IbmFunctions.getIsVpcRoutingTable(GetIsVpcRoutingTableArgs.builder()
                .vpc(ibm_is_vpc.example_vpc().id())
                .name(ibm_is_vpc_routing_table.example_rt().name())
                .build());
    
        }
    }
    
    variables:
      exampleRoutingTableName:
        fn::invoke:
          function: ibm:getIsVpcRoutingTable
          arguments:
            vpc: ${ibm_is_vpc.example_vpc.id}
            name: ${ibm_is_vpc_routing_table.example_rt.name}
    

    Using getIsVpcRoutingTable

    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 getIsVpcRoutingTable(args: GetIsVpcRoutingTableArgs, opts?: InvokeOptions): Promise<GetIsVpcRoutingTableResult>
    function getIsVpcRoutingTableOutput(args: GetIsVpcRoutingTableOutputArgs, opts?: InvokeOptions): Output<GetIsVpcRoutingTableResult>
    def get_is_vpc_routing_table(id: Optional[str] = None,
                                 name: Optional[str] = None,
                                 routing_table: Optional[str] = None,
                                 vpc: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetIsVpcRoutingTableResult
    def get_is_vpc_routing_table_output(id: Optional[pulumi.Input[str]] = None,
                                 name: Optional[pulumi.Input[str]] = None,
                                 routing_table: Optional[pulumi.Input[str]] = None,
                                 vpc: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetIsVpcRoutingTableResult]
    func LookupIsVpcRoutingTable(ctx *Context, args *LookupIsVpcRoutingTableArgs, opts ...InvokeOption) (*LookupIsVpcRoutingTableResult, error)
    func LookupIsVpcRoutingTableOutput(ctx *Context, args *LookupIsVpcRoutingTableOutputArgs, opts ...InvokeOption) LookupIsVpcRoutingTableResultOutput

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

    public static class GetIsVpcRoutingTable 
    {
        public static Task<GetIsVpcRoutingTableResult> InvokeAsync(GetIsVpcRoutingTableArgs args, InvokeOptions? opts = null)
        public static Output<GetIsVpcRoutingTableResult> Invoke(GetIsVpcRoutingTableInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIsVpcRoutingTableResult> getIsVpcRoutingTable(GetIsVpcRoutingTableArgs args, InvokeOptions options)
    public static Output<GetIsVpcRoutingTableResult> getIsVpcRoutingTable(GetIsVpcRoutingTableArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getIsVpcRoutingTable:getIsVpcRoutingTable
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Vpc string
    The VPC identifier.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    RoutingTable string
    The VPC routing table identifier. Mutually exclusive with name, one of them is required
    Vpc string
    The VPC identifier.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    RoutingTable string
    The VPC routing table identifier. Mutually exclusive with name, one of them is required
    vpc String
    The VPC identifier.
    id String
    (String) The unique identifier for this subnet.
    name String
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    routingTable String
    The VPC routing table identifier. Mutually exclusive with name, one of them is required
    vpc string
    The VPC identifier.
    id string
    (String) The unique identifier for this subnet.
    name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    routingTable string
    The VPC routing table identifier. Mutually exclusive with name, one of them is required
    vpc str
    The VPC identifier.
    id str
    (String) The unique identifier for this subnet.
    name str
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    routing_table str
    The VPC routing table identifier. Mutually exclusive with name, one of them is required
    vpc String
    The VPC identifier.
    id String
    (String) The unique identifier for this subnet.
    name String
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    routingTable String
    The VPC routing table identifier. Mutually exclusive with name, one of them is required

    getIsVpcRoutingTable Result

    The following output properties are available:

    AcceptRoutesFroms List<GetIsVpcRoutingTableAcceptRoutesFrom>
    (List) The filters specifying the resources that may create routes in this routing table.At present, only the resource_type filter is permitted, and only the vpn_gateway value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from:
    AccessTags List<string>
    (List) Access management tags associated for the routing table.
    AdvertiseRoutesTos List<string>
    (Optional, List) The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.
    CreatedAt string
    (String) The date and time that this routing table was created.
    Crn string
    (String) The CRN for this subnet.
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    IsDefault bool
    (Boolean) Indicates whether this is the default routing table for this VPC.
    LifecycleState string
    (String) The lifecycle state of the routing table.

    • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    ResourceGroups List<GetIsVpcRoutingTableResourceGroup>
    (List) The resource group for this routing table.
    ResourceType string
    (String) The resource type.
    RouteDirectLinkIngress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from Direct Link to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    RouteInternetIngress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from the internet.Incoming traffic will be routed according to the routing table with two exceptions:- Traffic destined for IP addresses associated with public gateways will not be subject to routes in this routing table.- Routes with an action of deliver are treated as drop unless the next_hop is an IP address bound to a network interface on a subnet in the route's zone. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    RouteTransitGatewayIngress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from from Transit Gateway to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    RouteVpcZoneIngress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from subnets in other zones in this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    Routes List<GetIsVpcRoutingTableRoute>
    (List) The routes for this routing table. Nested scheme for routes:
    Subnets List<GetIsVpcRoutingTableSubnet>
    (List) The subnets to which this routing table is attached. Nested scheme for subnets:
    Tags List<string>
    (List) Tags associated with the routing table.
    Vpc string
    Name string
    (String) The user-defined name for this subnet.
    RoutingTable string
    AcceptRoutesFroms []GetIsVpcRoutingTableAcceptRoutesFrom
    (List) The filters specifying the resources that may create routes in this routing table.At present, only the resource_type filter is permitted, and only the vpn_gateway value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from:
    AccessTags []string
    (List) Access management tags associated for the routing table.
    AdvertiseRoutesTos []string
    (Optional, List) The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.
    CreatedAt string
    (String) The date and time that this routing table was created.
    Crn string
    (String) The CRN for this subnet.
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    IsDefault bool
    (Boolean) Indicates whether this is the default routing table for this VPC.
    LifecycleState string
    (String) The lifecycle state of the routing table.

    • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    ResourceGroups []GetIsVpcRoutingTableResourceGroup
    (List) The resource group for this routing table.
    ResourceType string
    (String) The resource type.
    RouteDirectLinkIngress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from Direct Link to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    RouteInternetIngress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from the internet.Incoming traffic will be routed according to the routing table with two exceptions:- Traffic destined for IP addresses associated with public gateways will not be subject to routes in this routing table.- Routes with an action of deliver are treated as drop unless the next_hop is an IP address bound to a network interface on a subnet in the route's zone. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    RouteTransitGatewayIngress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from from Transit Gateway to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    RouteVpcZoneIngress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from subnets in other zones in this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    Routes []GetIsVpcRoutingTableRouteType
    (List) The routes for this routing table. Nested scheme for routes:
    Subnets []GetIsVpcRoutingTableSubnet
    (List) The subnets to which this routing table is attached. Nested scheme for subnets:
    Tags []string
    (List) Tags associated with the routing table.
    Vpc string
    Name string
    (String) The user-defined name for this subnet.
    RoutingTable string
    acceptRoutesFroms List<GetIsVpcRoutingTableAcceptRoutesFrom>
    (List) The filters specifying the resources that may create routes in this routing table.At present, only the resource_type filter is permitted, and only the vpn_gateway value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from:
    accessTags List<String>
    (List) Access management tags associated for the routing table.
    advertiseRoutesTos List<String>
    (Optional, List) The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.
    createdAt String
    (String) The date and time that this routing table was created.
    crn String
    (String) The CRN for this subnet.
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    isDefault Boolean
    (Boolean) Indicates whether this is the default routing table for this VPC.
    lifecycleState String
    (String) The lifecycle state of the routing table.

    • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    resourceGroups List<GetIsVpcRoutingTableResourceGroup>
    (List) The resource group for this routing table.
    resourceType String
    (String) The resource type.
    routeDirectLinkIngress Boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from Direct Link to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routeInternetIngress Boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from the internet.Incoming traffic will be routed according to the routing table with two exceptions:- Traffic destined for IP addresses associated with public gateways will not be subject to routes in this routing table.- Routes with an action of deliver are treated as drop unless the next_hop is an IP address bound to a network interface on a subnet in the route's zone. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routeTransitGatewayIngress Boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from from Transit Gateway to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routeVpcZoneIngress Boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from subnets in other zones in this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routes List<GetIsVpcRoutingTableRoute>
    (List) The routes for this routing table. Nested scheme for routes:
    subnets List<GetIsVpcRoutingTableSubnet>
    (List) The subnets to which this routing table is attached. Nested scheme for subnets:
    tags List<String>
    (List) Tags associated with the routing table.
    vpc String
    name String
    (String) The user-defined name for this subnet.
    routingTable String
    acceptRoutesFroms GetIsVpcRoutingTableAcceptRoutesFrom[]
    (List) The filters specifying the resources that may create routes in this routing table.At present, only the resource_type filter is permitted, and only the vpn_gateway value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from:
    accessTags string[]
    (List) Access management tags associated for the routing table.
    advertiseRoutesTos string[]
    (Optional, List) The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.
    createdAt string
    (String) The date and time that this routing table was created.
    crn string
    (String) The CRN for this subnet.
    href string
    (String) The URL for this subnet.
    id string
    (String) The unique identifier for this subnet.
    isDefault boolean
    (Boolean) Indicates whether this is the default routing table for this VPC.
    lifecycleState string
    (String) The lifecycle state of the routing table.

    • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    resourceGroups GetIsVpcRoutingTableResourceGroup[]
    (List) The resource group for this routing table.
    resourceType string
    (String) The resource type.
    routeDirectLinkIngress boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from Direct Link to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routeInternetIngress boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from the internet.Incoming traffic will be routed according to the routing table with two exceptions:- Traffic destined for IP addresses associated with public gateways will not be subject to routes in this routing table.- Routes with an action of deliver are treated as drop unless the next_hop is an IP address bound to a network interface on a subnet in the route's zone. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routeTransitGatewayIngress boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from from Transit Gateway to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routeVpcZoneIngress boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from subnets in other zones in this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routes GetIsVpcRoutingTableRoute[]
    (List) The routes for this routing table. Nested scheme for routes:
    subnets GetIsVpcRoutingTableSubnet[]
    (List) The subnets to which this routing table is attached. Nested scheme for subnets:
    tags string[]
    (List) Tags associated with the routing table.
    vpc string
    name string
    (String) The user-defined name for this subnet.
    routingTable string
    accept_routes_froms Sequence[GetIsVpcRoutingTableAcceptRoutesFrom]
    (List) The filters specifying the resources that may create routes in this routing table.At present, only the resource_type filter is permitted, and only the vpn_gateway value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from:
    access_tags Sequence[str]
    (List) Access management tags associated for the routing table.
    Sequence[str]
    (Optional, List) The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.
    created_at str
    (String) The date and time that this routing table was created.
    crn str
    (String) The CRN for this subnet.
    href str
    (String) The URL for this subnet.
    id str
    (String) The unique identifier for this subnet.
    is_default bool
    (Boolean) Indicates whether this is the default routing table for this VPC.
    lifecycle_state str
    (String) The lifecycle state of the routing table.

    • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    resource_groups Sequence[GetIsVpcRoutingTableResourceGroup]
    (List) The resource group for this routing table.
    resource_type str
    (String) The resource type.
    route_direct_link_ingress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from Direct Link to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    route_internet_ingress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from the internet.Incoming traffic will be routed according to the routing table with two exceptions:- Traffic destined for IP addresses associated with public gateways will not be subject to routes in this routing table.- Routes with an action of deliver are treated as drop unless the next_hop is an IP address bound to a network interface on a subnet in the route's zone. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    route_transit_gateway_ingress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from from Transit Gateway to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    route_vpc_zone_ingress bool
    (Boolean) Indicates whether this routing table is used to route traffic that originates from subnets in other zones in this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routes Sequence[GetIsVpcRoutingTableRoute]
    (List) The routes for this routing table. Nested scheme for routes:
    subnets Sequence[GetIsVpcRoutingTableSubnet]
    (List) The subnets to which this routing table is attached. Nested scheme for subnets:
    tags Sequence[str]
    (List) Tags associated with the routing table.
    vpc str
    name str
    (String) The user-defined name for this subnet.
    routing_table str
    acceptRoutesFroms List<Property Map>
    (List) The filters specifying the resources that may create routes in this routing table.At present, only the resource_type filter is permitted, and only the vpn_gateway value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from:
    accessTags List<String>
    (List) Access management tags associated for the routing table.
    advertiseRoutesTos List<String>
    (Optional, List) The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.
    createdAt String
    (String) The date and time that this routing table was created.
    crn String
    (String) The CRN for this subnet.
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    isDefault Boolean
    (Boolean) Indicates whether this is the default routing table for this VPC.
    lifecycleState String
    (String) The lifecycle state of the routing table.

    • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    resourceGroups List<Property Map>
    (List) The resource group for this routing table.
    resourceType String
    (String) The resource type.
    routeDirectLinkIngress Boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from Direct Link to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routeInternetIngress Boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from the internet.Incoming traffic will be routed according to the routing table with two exceptions:- Traffic destined for IP addresses associated with public gateways will not be subject to routes in this routing table.- Routes with an action of deliver are treated as drop unless the next_hop is an IP address bound to a network interface on a subnet in the route's zone. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routeTransitGatewayIngress Boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from from Transit Gateway to this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routeVpcZoneIngress Boolean
    (Boolean) Indicates whether this routing table is used to route traffic that originates from subnets in other zones in this VPC.Incoming traffic will be routed according to the routing table with one exception: routes with an action of deliver are treated as drop unless the next_hop is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with a next_hop of an internet-bound IP address or a VPN gateway connection, the packet will be dropped.
    routes List<Property Map>
    (List) The routes for this routing table. Nested scheme for routes:
    subnets List<Property Map>
    (List) The subnets to which this routing table is attached. Nested scheme for subnets:
    tags List<String>
    (List) Tags associated with the routing table.
    vpc String
    name String
    (String) The user-defined name for this subnet.
    routingTable String

    Supporting Types

    GetIsVpcRoutingTableAcceptRoutesFrom

    ResourceType string
    (String) The resource type.
    ResourceType string
    (String) The resource type.
    resourceType String
    (String) The resource type.
    resourceType string
    (String) The resource type.
    resource_type str
    (String) The resource type.
    resourceType String
    (String) The resource type.

    GetIsVpcRoutingTableResourceGroup

    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    href string
    (String) The URL for this subnet.
    id string
    (String) The unique identifier for this subnet.
    name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    href str
    (String) The URL for this subnet.
    id str
    (String) The unique identifier for this subnet.
    name str
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required

    GetIsVpcRoutingTableRoute

    Deleteds List<GetIsVpcRoutingTableRouteDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    Deleteds []GetIsVpcRoutingTableRouteDeleted
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    deleteds List<GetIsVpcRoutingTableRouteDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    deleteds GetIsVpcRoutingTableRouteDeleted[]
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href string
    (String) The URL for this subnet.
    id string
    (String) The unique identifier for this subnet.
    name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    deleteds Sequence[GetIsVpcRoutingTableRouteDeleted]
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href str
    (String) The URL for this subnet.
    id str
    (String) The unique identifier for this subnet.
    name str
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    deleteds List<Property Map>
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required

    GetIsVpcRoutingTableRouteDeleted

    MoreInfo string
    (String) Link to documentation about deleted resources.
    MoreInfo string
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.
    moreInfo string
    (String) Link to documentation about deleted resources.
    more_info str
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.

    GetIsVpcRoutingTableSubnet

    Crn string
    (String) The CRN for this subnet.
    Deleteds List<GetIsVpcRoutingTableSubnetDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    Crn string
    (String) The CRN for this subnet.
    Deleteds []GetIsVpcRoutingTableSubnetDeleted
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    crn String
    (String) The CRN for this subnet.
    deleteds List<GetIsVpcRoutingTableSubnetDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    crn string
    (String) The CRN for this subnet.
    deleteds GetIsVpcRoutingTableSubnetDeleted[]
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href string
    (String) The URL for this subnet.
    id string
    (String) The unique identifier for this subnet.
    name string
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    crn str
    (String) The CRN for this subnet.
    deleteds Sequence[GetIsVpcRoutingTableSubnetDeleted]
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href str
    (String) The URL for this subnet.
    id str
    (String) The unique identifier for this subnet.
    name str
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required
    crn String
    (String) The CRN for this subnet.
    deleteds List<Property Map>
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    The VPC routing table name. Mutually exclusive with routing_table, one of them is required

    GetIsVpcRoutingTableSubnetDeleted

    MoreInfo string
    (String) Link to documentation about deleted resources.
    MoreInfo string
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.
    moreInfo string
    (String) Link to documentation about deleted resources.
    more_info str
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud