共用方式為


MockableRedisEnterpriseSubscriptionResource.GetRedisEnterpriseClustersAsync 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.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

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

Applies to