MockableStorageCacheSubscriptionResource.GetUsageModels Method

Definition

Get the list of cache usage models available to this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels
  • Operation Id: UsageModels_List
  • Default Api Version: 2024-03-01
public virtual Azure.Pageable<Azure.ResourceManager.StorageCache.Models.StorageCacheUsageModel> GetUsageModels (System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsageModels : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StorageCache.Models.StorageCacheUsageModel>
override this.GetUsageModels : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StorageCache.Models.StorageCacheUsageModel>
Public Overridable Function GetUsageModels (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of StorageCacheUsageModel)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to