共用方式為


VpnConnectionCollection.GetAll(CancellationToken) Method

Definition

Retrieves all vpn connections for a particular virtual wan vpn gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections
  • Operation Id: VpnConnections_ListByVpnGateway
  • Default Api Version: 2024-03-01
  • Resource: VpnConnectionResource
public virtual Azure.Pageable<Azure.ResourceManager.Network.VpnConnectionResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VpnConnectionResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VpnConnectionResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VpnConnectionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of VpnConnectionResource that may take multiple service requests to iterate over.

Applies to