Share via


StorageSubscriptionMockingExtension.GetSkusAsync(CancellationToken) Method

Definition

Lists the available SKUs supported by Microsoft.Storage for given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus
  • Operation Id: Skus_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StorageSkuInformation> GetSkusAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StorageSkuInformation>
override this.GetSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StorageSkuInformation>
Public Overridable Function GetSkusAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageSkuInformation)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to