你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

DiskEncryptionConfiguration()

Initializes a new instance of DiskEncryptionConfiguration.

Properties

Targets

The list of disk targets Batch Service will encrypt on the compute node. If omitted, no disks on the compute nodes in the pool will be encrypted. On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.

Explicit Interface Implementations

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