DiskSecurityProfile Class

Definition

Contains the security related information for the resource.

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

Constructors

DiskSecurityProfile()

Initializes a new instance of DiskSecurityProfile.

Properties

SecureVmDiskEncryptionSetId

ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key.

SecurityType

Specifies the SecurityType of the VM. Applicable for OS disks only.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DiskSecurityProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DiskSecurityProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DiskSecurityProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DiskSecurityProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DiskSecurityProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to