Partilhar via


VirtualNetworkGatewayResource.GetConnectionsAsync(CancellationToken) Método

Definição

Obtém todas as conexões em um gateway de rede virtual.

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

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a