Compartilhar via


ContainerAppResource.GetAuthTokenAsync(CancellationToken) Método

Definição

Obter token de autenticação para um aplicativo de contêiner

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/getAuthtoken
  • Operação IdContainerApps_GetAuthToken
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppAuthToken>> GetAuthTokenAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAuthTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppAuthToken>>
override this.GetAuthTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppAuthToken>>
Public Overridable Function GetAuthTokenAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppAuthToken))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a