RedisOperationsExtensions.ListBySubscriptionAsync Method

Definition

Gets all Redis caches in the specified subscription.

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

Parameters

operations
IRedisOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to