Partilhar via


VirtualNetworkGatewayCollection.GetAllAsync(CancellationToken) Método

Definição

Obtém todos os gateways de rede virtual por grupo de recursos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways
  • Operação IdVirtualNetworkGateways_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualNetworkGatewayResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualNetworkGatewayResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualNetworkGatewayResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualNetworkGatewayResource)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a