pip_services3_azure.containers.CommandableAzureFunction module
- class pip_services3_azure.containers.CommandableAzureFunction.CommandableAzureFunction(name: Optional[str], description: Optional[str])
Bases:
pip_services3_azure.containers.AzureFunction.AzureFunctionAbstract Azure Function function, that acts as a container to instantiate and run components and expose them via external entry point. All actions are automatically generated for commands defined in
ICommandable. Each command is exposed as an action defined by “cmd” parameter.Container configuration for this Azure Function is stored in “./config/config.yml” file. But this path can be overridden by CONFIG_PATH environment variable.
Note: This component has been deprecated. Use Azure FunctionService instead.
- ### References ###
*:logger:*:*:1.0: (optional)
ILoggercomponents to pass log messages*:counters:*:*:1.0: (optional)
ICounterscomponents to pass collected measurements*:service:azure-function:*:1.0: (optional)
IAzureFunctionServiceservices to handle action requests*:service:commandable-azure-function:*:1.0: (optional)
IAzureFunctionServiceservices to handle action requests
Example:
- register()
Registers all actions in this Azure Function.