ibm.getIsVpcRoutingTable
Explore with Pulumi AI
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 - Routing
Table 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 - Routing
Table 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 - routing
Table 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 - routing
Table 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 - routing
Table String - The VPC routing table identifier. Mutually exclusive with
name
, one of them is required
getIsVpcRoutingTable Result
The following output properties are available:
- Accept
Routes List<GetFroms Is Vpc Routing Table Accept Routes From> - (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 thevpn_gateway
value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from: - List<string>
- (List) Access management tags associated for the routing table.
- Advertise
Routes List<string>Tos - (Optional, List) The ingress sources to advertise routes to. Routes in the table with
advertise
enabled will be advertised to these sources. - Created
At 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.
- Is
Default bool - (Boolean) Indicates whether this is the default routing table for this VPC.
- Lifecycle
State string - (String) The lifecycle state of the routing table.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- Resource
Groups List<GetIs Vpc Routing Table Resource Group> - (List) The resource group for this routing table.
- Resource
Type string - (String) The resource type.
- Route
Direct boolLink Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - Route
Internet boolIngress - (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'szone
. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - Route
Transit boolGateway Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - Route
Vpc boolZone Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - Routes
List<Get
Is Vpc Routing Table Route> - (List) The routes for this routing table. Nested scheme for routes:
- Subnets
List<Get
Is Vpc Routing Table Subnet> - (List) The subnets to which this routing table is attached. Nested scheme for subnets:
- List<string>
- (List) Tags associated with the routing table.
- Vpc string
- Name string
- (String) The user-defined name for this subnet.
- Routing
Table string
- Accept
Routes []GetFroms Is Vpc Routing Table Accept Routes From - (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 thevpn_gateway
value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from: - []string
- (List) Access management tags associated for the routing table.
- Advertise
Routes []stringTos - (Optional, List) The ingress sources to advertise routes to. Routes in the table with
advertise
enabled will be advertised to these sources. - Created
At 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.
- Is
Default bool - (Boolean) Indicates whether this is the default routing table for this VPC.
- Lifecycle
State string - (String) The lifecycle state of the routing table.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- Resource
Groups []GetIs Vpc Routing Table Resource Group - (List) The resource group for this routing table.
- Resource
Type string - (String) The resource type.
- Route
Direct boolLink Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - Route
Internet boolIngress - (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'szone
. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - Route
Transit boolGateway Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - Route
Vpc boolZone Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - Routes
[]Get
Is Vpc Routing Table Route Type - (List) The routes for this routing table. Nested scheme for routes:
- Subnets
[]Get
Is Vpc Routing Table Subnet - (List) The subnets to which this routing table is attached. Nested scheme for subnets:
- []string
- (List) Tags associated with the routing table.
- Vpc string
- Name string
- (String) The user-defined name for this subnet.
- Routing
Table string
- accept
Routes List<GetFroms Is Vpc Routing Table Accept Routes From> - (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 thevpn_gateway
value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from: - List<String>
- (List) Access management tags associated for the routing table.
- advertise
Routes List<String>Tos - (Optional, List) The ingress sources to advertise routes to. Routes in the table with
advertise
enabled will be advertised to these sources. - created
At 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.
- is
Default Boolean - (Boolean) Indicates whether this is the default routing table for this VPC.
- lifecycle
State String - (String) The lifecycle state of the routing table.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- resource
Groups List<GetIs Vpc Routing Table Resource Group> - (List) The resource group for this routing table.
- resource
Type String - (String) The resource type.
- route
Direct BooleanLink Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route
Internet BooleanIngress - (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'szone
. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route
Transit BooleanGateway Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route
Vpc BooleanZone Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - routes
List<Get
Is Vpc Routing Table Route> - (List) The routes for this routing table. Nested scheme for routes:
- subnets
List<Get
Is Vpc Routing Table Subnet> - (List) The subnets to which this routing table is attached. Nested scheme for subnets:
- List<String>
- (List) Tags associated with the routing table.
- vpc String
- name String
- (String) The user-defined name for this subnet.
- routing
Table String
- accept
Routes GetFroms Is Vpc Routing Table Accept Routes From[] - (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 thevpn_gateway
value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from: - string[]
- (List) Access management tags associated for the routing table.
- advertise
Routes string[]Tos - (Optional, List) The ingress sources to advertise routes to. Routes in the table with
advertise
enabled will be advertised to these sources. - created
At 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.
- is
Default boolean - (Boolean) Indicates whether this is the default routing table for this VPC.
- lifecycle
State string - (String) The lifecycle state of the routing table.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- resource
Groups GetIs Vpc Routing Table Resource Group[] - (List) The resource group for this routing table.
- resource
Type string - (String) The resource type.
- route
Direct booleanLink Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route
Internet booleanIngress - (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'szone
. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route
Transit booleanGateway Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route
Vpc booleanZone Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - routes
Get
Is Vpc Routing Table Route[] - (List) The routes for this routing table. Nested scheme for routes:
- subnets
Get
Is Vpc Routing Table Subnet[] - (List) The subnets to which this routing table is attached. Nested scheme for subnets:
- string[]
- (List) Tags associated with the routing table.
- vpc string
- name string
- (String) The user-defined name for this subnet.
- routing
Table string
- accept_
routes_ Sequence[Getfroms Is Vpc Routing Table Accept Routes From] - (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 thevpn_gateway
value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from: - Sequence[str]
- (List) Access management tags associated for the routing table.
- advertise_
routes_ Sequence[str]tos - (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
.
- Constraints: Allowable values are:
- resource_
groups Sequence[GetIs Vpc Routing Table Resource Group] - (List) The resource group for this routing table.
- resource_
type str - (String) The resource type.
- route_
direct_ boollink_ ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route_
internet_ boolingress - (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'szone
. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route_
transit_ boolgateway_ ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route_
vpc_ boolzone_ ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - routes
Sequence[Get
Is Vpc Routing Table Route] - (List) The routes for this routing table. Nested scheme for routes:
- subnets
Sequence[Get
Is Vpc Routing Table Subnet] - (List) The subnets to which this routing table is attached. Nested scheme for subnets:
- Sequence[str]
- (List) Tags associated with the routing table.
- vpc str
- name str
- (String) The user-defined name for this subnet.
- routing_
table str
- accept
Routes List<Property Map>Froms - (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 thevpn_gateway
value is supported, but filter support is expected to expand in the future. Nested scheme for accept_routes_from: - List<String>
- (List) Access management tags associated for the routing table.
- advertise
Routes List<String>Tos - (Optional, List) The ingress sources to advertise routes to. Routes in the table with
advertise
enabled will be advertised to these sources. - created
At 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.
- is
Default Boolean - (Boolean) Indicates whether this is the default routing table for this VPC.
- lifecycle
State String - (String) The lifecycle state of the routing table.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- resource
Groups List<Property Map> - (List) The resource group for this routing table.
- resource
Type String - (String) The resource type.
- route
Direct BooleanLink Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route
Internet BooleanIngress - (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'szone
. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route
Transit BooleanGateway Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_hop
of an internet-bound IP address or a VPN gateway connection, the packet will be dropped. - route
Vpc BooleanZone Ingress - (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
ofdeliver
are treated asdrop
unless thenext_hop
is an IP address within the VPC's address prefix ranges. Therefore, if an incoming packet matches a route with anext_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:
- List<String>
- (List) Tags associated with the routing table.
- vpc String
- name String
- (String) The user-defined name for this subnet.
- routing
Table String
Supporting Types
GetIsVpcRoutingTableAcceptRoutesFrom
- Resource
Type string - (String) The resource type.
- Resource
Type string - (String) The resource type.
- resource
Type String - (String) The resource type.
- resource
Type string - (String) The resource type.
- resource_
type str - (String) The resource type.
- resource
Type String - (String) The resource type.
GetIsVpcRoutingTableResourceGroup
GetIsVpcRoutingTableRoute
- Deleteds
List<Get
Is Vpc Routing Table Route Deleted> - (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
[]Get
Is Vpc Routing Table Route Deleted - (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<Get
Is Vpc Routing Table Route Deleted> - (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
Get
Is Vpc Routing Table Route Deleted[] - (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[Get
Is Vpc Routing Table Route Deleted] - (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
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
GetIsVpcRoutingTableSubnet
- Crn string
- (String) The CRN for this subnet.
- Deleteds
List<Get
Is Vpc Routing Table Subnet Deleted> - (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
[]Get
Is Vpc Routing Table Subnet Deleted - (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<Get
Is Vpc Routing Table Subnet Deleted> - (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
Get
Is Vpc Routing Table Subnet Deleted[] - (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[Get
Is Vpc Routing Table Subnet Deleted] - (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
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info 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.