你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EncryptionSettingsCollection 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
EncryptionSettingsCollection() |
初始化 EncryptionSettingsCollection 类的新实例。 |
EncryptionSettingsCollection(Boolean, IList<EncryptionSettingsElement>, String) |
初始化 EncryptionSettingsCollection 类的新实例。 |
EncryptionSettingsCollection()
初始化 EncryptionSettingsCollection 类的新实例。
public EncryptionSettingsCollection ();
Public Sub New ()
适用于
EncryptionSettingsCollection(Boolean, IList<EncryptionSettingsElement>, String)
初始化 EncryptionSettingsCollection 类的新实例。
public EncryptionSettingsCollection (bool enabled, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.EncryptionSettingsElement> encryptionSettings = default, string encryptionSettingsVersion = default);
new Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection : bool * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.EncryptionSettingsElement> * string -> Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection
Public Sub New (enabled As Boolean, Optional encryptionSettings As IList(Of EncryptionSettingsElement) = Nothing, Optional encryptionSettingsVersion As String = Nothing)
参数
- enabled
- Boolean
将此标志设置为 true,并提供 DiskEncryptionKey 和可选的 KeyEncryptionKey 以启用加密。 将此标志设置为 false,并删除 DiskEncryptionKey 和 KeyEncryptionKey 以禁用加密。 如果请求对象中的 EncryptionSettings 为 null,则现有设置保持不变。
- encryptionSettings
- IList<EncryptionSettingsElement>
加密设置的集合,每个磁盘卷各一个。
- encryptionSettingsVersion
- String
描述磁盘使用的加密类型。 设置此字段后,无法覆盖它。 “1.0”对应于使用 AAD 应用的 Azure 磁盘加密。“1.1”对应于 Azure 磁盘加密。