有没有办法使用Azure CLI 2在现有的Azure SQL数据库上打开TDE?如果有,你能提供一个例子吗?
谢谢,
发布于 2017-04-27 01:23:48
幸运的是,az cli是开源的,所以我们只需查找命令即可。
不幸的是,它看起来还没有得到支持(截至2017年4月26日)。代码在那里,但被注释掉了。
From the source: sql/commands.py#L59
# TDE will not be included in the first batch of GA commands
发布于 2019-08-29 04:46:52
您可以使用az sql db tde set command.启用/禁用TDE。
az sql db tde set --status {Disabled, Enabled}
[--database]
[--ids]
[--resource-group]
[--server]
[--subscription]例如,az sql db set --resource-group mygroup --server myserver --database mydb --status Enabled。
https://stackoverflow.com/questions/43378417
复制相似问题