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

com.pulumi.gcp.dns.kotlin.outputs.ManagedZoneDnssecConfig.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.dns.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property defaultKeySpecs Specifies parameters that will be used for generating initial DnsKeys
 * for this ManagedZone. If you provide a spec for keySigning or zoneSigning,
 * you must also provide one for the other.
 * default_key_specs can only be updated when the state is `off`.
 * Structure is documented below.
 * @property kind Identifies what kind of resource this is
 * @property nonExistence Specifies the mechanism used to provide authenticated denial-of-existence responses.
 * non_existence can only be updated when the state is `off`.
 * Possible values are: `nsec`, `nsec3`.
 * @property state Specifies whether DNSSEC is enabled, and what mode it is in
 * Possible values are: `off`, `on`, `transfer`.
 */
public data class ManagedZoneDnssecConfig(
    public val defaultKeySpecs: List? = null,
    public val kind: String? = null,
    public val nonExistence: String? = null,
    public val state: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dns.outputs.ManagedZoneDnssecConfig): ManagedZoneDnssecConfig = ManagedZoneDnssecConfig(
            defaultKeySpecs = javaType.defaultKeySpecs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dns.kotlin.outputs.ManagedZoneDnssecConfigDefaultKeySpec.Companion.toKotlin(args0)
                })
            }),
            kind = javaType.kind().map({ args0 -> args0 }).orElse(null),
            nonExistence = javaType.nonExistence().map({ args0 -> args0 }).orElse(null),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy