ArmNetworkModelFactory.StaticRoute Method

Definition

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.

Applies to