SiteVirtualNetworkConnectionCollection.GetAllAsync(CancellationToken) Method

Definition

Description for Gets the virtual networks the app (or deployment slot) is connected to.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections
  • Operation Id: WebApps_ListVnetConnections
  • Default Api Version: 2023-12-01
  • Resource: SiteVirtualNetworkConnectionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SiteVirtualNetworkConnectionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to