HttpFunction​Http​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"
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

HTTP method

Azure function URL

Default {}

HTTP body

JSON body of the Azure function

Default PT1H
Format duration

Max duration

The maximum duration the task should wait until the Azure Function completion.

Response body