azure-batch-cli-extensions/samples
Brandon Klein 278daaeb7f
Update to latest REST API (#95)
* Update to latest CLI/REST API

* fix incorrect httpFiles text

* Fix help text and incorrect change of mgmt_base_url to mgmt_batch_url

* Update test recordings

* removing trailing '/' from endpoint

* Re record tests

* Update os_flavor bug

* Add blob source back as a map to http_url and update comments

* remove excess url template option

* Update to new python model scheme

* pylint stuff

* Fixup copy paste error for ParamtricSweepFactory

* add license headers

* Add template not implemented on exceed maximum api version

* Add template api check to one more location and add tests

* Update samples to 2018
2019-02-14 10:24:28 -08:00
..
blender SDK Refactor (#21) 2017-07-03 08:48:36 -07:00
blender-appTemplate Update to latest REST API (#95) 2019-02-14 10:24:28 -08:00
ffmpeg Update to latest REST API (#95) 2019-02-14 10:24:28 -08:00
hello-world Update to latest REST API (#95) 2019-02-14 10:24:28 -08:00
mpi Update to latest REST API (#95) 2019-02-14 10:24:28 -08:00
ocr Update to latest REST API (#95) 2019-02-14 10:24:28 -08:00
sdk Update Batch Extension for REST API 2018-08-01 (#84) 2018-09-21 11:21:26 -07:00
readme.md Fixed broken doc links 2017-07-03 12:32:03 -07:00

readme.md

Azure Batch Samples

Here are a collection of samples to demonstrate the new features in this Batch preview CLI.

Hello World Samples

These samples use the new features in very simple ways to make it easier to see how these features might fit into your workflow.

Create pool and job

Create a pool and then run a job with a single task. Both the pool and the job are defined using templates with hard coded values.

Features used:

Create pool and job with templates

Create a pool and then run a job with a single task. Both the pool and the job are defined using a parameterized templates. Parameter values used to fill out the templates are stored in separate files that are easy to modify as required.

Features used:

Task per file

Run a specific piece of processing independently across a set of files that are uploaded into storage. The job is specified as a template accepting parameters.

Features used:

Task per file with application template

Run a specific piece of processing independently across a set of files that are uploaded into storage. The actual processing involved is split out into a separate application template. The job itself references the template while specifying parameters, pool information and other management details. Application templates are intended to be flexible and reusable across a number of jobs.

Features used:

More Complex Samples

These samples show how to use the new features with real world applications.

FFmpeg

FFmpeg is an open-source command line tool for processing multimedia files. This is a sample demonstrating audio compression with Azure Batch on a large number of numerically-named files using a parametric sweep.

Features used:

OCR

OCR (Optical Character Recognition) is the process of extracting text from PDF images. This sample demonstrates the batch processing of PDF files.

Features used:

MPI

This sample demonstrates the batch run a MPI task with MultiInstanceSettings feature.

Blender

Blender is an open-source 3D content creation suite. This sample demonstrates distributed rendering on Azure Batch.

Features used:

Blender (Application Template)

A variation of the Blender sample that uses an application template to separate job definiton and management.

Features used: