Share via


RoleEligibilityScheduleRequestCollection.GetAll Method

Definition

Gets role eligibility schedule requests for a scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests
  • Operation Id: RoleEligibilityScheduleRequests_ListForScope
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
public virtual Azure.Pageable<Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestResource> GetAll (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RoleEligibilityScheduleRequestResource)

Parameters

filter
String

The filter to apply on the operation. Use $filter=atScope() to return all role eligibility schedule requests at or above the scope. Use $filter=principalId eq {id} to return all role eligibility schedule requests at, above or below the scope for the specified principal. Use $filter=asRequestor() to return all role eligibility schedule requests requested by the current user. Use $filter=asTarget() to return all role eligibility schedule requests created for the current user. Use $filter=asApprover() to return all role eligibility schedule requests where the current user is an approver.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of RoleEligibilityScheduleRequestResource that may take multiple service requests to iterate over.

Applies to