AppServiceEnvironmentResource.GetAppServicePlansAsync 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.
Description for Get all App Service plans in an App Service Environment.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms
- Operation Id: AppServiceEnvironments_ListAppServicePlans
- Default Api Version: 2023-12-01
- Resource: AppServiceEnvironmentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServicePlanResource> GetAppServicePlansAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppServicePlansAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServicePlanResource>
override this.GetAppServicePlansAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServicePlanResource>
Public Overridable Function GetAppServicePlansAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppServicePlanResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of AppServicePlanResource that may take multiple service requests to iterate over.