IVirtualNetworkGateway.ListConnectionsAsync(CancellationToken) Method

Definition

Get all the connections associated with this virtual network gateway asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewayConnection>> ListConnectionsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ListConnectionsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewayConnection>>
Public Function ListConnectionsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of IVirtualNetworkGatewayConnection))

Parameters

cancellationToken
CancellationToken

Returns

Applies to