使用以下参数创建sql数据库时:
Want to use SQL elastic pool? - No
Compute and storage - Free, 32 MB storage
和使用现有Azure SQL Server的默认其他设置,出现“冲突”状态和状态消息错误:
"statusMessage": {
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "InternalServerError",
"message": "An unexpected error occured while processing the request."
}
]
}
}
但是在创建具有相同参数的第一个数据库和新的SQL Server时都没有错误。
有什么办法可以解决它?预先感谢。
答案 0 :(得分:0)
Azure SQL数据库允许您在每个区域创建一个免费的Azure SQL Server数据库,并在365天后恢复为“标准”。自从您使用PowerShell创建它以来,这就是我所知道的。它可以与REST API或门户一起使用。
New-AzureRmSqlDatabase -DatabaseName $DatabaseName -ServerName $sqlServer.ServerName
-ResourceGroupName $resourceGroup.ResourceGroupName -Edition 'Free'
-RequestedServiceObjectiveName 'Free'
并非所有地区都支持。目前,该功能仅适用于以下地区:
Location DisplayName
-------- -------------------
australiaeast Australia East
australiasoutheast Australia Southeast
centralindia Central India
eastasia East Asia
francecentral France Central
japaneast Japan East
japanwest Japan West
koreacentral Korea Central
koreasouth Korea South
northcentralus North Central US
northeurope North Europe
southeastasia Southeast Asia
southindia South India
uksouth UK South
ukwest UK West
westcentralus West Central US
westeurope West Europe
westindia West India
westus2 West US 2