Condividi tramite


SiteSlotFunctionResource.GetFunctionSecretsSlotAsync 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}/slots/{slot}/functions/{functionName}/listsecrets
  • Operation Id: WebApps_ListFunctionSecretsSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotFunctionResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.FunctionSecrets>> GetFunctionSecretsSlotAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetFunctionSecretsSlotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.FunctionSecrets>>
override this.GetFunctionSecretsSlotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.FunctionSecrets>>
Public Overridable Function GetFunctionSecretsSlotAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FunctionSecrets))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to