Skip to content

Updating CSharp code to latest sdk's#326

Open
wiboris wants to merge 14 commits into
Azure-Samples:masterfrom
wiboris:appmod/batch-sdk-migration-20260513
Open

Updating CSharp code to latest sdk's#326
wiboris wants to merge 14 commits into
Azure-Samples:masterfrom
wiboris:appmod/batch-sdk-migration-20260513

Conversation

@wiboris
Copy link
Copy Markdown
Member

@wiboris wiboris commented May 14, 2026

Updating all the CSharp project to use the latest sdk's Azure.Compute.Batch and Azure.ResourceManager.Batch

wiboris added 14 commits May 13, 2026 15:53
…ure.ResourceManager.Batch

Replace deprecated Microsoft.Azure.Batch SDK with Azure.Compute.Batch (data plane) for jobs/tasks and Azure.ResourceManager.Batch (control plane) for all pool operations. Adds subscriptionId/resourceGroupName to accountsettings.json and introduces ClientFactory + FileStager helpers.
Replace deprecated Microsoft.Azure.Management.Batch + ADAL with Azure.ResourceManager.Batch and DefaultAzureCredential.
BatchMetrics now uses Azure.Compute.Batch BatchClient with GetJobsAsync/GetTasksAsync. TaskStateCounts switched to dictionary-backed (BatchTaskState is a smart-enum struct, not a CLR enum). BatchMetricsUsageSample creates its pool via Azure.ResourceManager.Batch.
… Azure.Compute.Batch + Azure.ResourceManager.Batch + Azure.Storage.Blobs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant