共用方式為


WebSiteSlotResource.GetFunctionsAdminTokenSlotAsync(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}/slots/{slot}/functions/admin/token
  • Operation Id: WebApps_GetFunctionsAdminTokenSlot
  • Default Api Version: 2023-12-01
public virtual System.Threading.Tasks.Task<Azure.Response<string>> GetFunctionsAdminTokenSlotAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetFunctionsAdminTokenSlotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
override this.GetFunctionsAdminTokenSlotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
Public Overridable Function GetFunctionsAdminTokenSlotAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of String))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to