All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.redis.kotlin.outputs.GetCacheRedisConfiguration.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.redis.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property activeDirectoryAuthenticationEnabled Specifies if Microsoft Entra (AAD) authentication is enabled.
 * @property aofBackupEnabled
 * @property aofStorageConnectionString0
 * @property aofStorageConnectionString1
 * @property dataPersistenceAuthenticationMethod
 * @property enableAuthentication Specifies if authentication is enabled
 * @property maxclients
 * @property maxfragmentationmemoryReserved Value in megabytes reserved to accommodate for memory fragmentation.
 * @property maxmemoryDelta The max-memory delta for this Redis instance.
 * @property maxmemoryPolicy How Redis will select what to remove when `maxmemory` is reached.
 * @property maxmemoryReserved The value in megabytes reserved for non-cache usage e.g. failover
 * @property notifyKeyspaceEvents
 * @property rdbBackupEnabled Is Backup Enabled? Only supported on Premium SKUs.
 * @property rdbBackupFrequency The Backup Frequency in Minutes. Only supported on Premium SKUs.
 * @property rdbBackupMaxSnapshotCount The maximum number of snapshots that can be created as a backup.
 * @property rdbStorageConnectionString The Connection String to the Storage Account. Only supported for Premium SKUs.
 * @property storageAccountSubscriptionId The ID of the Subscription containing the Storage Account.
 */
public data class GetCacheRedisConfiguration(
    public val activeDirectoryAuthenticationEnabled: Boolean,
    public val aofBackupEnabled: Boolean,
    public val aofStorageConnectionString0: String,
    public val aofStorageConnectionString1: String,
    public val dataPersistenceAuthenticationMethod: String,
    public val enableAuthentication: Boolean,
    public val maxclients: Int,
    public val maxfragmentationmemoryReserved: Int,
    public val maxmemoryDelta: Int,
    public val maxmemoryPolicy: String,
    public val maxmemoryReserved: Int,
    public val notifyKeyspaceEvents: String,
    public val rdbBackupEnabled: Boolean,
    public val rdbBackupFrequency: Int,
    public val rdbBackupMaxSnapshotCount: Int,
    public val rdbStorageConnectionString: String,
    public val storageAccountSubscriptionId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.redis.outputs.GetCacheRedisConfiguration):
            GetCacheRedisConfiguration = GetCacheRedisConfiguration(
            activeDirectoryAuthenticationEnabled = javaType.activeDirectoryAuthenticationEnabled(),
            aofBackupEnabled = javaType.aofBackupEnabled(),
            aofStorageConnectionString0 = javaType.aofStorageConnectionString0(),
            aofStorageConnectionString1 = javaType.aofStorageConnectionString1(),
            dataPersistenceAuthenticationMethod = javaType.dataPersistenceAuthenticationMethod(),
            enableAuthentication = javaType.enableAuthentication(),
            maxclients = javaType.maxclients(),
            maxfragmentationmemoryReserved = javaType.maxfragmentationmemoryReserved(),
            maxmemoryDelta = javaType.maxmemoryDelta(),
            maxmemoryPolicy = javaType.maxmemoryPolicy(),
            maxmemoryReserved = javaType.maxmemoryReserved(),
            notifyKeyspaceEvents = javaType.notifyKeyspaceEvents(),
            rdbBackupEnabled = javaType.rdbBackupEnabled(),
            rdbBackupFrequency = javaType.rdbBackupFrequency(),
            rdbBackupMaxSnapshotCount = javaType.rdbBackupMaxSnapshotCount(),
            rdbStorageConnectionString = javaType.rdbStorageConnectionString(),
            storageAccountSubscriptionId = javaType.storageAccountSubscriptionId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy