共用方式為


SiteSlotInstanceCollection.GetAllAsync(CancellationToken) Method

Definition

Description for Gets all scale-out instances of an app.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to