Partilhar via


RoleDefinitionsOperationsExtensions.ListAsync Método

Definição

Obtenha todas as definições de função aplicáveis no escopo e acima.

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))

Parâmetros

operations
IRoleDefinitionsOperations

O grupo de operações para esse método de extensão.

scope
String

O escopo da definição de função.

odataQuery
ODataQuery<RoleDefinitionFilter>

Parâmetros OData a serem aplicados à operação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a