AutoEncryptionOptions Constructor |
Namespace:
MongoDB.Driver.Encryption
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public AutoEncryptionOptions(
CollectionNamespace keyVaultNamespace,
IReadOnlyDictionary<string, IReadOnlyDictionary<string, Object>> kmsProviders,
Optional<bool> bypassAutoEncryption = null,
Optional<IReadOnlyDictionary<string, Object>> extraOptions = null,
Optional<IMongoClient> keyVaultClient = null,
Optional<IReadOnlyDictionary<string, BsonDocument>> schemaMap = null,
Optional<IReadOnlyDictionary<string, SslSettings>> tlsOptions = null,
Optional<IReadOnlyDictionary<string, BsonDocument>> encryptedFieldsMap = null,
Optional<Nullable<bool>> bypassQueryAnalysis = null
)
Public Sub New (
keyVaultNamespace As CollectionNamespace,
kmsProviders As IReadOnlyDictionary(Of String, IReadOnlyDictionary(Of String, Object)),
Optional bypassAutoEncryption As Optional(Of Boolean) = Nothing,
Optional extraOptions As Optional(Of IReadOnlyDictionary(Of String, Object)) = Nothing,
Optional keyVaultClient As Optional(Of IMongoClient) = Nothing,
Optional schemaMap As Optional(Of IReadOnlyDictionary(Of String, BsonDocument)) = Nothing,
Optional tlsOptions As Optional(Of IReadOnlyDictionary(Of String, SslSettings)) = Nothing,
Optional encryptedFieldsMap As Optional(Of IReadOnlyDictionary(Of String, BsonDocument)) = Nothing,
Optional bypassQueryAnalysis As Optional(Of Nullable(Of Boolean)) = Nothing
)
new :
keyVaultNamespace : CollectionNamespace *
kmsProviders : IReadOnlyDictionary<string, IReadOnlyDictionary<string, Object>> *
?bypassAutoEncryption : Optional<bool> *
?extraOptions : Optional<IReadOnlyDictionary<string, Object>> *
?keyVaultClient : Optional<IMongoClient> *
?schemaMap : Optional<IReadOnlyDictionary<string, BsonDocument>> *
?tlsOptions : Optional<IReadOnlyDictionary<string, SslSettings>> *
?encryptedFieldsMap : Optional<IReadOnlyDictionary<string, BsonDocument>> *
?bypassQueryAnalysis : Optional<Nullable<bool>>
(* Defaults:
let _bypassAutoEncryption = defaultArg bypassAutoEncryption null
let _extraOptions = defaultArg extraOptions null
let _keyVaultClient = defaultArg keyVaultClient null
let _schemaMap = defaultArg schemaMap null
let _tlsOptions = defaultArg tlsOptions null
let _encryptedFieldsMap = defaultArg encryptedFieldsMap null
let _bypassQueryAnalysis = defaultArg bypassQueryAnalysis null
*)
-> AutoEncryptionOptions
Parameters
- keyVaultNamespace
- Type: MongoDB.DriverCollectionNamespace
The keyVault namespace. - kmsProviders
- Type: System.Collections.GenericIReadOnlyDictionaryString, IReadOnlyDictionaryString, Object
The kms providers. - bypassAutoEncryption (Optional)
- Type: MongoDB.DriverOptionalBoolean
The bypass auto encryption flag. - extraOptions (Optional)
- Type: MongoDB.DriverOptionalIReadOnlyDictionaryString, Object
The extra options. - keyVaultClient (Optional)
- Type: MongoDB.DriverOptionalIMongoClient
The keyVault client. - schemaMap (Optional)
- Type: MongoDB.DriverOptionalIReadOnlyDictionaryString, BsonDocument
The schema map. - tlsOptions (Optional)
- Type: MongoDB.DriverOptionalIReadOnlyDictionaryString, SslSettings
The tls options. - encryptedFieldsMap (Optional)
- Type: MongoDB.DriverOptionalIReadOnlyDictionaryString, BsonDocument
The encryptedFields map. - bypassQueryAnalysis (Optional)
- Type: MongoDB.DriverOptionalNullableBoolean
The bypass query analysis flag.
See Also