Compartilhar via


AutomanageExtensions.GetServicePrincipal Método

Definição

Obtenha os detalhes da Entidade de Serviço de Aplicativo de primeira parte do AAD de Gerenciamento Automatizado para a ID da assinatura.

  • Caminho da solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Automanage/servicePrincipals/default
  • IdServicePrincipals_Get de operação
public static Azure.Response<Azure.ResourceManager.Automanage.Models.AutomanageServicePrincipalData> GetServicePrincipal (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetServicePrincipal : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automanage.Models.AutomanageServicePrincipalData>
<Extension()>
Public Function GetServicePrincipal (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutomanageServicePrincipalData)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a