Compartilhar via


RouteFilterResource.GetRouteFilterRule(String, CancellationToken) Método

Definição

Obtém a regra especificada de um filtro de rota.

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

Parâmetros

ruleName
String

O nome da regra.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

ruleName é nulo.

Aplica-se a