Dela via


SiteFunctionResource.GetFunctionKeysAsync(CancellationToken) Method

Definition

Description for Get function keys for a function in a web site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listkeys
  • Operation Id: WebApps_ListFunctionKeys
  • Default Api Version: 2023-12-01
  • Resource: SiteFunctionResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>> GetFunctionKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetFunctionKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>>
override this.GetFunctionKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>>
Public Overridable Function GetFunctionKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppServiceConfigurationDictionary))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to