IFunctionApp.ListFunctionKeysAsync(String, CancellationToken) Method

Definition

Retrieve the function key for a specific function.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string,string>> ListFunctionKeysAsync (string functionName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListFunctionKeysAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string, string>>
Public Function ListFunctionKeysAsync (functionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyDictionary(Of String, String))

Parameters

functionName
System.String

The name of the function.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>>

Applies to