Sdílet prostřednictvím


AppServiceExtensions.GetSkus(SubscriptionResource, CancellationToken) Method

Definition

Description for List all SKUs.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/skus
  • Operation Id: ListSkus
  • Default Api Version: 2023-12-01
public static Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceSkuResult> GetSkus (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSkus : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceSkuResult>
<Extension()>
Public Function GetSkus (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AppServiceSkuResult)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to