Compartilhar via


ArmNetworkModelFactory.EffectiveRoute Método

Definição

Inicializa uma nova instância do 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

O nome da rota definida pelo usuário. Isso é opcional.

disableBgpRoutePropagation
Nullable<Boolean>

Se for true, as rotas locais não serão propagadas para os adaptadores de rede na sub-rede.

source
Nullable<EffectiveRouteSource>

Quem criou a rota.

state
Nullable<EffectiveRouteState>

O valor da rota efetiva.

addressPrefix
IEnumerable<String>

Os prefixos de endereço das rotas efetivas na notação CIDR.

nextHopIPAddress
IEnumerable<String>

O endereço IP do próximo salto da rota efetiva.

nextHopType
Nullable<RouteNextHopType>

O tipo de salto do Azure ao qual o pacote deve ser enviado.

Retornos

Uma nova EffectiveRoute instância para simulação.

Aplica-se a