ArmNetworkModelFactory.StaticRoute 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.
public static Azure.ResourceManager.Network.Models.StaticRoute StaticRoute(string name = default, System.Collections.Generic.IEnumerable<string> addressPrefixes = default, string nextHopIpAddress = default);
static member StaticRoute : string * seq<string> * string -> Azure.ResourceManager.Network.Models.StaticRoute
Public Shared Function StaticRoute (Optional name As String = Nothing, Optional addressPrefixes As IEnumerable(Of String) = Nothing, Optional nextHopIpAddress As String = Nothing) As StaticRoute
Parameters
- name
- String
The name of the StaticRoute that is unique within a VnetRoute.
- addressPrefixes
- IEnumerable<String>
List of all address prefixes.
- nextHopIpAddress
- String
The ip address of the next hop.
Returns
A new StaticRoute instance for mocking.