Share via


SiteFunctionResource.GetFunctionSecretsAsync(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to