Partilhar via


MockableStorageCacheSubscriptionResource.GetStorageCaches Method

Definition

Returns all caches the user has access to under a subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to