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.com.azure.core.management.SubResourceGet the inboundRouteMap property: The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.com.azure.core.management.SubResourceGet 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.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.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.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()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
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.
-
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.
-