Compartir a través de


ArmNetworkModelFactory.EffectiveRoute Método

Definición

Inicializa una nueva instancia de EffectiveRoute.

public static Azure.ResourceManager.Network.Models.EffectiveRoute EffectiveRoute (string name = default, bool? disableBgpRoutePropagation = default, Azure.ResourceManager.Network.Models.EffectiveRouteSource? source = default, Azure.ResourceManager.Network.Models.EffectiveRouteState? state = default, System.Collections.Generic.IEnumerable<string> addressPrefix = default, System.Collections.Generic.IEnumerable<string> nextHopIPAddress = default, Azure.ResourceManager.Network.Models.RouteNextHopType? nextHopType = default);
static member EffectiveRoute : string * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.EffectiveRouteSource> * Nullable<Azure.ResourceManager.Network.Models.EffectiveRouteState> * seq<string> * seq<string> * Nullable<Azure.ResourceManager.Network.Models.RouteNextHopType> -> Azure.ResourceManager.Network.Models.EffectiveRoute
Public Shared Function EffectiveRoute (Optional name As String = Nothing, Optional disableBgpRoutePropagation As Nullable(Of Boolean) = Nothing, Optional source As Nullable(Of EffectiveRouteSource) = Nothing, Optional state As Nullable(Of EffectiveRouteState) = Nothing, Optional addressPrefix As IEnumerable(Of String) = Nothing, Optional nextHopIPAddress As IEnumerable(Of String) = Nothing, Optional nextHopType As Nullable(Of RouteNextHopType) = Nothing) As EffectiveRoute

Parámetros

name
String

Nombre de la ruta definida por el usuario. Esto es opcional.

disableBgpRoutePropagation
Nullable<Boolean>

Si es true, las rutas locales no se propagan a las interfaces de red de la subred.

source
Nullable<EffectiveRouteSource>

Quién creó la ruta.

state
Nullable<EffectiveRouteState>

Valor de ruta efectiva.

addressPrefix
IEnumerable<String>

Prefijos de dirección de las rutas efectivas en notación CIDR.

nextHopIPAddress
IEnumerable<String>

Dirección IP del próximo salto de la ruta efectiva.

nextHopType
Nullable<RouteNextHopType>

El tipo de salto de Azure al que debe enviarse el paquete.

Devoluciones

EffectiveRoute Nueva instancia para simular.

Se aplica a