磁盘加密 [英] Encryption of disk

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

问题描述

我们可以在门户中创建VM时对磁盘进行加密吗?

Can we encrypt the disk while creating the VM in the portal?

我们已经阅读了Azure提供的文档,其中

We have gone through the documents provided by Azure <g class="gr_ gr_128 gr-alert gr_gramm gr_hide gr_inline_cards gr_run_anim Style multiReplace replaceWithoutSep" data-gr-id="128" id="128">https://docs.microsoft.com/en-us/azure/security/azure-security-disk-encryption ,</g> Is it possible to change the encryption through azure SDK. because in most the document they have mentioned about PowerShell and CLI.

我们可以更新加密< g class ="gr_ gr_504 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id ="504". id ="504"> throuh/g.天蓝色的节点< g class =''gr_ gr_427 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id ="427". id ="427" sdk/g.对于虚拟机createOrUpdate(< g class =" gr_ gr_442 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id ="442". id ="442"> resourceGroupName/g,vmName,参数,选项,< g class ="gr_gr_524 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id ="524". id ="524"> optionalcallback(/g))

Can we update the encryption <g class="gr_ gr_504 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="504" id="504">throuh</g> azure-node-<g class="gr_ gr_427 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="427" id="427">sdk</g> for virtual machines createOrUpdate(<g class="gr_ gr_442 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="442" id="442">resourceGroupName</g>, vmName, parameters, options, <g class="gr_ gr_524 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="524" id="524">optionalcallback</g>)

https://docs.microsoft.com/zh-cn/javascript/api/azure-arm-compute/virtualmachines?view=azure-node-latest

https://docs.microsoft.com/en-us/javascript/api/azure-arm-compute/virtualmachines?view=azure-node-latest

推荐答案

感谢您的帮助,这里有一个可以帮助您解决此问题的API,您可以使用Disk.EncryptionSettings属性,可以找到信息 此处  ;, ,您可以在此
Thanks for reaching out, there is an API that could help you resolving this issue, you can use the Disk.EncryptionSettings property, you can find info here , and you can find the supported Disk classes that are supported in this documentation


这篇关于磁盘加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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