RoleAssignmentCollection.GetAllAsync メソッド

定義

スコープに適用されるすべてのロールの割り当てを一覧表示します。

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

パラメーター

filter
String

操作に適用するフィルター。 スコープ以上のすべてのロールの割り当てを返すには、$filter=atScope() を使用します。 $filter=principalId eq {id} を使用して、指定したプリンシパルのスコープの上または下にあるすべてのロールの割り当てを返します。

tenantId
String

テナント間要求のテナント ID。

skipToken
String

操作に適用する skipToken。 渡された skipToken の後にページ ロールの割り当てを返すには、$skipToken={skiptoken} を使用します。 プロバイダー レベルの呼び出しでのみサポートされます。

cancellationToken
CancellationToken

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

戻り値

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

適用対象