![]() |
VOOZH | about |
dotnet add package Microsoft.Azure.Batch --version 16.3.1
NuGet\Install-Package Microsoft.Azure.Batch -Version 16.3.1
<PackageReference Include="Microsoft.Azure.Batch" Version="16.3.1" />
<PackageVersion Include="Microsoft.Azure.Batch" Version="16.3.1" />Directory.Packages.props
<PackageReference Include="Microsoft.Azure.Batch" />Project file
paket add Microsoft.Azure.Batch --version 16.3.1
#r "nuget: Microsoft.Azure.Batch, 16.3.1"
#:package Microsoft.Azure.Batch@16.3.1
#addin nuget:?package=Microsoft.Azure.Batch&version=16.3.1Install as a Cake Addin
#tool nuget:?package=Microsoft.Azure.Batch&version=16.3.1Install as a Cake Tool
The Azure Batch C# client is now under the MIT license. Prior to March 10 2017 it was under the Apache 2.0 license.
Microsoft.Azure.Batch.sln is your one stop shop for all things related to the Azure Batch C# client library. This solution file contains all of the projects affiliated with the Azure Batch client (including testing and tooling).
Depending on the type of change you want to make, the work required varies. If you follow this process you shouldn't miss anything:
src\GeneratedProtocol folder using the steps below.Tools\ObjectModelCodeGenerator\Spec.
src\Generated folder from the convenience layer specification file using the steps below.Generated objects into partial classes located in the src directory.
[Obsolete] attribute or to add some helper factory methods.src\IProtocolLayer.cs interface.src\ProtocolLayer.cs class.PoolOperations.cs.CloudPool.cs.Azure.Batch.Unit.Tests for unit tests. These tests do not have any external dependencies (they run entirely in-memory) and are used in the continuous integration job to validate checkins.BatchClientIntegrationTests for integration tests. These tests run against a live Azure Batch endpoint and do not run during CI. See running the end to end tests for more details about how to run these tests.CHANGELOG.md file and the Version tag in src/Microsoft.Azure.Batch.csproj. Ensure that if you are making a breaking change, you update the major version of the version number.src\GeneratedProtocol folder using AutoRestThe GeneratedProtocol folder holds the code generated by the AutoRest tool from a Swagger specification. The AutoRest tool has a command line interface of its own which you can use directly, or you can run powershell Start-AutoRestCodeGeneration -ResourceProvider "batch/data-plane" -SdkRepoRootPath "<path to root of this repo>" -AutoRestVersion "latest" -SdkGenerationDirectory "<path to root of this repo>\sdk\batch\Microsoft.Azure.Batch\src\GeneratedProtocol" -ConfigFileTag "package-2020-03.11.0"
src\Generated folderThis folder contains the convenience layer models for Azure Batch. It is generated from a custom tool. The custom tool reads all of the specification files located in Tools\ObjectModelCodeGenerator\Spec. The convenience layer models require more metadata than the Swagger specification provides, so this file is an extra mapping layer on top of Swagger which provides more detail. Note: These specification files are all about the models, they have nothing to do with the actual APIs.
There are a number of special flags which have meaning in the specification files. The easiest way to see a list of what flags are supported and at what level is to look at the backing code generation code:
Tools\ObjectModelCodeGeneration\CodeGenerationLibrary\PropertyData.csTools\ObjectModelCodeGeneration\CodeGenerationLibrary\ObjectModelTypeData.csOnce you have added and updated the required files in Tools\ObjectModelCodeGenerator\Spec mark the ObjectModelCodeGenerator as your startup project in Visual Studio and run it -- it will regenerate the contents of the src\Generated folder.
A full end to end test pass takes 20-40 minutes. The following environment variables must be set for the the end to end tests to work - it is recommended to set up a script which sets these all so that it can easily be reused later:
MABOM_BatchAccountEndpoint: The endpoint for your Batch account, i.e. https://<account>.<region>.batch.azure.comMABOM_BatchAccountSubscriptionId: The subscription id that your Batch and Storage accounts are in. Please note your storage account and your Batch account need to be in the same subscription.MABOM_BatchAccountResourceGroupName: The resource group your Batch account is in.MABOM_BatchAccountName: The name of your Batch account.MABOM_BatchAccountKey: The key of your Batch account.MABOM_StorageAccountResourceGroupName: The name of the resource group of your storage account.MABOM_StorageAccount: The name of your storage account.MABOM_StorageKey: The key to your storage account.MABOM_BlobEndpoint: The blob endpoint for the storage account, i.e. https://<account>.blob.core.windows.netMABOM_BatchManagementEndpoint: The management endpoint for the tenant you are targeting. This will usually be https://management.azure.com/.MABOM_AzureAuthenticationClientId: The client ID of an AAD App Registration with contributor access to the subscription you're using (#2).MABOM_AzureAuthenticationClientSecret: The secret for the App Registration (#11).If running the tests against a test tenant, you also must set:
MABOM_BatchTRPExtraHeaders to x-ms-version=2015-12-01;x-ms-client-tenant-id=microsoft.onmicrosoft.comMABOM_BatchTRPCertificateThumbprint: The thumbprint used to authenticate with the Batch Resource Provider.| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp1.0 netcoreapp1.0 was computed. netcoreapp1.1 netcoreapp1.1 was computed. netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard1.4 netstandard1.4 is compatible. netstandard1.5 netstandard1.5 was computed. netstandard1.6 netstandard1.6 was computed. netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net452 net452 is compatible. net46 net46 was computed. net461 net461 is compatible. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen30 tizen30 was computed. tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Universal Windows Platform | uap uap was computed. uap10.0 uap10.0 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 4 NuGet packages that depend on Microsoft.Azure.Batch:
| Package | Downloads |
|---|---|
|
Microsoft.Azure.Batch.Conventions.Files
This library encapsulates a set of storage conventions for Azure Batch task and job outputs, making it convenient for clients to browse and retrieve outputs by task and job id and the type of output. |
|
|
Microsoft.Azure.Batch.FileStaging
This library simplifies uploading resource files for use by tasks in the Microsoft Azure Batch service. Visit our home page for more detail - http://azure.microsoft.com/services/batch/. For technical overview, see http://azure.microsoft.com/documentation/articles/batch-technical-overview/. API reference can be found at http://go.microsoft.com/fwlink/?LinkId=717949. |
|
|
ProWorks.Azure.Batch
Package Description |
|
|
MBatch.Azure.Extensions
A set of useful extensions for ArmClient, BatchClient, BatchAccountResource, CloudPool and CloudJob |
Showing the top 3 popular GitHub repositories that depend on Microsoft.Azure.Batch:
| Repository | Stars |
|---|---|
|
Azure/azure-powershell
Microsoft Azure PowerShell
|
|
|
Azure-Samples/azure-batch-samples
Azure Batch and HPC Code Samples
|
|
|
microsoft/CromwellOnAzure
Microsoft Genomics implementation of the Broad Institute's Cromwell workflow engine on Azure
|
| Version | Downloads | Last Updated |
|---|---|---|
| 16.3.1 | 549,636 | 9/20/2024 |
| 16.3.0 | 29,904 | 9/5/2024 |
| 16.2.0 | 251,028 | 2/29/2024 |
| 16.1.0 | 48,982 | 1/27/2024 |
| 16.0.0 | 280,864 | 6/15/2023 |
| 15.4.0 | 377,242 | 11/1/2022 |
| 15.3.0 | 502,539 | 1/14/2022 |
| 15.1.0 | 327,346 | 8/11/2021 |
| 15.0.0 | 20,965 | 7/31/2021 |
| 14.0.0 | 389,013 | 9/29/2020 |
| 13.0.0 | 324,552 | 3/6/2020 |
| 12.0.0 | 210,119 | 8/7/2019 |
| 11.0.0 | 157,322 | 6/6/2019 |
| 10.1.0 | 94,748 | 2/25/2019 |
| 10.0.0 | 83,829 | 12/14/2018 |
| 9.0.1 | 83,848 | 11/2/2018 |
| 9.0.0 | 47,996 | 8/24/2018 |
| 8.1.2 | 125,615 | 5/24/2018 |