Class RoutingConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.RoutingConfiguration
Routing Configuration indicating the associated and propagated route tables for this connection.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.SubResourceGet the associatedRouteTable property: The resource id RouteTable associated with this RoutingConfiguration.Get the propagatedRouteTables property: The list of RouteTables to advertise the routes to.voidvalidate()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.withPropagatedRouteTables(PropagatedRouteTable propagatedRouteTables) Set the propagatedRouteTables property: The list of RouteTables to advertise the routes to.withVnetRoutes(VnetRoute vnetRoutes) Set the vnetRoutes property: List of routes that control routing from VirtualHub into a virtual network 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
Get the propagatedRouteTables property: The list of RouteTables to advertise the routes to.- Returns:
- the propagatedRouteTables value.
-
withPropagatedRouteTables
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
Get the vnetRoutes property: List of routes that control routing from VirtualHub into a virtual network connection.- Returns:
- the vnetRoutes value.
-
withVnetRoutes
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.
-