RedisOperationsExtensions.ListAsync(IRedisOperations, CancellationToken) 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 = null);
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>>

Parameters

operations
IRedisOperations

The operations group for this extension method.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<RedisResourceInner>>

Applies to