共用方式為


VpnSiteLinkConnectionCollection.GetAllAsync(CancellationToken) Method

Definition

Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections
  • Operation Id: VpnLinkConnections_ListByVpnConnection
  • Default Api Version: 2023-09-01
  • Resource: VpnSiteLinkConnectionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.VpnSiteLinkConnectionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VpnSiteLinkConnectionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VpnSiteLinkConnectionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VpnSiteLinkConnectionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of VpnSiteLinkConnectionResource that may take multiple service requests to iterate over.

Applies to