Condividi tramite


IFunctionApp.AddFunctionKeyAsync Metodo

Definizione

Aggiunge una chiave a una funzione in questa app per le funzioni.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.NameValuePair> AddFunctionKeyAsync (string functionName, string keyName, string keyValue, System.Threading.CancellationToken cancellationToken = default);
abstract member AddFunctionKeyAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.NameValuePair>
Public Function AddFunctionKeyAsync (functionName As String, keyName As String, keyValue As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NameValuePair)

Parametri

functionName
String

Nome della funzione.

keyName
String

Nome della chiave da aggiungere.

keyValue
String

Facoltativa. Se non specificato, verrà generato un valore.

cancellationToken
CancellationToken

Restituisce

Si applica a