CosmosDBClientEncryptionPolicy Class

Definition

Cosmos DB client encryption policy.

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

Constructors

CosmosDBClientEncryptionPolicy(IEnumerable<CosmosDBClientEncryptionIncludedPath>, Int32)

Initializes a new instance of CosmosDBClientEncryptionPolicy.

Properties

IncludedPaths

Paths of the item that need encryption along with path-specific settings.

PolicyFormatVersion

Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBClientEncryptionPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBClientEncryptionPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBClientEncryptionPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBClientEncryptionPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBClientEncryptionPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to