Share via


PeerRoute Constructors

Definition

Overloads

PeerRoute()

Initializes a new instance of the PeerRoute class.

PeerRoute(String, String, String, String, String, String, Nullable<Int32>)

Initializes a new instance of the PeerRoute class.

PeerRoute()

Initializes a new instance of the PeerRoute class.

public PeerRoute ();
Public Sub New ()

Applies to

PeerRoute(String, String, String, String, String, String, Nullable<Int32>)

Initializes a new instance of the PeerRoute class.

public PeerRoute (string localAddress = default, string network = default, string nextHop = default, string sourcePeer = default, string origin = default, string asPath = default, int? weight = default);
new Microsoft.Azure.Management.Network.Models.PeerRoute : string * string * string * string * string * string * Nullable<int> -> Microsoft.Azure.Management.Network.Models.PeerRoute
Public Sub New (Optional localAddress As String = Nothing, Optional network As String = Nothing, Optional nextHop As String = Nothing, Optional sourcePeer As String = Nothing, Optional origin As String = Nothing, Optional asPath As String = Nothing, Optional weight As Nullable(Of Integer) = Nothing)

Parameters

localAddress
String

The peer's local address.

network
String

The route's network prefix.

nextHop
String

The route's next hop.

sourcePeer
String

The peer this route was learned from.

origin
String

The source this route was learned from.

asPath
String

The route's AS path sequence.

weight
Nullable<Int32>

The route's weight.

Applies to