Puzzled about Credential Details for Vertically Scaling SQL Azure using Azure Automation?

本小妞迷上赌 提交于 2019-12-11 03:01:28

问题


I am trying to upscale and downscale my SQL Azure instances using Azure Automation. I am using a gallery runbook called "Set-AzureSqlDatabaseEdition.ps1" which has been created by Joseph Idziorek.

The link is: SQL Azure vertical scale Runbook The parameter examples are:

.EXAMPLE for Set-AzureSqlDatabaseEdition  

    -SqlServerName bzb98er9bp   

    -DatabaseName myDatabase 

    -Edition Premium 

    -PerfLevel P1 

    -Credential myCredential  

However I am confused what should go into "Crediential". Is this the SQLServer Admin Username or something else? Is it something I create in Azure Automation Assets?

Thanks.


回答1:


One needs to create a credential asset using the "SQLServer" credentials not AD, and then use the name of this for the Credential parameter value.



来源:https://stackoverflow.com/questions/31650319/puzzled-about-credential-details-for-vertically-scaling-sql-azure-using-azure-au

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!