
Azure HttpFunction
CertifiedInvoke an Azure Function over HTTP
Azure HttpFunction
Invoke an Azure Function over HTTP
Sends an HTTP request to an Azure Function endpoint and returns the response. Supports JSON body payloads and enforces a read timeout (maxDuration) that defaults to 60 minutes.
type: io.kestra.plugin.azure.function.HttpFunctionExamples
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 *string
HTTP method
Verb used for the request (e.g., GET, POST, PUT)
url *string
Azure Function URL
Full function URL including function key if required
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150httpBody object
{}HTTP body
JSON payload sent to the function; defaults to empty object
maxDuration string
PT1HMax duration
Read timeout for the HTTP call; defaults to PT60M
Outputs
repsonseBody object
Function response body
Parsed JSON if valid; otherwise raw string