RoleEligibilityScheduleInstanceCollection.GetAll メソッド

定義

ロール適格性スケジュールのロール適格性スケジュール インスタンスを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances
  • 操作IdRoleEligibilityScheduleInstances_ListForScope
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)

パラメーター

filter
String

操作に適用するフィルター。 スコープ以上のすべてのロール割り当てスケジュールを返すには、$filter=atScope() を使用します。 $filter=principalId eq {id} を使用して、指定したプリンシパルのスコープの上または下にあるすべてのロール割り当てスケジュールを返します。 $filter=assignedTo('{userId}') を使用して、ユーザーのすべてのロール適格性スケジュールを返します。 $filter=asTarget() を使用して、現在のユーザーに対して作成されたすべてのロール適格性スケジュールを返します。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の RoleEligibilityScheduleInstanceResource サービス要求を受け取る可能性がある のコレクション。

適用対象