File tree Expand file tree Collapse file tree
samples/manage/azure-sql-db-managed-instance/attach-jumpbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ If($false -eq $subnets.Contains($managementSubnetName))
173173 $managementSubnetPrefix = CalculateNextAddressPrefix $virtualNetwork 28
174174
175175 $virtualNetwork.AddressSpace.AddressPrefixes.Add ($managementSubnetPrefix )
176- Add-AzureRmVirtualNetworkSubnetConfig - Name Management - VirtualNetwork $virtualNetwork - AddressPrefix $managementSubnetPrefix | Out-Null
176+ Add-AzureRmVirtualNetworkSubnetConfig - Name $managementSubnetName - VirtualNetwork $virtualNetwork - AddressPrefix $managementSubnetPrefix | Out-Null
177177
178178 SetVirtualNetwork $virtualNetwork
179179 Write-Host " Added subnet into VNet." - ForegroundColor Green
Original file line number Diff line number Diff line change 5555 },
5656 "resources" : [
5757 {
58- "name" : " [variables ('virtualMachineName')]" ,
58+ "name" : " [parameters ('virtualMachineName')]" ,
5959 "type" : " Microsoft.Compute/virtualMachines" ,
6060 "apiVersion" : " 2018-06-01" ,
6161 "location" : " [parameters('location')]" ,
104104 "location" : " [parameters('location')]" ,
105105 "apiVersion" : " 2018-06-01" ,
106106 "dependsOn" : [
107- " [concat('Microsoft.Compute/virtualMachines/', variables ('virtualMachineName'))]"
107+ " [concat('Microsoft.Compute/virtualMachines/', parameters ('virtualMachineName'))]"
108108 ],
109109 "tags" : {
110110 "displayName" : " SetupChocolatey"
You can’t perform that action at this time.
0 commit comments