Share via


ServicePrincipalsOperations.GetServicePrincipalWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.Models.MicrosoftGraphServicePrincipal>> GetServicePrincipalWithHttpMessagesAsync (string servicePrincipalId, string consistencyLevel = default, System.Collections.Generic.IList<string> select = default, System.Collections.Generic.IList<string> expand = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServicePrincipalWithHttpMessagesAsync : string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.Models.MicrosoftGraphServicePrincipal>>
override this.GetServicePrincipalWithHttpMessagesAsync : string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.Models.MicrosoftGraphServicePrincipal>>
Public Function GetServicePrincipalWithHttpMessagesAsync (servicePrincipalId As String, Optional consistencyLevel As String = Nothing, Optional select As IList(Of String) = Nothing, Optional expand As IList(Of String) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of MicrosoftGraphServicePrincipal))

Parameters

servicePrincipalId
String
consistencyLevel
String
select
IList<String>
expand
IList<String>
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Implements

Applies to