CosmosDBClientEncryptionPolicy Constructor
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.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for