Class CreateVpcRoutingTableOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.CreateVpcRoutingTableOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateVpcRoutingTableOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createVpcRoutingTable options.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
An ingress source that routes can be advertised to: - `direct_link` (requires `route_direct_link_ingress` be set to `true`) - `transit_gateway` (requires `route_transit_gateway_ingress` be set to `true`).static class
Builder. -
Method Summary
Modifier and TypeMethodDescriptionGets the acceptRoutesFrom.Gets the advertiseRoutesTo.name()
Gets the name.New builder.Gets the routeDirectLinkIngress.Gets the routeInternetIngress.routes()
Gets the routes.Gets the routeTransitGatewayIngress.Gets the routeVpcZoneIngress.vpcId()
Gets the vpcId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateVpcRoutingTableOptions builder
-
vpcId
-
acceptRoutesFrom
Gets the acceptRoutesFrom. The filters specifying the resources that may create routes in this routing table. If specified, `resource_type` must be `vpn_gateway` or `vpn_server`.- Returns:
- the acceptRoutesFrom
-
advertiseRoutesTo
-
name
Gets the name. The name for this routing table. The name must not be used by another routing table in the VPC. If unspecified, the name will be a hyphenated list of randomly-selected words.- Returns:
- the name
-
routeDirectLinkIngress
Gets the routeDirectLinkIngress. If set to `true`, this routing table will be used to route traffic that originates from [Direct Link](https://cloud.ibm.com/docs/dl) to this VPC. The VPC must not already have a routing table with this property set to `true`. 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 in a subnet in the route's `zone` that is able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway connection, the packet will be dropped. If [Classic Access](https://cloud.ibm.com/docs/vpc?topic=vpc-setting-up-access-to-classic-infrastructure) is enabled for this VPC, and this property is set to `true`, its incoming traffic will also be routed according to this routing table.- Returns:
- the routeDirectLinkIngress
-
routeInternetIngress
Gets the routeInternetIngress. If set to `true`, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to `true`. 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 in a subnet in the route's `zone` that is able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway connection, the packet will be dropped.- Returns:
- the routeInternetIngress
-
routeTransitGatewayIngress
Gets the routeTransitGatewayIngress. If set to `true`, this routing table will be used to route traffic that originates from [Transit Gateway](https://cloud.ibm.com/docs/transit-gateway) to this VPC. The VPC must not already have a routing table with this property set to `true`. 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 in a subnet in the route's `zone` that is able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway connection, the packet will be dropped.- Returns:
- the routeTransitGatewayIngress
-
routeVpcZoneIngress
Gets the routeVpcZoneIngress. If set to `true`, this routing table will be used to route traffic that originates from subnets in other zones in this VPC. The VPC must not already have a routing table with this property set to `true`. 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 in a subnet in the route's `zone` that is able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway connection, the packet will be dropped.- Returns:
- the routeVpcZoneIngress
-
routes
Gets the routes. The prototype objects for routes to create for this routing table. If unspecified, the routing table will be created with no routes.- Returns:
- the routes
-