azure - 是否可以安排新数据层 SQL Azure 实例的规模?

标签 azure azure-sql-database

是否可以安排 Azure SQL 实例的重新调整,即在夜间减少到“基本”,然后在白天升级到“标准 S2”?

谢谢

编辑

我确实尝试使用 Powershell Runbook 使用 Azure 自动化,但出现以下错误:

Error: New-AzureSqlDatabaseServerContext : A network-related or instance-  
specific error occurred while establishing a 
connection to SQL Server. The server was not found or was not accessible.
Verify that the instance name is correct and 
that SQL Server is configured to allow remote connections. (provider: Named 
Pipes Provider, error: 40 - Could not open 
a connection to SQL Server)

我已经提供了所有请求的参数值。也许自动化必须从西欧运行而我的资源在北欧这一事实让我感到复杂?

编辑2

已排序。只需将 DatabaseServerName 指定为名称,并排除“.database.windows.net”。另请确保为 SQLServer 而不是 Active Directory 创建凭据 Assets ,并使用它。因此再次标记为答案。

最佳答案

您可以使用 Azure 自动化来安排作业以在浏览器中完成这一切。

Azure 自动化入门:https://azure.microsoft.com/en-us/documentation/articles/automation-create-runbook-from-samples/

这是一个扩展数据库的示例脚本,您可以将其作为作业运行: https://gallery.technet.microsoft.com/scriptcenter/Azure-SQL-Database-e957354f

关于azure - 是否可以安排新数据层 SQL Azure 实例的规模?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31419698/

相关文章:

node.js - 创建一个从 AZURE 读取数据的 Nodejs Web 应用。 (流分析或事件中心或日志分析)

sql - Azure SQL DB : create users with PowerShell, 参数化 SQL 脚本和 Azure Key Vault

sql-server - SQL Azure 和 Azure 表存储之间的事务

azure - 检测Azure实例的崩溃

Azure函数执行存储过程速度缓慢

azure - 使用异地复制存储对 Azure 虚拟机进行灾难恢复

azure - 我可以从 sql azure 商业数据库版本(旧版)迁移到 sql azure 标准数据库版本(新预览版)吗?

azure - ADF V2 - 基于表列参数化数据复制管道

python - pypi opencensus-ext-azure 无法正常工作(多次发送相同的数据+不发送logging.info()跟踪)

amazon-web-services - 安装带有已安装组件的 helm 软件包