Class RoutingTable
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.RoutingTable
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class RoutingTable
extends com.ibm.cloud.sdk.core.service.model.GenericModel
RoutingTable.
-
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 interface
The lifecycle state of the routing table.static interface
The resource type. -
Method Summary
Modifier and TypeMethodDescriptionGets the acceptRoutesFrom.Gets the advertiseRoutesTo.Gets the createdAt.getCrn()
Gets the crn.getHref()
Gets the href.getId()
Gets the id.Gets the lifecycleState.getName()
Gets the name.Gets the resourceGroup.Gets the resourceType.Gets the routes.Gets the subnets.Gets the isDefault.Gets the routeDirectLinkIngress.Gets the routeInternetIngress.Gets the routeTransitGatewayIngress.Gets the routeVpcZoneIngress.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getAcceptRoutesFrom
Gets the acceptRoutesFrom. The filters specifying the resources that may create routes in this routing table. The resources and types of filters supported by this property is expected to [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the acceptRoutesFrom
-
getAdvertiseRoutesTo
Gets the advertiseRoutesTo. The ingress sources to advertise routes to. Routes in the table with `advertise` enabled will be advertised to these sources. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the advertiseRoutesTo
-
getCreatedAt
Gets the createdAt. The date and time that this routing table was created.- Returns:
- the createdAt
-
getCrn
-
getHref
-
getId
-
isIsDefault
Gets the isDefault. Indicates whether this is the default routing table for this VPC.- Returns:
- the isDefault
-
getLifecycleState
Gets the lifecycleState. The lifecycle state of the routing table.- Returns:
- the lifecycleState
-
getName
Gets the name. The name for this routing table. The name is unique across all routing tables for the VPC.- Returns:
- the name
-
getResourceGroup
Gets the resourceGroup. The resource group for this routing table.- Returns:
- the resourceGroup
-
getResourceType
-
isRouteDirectLinkIngress
Gets the routeDirectLinkIngress. Indicates whether this routing table is used to route traffic that originates from [Direct Link](https://cloud.ibm.com/docs/dl) 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 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 routeDirectLinkIngress
-
isRouteInternetIngress
Gets the routeInternetIngress. 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 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
-
isRouteTransitGatewayIngress
Gets the routeTransitGatewayIngress. Indicates whether this routing table is used to route traffic that originates from from [Transit Gateway](https://cloud.ibm.com/docs/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 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
-
isRouteVpcZoneIngress
Gets the routeVpcZoneIngress. 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 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
-
getRoutes
Gets the routes. The routes for this routing table.- Returns:
- the routes
-
getSubnets
Gets the subnets. The subnets to which this routing table is attached.- Returns:
- the subnets
-