Language

AccessReviewInstanceCollection.GetAllAsync(String, CancellationToken) Method

Definition

Get access review instances

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/{scheduleDefinitionId}/instances.
  • Operation Id. : AccessReviewInstances_List.
  • Default Api Version. : 2021-12-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Authorization.AccessReviewInstanceResource> GetAllAsync(string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.AccessReviewInstanceResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.AccessReviewInstanceResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AccessReviewInstanceResource)

Parameters

filter
String

The filter to apply on the operation. Other than standard filters, one custom filter option is supported : 'assignedToMeToReview()'. When one specified $filter=assignedToMeToReview(), only items that are assigned to the calling user to review are returned.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to