Dela via


RoleAssignmentScheduleRequestCollection.GetAllAsync Method

Definition

Gets role assignment schedule requests for a scope.

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

Parameters

filter
String

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of RoleAssignmentScheduleRequestResource that may take multiple service requests to iterate over.

Applies to