Share via


VMDiskSecurityProfile Class

Definition

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

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

Constructors

VMDiskSecurityProfile()

Initializes a new instance of the VMDiskSecurityProfile class.

VMDiskSecurityProfile(String, DiskEncryptionSetParameters)

Initializes a new instance of the VMDiskSecurityProfile class.

Properties

DiskEncryptionSet

Gets or sets specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.

SecurityEncryptionType

Gets or sets specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs. Possible values include: 'VMGuestStateOnly', 'DiskWithVMGuestState'

Applies to