语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

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