次の方法で共有


RoleEligibilityScheduleInstanceCollection.GetAllAsync メソッド

定義

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

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances
  • 操作IdRoleEligibilityScheduleInstances_ListForScope
public virtual Azure.AsyncPageable<Azure.ResourceManager.Authorization.RoleEligibilityScheduleInstanceResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.RoleEligibilityScheduleInstanceResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.RoleEligibilityScheduleInstanceResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RoleEligibilityScheduleInstanceResource)

パラメーター

filter
String

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

cancellationToken
CancellationToken

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

戻り値

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

適用対象