使用Azure的ARM模板导入数据库 [英] Import databases using Azure ARM template

查看:295
本文介绍了使用Azure的ARM模板导入数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Azure的ARM模板,你可以创建Azure的SQL数据库。但你怎么可以部署表架构或导入数据库。

Using Azure ARM template, you can create Azure SQL databases. But how can you deploy table schemas or import databases.

推荐答案

答案和样品臂模板可以发现<一个href=\"http://stackoverflow.com/questions/34987911/import-a-database-using-azurerm-powershell/34989636#_=_\">http://stackoverflow.com/questions/34987911/import-a-database-using-azurerm-powershell/34989636#=

The answer and a sample ARM template can be found at http://stackoverflow.com/questions/34987911/import-a-database-using-azurerm-powershell/34989636#=

下面是使用专用容器的公共容器,而不是一个例子:

The following is an example of using a public container instead of a private container:

storageKey:?,
   storageKeyType:SharedAccessKey,
   storageUri:[变量('bacpacURL')]

"storageKey": "?", "storageKeyType": "SharedAccessKey", "storageUri": "[variables('bacpacURL')]"

这篇关于使用Azure的ARM模板导入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆