Udostępnij za pośrednictwem


ContainerAppResource.GetAuthTokenAsync(CancellationToken) Method

Definition

Get auth token for a container app

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/getAuthtoken
  • Operation Id: ContainerApps_GetAuthToken
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppResource
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))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to