EffectiveRoute Class

  • java.lang.Object
    • com.microsoft.azure.management.network.EffectiveRoute

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.

RouteNextHopType nextHopType()

Get the type of Azure hop the packet should be sent to.

EffectiveRouteSource source()

Get who created the route.

EffectiveRouteState state()

Get the value of effective route.

EffectiveRoute withAddressPrefix(List<String> addressPrefix)

Set the address prefixes of the effective routes in CIDR notation.

EffectiveRoute withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)

Set if true, on-premises routes are not propagated to the network interfaces in the subnet.

EffectiveRoute withName(String name)

Set the name of the user defined route.

EffectiveRoute withNextHopIpAddress(List<String> nextHopIpAddress)

Set the IP address of the next hop of the effective route.

EffectiveRoute withNextHopType(RouteNextHopType nextHopType)

Set the type of Azure hop the packet should be sent to.

EffectiveRoute withSource(EffectiveRouteSource source)

Set who created the route.

EffectiveRoute withState(EffectiveRouteState state)

Set the value of effective route.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

EffectiveRoute

public EffectiveRoute()

Method Details

addressPrefix

public List addressPrefix()

Get the address prefixes of the effective routes in CIDR notation.

Returns:

the addressPrefix value

disableBgpRoutePropagation

public Boolean disableBgpRoutePropagation()

Get if true, on-premises routes are not propagated to the network interfaces in the subnet.

Returns:

the disableBgpRoutePropagation value

name

public String name()

Get the name of the user defined route. This is optional.

Returns:

the name value

nextHopIpAddress

public List nextHopIpAddress()

Get the IP address of the next hop of the effective route.

Returns:

the nextHopIpAddress value

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:

the nextHopType value

source

public EffectiveRouteSource source()

Get who created the route. Possible values include: 'Unknown', 'User', 'VirtualNetworkGateway', 'Default'.

Returns:

the source value

state

public EffectiveRouteState state()

Get the value of effective route. Possible values include: 'Active', 'Invalid'.

Returns:

the state value

withAddressPrefix

public EffectiveRoute withAddressPrefix(List addressPrefix)

Set the address prefixes of the effective routes in CIDR notation.

Parameters:

addressPrefix - the addressPrefix value to set

Returns:

the EffectiveRoute object itself.

withDisableBgpRoutePropagation

public EffectiveRoute withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)

Set if true, on-premises routes are not propagated to the network interfaces in the subnet.

Parameters:

disableBgpRoutePropagation - the disableBgpRoutePropagation value to set

Returns:

the EffectiveRoute object itself.

withName

public EffectiveRoute withName(String name)

Set the name of the user defined route. This is optional.

Parameters:

name - the name value to set

Returns:

the EffectiveRoute object itself.

withNextHopIpAddress

public EffectiveRoute withNextHopIpAddress(List nextHopIpAddress)

Set the IP address of the next hop of the effective route.

Parameters:

nextHopIpAddress - the nextHopIpAddress value to set

Returns:

the EffectiveRoute object itself.

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:

nextHopType - the nextHopType value to set

Returns:

the EffectiveRoute object itself.

withSource

public EffectiveRoute withSource(EffectiveRouteSource source)

Set who created the route. Possible values include: 'Unknown', 'User', 'VirtualNetworkGateway', 'Default'.

Parameters:

source - the source value to set

Returns:

the EffectiveRoute object itself.

withState

public EffectiveRoute withState(EffectiveRouteState state)

Set the value of effective route. Possible values include: 'Active', 'Invalid'.

Parameters:

state - the state value to set

Returns:

the EffectiveRoute object itself.

Applies to