RoleAssignmentScheduleRequestCollection.GetAll Method

Definition

Gets role assignment schedule requests for a scope. Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests Operation Id: RoleAssignmentScheduleRequests_ListForScope

public virtual Azure.Pageable<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource> GetAll (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

Pageable<RoleAssignmentScheduleRequestResource>

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

Applies to