Compartilhar via


ServicePrincipalsOperationsExtensions.ListAsync Método

Definição

Obtém uma lista de entidades de serviço do locatário atual.

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

Parâmetros

operations
IServicePrincipalsOperations

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

odataQuery
ODataQuery<ServicePrincipalInner>

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a