IFunctionApp.AddFunctionKey(String, String, String) Method

Definition

Adds a key to a function in this function app.

public Microsoft.Azure.Management.AppService.Fluent.Models.NameValuePair AddFunctionKey (string functionName, string keyName, string keyValue);
abstract member AddFunctionKey : string * string * string -> Microsoft.Azure.Management.AppService.Fluent.Models.NameValuePair
Public Function AddFunctionKey (functionName As String, keyName As String, keyValue As String) As NameValuePair

Parameters

functionName
System.String

The name of the function.

keyName
System.String

The name of the key to add.

keyValue
System.String

Optional. If not provided, a value will be generated.

Returns

NameValuePair

Applies to