共用方式為


SiteSlotVirtualNetworkConnectionCollection.GetAllAsync 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}/slots/{slot}/virtualNetworkConnections
  • Operation Id: WebApps_ListVnetConnectionsSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotVirtualNetworkConnectionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SiteSlotVirtualNetworkConnectionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to