ISubscriptionServicePrincipalOperations.GetAsync Method

Definition

The Get Service Principal operation retrieves the service principalwith the specified servicePrincipalId, if it exists in the subscription.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Models.SubscriptionServicePrincipalGetResponse> GetAsync (string servicePrincipalId, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Models.SubscriptionServicePrincipalGetResponse>
Public Function GetAsync (servicePrincipalId As String, cancellationToken As CancellationToken) As Task(Of SubscriptionServicePrincipalGetResponse)

Parameters

servicePrincipalId
String

The Id of the service principal.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Get Service Principal operation response.

Applies to