Share via


AppServicePlanResource.GetWebApps 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: 2021-02-01
  • Resource: AppServicePlanResource
public virtual Azure.Pageable<Azure.ResourceManager.AppService.WebSiteData> GetWebApps (string skipToken = default, string filter = default, string top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebApps : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.WebSiteData>
override this.GetWebApps : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.WebSiteData>
Public Overridable Function GetWebApps (Optional skipToken As String = Nothing, Optional filter As String = Nothing, Optional top As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Applies to