MockableRedisEnterpriseSubscriptionResource.GetRedisEnterpriseClustersAsync Method

Definition

Lists all Redis Enterprise clusters in the specified subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise.
  • Operation Id. : Clusters_List.
  • Default Api Version. : 2025-08-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.RedisEnterprise.RedisEnterpriseClusterResource> GetRedisEnterpriseClustersAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetRedisEnterpriseClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RedisEnterprise.RedisEnterpriseClusterResource>
override this.GetRedisEnterpriseClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RedisEnterprise.RedisEnterpriseClusterResource>
Public Overridable Function GetRedisEnterpriseClustersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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