Partager via


ServicePrincipalsOperationsExtensions.GetServicePrincipalAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.Models.MicrosoftGraphServicePrincipal> GetServicePrincipalAsync (this Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.IServicePrincipalsOperations operations, string servicePrincipalId, string consistencyLevel = default, System.Collections.Generic.IList<string> select = default, System.Collections.Generic.IList<string> expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetServicePrincipalAsync : Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.IServicePrincipalsOperations * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.Models.MicrosoftGraphServicePrincipal>
<Extension()>
Public Function GetServicePrincipalAsync (operations As IServicePrincipalsOperations, servicePrincipalId As String, Optional consistencyLevel As String = Nothing, Optional select As IList(Of String) = Nothing, Optional expand As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MicrosoftGraphServicePrincipal)

Parameters

servicePrincipalId
String
consistencyLevel
String
select
IList<String>
expand
IList<String>
cancellationToken
CancellationToken

Returns

Applies to