com.pulumi.gcp.dns.kotlin.inputs.ManagedZoneDnssecConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dns.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dns.inputs.ManagedZoneDnssecConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 ManagedZoneDnssecConfigArgs(
public val defaultKeySpecs: Output>? = null,
public val kind: Output? = null,
public val nonExistence: Output? = null,
public val state: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dns.inputs.ManagedZoneDnssecConfigArgs =
com.pulumi.gcp.dns.inputs.ManagedZoneDnssecConfigArgs.builder()
.defaultKeySpecs(
defaultKeySpecs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.kind(kind?.applyValue({ args0 -> args0 }))
.nonExistence(nonExistence?.applyValue({ args0 -> args0 }))
.state(state?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ManagedZoneDnssecConfigArgs].
*/
@PulumiTagMarker
public class ManagedZoneDnssecConfigArgsBuilder internal constructor() {
private var defaultKeySpecs: Output>? = null
private var kind: Output? = null
private var nonExistence: Output? = null
private var state: Output? = null
/**
* @param value 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.
*/
@JvmName("yoyxqsnijddwcncg")
public suspend fun defaultKeySpecs(`value`: Output>) {
this.defaultKeySpecs = value
}
@JvmName("woybmmtklkiappqs")
public suspend fun defaultKeySpecs(vararg values: Output) {
this.defaultKeySpecs = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("pnakxklvpuufsphd")
public suspend fun defaultKeySpecs(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy