EncryptionSettingsGroup Class

Definition

Encryption settings for disk or snapshot.

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

Constructors

EncryptionSettingsGroup(Boolean)

Initializes a new instance of EncryptionSettingsGroup.

Properties

Enabled

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

EncryptionSettings

A collection of encryption settings, one for each disk volume.

EncryptionSettingsVersion

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EncryptionSettingsGroup>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EncryptionSettingsGroup>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EncryptionSettingsGroup>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EncryptionSettingsGroup>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EncryptionSettingsGroup>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to