AuthorizationExtensions.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 assigned for my approval. <item> Mocking. To mock this method, please mock GetAllAsync(String, CancellationToken) instead. </item>
public static Azure.AsyncPageable<Azure.ResourceManager.Authorization.AccessReviewScheduleDefinitionData> GetAllAsync(this Azure.ResourceManager.Resources.TenantResource tenantResource, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAllAsync : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.AccessReviewScheduleDefinitionData>
<Extension()>
Public Function GetAllAsync (tenantResource As TenantResource, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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.