Compartilhar via


VirtualNetworkGatewaysOperationsExtensions.BeginGetAdvertisedRoutesAsync Método

Definição

Essa operação recupera uma lista de rotas que o gateway de rede virtual está anunciando para o par especificado.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.GatewayRouteListResultInner> BeginGetAdvertisedRoutesAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, string peer, System.Threading.CancellationToken cancellationToken = default);
static member BeginGetAdvertisedRoutesAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.GatewayRouteListResultInner>
<Extension()>
Public Function BeginGetAdvertisedRoutesAsync (operations As IVirtualNetworkGatewaysOperations, resourceGroupName As String, virtualNetworkGatewayName As String, peer As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GatewayRouteListResultInner)

Parâmetros

operations
IVirtualNetworkGatewaysOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

virtualNetworkGatewayName
String

O nome do gateway de rede virtual.

peer
String

O endereço IP do par.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a