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

com.pulumi.azure.containerservice.kotlin.outputs.RegistryGeoreplication.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property location A location where the container registry should be geo-replicated.
 * @property regionalEndpointEnabled Whether regional endpoint is enabled for this Container Registry?
 * @property tags A mapping of tags to assign to this replication location.
 * @property zoneRedundancyEnabled Whether zone redundancy is enabled for this replication location? Defaults to `false`.
 * > **NOTE:** Changing the `zone_redundancy_enabled` forces the a underlying replication to be created.
 */
public data class RegistryGeoreplication(
    public val location: String,
    public val regionalEndpointEnabled: Boolean? = null,
    public val tags: Map? = null,
    public val zoneRedundancyEnabled: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.RegistryGeoreplication): RegistryGeoreplication = RegistryGeoreplication(
            location = javaType.location(),
            regionalEndpointEnabled = javaType.regionalEndpointEnabled().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            zoneRedundancyEnabled = javaType.zoneRedundancyEnabled().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy