RedisResource.GetPrivateLinkResourcesByRedisCacheAsync Method

Definition

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

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateLinkResources.
  • Operation Id. : RedisResources_ListByRedisCache.
  • Default Api Version. : 2025-08-01-preview.
  • Resource. : RedisResource.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Redis.Models.RedisPrivateLinkResource> GetPrivateLinkResourcesByRedisCacheAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateLinkResourcesByRedisCacheAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Redis.Models.RedisPrivateLinkResource>
override this.GetPrivateLinkResourcesByRedisCacheAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Redis.Models.RedisPrivateLinkResource>
Public Overridable Function GetPrivateLinkResourcesByRedisCacheAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RedisPrivateLinkResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of RedisPrivateLinkResource that may take multiple service requests to iterate over.

Applies to