ISubscriptionServicePrincipalOperations.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 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.