pip_services3_azure.services.CommandableAzureFunctionService module
- class pip_services3_azure.services.CommandableAzureFunctionService.CommandableAzureFunctionService(name: str)
Bases:
pip_services3_azure.services.AzureFunctionService.AzureFunctionServiceAbstract service that receives commands via Azure Function protocol to operations automatically generated for commands defined in
ICommandablecomponents. Each command is exposed as invoke method that receives command name and parameters.Commandable services require only 3 lines of code to implement a robust external Azure Function-based remote interface.
This service is intended to work inside Azure Function container that exploses registered actions externally.
- ### Configuration parameters ###
- dependencies:
controller: override for Controller dependency
- ### References ###
See:
AzureFunctionServiceExample:
- register()
Registers all actions in Azure Function.