RoutingConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. RoutingConfiguration
- com.
Implements
public final class RoutingConfiguration
implements JsonSerializable<RoutingConfiguration>
Routing Configuration indicating the associated and propagated route tables for this connection.
Constructor Summary
Constructor | Description |
---|---|
RoutingConfiguration() |
Creates an instance of Routing |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sub |
associatedRouteTable()
Get the associated |
static
Routing |
fromJson(JsonReader jsonReader)
Reads an instance of Routing |
Sub |
inboundRouteMap()
Get the inbound |
Sub |
outboundRouteMap()
Get the outbound |
Propagated |
propagatedRouteTables()
Get the propagated |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Vnet |
vnetRoutes()
Get the vnet |
Routing |
withAssociatedRouteTable(SubResource associatedRouteTable)
Set the associated |
Routing |
withInboundRouteMap(SubResource inboundRouteMap)
Set the inbound |
Routing |
withOutboundRouteMap(SubResource outboundRouteMap)
Set the outbound |
Routing |
withPropagatedRouteTables(PropagatedRouteTable propagatedRouteTables)
Set the propagated |
Routing |
withVnetRoutes(VnetRoute vnetRoutes)
Set the vnet |
Methods inherited from java.lang.Object
Constructor Details
RoutingConfiguration
public RoutingConfiguration()
Creates an instance of RoutingConfiguration class.
Method Details
associatedRouteTable
public SubResource associatedRouteTable()
Get the associatedRouteTable property: The resource id RouteTable associated with this RoutingConfiguration.
Returns:
fromJson
public static RoutingConfiguration fromJson(JsonReader jsonReader)
Reads an instance of RoutingConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
inboundRouteMap
public SubResource inboundRouteMap()
Get the inboundRouteMap property: The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
Returns:
outboundRouteMap
public SubResource outboundRouteMap()
Get the outboundRouteMap property: The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
Returns:
propagatedRouteTables
public PropagatedRouteTable propagatedRouteTables()
Get the propagatedRouteTables property: The list of RouteTables to advertise the routes to.
Returns:
toJson
validate
public void validate()
Validates the instance.
vnetRoutes
public VnetRoute vnetRoutes()
Get the vnetRoutes property: List of routes that control routing from VirtualHub into a virtual network connection.
Returns:
withAssociatedRouteTable
public RoutingConfiguration withAssociatedRouteTable(SubResource associatedRouteTable)
Set the associatedRouteTable property: The resource id RouteTable associated with this RoutingConfiguration.
Parameters:
Returns:
withInboundRouteMap
public RoutingConfiguration withInboundRouteMap(SubResource inboundRouteMap)
Set the inboundRouteMap property: The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
Parameters:
Returns:
withOutboundRouteMap
public RoutingConfiguration withOutboundRouteMap(SubResource outboundRouteMap)
Set the outboundRouteMap property: The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
Parameters:
Returns:
withPropagatedRouteTables
public RoutingConfiguration withPropagatedRouteTables(PropagatedRouteTable propagatedRouteTables)
Set the propagatedRouteTables property: The list of RouteTables to advertise the routes to.
Parameters:
Returns:
withVnetRoutes
public RoutingConfiguration withVnetRoutes(VnetRoute vnetRoutes)
Set the vnetRoutes property: List of routes that control routing from VirtualHub into a virtual network connection.
Parameters:
Returns:
Applies to
Azure SDK for Java