DatabaseCollection.GetAll(CancellationToken) Method

Definition

Gets all databases in the specified RedisEnterprise cluster. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases Operation Id: Databases_ListByCluster

public virtual Azure.Pageable<Azure.ResourceManager.RedisEnterpriseCache.DatabaseResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RedisEnterpriseCache.DatabaseResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RedisEnterpriseCache.DatabaseResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DatabaseResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to