Partager via


ComputeFleetVmDiskSecurityProfile Class

Definition

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

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

Constructors

ComputeFleetVmDiskSecurityProfile()

Initializes a new instance of ComputeFleetVmDiskSecurityProfile.

Properties

DiskEncryptionSetId

Gets or sets Id.

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeFleetVmDiskSecurityProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ComputeFleetVmDiskSecurityProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeFleetVmDiskSecurityProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeFleetVmDiskSecurityProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ComputeFleetVmDiskSecurityProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to