【发布时间】:2017-03-16 03:08:33
【问题描述】:
在 AzureSQL 中,PremiumRS 服务层的名称是什么? 我的自动化脚本每天早上 6 点将我的数据库从 Standard S3 升级到 Premium P1,但我希望将其更改为升级到 PremiumRS PS1。
这是我正在使用的脚本: https://gallery.technet.microsoft.com/scriptcenter/Azure-SQL-Database-e957354f
【问题讨论】:
-
新的 PremiumRS 层似乎还不能自动化。 webhook 不起作用,昨晚我将数据库设置为 PRS2,并且该数据库的自动化脚本已经完美运行了几个月,但未能将其降至 S0。我想,因为它是 PRS 层级。
-
昨晚自动化脚本报错:
Set-AzureSqlDatabase : Cannot validate argument on parameter 'Database'. The argument is null. Provide a valid value for the argument, and then try running the command again. At AzureSQLScaling:71 char:71 + + CategoryInfo : InvalidData: (:) [Set-AzureSqlDatabase], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet.SetAzureSqlDatabase
标签: azure azure-sql-database azure-automation