Share via


WebSiteSlotCollection.GetAllAsync(CancellationToken) Method

Definition

Description for Gets an app's deployment slots.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to