Share via


ContainerAppResource.GetAuthToken(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 Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppAuthToken> GetAuthToken (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAuthToken : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppAuthToken>
override this.GetAuthToken : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppAuthToken>
Public Overridable Function GetAuthToken (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppAuthToken)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to