共用方式為


SiteFunctionResource.GetFunctionSecrets(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 Azure.Response<Azure.ResourceManager.AppService.Models.FunctionSecrets> GetFunctionSecrets (System.Threading.CancellationToken cancellationToken = default);
abstract member GetFunctionSecrets : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.FunctionSecrets>
override this.GetFunctionSecrets : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.FunctionSecrets>
Public Overridable Function GetFunctionSecrets (Optional cancellationToken As CancellationToken = Nothing) As Response(Of FunctionSecrets)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to