Share via


AppServicePlansOperationsExtensions.ListAsync Method

Definition

Get all App Service plans for a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.AppServicePlan>> ListAsync (this Microsoft.Azure.Management.WebSites.IAppServicePlansOperations operations, bool? detailed = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.WebSites.IAppServicePlansOperations * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.AppServicePlan>>
<Extension()>
Public Function ListAsync (operations As IAppServicePlansOperations, Optional detailed As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AppServicePlan))

Parameters

operations
IAppServicePlansOperations

The operations group for this extension method.

detailed
Nullable<Boolean>

Specify <code>true</code> to return all App Service plan properties. The default is <code>false</code>, which returns a subset of the properties. Retrieval of all properties may increase the API latency.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Get all App Service plans for a subscription.

Applies to