This commit is contained in:
Krishnakumar Rukmangathan 2022-09-09 18:25:13 +05:30 коммит произвёл GitHub
Родитель 4c60d7c1b1
Коммит c88618c91a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 0 добавлений и 198 удалений

Просмотреть файл

@ -1,198 +0,0 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspaceName": {
"type": "String",
"metadata": {
"description": "The name of the Workspace."
}
},
"storageAccountName": {
"type": "String",
"metadata": {
"description": "The name of the primary ADLS Gen2 Storage Account. If not provided, the workspace name will be used."
}
},
"sqlAdministratorLogin": {
"type": "String",
"metadata": {
"description": "Provide the user name for SQL login."
}
},
"sqlAdministratorPassword": {
"type": "SecureString",
"metadata": {
"description": "The passwords must meet the following guidelines:<ul><li> The password does not contain the account name of the user.</li><li> The password is at least eight characters long.</li><li> The password contains characters from three of the following four categories:</li><ul><li>Latin uppercase letters (A through Z)</li><li>Latin lowercase letters (a through z)</li><li>Base 10 digits (0 through 9)</li><li>Non-alphanumeric characters such as: exclamation point (!), dollar sign ($), number sign (#), or percent (%).</li></ul></ul> Passwords can be up to 128 characters long. Use passwords that are as long and complex as possible. Visit <a href=https://aka.ms/azuresqlserverpasswordpolicy>aka.ms/azuresqlserverpasswordpolicy</a> for more details."
}
},
"tagValues": {
"defaultValue": {
"Created with": "Synapse Azure Resource Manager deployment template"
},
"type": "Object"
},
"cmkUri": {
"defaultValue": "",
"type": "String",
"metadata": {
"description": "The uri to a key in your Key Vault to add a second layer of encryption on top of the default infrastructure encryption"
}
},
"setSbdcRbacOnStorageAccount": {
"defaultValue": false,
"type": "Bool"
},
"sqlPoolName": {
"type": "String"
},
"skuPoolName": {
"type": "String"
},
"location": {
"type": "String"
},
"metadataSync": {
"defaultValue": false,
"type": "Bool"
},
"tags": {
"defaultValue": {},
"type": "Object"
},
"eventGridTopicName": {
"type": "string",
"defaultValue": "[format('topic-{0}', uniqueString(resourceGroup().id))]",
"metadata": {
"description": "The name of the Event Grid custom topic."
}
},
"containerName": {
"type": "string"
}
},
"variables": {
"dataLakeStorageName": "[if(empty(parameters('storageAccountName')), replace(tolower(parameters('workspaceName')),'-',''), tolower(parameters('storageAccountName')))]",
"cmkUriStripVersion": "[if(empty(parameters('cmkUri')), '', substring(parameters('cmkUri'), 0, lastIndexOf(parameters('cmkUri'), '/')))]",
"withCmk": {
"cmk": {
"key": {
"name": "default",
"keyVaultUrl": "[variables('cmkUriStripVersion')]"
}
}
},
"encryption": "[if(empty(parameters('cmkUri')), json('{}'), variables('withCmk'))]"
},
"resources": [
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2021-04-01",
"name": "storage",
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "https://raw.githubusercontent.com/Azure-Samples/Synapse/main/Manage/DeployWorkspace/storage/azuredeploy.json",
"contentVersion": "1.0.0.0"
},
"parameters": {
"storageAccount": {
"value": "[variables('dataLakeStorageName')]"
},
"workspaceContainer": {
"value": "[tolower(parameters('workspaceName'))]"
}
}
}
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2021-04-01",
"name": "workspace",
"dependsOn": [
"storage"
],
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "https://raw.githubusercontent.com/Azure-Samples/Synapse/main/Manage/DeployWorkspace/workspace/azuredeploy.json",
"contentVersion": "1.0.0.0"
},
"parameters": {
"name": {
"value": "[tolower(parameters('workspaceName'))]"
},
"sqlAdministratorLogin": {
"value": "[parameters('sqlAdministratorLogin')]"
},
"sqlAdministratorPassword": {
"value": "[parameters('sqlAdministratorPassword')]"
},
"setSbdcRbacOnStorageAccount": {
"value": "[parameters('setSbdcRbacOnStorageAccount')]"
},
"defaultDataLakeStorageAccountName": {
"value": "[variables('dataLakeStorageName')]"
},
"defaultDataLakeStorageFilesystemName": {
"value": "[tolower(parameters('workspaceName'))]"
},
"tagValues": {
"value": "[parameters('tagValues')]"
},
"encryption": {
"value": "[variables('encryption')]"
}
}
}
},
{
"type": "Microsoft.Synapse/workspaces/sqlPools",
"apiVersion": "2021-06-01",
"name": "[concat(parameters('workspaceName'), '/', parameters('sqlPoolName'))]",
"location": "[parameters('location')]",
"dependsOn": [
"workspace"
],
"tags": "[parameters('tags')]",
"sku": {
"name": "[parameters('skuPoolName')]"
},
"properties": {
"createMode": "Default",
"collation": "SQL_Latin1_General_CP1_CI_AS"
},
"resources": [
{
"type": "metadataSync",
"apiVersion": "2021-06-01",
"name": "config",
"location": "[parameters('location')]",
"dependsOn": [
"[concat('Microsoft.Synapse/workspaces/', parameters('workspaceName'), '/sqlPools/', parameters('sqlPoolName'))]"
],
"properties": {
"Enabled": "[parameters('metadataSync')]"
},
"condition": "[parameters('metadataSync')]"
}
]
},
{
"type": "Microsoft.EventGrid/topics",
"apiVersion": "2020-06-01",
"name": "[parameters('eventGridTopicName')]",
"location": "[parameters('location')]"
},
{
"type": "Microsoft.Storage/storageAccounts/blobServices/containers",
"apiVersion": "2021-06-01",
"name": "[format('{0}/default/{1}', parameters('storageAccountName'), parameters('containerName'))]",
"dependsOn": [
"storage"
]
}
],
"outputs": {}
}