You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/tutorial-filter-network-traffic.md
+22-8Lines changed: 22 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -579,22 +579,23 @@ Generate SSH keys in Azure with [New-AzSshKey](/powershell/module/az.compute/new
579
579
$webSshKeyParams = @{
580
580
ResourceGroupName = "test-rg"
581
581
Name = "vm-web-key"
582
-
Location = "westus2"
583
582
}
584
583
New-AzSshKey @webSshKeyParams
585
584
586
585
# Create SSH key for vm-mgmt
587
586
$mgmtSshKeyParams = @{
588
587
ResourceGroupName = "test-rg"
589
588
Name = "vm-mgmt-key"
590
-
Location = "westus2"
591
589
}
592
590
New-AzSshKey @mgmtSshKeyParams
593
591
```
594
592
595
593
Create a VM configuration with [New-AzVMConfig](/powershell/module/az.compute/new-azvmconfig), then create the VM with [New-AzVM](/powershell/module/az.compute/new-azvm). The following example creates a VM that serves as a web server. The `-AsJob` option creates the VM in the background, so you can continue to the next step:
0 commit comments