ScopeAccessReviewInstanceCollection.GetAll(String, CancellationToken) Method

Definition

Get access review instances

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

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 ScopeAccessReviewInstanceResource that may take multiple service requests to iterate over.

Applies to