gpt4 book ai didi

Azure 资源管理器 (ARM) 导入数据库 (Bacpac) 错误(已关闭)

转载 作者:行者123 更新时间:2023-12-03 03:13:00 25 4
gpt4 key购买 nike

我正在使用 ARM 模板从存储帐户上存储的 bacpac 文件执行导入 Azure SQL 数据库

但是,我收到来自 Azure 的意外错误请求错误。就在几周前,同一个 ARM 模板还运行良好。

当我尝试在新的 Azure 门户中手动执行导入数据库时​​,我也收到来自 Azure 的错误,但他们没有指定错误详细信息。

我尝试过三个不同的地点:东南亚、北欧和美国中部,但都失败了。

下面是我的数据库服务器和数据库导入的 ARM 模板部分。

{
"type": "Microsoft.Sql/servers",
"apiVersion": "2014-04-01-preview",
"properties": {
"administratorLogin": "[parameters('dbLogin')]",
"administratorLoginPassword": "[parameters('dbPassword')]",
"version": "12.0"
},
"name": "[parameters('sqlServerName')]",
"location": "[resourceGroup().location]",
"resources": [
{
"type": "firewallrules",
"apiVersion": "2014-04-01-preview",
"properties": {
"endIpAddress": "0.0.0.0",
"startIpAddress": "0.0.0.0"
},
"name": "AllowAllWindowsAzureIps",
"dependsOn": [
"[resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))]"
]
},
{
"type": "databases",
"apiVersion": "2014-04-01-preview",
"properties": {
"edition": "[parameters('databaseEdition')]",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"maxSizeBytes": "[parameters('maxDatabaseSize')]",
"requestedServiceObjectiveId": "[parameters('dbServiceObjectiveLevel')]"
},
"name": "[parameters('webDatabaseName')]",
"location": "[resourceGroup().location]",
"dependsOn": [
"[resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))]"
],
"resources": [
{
"type": "extensions",
"apiVersion": "2014-04-01-preview",
"properties": {
"operationMode": "Import",
"storageKey": "[parameters('bacpacStorageKey')]",
"storageKeyType": "Primary",
"administratorLogin": "[parameters('dbLogin')]",
"administratorLoginPassword": "[parameters('dbPassword')]",
"storageUri": "[parameters('webBacpacUrl')]"
},
"name": "Import",
"location": "[resourceGroup().location]",
"dependsOn": [
"[resourceId('Microsoft.Sql/servers/databases', parameters('sqlServerName'), parameters('webDatabaseName'))]"
]
}
]
},
{
"type": "databases",
"apiVersion": "2014-04-01-preview",
"properties": {
"edition": "[parameters('databaseEdition')]",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"maxSizeBytes": "[parameters('maxDatabaseSize')]",
"requestedServiceObjectiveId": "[parameters('dbServiceObjectiveLevel')]"
},
"name": "[parameters('coreDatbaseName')]",
"location": "[resourceGroup().location]",
"dependsOn": [
"[resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))]"
],
"resources": [
{
"type": "extensions",
"apiVersion": "2014-04-01-preview",
"properties": {
"operationMode": "Import",
"storageKey": "[parameters('bacpacStorageKey')]",
"storageKeyType": "Primary",
"administratorLogin": "[parameters('dbLogin')]",
"administratorLoginPassword": "[parameters('dbPassword')]",
"storageUri": "[parameters('coreBacpacUrl')]"
},
"name": "Import",
"dependsOn": [
"[resourceId('Microsoft.Sql/servers/databases', parameters('sqlServerName'), parameters('coreDatbaseName'))]"
]
}
]
},
{
"type": "databases",
"apiVersion": "2014-04-01-preview",
"properties": {
"edition": "[parameters('databaseEdition')]",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"maxSizeBytes": "[parameters('maxDatabaseSize')]",
"requestedServiceObjectiveId": "[parameters('dbServiceObjectiveLevel')]"
},
"name": "[parameters('mastrerDatabaseName')]",
"location": "[resourceGroup().location]",
"dependsOn": [
"[resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))]"
],
"resources": [
{
"type": "extensions",
"apiVersion": "2014-04-01-preview",
"properties": {
"operationMode": "Import",
"storageKey": "[parameters('bacpacStorageKey')]",
"storageKeyType": "Primary",
"administratorLogin": "[parameters('dbLogin')]",
"administratorLoginPassword": "[parameters('dbPassword')]",
"storageUri": "[parameters('masterBacpacUrl')]"
},
"name": "Import",
"location": "[resourceGroup().location]",
"dependsOn": [
"[resourceId('Microsoft.Sql/servers/databases', parameters('sqlServerName'), parameters('mastrerDatabaseName'))]"
]
}
]
}
]
}

Azure 门户针对我的 ARM 部署出现错误: enter image description here

感谢任何帮助或建议!

注意:我怀疑这可能是由于平台问题造成的,但根据过去几天我尝试过的位置,没有报告任何问题 Azure status history

最佳答案

已与 Microsoft Azure 支持人员进行验证,他们确认这是一个平台问题。

更新:Microsoft 解决了与导入数据库相关的平台问题后,该问题已得到验证。

关于Azure 资源管理器 (ARM) 导入数据库 (Bacpac) 错误(已关闭),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34667846/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com