你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FunctionApp Interface
public interface FunctionApp extends WebAppBase,Refreshable,Updatable<FunctionApp.Update>
An immutable client-side representation of an Azure Function App.
Method Summary
Modifier and Type | Method and Description |
---|---|
Name |
addFunctionKey(String functionName, String keyName, String keyValue)
Adds a key to a function in this function app. |
Observable<Name |
addFunctionKeyAsync(String functionName, String keyName, String keyValue)
Adds a key to a function in this function app. |
Function |
deploymentSlots() |
String | getMasterKey() |
Observable<String> | getMasterKeyAsync() |
Map<String, String> |
listFunctionKeys(String functionName)
Retrieve the function key for a specific function. |
Observable<Map<String, String>> |
listFunctionKeysAsync(String functionName)
Retrieve the function key for a specific function. |
void |
removeFunctionKey(String functionName, String keyName)
Removes a key to a function in this function app. |
Completable |
removeFunctionKeyAsync(String functionName, String keyName)
Removes a key to a function in this function app. |
Storage |
storageAccount() |
void |
syncTriggers()
Syncs the triggers on the function app. |
Completable |
syncTriggersAsync()
Syncs the triggers on the function app. |
Inherited Members
Method Details
addFunctionKey
public NameValuePair addFunctionKey(String functionName, String keyName, String keyValue)
Adds a key to a function in this function app.
Parameters:
Returns:
addFunctionKeyAsync
public Observable
Adds a key to a function in this function app.
Parameters:
Returns:
deploymentSlots
public FunctionDeploymentSlots deploymentSlots()
Returns:
getMasterKey
public String getMasterKey()
Returns:
getMasterKeyAsync
public Observable
Returns:
listFunctionKeys
public Map
Retrieve the function key for a specific function.
Parameters:
Returns:
listFunctionKeysAsync
public Observable
Retrieve the function key for a specific function.
Parameters:
Returns:
removeFunctionKey
public void removeFunctionKey(String functionName, String keyName)
Removes a key to a function in this function app.
Parameters:
removeFunctionKeyAsync
public Completable removeFunctionKeyAsync(String functionName, String keyName)
Removes a key to a function in this function app.
Parameters:
Returns:
storageAccount
public StorageAccount storageAccount()
Returns:
syncTriggers
public void syncTriggers()
Syncs the triggers on the function app.
syncTriggersAsync
public Completable syncTriggersAsync()
Syncs the triggers on the function app.
Returns: