ClientEncryptionPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cosmos DB client encryption policy.
public class ClientEncryptionPolicy
type ClientEncryptionPolicy = class
Public Class ClientEncryptionPolicy
- Inheritance
-
ClientEncryptionPolicy
Constructors
| Name | Description |
|---|---|
| ClientEncryptionPolicy() |
Initializes a new instance of the ClientEncryptionPolicy class. |
| ClientEncryptionPolicy(IList<ClientEncryptionIncludedPath>, Int32) |
Initializes a new instance of the ClientEncryptionPolicy class. |
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| Validate() |
Validate the object. |