Compartir a través de


ContainerAppResource.GetAuthTokenAsync(CancellationToken) Método

Definición

Obtención del token de autenticación para una aplicación contenedora

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/getAuthtoken
  • IdContainerApps_GetAuthToken de operaciones
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

Token de cancelación que se va a usar.

Devoluciones

Se aplica a