Partager via


OSDiskImageEncryption Class

Definition

Contains encryption settings for an OS disk image.

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

Constructors

OSDiskImageEncryption()

Initializes a new instance of OSDiskImageEncryption.

Properties

DiskEncryptionSetId

A relative URI containing the resource ID of the disk encryption set.

(Inherited from DiskImageEncryption)
SecurityProfile

This property specifies the security profile of an OS disk image.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DiskImageEncryption>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from DiskImageEncryption)
IJsonModel<DiskImageEncryption>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DiskImageEncryption)
IJsonModel<OSDiskImageEncryption>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OSDiskImageEncryption>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DiskImageEncryption>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DiskImageEncryption)
IPersistableModel<DiskImageEncryption>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DiskImageEncryption)
IPersistableModel<DiskImageEncryption>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DiskImageEncryption)
IPersistableModel<OSDiskImageEncryption>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OSDiskImageEncryption>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OSDiskImageEncryption>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to