We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81bb00f commit 8666922Copy full SHA for 8666922
src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1
@@ -212,6 +212,9 @@ function Test-VirtualMachine
212
$p2.OSProfile = $p.OSProfile;
213
$p2.NetworkProfile = $p.NetworkProfile;
214
$p2.StorageProfile = $p.StorageProfile;
215
+
216
+ $p2.StorageProfile.DataDisks = $null;
217
+ $p2.StorageProfile.OsDisk.Vhd.Uri = "https://$stoname.blob.core.windows.net/test/os2.vhd";
218
New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p2;
219
220
$vm2 = Get-AzureRmVM -Name $vmname2 -ResourceGroupName $rgname;
0 commit comments