共用方式為


VirtualNetworkGatewaysOperationsExtensions.ListConnectionsAsync Method

Definition

Gets all the connections in a virtual network gateway.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionListEntityInner>> ListConnectionsAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default);
static member ListConnectionsAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionListEntityInner>>
<Extension()>
Public Function ListConnectionsAsync (operations As IVirtualNetworkGatewaysOperations, resourceGroupName As String, virtualNetworkGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of VirtualNetworkGatewayConnectionListEntityInner))

Parameters

operations
IVirtualNetworkGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkGatewayName
String

The name of the virtual network gateway.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to