Interface RouteTable.DefinitionStages.WithRoute

    • Method Detail

      • withRoute

        RouteTable.DefinitionStages.WithCreate withRoute​(String destinationAddressPrefix,
                                                         RouteNextHopType nextHop)
        Creates a non-virtual appliance route.

        The name is generated automatically.

        Parameters:
        destinationAddressPrefix - the destination address prefix, expressed in the CIDR notation, for the route to apply to
        nextHop - the next hop type
        Returns:
        the next stage of the definition
      • withRouteViaVirtualAppliance

        RouteTable.DefinitionStages.WithCreate withRouteViaVirtualAppliance​(String destinationAddressPrefix,
                                                                            String ipAddress)
        Creates a route via a virtual appliance.
        Parameters:
        destinationAddressPrefix - the destination address prefix, expressed in the CIDR notation, for the route to apply to
        ipAddress - the IP address of the virtual appliance to route the traffic through
        Returns:
        the next stage of the definition