Share via


EncryptionSettingsElement Class

Definition

Encryption settings for one disk volume.

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

Constructors

EncryptionSettingsElement()

Initializes a new instance of EncryptionSettingsElement.

Properties

DiskEncryptionKey

Key Vault Secret Url and vault id of the disk encryption key.

KeyEncryptionKey

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EncryptionSettingsElement>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EncryptionSettingsElement>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EncryptionSettingsElement>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EncryptionSettingsElement>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EncryptionSettingsElement>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to