Dela via


EffectiveRoute Constructors

Definition

Overloads

EffectiveRoute()

Initializes a new instance of the EffectiveRoute class.

EffectiveRoute(String, Nullable<Boolean>, String, String, IList<String>, IList<String>, String)

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>, String, String, IList<String>, IList<String>, String)

Initializes a new instance of the EffectiveRoute class.

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

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

state
String

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
String

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

Applies to