共用方式為


AppServicePlansOperationsExtensions.ListByResourceGroupAsync 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
String

Name of the resource group to which the resource belongs.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to