CachesExtensions.ListAsync(ICaches, CancellationToken) Method

Definition

Returns all Caches the user has access to under a subscription.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageCache.Models.CachesListResult> ListAsync (this Microsoft.Azure.Management.StorageCache.ICaches operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.StorageCache.ICaches * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageCache.Models.CachesListResult>
<Extension()>
Public Function ListAsync (operations As ICaches, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CachesListResult)

Parameters

operations
ICaches

The operations group for this extension method.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<CachesListResult>

Applies to