WebAppsOperationsExtensions.ListByResourceGroupAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, bool? includeSlots = default, System.Threading.CancellationToken cancellationToken = default);
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>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IWebAppsOperations, resourceGroupName As String, Optional includeSlots As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SiteInner))
Parameters
- operations
- IWebAppsOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of the resource group to which the resource belongs.
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
Remarks
Description for Gets all web, mobile, and API apps in the specified resource group.
Applies to
Azure SDK for .NET