FunctionApp Interface
Implements
public interface FunctionApp
extends FunctionAppBasic, WebAppBase, Updatable<Update>, SupportsListingPrivateLinkResource, SupportsListingPrivateEndpointConnection, SupportsUpdatingPrivateEndpointConnection, SupportsOneDeploy
An immutable client-side representation of an Azure Function App.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Name |
addFunctionKey(String functionName, String keyName, String keyValue)
Adds a key to a function in this function app. |
abstract
Mono<Name |
addFunctionKeyAsync(String functionName, String keyName, String keyValue)
Adds a key to a function in this function app. |
abstract
Function |
deploymentSlots() |
abstract String | getMasterKey() |
abstract Mono<String> | getMasterKeyAsync() |
abstract Map<String,String> |
listFunctionKeys(String functionName)
Retrieve the function key for a specific function. |
abstract Mono<Map<String,String>> |
listFunctionKeysAsync(String functionName)
Retrieve the function key for a specific function. |
abstract
Paged |
listFunctions()
List function information elements. |
abstract String |
managedEnvironmentId()
Retrieve the ID of the Azure Container Apps environment that the Function App runs on. |
abstract Integer |
maxReplicas()
Retrieves the maximum replica count. |
abstract Integer |
minReplicas()
Retrieves the minimum replica count. |
abstract void |
removeFunctionKey(String functionName, String keyName)
Removes a key to a function in this function app. |
abstract Mono<Void> |
removeFunctionKeyAsync(String functionName, String keyName)
Removes a key to a function in this function app. |
abstract
Storage |
storageAccount() |
abstract void |
syncTriggers()
Syncs the triggers on the function app. |
abstract Mono<Void> |
syncTriggersAsync()
Syncs the triggers on the function app. |
abstract void |
triggerFunction(String functionName, Object payload)
Triggers a function. |
abstract Mono<Void> |
triggerFunctionAsync(String functionName, Object payload)
Triggers a function. |
Method Details
addFunctionKey
public abstract NameValuePair addFunctionKey(String functionName, String keyName, String keyValue)
Adds a key to a function in this function app.
Parameters:
Returns:
addFunctionKeyAsync
public abstract Mono
Adds a key to a function in this function app.
Parameters:
Returns:
deploymentSlots
public abstract FunctionDeploymentSlots deploymentSlots()
Returns:
getMasterKey
public abstract String getMasterKey()
Returns:
getMasterKeyAsync
public abstract Mono
Returns:
listFunctionKeys
public abstract Map
Retrieve the function key for a specific function.
Parameters:
Returns:
listFunctionKeysAsync
public abstract Mono
Retrieve the function key for a specific function.
Parameters:
Returns:
listFunctions
public abstract PagedIterable
List function information elements.
Returns:
managedEnvironmentId
public abstract String managedEnvironmentId()
Retrieve the ID of the Azure Container Apps environment that the Function App runs on.
Returns:
maxReplicas
public abstract Integer maxReplicas()
Retrieves the maximum replica count.
Returns:
minReplicas
public abstract Integer minReplicas()
Retrieves the minimum replica count.
Returns:
removeFunctionKey
public abstract void removeFunctionKey(String functionName, String keyName)
Removes a key to a function in this function app.
Parameters:
removeFunctionKeyAsync
public abstract Mono
Removes a key to a function in this function app.
Parameters:
Returns:
storageAccount
public abstract StorageAccount storageAccount()
Returns:
syncTriggers
public abstract void syncTriggers()
Syncs the triggers on the function app.
syncTriggersAsync
public abstract Mono
Syncs the triggers on the function app.
Returns:
triggerFunction
public abstract void triggerFunction(String functionName, Object payload)
Triggers a function.
Parameters:
triggerFunctionAsync
public abstract Mono
Triggers a function.
Parameters:
Returns:
Applies to
Azure SDK for Java