共用方式為


WebSiteResource.GetFunctionsAdminTokenAsync(CancellationToken) Method

Definition

Description for Fetch a short lived token that can be exchanged for a master key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token
  • Operation Id: WebApps_GetFunctionsAdminToken
  • Default Api Version: 2023-12-01
public virtual System.Threading.Tasks.Task<Azure.Response<string>> GetFunctionsAdminTokenAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetFunctionsAdminTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
override this.GetFunctionsAdminTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
Public Overridable Function GetFunctionsAdminTokenAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of String))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to