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

com.pulumi.gcp.redis.kotlin.outputs.ClusterZoneDistributionConfig.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property mode Immutable. The mode for zone distribution for Memorystore Redis cluster.
 * If not provided, MULTI_ZONE will be used as default
 * Possible values are: `MULTI_ZONE`, `SINGLE_ZONE`.
 * @property zone Immutable. The zone for single zone Memorystore Redis cluster.
 */
public data class ClusterZoneDistributionConfig(
    public val mode: String? = null,
    public val zone: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.redis.outputs.ClusterZoneDistributionConfig): ClusterZoneDistributionConfig = ClusterZoneDistributionConfig(
            mode = javaType.mode().map({ args0 -> args0 }).orElse(null),
            zone = javaType.zone().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy