ClientEncryptionPolicy Constructors
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.
Overloads
ClientEncryptionPolicy(IEnumerable<ClientEncryptionIncludedPath>) |
Initializes a new instance of the ClientEncryptionPolicy class. The PolicyFormatVersion will be set to 1. Note: If you need to include partition key or id field paths as part of ClientEncryptionPolicy, please set PolicyFormatVersion to 2. |
ClientEncryptionPolicy(IEnumerable<ClientEncryptionIncludedPath>, Int32) |
Initializes a new instance of the ClientEncryptionPolicy class. Note: If you need to include partition key or id field paths as part of ClientEncryptionPolicy, please set PolicyFormatVersion to 2. |
ClientEncryptionPolicy(IEnumerable<ClientEncryptionIncludedPath>)
- Source:
- ClientEncryptionPolicy.cs
Initializes a new instance of the ClientEncryptionPolicy class. The PolicyFormatVersion will be set to 1. Note: If you need to include partition key or id field paths as part of ClientEncryptionPolicy, please set PolicyFormatVersion to 2.
public ClientEncryptionPolicy (System.Collections.Generic.IEnumerable<Microsoft.Azure.Cosmos.ClientEncryptionIncludedPath> includedPaths);
new Microsoft.Azure.Cosmos.ClientEncryptionPolicy : seq<Microsoft.Azure.Cosmos.ClientEncryptionIncludedPath> -> Microsoft.Azure.Cosmos.ClientEncryptionPolicy
Public Sub New (includedPaths As IEnumerable(Of ClientEncryptionIncludedPath))
Parameters
- includedPaths
- IEnumerable<ClientEncryptionIncludedPath>
List of paths to include in the policy definition.
Applies to
ClientEncryptionPolicy(IEnumerable<ClientEncryptionIncludedPath>, Int32)
- Source:
- ClientEncryptionPolicy.cs
Initializes a new instance of the ClientEncryptionPolicy class. Note: If you need to include partition key or id field paths as part of ClientEncryptionPolicy, please set PolicyFormatVersion to 2.
public ClientEncryptionPolicy (System.Collections.Generic.IEnumerable<Microsoft.Azure.Cosmos.ClientEncryptionIncludedPath> includedPaths, int policyFormatVersion);
new Microsoft.Azure.Cosmos.ClientEncryptionPolicy : seq<Microsoft.Azure.Cosmos.ClientEncryptionIncludedPath> * int -> Microsoft.Azure.Cosmos.ClientEncryptionPolicy
Public Sub New (includedPaths As IEnumerable(Of ClientEncryptionIncludedPath), policyFormatVersion As Integer)
Parameters
- includedPaths
- IEnumerable<ClientEncryptionIncludedPath>
List of paths to include in the policy definition.
- policyFormatVersion
- Int32
Version of the client encryption policy definition. Current supported versions are 1 and 2.
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