Dela via


StorageSubscriptionMockingExtension.GetSkus(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.Pageable<Azure.ResourceManager.Storage.Models.StorageSkuInformation> GetSkus (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSkus : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.Models.StorageSkuInformation>
override this.GetSkus : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.Models.StorageSkuInformation>
Public Overridable Function GetSkus (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of StorageSkuInformation)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to