Class RoutingConfiguration

java.lang.Object
com.azure.resourcemanager.network.models.RoutingConfiguration

public final class RoutingConfiguration extends Object
Routing Configuration indicating the associated and propagated route tables for this connection.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of RoutingConfiguration class.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.management.SubResource
    Get the associatedRouteTable property: The resource id RouteTable associated with this RoutingConfiguration.
    com.azure.core.management.SubResource
    Get the inboundRouteMap property: The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    com.azure.core.management.SubResource
    Get the outboundRouteMap property: The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    Get the propagatedRouteTables property: The list of RouteTables to advertise the routes to.
    void
    Validates the instance.
    Get the vnetRoutes property: List of routes that control routing from VirtualHub into a virtual network connection.
    withAssociatedRouteTable(com.azure.core.management.SubResource associatedRouteTable)
    Set the associatedRouteTable property: The resource id RouteTable associated with this RoutingConfiguration.
    withInboundRouteMap(com.azure.core.management.SubResource inboundRouteMap)
    Set the inboundRouteMap property: The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    withOutboundRouteMap(com.azure.core.management.SubResource outboundRouteMap)
    Set the outboundRouteMap property: The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    Set the propagatedRouteTables property: The list of RouteTables to advertise the routes to.
    Set the vnetRoutes property: List of routes that control routing from VirtualHub into a virtual network connection.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RoutingConfiguration

      public RoutingConfiguration()
      Creates an instance of RoutingConfiguration class.
  • Method Details

    • associatedRouteTable

      public com.azure.core.management.SubResource associatedRouteTable()
      Get the associatedRouteTable property: The resource id RouteTable associated with this RoutingConfiguration.
      Returns:
      the associatedRouteTable value.
    • withAssociatedRouteTable

      public RoutingConfiguration withAssociatedRouteTable(com.azure.core.management.SubResource associatedRouteTable)
      Set the associatedRouteTable property: The resource id RouteTable associated with this RoutingConfiguration.
      Parameters:
      associatedRouteTable - the associatedRouteTable value to set.
      Returns:
      the RoutingConfiguration object itself.
    • propagatedRouteTables

      public PropagatedRouteTable propagatedRouteTables()
      Get the propagatedRouteTables property: The list of RouteTables to advertise the routes to.
      Returns:
      the propagatedRouteTables value.
    • withPropagatedRouteTables

      public RoutingConfiguration withPropagatedRouteTables(PropagatedRouteTable propagatedRouteTables)
      Set the propagatedRouteTables property: The list of RouteTables to advertise the routes to.
      Parameters:
      propagatedRouteTables - the propagatedRouteTables value to set.
      Returns:
      the RoutingConfiguration object itself.
    • vnetRoutes

      public VnetRoute vnetRoutes()
      Get the vnetRoutes property: List of routes that control routing from VirtualHub into a virtual network connection.
      Returns:
      the vnetRoutes value.
    • withVnetRoutes

      public RoutingConfiguration withVnetRoutes(VnetRoute vnetRoutes)
      Set the vnetRoutes property: List of routes that control routing from VirtualHub into a virtual network connection.
      Parameters:
      vnetRoutes - the vnetRoutes value to set.
      Returns:
      the RoutingConfiguration object itself.
    • inboundRouteMap

      public com.azure.core.management.SubResource inboundRouteMap()
      Get the inboundRouteMap property: The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
      Returns:
      the inboundRouteMap value.
    • withInboundRouteMap

      public RoutingConfiguration withInboundRouteMap(com.azure.core.management.SubResource inboundRouteMap)
      Set the inboundRouteMap property: The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
      Parameters:
      inboundRouteMap - the inboundRouteMap value to set.
      Returns:
      the RoutingConfiguration object itself.
    • outboundRouteMap

      public com.azure.core.management.SubResource outboundRouteMap()
      Get the outboundRouteMap property: The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
      Returns:
      the outboundRouteMap value.
    • withOutboundRouteMap

      public RoutingConfiguration withOutboundRouteMap(com.azure.core.management.SubResource outboundRouteMap)
      Set the outboundRouteMap property: The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
      Parameters:
      outboundRouteMap - the outboundRouteMap value to set.
      Returns:
      the RoutingConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.