Udostępnij za pośrednictwem


AppServiceExtensions.GetPremierAddOnOffersAsync Method

Definition

Description for List all premier add-on offers.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to