Share via


StaticRoute Constructors

Definition

Overloads

StaticRoute()

Initializes a new instance of the StaticRoute class.

StaticRoute(String, IList<String>, String)

Initializes a new instance of the StaticRoute class.

StaticRoute()

Initializes a new instance of the StaticRoute class.

public StaticRoute ();
Public Sub New ()

Applies to

StaticRoute(String, IList<String>, String)

Initializes a new instance of the StaticRoute class.

public StaticRoute (string name = default, System.Collections.Generic.IList<string> addressPrefixes = default, string nextHopIpAddress = default);
new Microsoft.Azure.Management.Network.Models.StaticRoute : string * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.Network.Models.StaticRoute
Public Sub New (Optional name As String = Nothing, Optional addressPrefixes As IList(Of String) = Nothing, Optional nextHopIpAddress As String = Nothing)

Parameters

name
String

The name of the StaticRoute that is unique within a VnetRoute.

addressPrefixes
IList<String>

List of all address prefixes.

nextHopIpAddress
String

The ip address of the next hop.

Applies to