Share via


EffectiveRoute Constructors

Definition

Overloads

EffectiveRoute()

Initializes a new instance of the EffectiveRoute class.

EffectiveRoute(String, Nullable<Boolean>, EffectiveRouteSource, EffectiveRouteState, IList<String>, IList<String>, RouteNextHopType)

Initializes a new instance of the EffectiveRoute class.

EffectiveRoute()

Initializes a new instance of the EffectiveRoute class.

public EffectiveRoute ();
Public Sub New ()

Applies to

EffectiveRoute(String, Nullable<Boolean>, EffectiveRouteSource, EffectiveRouteState, IList<String>, IList<String>, RouteNextHopType)

Initializes a new instance of the EffectiveRoute class.

public EffectiveRoute (string name = default, bool? disableBgpRoutePropagation = default, Microsoft.Azure.Management.Network.Fluent.Models.EffectiveRouteSource source = default, Microsoft.Azure.Management.Network.Fluent.Models.EffectiveRouteState state = default, System.Collections.Generic.IList<string> addressPrefix = default, System.Collections.Generic.IList<string> nextHopIpAddress = default, Microsoft.Azure.Management.Network.Fluent.Models.RouteNextHopType nextHopType = default);
new Microsoft.Azure.Management.Network.Fluent.Models.EffectiveRoute : string * Nullable<bool> * Microsoft.Azure.Management.Network.Fluent.Models.EffectiveRouteSource * Microsoft.Azure.Management.Network.Fluent.Models.EffectiveRouteState * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Network.Fluent.Models.RouteNextHopType -> Microsoft.Azure.Management.Network.Fluent.Models.EffectiveRoute
Public Sub New (Optional name As String = Nothing, Optional disableBgpRoutePropagation As Nullable(Of Boolean) = Nothing, Optional source As EffectiveRouteSource = Nothing, Optional state As EffectiveRouteState = Nothing, Optional addressPrefix As IList(Of String) = Nothing, Optional nextHopIpAddress As IList(Of String) = Nothing, Optional nextHopType As RouteNextHopType = Nothing)

Parameters

name
String

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

disableBgpRoutePropagation
Nullable<Boolean>

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

source
EffectiveRouteSource

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

state
EffectiveRouteState

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

addressPrefix
IList<String>

The address prefixes of the effective routes in CIDR notation.

nextHopIpAddress
IList<String>

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

nextHopType
RouteNextHopType

The type of Azure hop the packet should be sent to. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None'

Applies to