AppServicePlansOperationsExtensions.ListByResourceGroupAsync(IAppServicePlansOperations, String, CancellationToken) Method

Definition

Get all App Service plans in a resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.AppServicePlan>> ListByResourceGroupAsync (this Microsoft.Azure.Management.WebSites.IAppServicePlansOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.WebSites.IAppServicePlansOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.AppServicePlan>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IAppServicePlansOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AppServicePlan))

Parameters

operations
IAppServicePlansOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<AppServicePlan>>

Remarks

Description for Get all App Service plans in a resource group.

Applies to