没有凭据的新AzureRmSqlDatabaseExport [英] New-AzureRmSqlDatabaseExport without credentials

查看:48
本文介绍了没有凭据的新AzureRmSqlDatabaseExport的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




他们是否使用此命令而无需指定 



-AdministratorLogin

-AdministratorLoginPassword



并使用当前用户凭据而不必从自动化角度使用Get-Credential其他sql命令不需要这个。


问候


Marcus




解决方案

你好,¥b $ b¥ b $ b



这些参数不是命令的可选参数,它们是使用命令所必需的参数。据我所知
并且基于文档,没有提供这两个参数就无法使用这些命令。





< span lang ="EN-US"style ="color:black; font-family:'Arial','sans-serif'; font-size:10pt"> https:// docs.microsoft.com/en-us/powershell/module/azurerm.sql/new-azurermsqldatabaseexport?view=azurermps-4.0.0






< p style ="line-height:normal; margin-bottom:0pt"> 等效的REST API也需要这两个参数ters。





https://msdn.microsoft.com/en-us/library/azure/mt683389.aspx







希望这会有所帮助。







问候,



Alberto Morillo

SQLCoffee.com








Is their anyway of using this command without having to specify 

-AdministratorLogin
-AdministratorLoginPassword

and using the current users credentials without having to use Get-Credential from an automation point of view other sql commands do not require this.

Regards

Marcus


解决方案

Hello,

Those parameters are not optional parameters of the command, they are required parameters to use the command. To my knowledge and based on the documentation, there is no way to use these commands without providing those two parameters.

https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/new-azurermsqldatabaseexport?view=azurermps-4.0.0

The equivalent REST API also requires those two parameters.

https://msdn.microsoft.com/en-us/library/azure/mt683389.aspx



Hope this helps.



Regards,

Alberto Morillo
SQLCoffee.com




这篇关于没有凭据的新AzureRmSqlDatabaseExport的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆