Dela via


RedisEnterpriseDatabaseCollection.GetAll(CancellationToken) Method

Definition

Gets all databases in the specified Redis Enterprise cluster.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to