Freigeben über


RedisCacheAccessPolicyCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the list of access policies associated with this redis cache

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies
  • Operation Id: AccessPolicy_List
  • Default Api Version: 2024-03-01
  • Resource: RedisCacheAccessPolicyResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Redis.RedisCacheAccessPolicyResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Redis.RedisCacheAccessPolicyResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Redis.RedisCacheAccessPolicyResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RedisCacheAccessPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of RedisCacheAccessPolicyResource that may take multiple service requests to iterate over.

Applies to