 HttpFunction
HttpFunction
Trigger an Azure Function.
Use this task to trigger an Azure Function and collect the result.
yaml
type: "io.kestra.plugin.azure.function.HttpFunction"Examples
yaml
id: test_azure_function
namespace: com.company.test.azure
tasks:
  - id: encode_string
    type: io.kestra.plugin.azure.function.HttpTrigger
    httpMethod: POST
    url: https://service.azurewebsites.net/api/Base64Encoder?code=${{secret('AZURE_FUNCTION_CODE')}}
    httpBody: {"text": "Hello, Kestra"}
Properties
httpMethod *Requiredstring
HTTP method
url *Requiredstring
Azure function URL
httpBody object
 Default 
{}HTTP body
JSON body of the Azure function
maxDuration string
 Default 
PT1H Format 
durationMax duration
The maximum duration the task should wait until the Azure Function completion.
Outputs
repsonseBody object
Response body
