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.AppService.Fluent.Models.AppServicePlanInner>> ListByResourceGroupAsync (this Microsoft.Azure.Management.AppService.Fluent.IAppServicePlansOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.AppService.Fluent.IAppServicePlansOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.AppServicePlanInner>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IAppServicePlansOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AppServicePlanInner))

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<AppServicePlanInner>>

Remarks

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

Applies to