RedisOperationsExtensions.ListAsync Method

Definition

Gets all Redis caches in the specified subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Redis.Fluent.Models.RedisResourceInner>> ListAsync (this Microsoft.Azure.Management.Redis.Fluent.IRedisOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Redis.Fluent.IRedisOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Redis.Fluent.Models.RedisResourceInner>>
<Extension()>
Public Function ListAsync (operations As IRedisOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RedisResourceInner))

Parameters

operations
IRedisOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to