Delen via


SiteVirtualNetworkConnectionCollection.GetAll(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.Pageable<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SiteVirtualNetworkConnectionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to