deploy/azure/az/sql/sqldeploy.json
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"sql_server": {
"type": "object"
},
"admin": {
"type": "string"
},
"adminpwd": {
"type": "string"
}
},
"variables": {
"sql_server_name": "[concat(parameters('sql_server').name, '-', uniqueString(resourceGroup().id))]",
"admin": "[parameters('admin')]",
"adminpwd": "[parameters('adminpwd')]"
},
"resources": [
{
"type": "Microsoft.Sql/servers",
"name": "[variables('sql_server_name')]",
"apiVersion": "2014-04-01-preview",
"location": "[resourceGroup().location]",
"properties": {
"administratorLogin": "[variables('admin')]",
"administratorLoginPassword": "[variables('adminpwd')]",
"version": "12.0"
},
"resources": [
{
"type": "databases",
"name": "[parameters('sql_server').dbs.ordering]",
"apiVersion": "2014-04-01-preview",
"location": "[resourceGroup().location]",
"properties": {
"edition": "Standard",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"maxSizeBytes": "1073741824",
"requestedServiceObjectiveName": "S1"
},
"dependsOn": [
"[concat('Microsoft.Sql/servers/', variables('sql_server_name'))]"
]
},
{
"type": "databases",
"name": "[parameters('sql_server').dbs.identity]",
"apiVersion": "2014-04-01-preview",
"location": "[resourceGroup().location]",
"properties": {
"edition": "Standard",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"maxSizeBytes": "1073741824",
"requestedServiceObjectiveName": "S1"
},
"dependsOn": [
"[concat('Microsoft.Sql/servers/', variables('sql_server_name'))]"
]
后面还有 48 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。