Partilhar via


NetworkExtensions.GetExpressRoutePortsAsync Método

Definição

Liste todos os recursos do ExpressRoutePort na assinatura especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts
  • IdExpressRoutePorts_List de operação
public static Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRoutePortResource> GetExpressRoutePortsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRoutePortsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRoutePortResource>
<Extension()>
Public Function GetExpressRoutePortsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ExpressRoutePortResource)

Parâmetros

subscriptionResource
SubscriptionResource

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a