AutoEncryptionOptions Constructor |
Namespace:
MongoDB.Driver.Encryption
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public AutoEncryptionOptions(
CollectionNamespace keyVaultNamespace,
IReadOnlyDictionary<string, IReadOnlyDictionary<string, Object>> kmsProviders,
Optional<bool> bypassAutoEncryption = default,
Optional<IReadOnlyDictionary<string, Object>> extraOptions = default,
Optional<IMongoClient> keyVaultClient = default,
Optional<IReadOnlyDictionary<string, BsonDocument>> schemaMap = default,
Optional<IReadOnlyDictionary<string, SslSettings>> tlsOptions = default
)
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
)
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>>
(* Defaults:
let _bypassAutoEncryption = defaultArg bypassAutoEncryption new Optional<bool>()
let _extraOptions = defaultArg extraOptions new Optional<IReadOnlyDictionary<string, Object>>()
let _keyVaultClient = defaultArg keyVaultClient new Optional<IMongoClient>()
let _schemaMap = defaultArg schemaMap new Optional<IReadOnlyDictionary<string, BsonDocument>>()
let _tlsOptions = defaultArg tlsOptions new Optional<IReadOnlyDictionary<string, SslSettings>>()
*)
-> 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.
See Also