天蓝色。使用 ARM 模板自动化 tempDB

Azure. Automation of tempDB with ARM templates

我需要在 SQL Server 2016 Web Edition 和 Windows Server 2016 on Azure 上自动设置 tempDB 文件。是否可以使用 ARM 模板?

我还没有准备好模板,但是有关于带有 DSC 扩展的 VM 的快速入门模板的示例 (https://github.com/Azure/azure-quickstart-templates/tree/master/dsc-extension-azure-automation-pullserver or https://github.com/Azure/azure-quickstart-templates/blob/master/sql-reporting-services-sql-server/azuredeploy.json#L331-L365), that's the only real way to do that. You would have to create your own DSC resource based on xDatabase resource, or you can copy someone else's work: https://gallery.technet.microsoft.com/xSQLServer-PowerShell-12d76584