Freigeben über


CosmosDBClientEncryptionPolicy Konstruktor

Definition

Initialisiert eine neue instance von 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)

Parameter

includedPaths
IEnumerable<CosmosDBClientEncryptionIncludedPath>

Pfade des Elements, die verschlüsselungsbedürftig sind, sowie pfadspezifische Einstellungen.

policyFormatVersion
Int32

Version der Definition der Clientverschlüsselungsrichtlinie. Unterstützte Versionen sind 1 und 2. Version 2 unterstützt die Pfadverschlüsselung für ID und Partitionsschlüssel.

Ausnahmen

includedPaths ist NULL.

Gilt für: