Language

VMDiskSecurityProfile Class

Definition

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

public class VMDiskSecurityProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.BulkActions.Models.VMDiskSecurityProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.BulkActions.Models.VMDiskSecurityProfile>
type VMDiskSecurityProfile = class
    interface IJsonModel<VMDiskSecurityProfile>
    interface IPersistableModel<VMDiskSecurityProfile>
Public Class VMDiskSecurityProfile
Implements IJsonModel(Of VMDiskSecurityProfile), IPersistableModel(Of VMDiskSecurityProfile)
Inheritance
VMDiskSecurityProfile
Implements

Constructors

Name Description
VMDiskSecurityProfile()

Initializes a new instance of VMDiskSecurityProfile.

Properties

Name Description
DiskEncryptionSetId

The ID of the sub-resource.

SecurityEncryptionType

Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, 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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<VMDiskSecurityProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VMDiskSecurityProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VMDiskSecurityProfile>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VMDiskSecurityProfile>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VMDiskSecurityProfile>.Write(ModelReaderWriterOptions)

Applies to