Udostępnij za pośrednictwem


RoleEligibilityScheduleInstanceCollection.GetAll Method

Definition

Gets role eligibility schedule instances of a role eligibility schedule.

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

Parameters

filter
String

The filter to apply on the operation. Use $filter=atScope() to return all role assignment schedules at or above the scope. Use $filter=principalId eq {id} to return all role assignment schedules at, above or below the scope for the specified principal. Use $filter=assignedTo('{userId}') to return all role eligibility schedules for the user. Use $filter=asTarget() to return all role eligibility schedules created for the current user.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to