Delen via


RoleDefinitionsOperationsExtensions.ListAsync Method

Definition

Get all role definitions that are applicable at scope and above.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleDefinitionInner>> ListAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinitionsOperations operations, string scope, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleDefinitionFilter> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinitionsOperations * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleDefinitionFilter> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleDefinitionInner>>
<Extension()>
Public Function ListAsync (operations As IRoleDefinitionsOperations, scope As String, Optional odataQuery As ODataQuery(Of RoleDefinitionFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RoleDefinitionInner))

Parameters

operations
IRoleDefinitionsOperations

The operations group for this extension method.

scope
String

The scope of the role definition.

odataQuery
ODataQuery<RoleDefinitionFilter>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to