Udostępnij za pośrednictwem


ContainerAppManagedEnvironmentResource.GetAuthToken(CancellationToken) Method

Definition

Checks if resource name is available.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/getAuthtoken
  • Operation Id: ManagedEnvironments_GetAuthToken
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
public virtual Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppEnvironmentAuthToken> GetAuthToken (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAuthToken : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppEnvironmentAuthToken>
override this.GetAuthToken : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppEnvironmentAuthToken>
Public Overridable Function GetAuthToken (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppEnvironmentAuthToken)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to