次の方法で共有


RoleAssignmentScheduleInstanceCollection.GetAll メソッド

定義

ロール割り当てスケジュールのロール割り当てスケジュール インスタンスを取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances
  • 操作IdRoleAssignmentScheduleInstances_ListForScope
public virtual Azure.Pageable<Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceResource> GetAll (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RoleAssignmentScheduleInstanceResource)

パラメーター

filter
String

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

cancellationToken
CancellationToken

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

戻り値

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

適用対象