ClientEncryptionPolicy Class

Definition

Cosmos DB client encryption policy.

public class ClientEncryptionPolicy
type ClientEncryptionPolicy = class
Public Class ClientEncryptionPolicy
Inheritance
ClientEncryptionPolicy

Constructors

ClientEncryptionPolicy()

Initializes a new instance of the ClientEncryptionPolicy class.

ClientEncryptionPolicy(IList<ClientEncryptionIncludedPath>, Int32)

Initializes a new instance of the ClientEncryptionPolicy class.

Properties

IncludedPaths

Gets or sets paths of the item that need encryption along with path-specific settings.

PolicyFormatVersion

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

Methods

Validate()

Validate the object.

Applies to