SubscriptionServicePrincipalOperationsExtensions.GetAsync 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.
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.