MongoDbUseTLS Property

General info

Label

Secure connections

Description

Enable TLS for MongoDB connections.

Data type

Boolean

Type

Regular

Code

5361

Symbolic name

MODEL_PROP_MONGODBUSETLS

Lua access code

syslib.model.properties.MongoDbUseTLS

Parent properties

MongoDBConnection

Attributes

Name Tooltip
PROP_CONFIGURABLE The property is configurable and can be changed with DataStudio and the various inmation APIs.
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs.

Examples

Accessing the MongoDbUseTLS property.

  • Lua

-- Read from the MongoDbUseTLS
syslib.getvalue("<OBJECT FULL PATH>.LogStoreSettings.MongoDBConnection.MongoDbUseTLS")

-- Write to the MongoDbUseTLS
syslib.setvalue("<OBJECT FULL PATH>.LogStoreSettings.MongoDBConnection.MongoDbUseTLS", true)