Share via


VMDiskSecurityProfile Class

Definition

Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and required when using Confidential VMs.

public class VMDiskSecurityProfile
type VMDiskSecurityProfile = class
Public Class VMDiskSecurityProfile
Inheritance
VMDiskSecurityProfile

Constructors

VMDiskSecurityProfile()

Initializes a new instance of the VMDiskSecurityProfile class.

Properties

SecurityEncryptionType

Gets or sets gets or sets specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and is required when using Confidential VMs.

Applies to