Share via


RoleDefinitionOperationsExtensions.ListAsync Method

Definition

Get all role definitions that are applicable at scope and above. Use atScopeAndBelow filter to search below the given scope as well

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionListResult> ListAsync (this Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations operations, string scope, Microsoft.Azure.Management.Authorization.Models.ListDefinitionFilterParameters parameters);
static member ListAsync : Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations * string * Microsoft.Azure.Management.Authorization.Models.ListDefinitionFilterParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionListResult>
<Extension()>
Public Function ListAsync (operations As IRoleDefinitionOperations, scope As String, parameters As ListDefinitionFilterParameters) As Task(Of RoleDefinitionListResult)

Parameters

operations
IRoleDefinitionOperations

Reference to the Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations.

scope
String

Required. Scope

parameters
ListDefinitionFilterParameters

Optional. List role definitions filters.

Returns

Role definition list operation result.

Applies to