Partilhar via


AutomanageExtensions.GetServicePrincipalAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automanage.Models.AutomanageServicePrincipalData>> GetServicePrincipalAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetServicePrincipalAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automanage.Models.AutomanageServicePrincipalData>>
<Extension()>
Public Function GetServicePrincipalAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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