Compartilhar via


ManagedNetworkFabricExtensions.GetNetworkRacksAsync Método

Definição

Listar todos os recursos do Rack de Rede na assinatura fornecida

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

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 NetworkRackResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a