
Azure Batch Create
CertifiedEnterprise EditionCreate and run a job on Azure Batch
Azure Batch Create
Create and run a job on Azure Batch
Submits a job with its tasks to an Azure Batch pool and waits for completion.
type: io.kestra.plugin.ee.azure.batch.job.CreateExamples
Run a command on Azure Batch
id: azure_batch_job
namespace: company.team
tasks:
- id: create
type: io.kestra.plugin.ee.azure.batch.job.Create
endpoint: "https://yourbatch.region.batch.azure.com"
account: "yourbatch"
accessKey: "{{ secret('AZURE_BATCH_ACCESS_KEY') }}"
poolId: "kestra-pool"
job:
id: my-job
tasks:
- id: echo
commands:
- 'echo "Hello from Azure Batch"'
Installation
This Enterprise plugin requires an Enterprise image and access to the plugin registry. Install it with the following command:
kestractl plugins get io.kestra.plugin.ee:plugin-ee-azure --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.
Properties
accessKey *string
account *string
endpoint *string
Service endpoint URL
Base HTTPS endpoint of the target service.
job *
The job to create
poolId *string
The ID of the pool
tasks *array
The list of tasks to be run
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
{}1150completionCheckInterval string
PT1SThe frequency with which the task checks whether the job is completed
delete booleanstring
trueWhether the job should be deleted upon completion
Warning, if the job is not deleted, a retry of the task could resume an old failed attempt of the job.
maxDuration string
The maximum total wait duration
If null, there is no timeout and the task is delegated to Azure Batch.
resume booleanstring
trueWhether to reconnect to the current job if it already exists
syncWorkingDirectory booleanstring
falseWhether to synchronize working directory from remote runner back to local one after run.
Outputs
outputFiles object
The output files' URIs in Kestra's internal storage
vars object
The values from the output of the commands