다음을 통해 공유


VMDiskSecurityProfile Constructors

Definition

Overloads

VMDiskSecurityProfile()

Initializes a new instance of the VMDiskSecurityProfile class.

VMDiskSecurityProfile(String, DiskEncryptionSetParameters)

Initializes a new instance of the VMDiskSecurityProfile class.

VMDiskSecurityProfile()

Initializes a new instance of the VMDiskSecurityProfile class.

public VMDiskSecurityProfile ();
Public Sub New ()

Applies to

VMDiskSecurityProfile(String, DiskEncryptionSetParameters)

Initializes a new instance of the VMDiskSecurityProfile class.

public VMDiskSecurityProfile (string securityEncryptionType = default, Microsoft.Azure.Management.Compute.Models.DiskEncryptionSetParameters diskEncryptionSet = default);
new Microsoft.Azure.Management.Compute.Models.VMDiskSecurityProfile : string * Microsoft.Azure.Management.Compute.Models.DiskEncryptionSetParameters -> Microsoft.Azure.Management.Compute.Models.VMDiskSecurityProfile
Public Sub New (Optional securityEncryptionType As String = Nothing, Optional diskEncryptionSet As DiskEncryptionSetParameters = Nothing)

Parameters

securityEncryptionType
String

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'

diskEncryptionSet
DiskEncryptionSetParameters

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.

Applies to