共用方式為


AppServicePlanResource.GetCapabilitiesAsync(CancellationToken) Method

Definition

Description for List all capabilities of an App Service plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/capabilities
  • Operation Id: AppServicePlans_ListCapabilities
  • Default Api Version: 2024-04-01
  • Resource: AppServicePlanResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceSkuCapability> GetCapabilitiesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetCapabilitiesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceSkuCapability>
override this.GetCapabilitiesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceSkuCapability>
Public Overridable Function GetCapabilitiesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppServiceSkuCapability)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AppServiceSkuCapability that may take multiple service requests to iterate over.

Applies to