你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EncryptionSettingsCollection 类

定义

磁盘或快照的加密设置

public class EncryptionSettingsCollection
type EncryptionSettingsCollection = class
Public Class EncryptionSettingsCollection
继承
EncryptionSettingsCollection

构造函数

EncryptionSettingsCollection()

初始化 EncryptionSettingsCollection 类的新实例。

EncryptionSettingsCollection(Boolean, IList<EncryptionSettingsElement>, String)

初始化 EncryptionSettingsCollection 类的新实例。

属性

Enabled

获取或设置将此标志设置为 true,并提供 DiskEncryptionKey 和可选 KeyEncryptionKey 以启用加密。 将此标志设置为 false,并删除 DiskEncryptionKey 和 KeyEncryptionKey 以禁用加密。 如果请求对象中的 EncryptionSettings 为 null,则现有设置保持不变。

EncryptionSettings

获取或设置加密设置的集合,每个磁盘卷各一个。

EncryptionSettingsVersion

获取或设置描述磁盘使用的加密类型。 设置此字段后,无法覆盖它。 “1.0”对应于使用 AAD 应用的 Azure 磁盘加密。“1.1”对应于 Azure 磁盘加密。

方法

Validate()

验证 对象。

适用于