Share via


MockableAutomanageSubscriptionResource.GetServicePrincipal Method

Definition

Get the Automanage AAD first party Application Service Principal details for the subscription id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Automanage/servicePrincipals/default
  • Operation Id: ServicePrincipals_Get
public virtual Azure.Response<Azure.ResourceManager.Automanage.Models.AutomanageServicePrincipalData> GetServicePrincipal (System.Threading.CancellationToken cancellationToken = default);
abstract member GetServicePrincipal : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automanage.Models.AutomanageServicePrincipalData>
override this.GetServicePrincipal : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automanage.Models.AutomanageServicePrincipalData>
Public Overridable Function GetServicePrincipal (Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutomanageServicePrincipalData)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to