Compartilhar via


RouteFilterCollection.GetAsync(String, String, CancellationToken) Método

Definição

Obtém o filtro de rota especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}
  • Operação IdRouteFilters_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.RouteFilterResource>> GetAsync (string routeFilterName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.RouteFilterResource>>
override this.GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.RouteFilterResource>>
Public Overridable Function GetAsync (routeFilterName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RouteFilterResource))

Parâmetros

routeFilterName
String

O nome do filtro de rota.

expand
String

Expande os recursos de emparelhamento bgp de rota expressa referenciados.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

routeFilterName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

routeFilterName é nulo.

Aplica-se a