Partager via


ClientEncryptionPolicy Constructors

Definition

Overloads

ClientEncryptionPolicy()

Initializes a new instance of the ClientEncryptionPolicy class.

ClientEncryptionPolicy(IList<ClientEncryptionIncludedPath>, Int32)

Initializes a new instance of the ClientEncryptionPolicy class.

ClientEncryptionPolicy()

Initializes a new instance of the ClientEncryptionPolicy class.

public ClientEncryptionPolicy ();
Public Sub New ()

Applies to

ClientEncryptionPolicy(IList<ClientEncryptionIncludedPath>, Int32)

Initializes a new instance of the ClientEncryptionPolicy class.

public ClientEncryptionPolicy (System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.ClientEncryptionIncludedPath> includedPaths, int policyFormatVersion);
new Microsoft.Azure.Management.CosmosDB.Models.ClientEncryptionPolicy : System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.ClientEncryptionIncludedPath> * int -> Microsoft.Azure.Management.CosmosDB.Models.ClientEncryptionPolicy
Public Sub New (includedPaths As IList(Of ClientEncryptionIncludedPath), policyFormatVersion As Integer)

Parameters

includedPaths
IList<ClientEncryptionIncludedPath>

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.

Applies to