Udostępnij za pośrednictwem


CosmosDBClientEncryptionPolicy Constructor

Definition

Initializes a new instance of CosmosDBClientEncryptionPolicy.

public CosmosDBClientEncryptionPolicy (System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBClientEncryptionIncludedPath> includedPaths, int policyFormatVersion);
new Azure.ResourceManager.CosmosDB.Models.CosmosDBClientEncryptionPolicy : seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBClientEncryptionIncludedPath> * int -> Azure.ResourceManager.CosmosDB.Models.CosmosDBClientEncryptionPolicy
Public Sub New (includedPaths As IEnumerable(Of CosmosDBClientEncryptionIncludedPath), policyFormatVersion As Integer)

Parameters

includedPaths
IEnumerable<CosmosDBClientEncryptionIncludedPath>

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

policyFormatVersion
Int32

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

Exceptions

includedPaths is null.

Applies to