Sdílet prostřednictvím


PrivateLinkResourcesOperationsExtensions.ListByRedisCacheAsync Method

Definition

Gets the private link resources that need to be created for a redis cache.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Redis.Models.PrivateLinkResource>> ListByRedisCacheAsync (this Microsoft.Azure.Management.Redis.IPrivateLinkResourcesOperations operations, string resourceGroupName, string cacheName, System.Threading.CancellationToken cancellationToken = default);
static member ListByRedisCacheAsync : Microsoft.Azure.Management.Redis.IPrivateLinkResourcesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Redis.Models.PrivateLinkResource>>
<Extension()>
Public Function ListByRedisCacheAsync (operations As IPrivateLinkResourcesOperations, resourceGroupName As String, cacheName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of PrivateLinkResource))

Parameters

operations
IPrivateLinkResourcesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

cacheName
String

The name of the Redis cache.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to