MockableRedisEnterpriseSubscriptionResource.GetRedisEnterpriseClusters Method

Definition

Lists all Redis Enterprise clusters in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise
  • Operation Id: RedisEnterprise_List
  • Default Api Version: 2024-09-01-preview
  • Resource: RedisEnterpriseClusterResource
public virtual Azure.Pageable<Azure.ResourceManager.RedisEnterprise.RedisEnterpriseClusterResource> GetRedisEnterpriseClusters (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRedisEnterpriseClusters : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RedisEnterprise.RedisEnterpriseClusterResource>
override this.GetRedisEnterpriseClusters : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RedisEnterprise.RedisEnterpriseClusterResource>
Public Overridable Function GetRedisEnterpriseClusters (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RedisEnterpriseClusterResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to