Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d8b92e6

Browse files
fix
1 parent b71c7b5 commit d8b92e6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

‎samples/manage/azure-sql-db-managed-instance/attach-vpn-gateway/attachVPNGateway.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ Write-Host
172172
Write-Host "Starting deployment..."
173173

174174
$templateParameters = @{
175-
location = $virtualNetwork.Location
176175
virtualNetworkName = $virtualNetworkName
177176
gatewaySubnetPrefix = $gatewaySubnetPrefix
178177
vpnClientAddressPoolPrefix = $vpnClientAddressPoolPrefix

‎samples/manage/azure-sql-db-managed-instance/attach-vpn-gateway/azuredeploy.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
33
"contentVersion": "1.0.0.1",
44
"parameters": {
5+
"location": {
6+
"type": "string",
7+
"defaultValue": "[resourceGroup().location]",
8+
"metadata": {
9+
"description": "Enter location. If you leave this field blank resource group location would be used."
10+
}
11+
},
512
"virtualNetworkName": {
613
"type": "string",
714
"metadata": {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /