AuthorizationExtensions.GetAll Method

Definition

Get access review instances assigned for my approval. <item> Mocking. To mock this method, please mock GetAll(String, CancellationToken) instead. </item>

public static Azure.Pageable<Azure.ResourceManager.Authorization.AccessReviewScheduleDefinitionData> GetAll(this Azure.ResourceManager.Resources.TenantResource tenantResource, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAll : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Authorization.AccessReviewScheduleDefinitionData>
<Extension()>
Public Function GetAll (tenantResource As TenantResource, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AccessReviewScheduleDefinitionData)

Parameters

tenantResource
TenantResource

The TenantResource the method will execute against.

filter
String

The filter to apply on the operation. One custom filter option is supported : 'assignedToMeToReview()'. When 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 AccessReviewScheduleDefinitionData that may take multiple service requests to iterate over.

Exceptions

tenantResource is null.

Applies to