This page contains Windows bias

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
⚠️ missing_linux_example
Summary:
The documentation page provides only Windows-based examples and parameters, such as Windows Server OS versions and MicrosoftWindowsServer images. There are no examples or references for deploying Linux VMs or using Linux images, which may lead users to believe that only Windows environments are supported or prioritized.
Recommendations:
  • Include Linux OS options (e.g., Ubuntu, CentOS) in the template parameters and variables.
  • Provide a parallel example or section demonstrating how to connect a Linux-based environment to the lab's VNet.
  • Mention that both Windows and Linux VMs are supported, and provide guidance or links for Linux users.
  • Adjust variable and parameter names to be OS-agnostic where possible, or clearly indicate how to adapt for Linux.
  • Add a note or table comparing Windows and Linux deployment steps if there are differences.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-12 00:58 #8 cancelled ✅ Clean
2025-07-10 05:06 #7 processing ✅ Clean

Flagged Code Snippets

{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "DTLEnvironVmStoretype": { "type": "string", "defaultValue": "Standard_LRS", "allowedValues": [ "Standard_LRS", "Standard_ZRS", "Standard_GRS", "Standard_RAGRS", "Premium_LRS" ] }, "DTLEnvironVmName": { "type": "string", "minLength": 1 }, "VmAdminUserName": { "type": "string", "minLength": 1 }, "VmAdminUserPassword": { "type": "securestring" }, "DTLEnvironVmOsVersion": { "type": "string", "defaultValue": "2012-R2-Datacenter", "allowedValues": [ "2008-R2-SP1", "2012-Datacenter", "2012-R2-Datacenter", "Windows-Server-Technical-Preview" ] }, "DTLSubnetId": { "type": "string", "defaultValue": "$(LabSubnetId)" } }, "variables": { "DTLEnvironStoreName": "[toLower([concat(parameters('DTLEnvironVmName'), 'storename')])]", "DTLEnvironVmImagePublisher": "MicrosoftWindowsServer", "DTLEnvironVmImageOffer": "WindowsServer", "DTLEnvironVmOSDiskName": "[concat(parameters('DTLEnvironVmName'), 'OSDisk')]", "DTLEnvironVmSize": "Standard_D2_v2", "DTLEnvironVmStorageAccountContainerName": "vhds", "DTLEnvironVmNicName": "[concat(parameters('DTLEnvironVmName'), 'NetworkInterface')]" }, "resources": [{ "name": "[variables('DTLEnvironStoreName')]", "type": "Microsoft.Storage/storageAccounts", "location": "[resourceGroup().location]", "apiVersion": "2016-01-01", "sku": { "name": "[parameters('DTLEnvironVmStoretype')]" }, "dependsOn": [], "tags": { "displayName": "[variables('DTLEnvironStoreName')]" }, "kind": "Storage" }, { "name": "[variables('DTLEnvironVmNicName')]", "type": "Microsoft.Network/networkInterfaces", "location": "southeastasia", "apiVersion": "2016-03-30", "dependsOn": [], "tags": { "displayName": "[variables('DTLEnvironVmNicName')]" }, "properties": { "ipConfigurations": [{ "name": "ipconfig1", "properties": { "privateIPAllocationMethod": "Dynamic", "subnet": { "id": "[parameters('DTLSubnetId')]" } } }] } }, { "name": "[parameters('DTLEnvironVmName')]", "type": "Microsoft.Compute/virtualMachines", "location": "[resourceGroup().location]", "apiVersion": "2015-06-15", "dependsOn": [ "[resourceId('Microsoft.Storage/storageAccounts', variables('DTLEnvironStoreName'))]", "[resourceId('Microsoft.Network/networkInterfaces', variables('DTLEnvironVmNicName'))]" ], "tags": { "displayName": "[parameters('DTLEnvironVmName')]" }, "properties": { "hardwareProfile": { "vmSize": "[variables('DTLEnvironVmSize')]" }, "osProfile": { "computerName": "[parameters('DTLEnvironVmName')]", "adminUsername": "[parameters('VmAdminUserName')]", "adminPassword": "[parameters('VmAdminUserPassword')]" }, "storageProfile": { "imageReference": { "publisher": "[variables('DTLEnvironVmImagePublisher')]", "offer": "[variables('DTLEnvironVmImageOffer')]", "sku": "[parameters('DTLEnvironVmOsVersion')]", "version": "latest" }, "osDisk": { "name": "[variables('DTLEnvironVmOSDiskName')]", "vhd": { "uri": "[concat(reference(resourceId('Microsoft.Storage/storageAccounts', variables('DTLEnvironStoreName')), '2016-01-01').primaryEndpoints.blob, variables('DTLEnvironVmStorageAccountContainerName'), '/', variables('DTLEnvironVmOSDiskName'), '.vhd')]" }, "caching": "ReadWrite", "createOption": "FromImage" } }, "networkProfile": { "networkInterfaces": [{ "id": "[resourceId('Microsoft.Network/networkInterfaces', variables('DTLEnvironVmNicName'))]" }] } } } ], "outputs": {} }