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 Details

    • RoutingConfiguration

      public RoutingConfiguration()
  • 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.
    • validate

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