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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET