SubscriptionServicePrincipalOperationsExtensions.GetAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Models.SubscriptionServicePrincipalGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.ISubscriptionServicePrincipalOperations operations, string servicePrincipalId);
static member GetAsync : Microsoft.WindowsAzure.Management.ISubscriptionServicePrincipalOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Models.SubscriptionServicePrincipalGetResponse>
<Extension()>
Public Function GetAsync (operations As ISubscriptionServicePrincipalOperations, servicePrincipalId As String) As Task(Of SubscriptionServicePrincipalGetResponse)

Parameters

operations
ISubscriptionServicePrincipalOperations

Reference to the Microsoft.WindowsAzure.Management.ISubscriptionServicePrincipalOperations.

servicePrincipalId
String

Required. The Id of the service principal.

Returns

The Get Service Principal operation response.

Applies to