Share via


DiskEncryptionConfiguration Class

Definition

The disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Azure Compute Gallery Image.

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

Constructors

Name Description
DiskEncryptionConfiguration()

Initializes a new instance of DiskEncryptionConfiguration.

Properties

Name Description
CustomerManagedKey

The Customer Managed Key reference to encrypt the OS Disk. Customer Managed Key will encrypt OS Disk by EncryptionAtRest, and by default we will encrypt the data disk as well. It can be used only when the pool is configured with an identity and OsDisk is set as one of the targets of DiskEncryption.

Targets

The list of disk targets Batch Service will encrypt on the compute node. The list of disk targets Batch Service will encrypt on the compute node.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<DiskEncryptionConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DiskEncryptionConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DiskEncryptionConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DiskEncryptionConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DiskEncryptionConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to