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

com.pulumi.gcp.redis.kotlin.outputs.GetInstancePersistenceConfig.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.redis.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property persistenceMode Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
 * - DISABLED: 	Persistence is disabled for the instance, and any existing snapshots are deleted.
 * - RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
 * @property rdbNextSnapshotTime Output only. The next time that a snapshot attempt is scheduled to occur.
 * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up
 * to nine fractional digits.
 * Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
 * @property rdbSnapshotPeriod Optional. Available snapshot periods for scheduling.
 * - ONE_HOUR:	Snapshot every 1 hour.
 * - SIX_HOURS:	Snapshot every 6 hours.
 * - TWELVE_HOURS:	Snapshot every 12 hours.
 * - TWENTY_FOUR_HOURS:	Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
 * @property rdbSnapshotStartTime Optional. Date and time that the first snapshot was/will be attempted,
 * and to which future snapshots will be aligned. If not provided,
 * the current time will be used.
 * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution
 * and up to nine fractional digits.
 * Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
 */
public data class GetInstancePersistenceConfig(
    public val persistenceMode: String,
    public val rdbNextSnapshotTime: String,
    public val rdbSnapshotPeriod: String,
    public val rdbSnapshotStartTime: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.redis.outputs.GetInstancePersistenceConfig): GetInstancePersistenceConfig = GetInstancePersistenceConfig(
            persistenceMode = javaType.persistenceMode(),
            rdbNextSnapshotTime = javaType.rdbNextSnapshotTime(),
            rdbSnapshotPeriod = javaType.rdbSnapshotPeriod(),
            rdbSnapshotStartTime = javaType.rdbSnapshotStartTime(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy