MockableRedisSubscriptionResource.GetAllRedis(CancellationToken) Method

Definition

Gets all Redis caches in the specified subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to