Skip to content
Getting started on managing batch accounts in C#
C# JavaScript PowerShell HTML Shell CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Asset Release 1.24.0 Aug 10, 2019
Common Release 1.24.0 Aug 10, 2019
.gitignore Updated sample Oct 7, 2016
CONTRIBUTING.md Updated sample Oct 7, 2016
LICENSE Update and publish samples for 1.3 release Oct 5, 2017
ManageBatchAccount.csproj Release 1.24.0 Aug 10, 2019
Program.cs Release 1.24.0 Aug 10, 2019
README.md Update repo metadata Aug 15, 2019

README.md

page_type languages products extensions
sample
csharp
azure
services
Batch
platforms
dotnet

Getting started on managing batch accounts in C#

Azure Batch sample for managing batch accounts -

  • Get subscription batch account quota for a particular location.
  • List all the batch accounts, look if quota allows you to create a new batch account at specified location by counting batch accounts in that particular location.
  • Create a batch account with new application and application package, along with new storage account.
  • Get the keys for batch account.
  • Regenerate keys for batch account
  • Regenerate the keys of storage accounts, sync with batch account.
  • Update application's display name.
  • Create another batch account using existing storage account.
  • List the batch account.
  • Delete the batch account.
    • Delete the application packages.
    • Delete applications.

Running this Sample

To run this sample:

Set the environment variable AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.

git clone https://github.com/Azure-Samples/batch-dotnet-manage-batch-accounts.git

cd batch-dotnet-manage-batch-accounts

dotnet build

bin\Debug\net452\ManageBatchAccount.exe

More information

Azure Management Libraries for C# Azure .Net Developer Center If you don't have a Microsoft Azure subscription you can get a FREE trial account here


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

You can’t perform that action at this time.