Compartilhar via


ManagedNetworkFabricExtensions.GetNetworkFabricRoutePolicyAsync Método

Definição

Implementa o método GET da Política de Rota.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}
  • IdRoutePolicies_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricRoutePolicyResource>> GetNetworkFabricRoutePolicyAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string routePolicyName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricRoutePolicyAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricRoutePolicyResource>>
<Extension()>
Public Function GetNetworkFabricRoutePolicyAsync (resourceGroupResource As ResourceGroupResource, routePolicyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkFabricRoutePolicyResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

routePolicyName
String

Nome da Política de Rota.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

routePolicyName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

routePolicyName é nulo.

Aplica-se a