共用方式為


CachesExtensions.ListByResourceGroupAsync Method

Definition

Returns all Caches the user has access to under a resource group.

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

Parameters

operations
ICaches

The operations group for this extension method.

resourceGroupName
String

Target resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to