AppServicePlanResource.GetWebAppsAsync Method

Definition

Description for Get all apps associated with an App Service plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites
  • Operation Id: AppServicePlans_ListWebApps
  • Default Api Version: 2023-12-01
  • Resource: AppServicePlanResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.WebSiteData> GetWebAppsAsync (string skipToken = default, string filter = default, string top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebAppsAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.WebSiteData>
override this.GetWebAppsAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.WebSiteData>
Public Overridable Function GetWebAppsAsync (Optional skipToken As String = Nothing, Optional filter As String = Nothing, Optional top As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WebSiteData)

Parameters

skipToken
String

Skip to a web app in the list of webapps associated with app service plan. If specified, the resulting list will contain web apps starting from (including) the skipToken. Otherwise, the resulting list contains web apps from the start of the list.

filter
String

Supported filter: $filter=state eq running. Returns only web apps that are currently running.

top
String

List page size. If specified, results are paged.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to