Compartilhar via


ApplicationsOperationsExtensions.GetServicePrincipalsIdByAppIdAsync Método

Definição

Obtém uma ID de objeto para uma determinada ID de aplicativo do locatário atual.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalObjectResultInner> GetServicePrincipalsIdByAppIdAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IApplicationsOperations operations, string applicationID, System.Threading.CancellationToken cancellationToken = default);
static member GetServicePrincipalsIdByAppIdAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IApplicationsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalObjectResultInner>
<Extension()>
Public Function GetServicePrincipalsIdByAppIdAsync (operations As IApplicationsOperations, applicationID As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServicePrincipalObjectResultInner)

Parâmetros

operations
IApplicationsOperations

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

applicationID
String

A ID do aplicativo.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a