
HttpFunction
Trigger an Azure Function.
HttpFunction
Trigger an Azure Function.
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.HttpFunction
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 completes.
Outputs
repsonseBodyobject
Response body