Compartilhar via


ManagedNetworkFabricExtensions.GetNetworkFabricRoutePoliciesAsync Método

Definição

Implementa a lista RoutePolicies por método GET de assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/routePolicies
  • Operação IdRoutePolicies_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricRoutePolicyResource> GetNetworkFabricRoutePoliciesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricRoutePoliciesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricRoutePolicyResource>
<Extension()>
Public Function GetNetworkFabricRoutePoliciesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkFabricRoutePolicyResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de NetworkFabricRoutePolicyResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a