EffectiveRoute Class
- java.
lang. Object - com.
microsoft. azure. management. network. EffectiveRoute
- com.
public class EffectiveRoute
Effective Route.
Constructor Summary
Constructor | Description | |
---|---|---|
EffectiveRoute() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
addressPrefix()
Get the address prefixes of the effective routes in CIDR notation. |
java.lang.Boolean |
disableBgpRoutePropagation()
Get if true, on-premises routes are not propagated to the network interfaces in the subnet. |
java.lang.String |
name()
Get the name of the user defined route. |
java.util.List<java.lang.String> |
nextHopIpAddress()
Get the IP address of the next hop of the effective route. |
Route |
nextHopType()
Get the type of Azure hop the packet should be sent to. |
Effective |
source()
Get who created the route. |
Effective |
state()
Get the value of effective route. |
Effective |
withAddressPrefix(List<String> addressPrefix)
Set the address prefixes of the effective routes in CIDR notation. |
Effective |
withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)
Set if true, on-premises routes are not propagated to the network interfaces in the subnet. |
Effective |
withName(String name)
Set the name of the user defined route. |
Effective |
withNextHopIpAddress(List<String> nextHopIpAddress)
Set the IP address of the next hop of the effective route. |
Effective |
withNextHopType(RouteNextHopType nextHopType)
Set the type of Azure hop the packet should be sent to. |
Effective |
withSource(EffectiveRouteSource source)
Set who created the route. |
Effective |
withState(EffectiveRouteState state)
Set the value of effective route. |
Methods inherited from java.lang.Object
Constructor Details
EffectiveRoute
public EffectiveRoute()
Method Details
addressPrefix
public List
Get the address prefixes of the effective routes in CIDR notation.
Returns:
disableBgpRoutePropagation
public Boolean disableBgpRoutePropagation()
Get if true, on-premises routes are not propagated to the network interfaces in the subnet.
Returns:
name
public String name()
Get the name of the user defined route. This is optional.
Returns:
nextHopIpAddress
public List
Get the IP address of the next hop of the effective route.
Returns:
nextHopType
public RouteNextHopType nextHopType()
Get the type of Azure hop the packet should be sent to. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None'.
Returns:
source
public EffectiveRouteSource source()
Get who created the route. Possible values include: 'Unknown', 'User', 'VirtualNetworkGateway', 'Default'.
Returns:
state
public EffectiveRouteState state()
Get the value of effective route. Possible values include: 'Active', 'Invalid'.
Returns:
withAddressPrefix
public EffectiveRoute withAddressPrefix(List
Set the address prefixes of the effective routes in CIDR notation.
Parameters:
Returns:
withDisableBgpRoutePropagation
public EffectiveRoute withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)
Set if true, on-premises routes are not propagated to the network interfaces in the subnet.
Parameters:
Returns:
withName
public EffectiveRoute withName(String name)
Set the name of the user defined route. This is optional.
Parameters:
Returns:
withNextHopIpAddress
public EffectiveRoute withNextHopIpAddress(List
Set the IP address of the next hop of the effective route.
Parameters:
Returns:
withNextHopType
public EffectiveRoute withNextHopType(RouteNextHopType nextHopType)
Set the type of Azure hop the packet should be sent to. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None'.
Parameters:
Returns:
withSource
public EffectiveRoute withSource(EffectiveRouteSource source)
Set who created the route. Possible values include: 'Unknown', 'User', 'VirtualNetworkGateway', 'Default'.
Parameters:
Returns:
withState
public EffectiveRoute withState(EffectiveRouteState state)
Set the value of effective route. Possible values include: 'Active', 'Invalid'.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for