Compartir a través de


ContainerAppManagedEnvironmentResource.GetAuthTokenAsync Método

Definición

Comprueba si el nombre del recurso está disponible.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/getAuthtoken
  • IdManagedEnvironments_GetAuthToken de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppEnvironmentAuthToken>> GetAuthTokenAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAuthTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppEnvironmentAuthToken>>
override this.GetAuthTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppEnvironmentAuthToken>>
Public Overridable Function GetAuthTokenAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppEnvironmentAuthToken))

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a