ArmNetworkModelFactory.PeerRouteList Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This method is obsolete and will be removed in a future release, please use ArmNetworkModelFactory.PeerRoute instead.
Initializes a new instance of Azure.ResourceManager.Network.Models.PeerRouteList.
[System.Obsolete("This method is obsolete and will be removed in a future release, please use `ArmNetworkModelFactory.PeerRoute` instead.", false)]
public static Azure.ResourceManager.Network.Models.PeerRouteList PeerRouteList(string localAddress = default, string network = default, string nextHop = default, string sourcePeer = default, string origin = default, string asPath = default, int? weight = default);
[<System.Obsolete("This method is obsolete and will be removed in a future release, please use `ArmNetworkModelFactory.PeerRoute` instead.", false)>]
static member PeerRouteList : string * string * string * string * string * string * Nullable<int> -> Azure.ResourceManager.Network.Models.PeerRouteList
Public Shared Function PeerRouteList (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) As PeerRouteList
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.
Returns
A new Azure.ResourceManager.Network.Models.PeerRouteList instance for mocking.
- Attributes