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:
⚠️
windows_first
⚠️
powershell_heavy
⚠️
windows_tools
⚠️
missing_linux_example
Summary:
The documentation demonstrates a Windows bias by presenting .NET (C#) and Windows-specific examples and references before Linux or cross-platform alternatives. The .NET example uses a Windows Server image, and PowerShell cmdlets are mentioned as a primary tool. While a Python example with Ubuntu is included, it appears after the Windows/.NET example. There are no explicit Linux shell or CLI examples, and the documentation does not provide parity in tool coverage or ordering.
Recommendations:
- Provide Linux/Bash CLI examples alongside or before Windows/PowerShell/.NET examples.
- Include explicit instructions and code samples for creating and managing autoscale pools using Azure CLI and Bash scripts, not just PowerShell or .NET.
- When referencing VM images, alternate or equally present Ubuntu/Linux and Windows images in code samples.
- Mention cross-platform tools (e.g., Azure CLI) before or alongside platform-specific tools (e.g., PowerShell).
- Ensure that all SDK and API references (Python, Java, CLI) are given equal prominence and ordering as .NET/Windows.
- Add a section or callout for Linux users, highlighting any differences or considerations.
Create pull request
Flagged Code Snippets
$runningTasksSample = $RunningTasks.GetSample(1 * TimeInterval_Minute, 6 * TimeInterval_Minute);
$totalDedicatedNodes =
(min($CPUPercent.GetSample(TimeInterval_Minute * 10)) > 0.7) ?
($CurrentDedicatedNodes * 1.1) : $CurrentDedicatedNodes;
$totalDedicatedNodes =
(min($CPUPercent.GetSample(TimeInterval_Minute * 10)) > 0.7) ?
($CurrentDedicatedNodes * 1.1) : $CurrentDedicatedNodes;
$totalDedicatedNodes =
(avg($CPUPercent.GetSample(TimeInterval_Minute * 60)) < 0.2) ?
($CurrentDedicatedNodes * 0.9) : $totalDedicatedNodes;
$TargetDedicatedNodes = min(400, $totalDedicatedNodes);
$NodeDeallocationOption = taskcompletion;