-
-
Save johnlokerse/498d95d5a6effd9da60374150d0b5d7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@description('parUserName is the username for the Virtual Machine.') | |
param parUserName string = 'admin' | |
@description('parPassword is the password for the Virtual Machine.') | |
param parPassword string = 'P@ssw0rd1234!' | |
resource resWindowsVM 'Microsoft.Compute/virtualMachines@2020-12-01' = { | |
name: 'my-vm' | |
location: 'westeurope' | |
properties: { | |
hardwareProfile: { | |
vmSize: 'Standard_A2_v2' | |
} | |
osProfile: { | |
computerName: 'computerName' | |
adminUsername: parUserName | |
adminPassword: parPassword | |
} | |
... truncated for length purposes ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment