PersistenceArgs

data class PersistenceArgs(val aofEnabled: Output<Boolean>? = null, val aofFrequency: Output<Either<String, AofFrequency>>? = null, val rdbEnabled: Output<Boolean>? = null, val rdbFrequency: Output<Either<String, RdbFrequency>>? = null) : ConvertibleToJava<PersistenceArgs>

Persistence-related configuration for the RedisEnterprise database

Constructors

Link copied to clipboard
constructor(aofEnabled: Output<Boolean>? = null, aofFrequency: Output<Either<String, AofFrequency>>? = null, rdbEnabled: Output<Boolean>? = null, rdbFrequency: Output<Either<String, RdbFrequency>>? = null)

Properties

Link copied to clipboard
val aofEnabled: Output<Boolean>? = null

Sets whether AOF is enabled.

Link copied to clipboard
val aofFrequency: Output<Either<String, AofFrequency>>? = null

Sets the frequency at which data is written to disk.

Link copied to clipboard
val rdbEnabled: Output<Boolean>? = null

Sets whether RDB is enabled.

Link copied to clipboard
val rdbFrequency: Output<Either<String, RdbFrequency>>? = null

Sets the frequency at which a snapshot of the database is created.

Functions

Link copied to clipboard
open override fun toJava(): PersistenceArgs