Share via


RedisCacheAccessPolicyAssignmentCollection.GetAllAsync Method

Definition

Gets the list of access policy assignments associated with this redis cache

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to