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

SecurityEncryptionType 结构

定义

指定托管磁盘的 EncryptionType。 它设置为 DiskWithVMGuestState 以加密托管磁盘以及 VMGuestState blob,将 VMGuestStateOnly 设置为仅加密 VMGuestState blob。 注意: 只能为机密 VM 设置它。

public readonly struct SecurityEncryptionType : IEquatable<Azure.ResourceManager.Compute.Models.SecurityEncryptionType>
type SecurityEncryptionType = struct
Public Structure SecurityEncryptionType
Implements IEquatable(Of SecurityEncryptionType)
继承
SecurityEncryptionType
实现

构造函数

SecurityEncryptionType(String)

初始化 SecurityEncryptionType 的新实例。

属性

DiskWithVmGuestState

DiskWithVMGuestState。

VmGuestStateOnly

VMGuestStateOnly。

方法

Equals(SecurityEncryptionType)

指示当前对象是否等于同一类型的另一个对象。

ToString()

返回此实例的完全限定类型名称。

运算符

Equality(SecurityEncryptionType, SecurityEncryptionType)

确定两个 SecurityEncryptionType 值是否相同。

Implicit(String to SecurityEncryptionType)

将字符串转换为 SecurityEncryptionType

Inequality(SecurityEncryptionType, SecurityEncryptionType)

确定两个 SecurityEncryptionType 值是否不同。

适用于