
HttpFunction
Use this task to trigger an Azure Function and collect the result.
HttpFunction
Use this task to trigger an Azure Function and collect the result.
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
httpBodyobject
Default
{}HTTP body
JSON body of the Azure function
maxDurationstring
Default
PT1HFormat
durationMax duration
The maximum duration the task should wait until the Azure Function completion.
Outputs
repsonseBodyobject
Response body