Partager via


ContainerAppManagedEnvironmentResource.GetAuthTokenAsync Méthode

Définition

Vérifie si le nom de la ressource est disponible.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/getAuthtoken
  • IdManagedEnvironments_GetAuthToken d’opération
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))

Paramètres

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à