ArmNetworkModelFactory.GatewayEffectiveRoute 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.
Gateway effective routing details.
public static Azure.ResourceManager.Network.Models.GatewayEffectiveRoute GatewayEffectiveRoute(string localAddress = default, System.Collections.Generic.IEnumerable<string> addressPrefixes = default, string nextHopIPAddress = default, Azure.ResourceManager.Network.Models.GatewayEffectiveRouteNextHopType? nextHopType = default);
static member GatewayEffectiveRoute : string * seq<string> * string * Nullable<Azure.ResourceManager.Network.Models.GatewayEffectiveRouteNextHopType> -> Azure.ResourceManager.Network.Models.GatewayEffectiveRoute
Public Shared Function GatewayEffectiveRoute (Optional localAddress As String = Nothing, Optional addressPrefixes As IEnumerable(Of String) = Nothing, Optional nextHopIPAddress As String = Nothing, Optional nextHopType As Nullable(Of GatewayEffectiveRouteNextHopType) = Nothing) As GatewayEffectiveRoute
Parameters
- localAddress
- String
The gateway's local address.
- addressPrefixes
- IEnumerable<String>
The list of address prefixes for the effective route.
- nextHopIPAddress
- String
The IP address of the next hop for the effective route.
- nextHopType
- Nullable<GatewayEffectiveRouteNextHopType>
The next hop type of the effective route.
Returns
A new GatewayEffectiveRoute instance for mocking.