BatchAccountEncryptionConfiguration Class

Definition

Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.

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

Constructors

BatchAccountEncryptionConfiguration()

Initializes a new instance of BatchAccountEncryptionConfiguration.

Properties

KeyIdentifier

Full path to the secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

KeySource

Type of the key source.

Explicit Interface Implementations

IJsonModel<BatchAccountEncryptionConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchAccountEncryptionConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchAccountEncryptionConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchAccountEncryptionConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchAccountEncryptionConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to