Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ADefWebserver committed Aug 6, 2024
2 parents fa76277 + 89f2559 commit 54ac074
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"sqlServerName": {
"type": "string",
"metadata": {
"description": "The name of the sql server. It has to be unique."
"description": "The name of the SQL server. It has to be unique."
}
},
"databaseName": {
"type": "string",
"metadata": {
"description": "The name of the sql databaseName. It has to be unique."
"description": "The name of the SQL database. It has to be unique."
}
},
"sqlAdministratorLogin": {
Expand Down Expand Up @@ -47,7 +47,8 @@
"allowedValues": [
"0",
"1",
"2"
"2",
"3"
],
"defaultValue": "0"
},
Expand Down Expand Up @@ -159,7 +160,7 @@
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('hostingPlanName'))]",
"siteConfig": {
"webSocketsEnabled": true,
"netFrameworkVersion": "v5.0"
"netFrameworkVersion": "v8.0"
}
},
"resources": [
Expand Down Expand Up @@ -187,7 +188,7 @@
],
"properties": {
"DefaultConnection": {
"value": "[concat('Data Source=tcp:', reference(concat('Microsoft.Sql/servers/', parameters('sqlserverName'))).fullyQualifiedDomainName, ',1433;Initial Catalog=', parameters('databaseName'), ';User Id=', parameters('sqlAdministratorLogin'), '@', reference(concat('Microsoft.Sql/servers/', parameters('sqlserverName'))).fullyQualifiedDomainName, ';Password=', parameters('sqlAdministratorLoginPassword'), ';')]",
"value": "[concat('Data Source=tcp:', reference(concat('Microsoft.Sql/servers/', parameters('sqlServerName'))).fullyQualifiedDomainName, ',1433;Initial Catalog=', parameters('databaseName'), ';User Id=', parameters('sqlAdministratorLogin'), '@', reference(concat('Microsoft.Sql/servers/', parameters('sqlServerName'))).fullyQualifiedDomainName, ';Password=', parameters('sqlAdministratorLoginPassword'), ';')]",
"type": "SQLAzure"
}
}
Expand Down

0 comments on commit 54ac074

Please sign in to comment.