Udostępnij za pośrednictwem


DiskEncryption Class

Definition

Encryption at rest settings for disk or snapshot.

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

Constructors

DiskEncryption()

Initializes a new instance of DiskEncryption.

Properties

DiskEncryptionSetId

ResourceId of the disk encryption set to use for enabling encryption at rest.

EncryptionType

The type of key used to encrypt the data of the disk.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DiskEncryption>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DiskEncryption>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DiskEncryption>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DiskEncryption>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DiskEncryption>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to