WebAppsOperationsExtensions.ListByResourceGroupAsync(IWebAppsOperations, String, Nullable<Boolean>, CancellationToken) Method

Definition

Gets all web, mobile, and API apps in the specified resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner>> ListByResourceGroupAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, Nullable<bool> includeSlots = null, System.Threading.CancellationToken cancellationToken = null);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner>>

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

includeSlots
Nullable<Boolean>

Specify <strong>true</strong> to include deployment slots in results. The default is false, which only gives you the production slot of all apps.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.IPage<SiteInner>>

Remarks

Gets all web, mobile, and API apps in the specified resource group.

Applies to