Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Azure-Samples/batch-dotnet-manage-batch-accounts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.