ScopeAccessReviewInstanceCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.AsyncPageable<Azure.ResourceManager.Authorization.ScopeAccessReviewInstanceResource> GetAllAsync(string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.ScopeAccessReviewInstanceResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.ScopeAccessReviewInstanceResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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.