com.pulumi.gcp.clouddomains.kotlin.outputs.RegistrationDnsSettingsCustomDns.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.clouddomains.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property dsRecords The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide
* the values to set here. If this field is empty, DNSSEC is disabled.
* Structure is documented below.
* @property nameServers Required. A list of name servers that store the DNS zone for this domain. Each name server is a domain
* name, with Unicode domain names expressed in Punycode format.
*/
public data class RegistrationDnsSettingsCustomDns(
public val dsRecords: List? = null,
public val nameServers: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.clouddomains.outputs.RegistrationDnsSettingsCustomDns): RegistrationDnsSettingsCustomDns = RegistrationDnsSettingsCustomDns(
dsRecords = javaType.dsRecords().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.clouddomains.kotlin.outputs.RegistrationDnsSettingsCustomDnsDsRecord.Companion.toKotlin(args0)
})
}),
nameServers = javaType.nameServers().map({ args0 -> args0 }),
)
}
}