Partilhar via


DataDiskImageEncryption Class

Definition

Contains encryption settings for a data disk image.

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

Constructors

DataDiskImageEncryption(Int32)

Initializes a new instance of DataDiskImageEncryption.

Properties

DiskEncryptionSetId

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

(Inherited from DiskImageEncryption)
Lun

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from DiskImageEncryption)

Explicit Interface Implementations

IJsonModel<DataDiskImageEncryption>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataDiskImageEncryption>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<DataDiskImageEncryption>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataDiskImageEncryption>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataDiskImageEncryption>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

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)

Applies to