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

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

package com.pulumi.gcp.dns.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property algorithm String mnemonic specifying the DNSSEC algorithm of this key
 * Possible values are: `ecdsap256sha256`, `ecdsap384sha384`, `rsasha1`, `rsasha256`, `rsasha512`.
 * @property keyLength Length of the keys in bits
 * @property keyType Specifies whether this is a key signing key (KSK) or a zone
 * signing key (ZSK). Key signing keys have the Secure Entry
 * Point flag set and, when active, will only be used to sign
 * resource record sets of type DNSKEY. Zone signing keys do
 * not have the Secure Entry Point flag set and will be used
 * to sign all other types of resource record sets.
 * Possible values are: `keySigning`, `zoneSigning`.
 * @property kind Identifies what kind of resource this is
 */
public data class ManagedZoneDnssecConfigDefaultKeySpec(
    public val algorithm: String? = null,
    public val keyLength: Int? = null,
    public val keyType: String? = null,
    public val kind: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dns.outputs.ManagedZoneDnssecConfigDefaultKeySpec): ManagedZoneDnssecConfigDefaultKeySpec = ManagedZoneDnssecConfigDefaultKeySpec(
            algorithm = javaType.algorithm().map({ args0 -> args0 }).orElse(null),
            keyLength = javaType.keyLength().map({ args0 -> args0 }).orElse(null),
            keyType = javaType.keyType().map({ args0 -> args0 }).orElse(null),
            kind = javaType.kind().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy