File tree Expand file tree Collapse file tree
samples/manage/azure-sql-db-managed-instance/attach-vpn-gateway Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11$parameters = $args [0 ]
22$scriptUrlBase = $args [1 ]
33
4+ $scriptUrlBase = ' https://raw.githubusercontent.com/srdan-bozovic-msft/sql-server-samples/master/samples/manage/azure-sql-db-managed-instance/attach-vpn-gateway'
5+
6+ $parameters = @ {
7+ subscriptionId = ' a8c9a924-06c0-4bde-9788-e7b1370969e1'
8+ resourceGroupName = ' srki_test'
9+ virtualNetworkName = ' vnet-testlinuxps'
10+ certificateNamePrefix = ' cert4testlinuxps'
11+ }
12+
413$subscriptionId = $parameters [' subscriptionId' ]
514$resourceGroupName = $parameters [' resourceGroupName' ]
615$virtualNetworkName = $parameters [' virtualNetworkName' ]
Original file line number Diff line number Diff line change 4646 "apiVersion" : " 2017-10-01" ,
4747 "type" : " Microsoft.Network/publicIPAddresses" ,
4848 "name" : " [variables('gatewayPublicIpAddressName')]" ,
49- "location" : " [resourceGroup(). location]" ,
49+ "location" : " [parameters(' location') ]" ,
5050 "properties" : {
5151 "publicIPAllocationMethod" : " Dynamic"
5252 }
You can’t perform that action at this time.
0 commit comments