Language

MockableStorageSubscriptionResource.GetContextCachesAsync Method

Definition

List Context Caches by subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Storage/contextCaches.
  • Operation Id. : ContextCaches_ListBySubscription.
  • Default Api Version. : 2026-06-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.ContextCacheResource> GetContextCachesAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetContextCachesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.ContextCacheResource>
override this.GetContextCachesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.ContextCacheResource>
Public Overridable Function GetContextCachesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContextCacheResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to