About This Page
This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.
Bias Analysis
Bias Types:
⚠️
powershell_heavy
⚠️
windows_first
⚠️
windows_tools
⚠️
missing_linux_example
Summary:
The documentation page demonstrates a Windows bias by prioritizing Windows-based examples and tools. The only detailed code samples are in C# (.NET), which is most commonly associated with Windows development. The main code example for pool creation uses a Windows Server image, and the referenced GitHub sample is a C# console app. There are no Linux shell or cross-platform scripting examples, and Linux is only mentioned in a REST API JSON snippet, not in a full code sample or workflow. Windows terminology and tools (e.g., MicrosoftWindowsServer, Batch .NET) are used exclusively or before Linux equivalents.
Recommendations:
- Add equivalent Linux-based code samples, such as Python SDK examples, especially for pool creation and task submission.
- Include shell script (bash) or CLI examples for common operations, not just .NET/C#.
- Show both Windows and Linux VM image configurations side by side in code samples.
- Reference and link to cross-platform or Linux-specific sample projects (e.g., Python, Node.js) in addition to C#.
- Ensure that documentation language and examples are balanced, mentioning Linux and Windows equally and not prioritizing Windows terminology or tools.
Create pull request
Flagged Code Snippets
CloudPool pool =
batchClient.PoolOperations.CreatePool(
poolId: "mypool",
targetDedicatedComputeNodes: 4
virtualMachineSize: "standard_d1_v2",
VirtualMachineConfiguration: new VirtualMachineConfiguration(
imageReference: new ImageReference(
publisher: "MicrosoftWindowsServer",
offer: "WindowsServer",
sku: "2019-datacenter-core",
version: "latest"),
nodeAgentSkuId: "batch.node.windows amd64");
pool.TaskSlotsPerNode = 4;
pool.TaskSchedulingPolicy = new TaskSchedulingPolicy(ComputeNodeFillType.Pack);
pool.Commit();