ServicePrincipalsOperationsExtensions.GetServicePrincipalAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- operations
- IServicePrincipalsOperations
- servicePrincipalId
- String
- consistencyLevel
- String
- cancellationToken
- CancellationToken