
Azure Create
CertifiedEnterprise EditionCreate and run a job on Azure Batch
Azure 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"'
Properties
accessKey *Requiredstring
account *Requiredstring
endpoint *Requiredstring
Service endpoint URL
Base HTTPS endpoint of the target service.
job *Required
The job to create
poolId *Requiredstring
The ID of the pool
tasks *RequiredNon-dynamicarray
The list of tasks to be run
completionCheckInterval 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.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
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