com.pulumi.gcp.dns.kotlin.outputs.GetManagedZoneResult.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.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getManagedZone.
* @property description A textual description field.
* @property dnsName The fully qualified DNS name of this zone, e.g. `example.io.`.
* @property id
* @property managedZoneId
* @property name
* @property nameServers The list of nameservers that will be authoritative for this
* domain. Use NS records to redirect from your DNS provider to these names,
* thus making Google Cloud DNS authoritative for this zone.
* @property project
* @property visibility The zone's visibility: public zones are exposed to the Internet,
* while private zones are visible only to Virtual Private Cloud resources.
*/
public data class GetManagedZoneResult(
public val description: String,
public val dnsName: String,
public val id: String,
public val managedZoneId: Int,
public val name: String,
public val nameServers: List,
public val project: String? = null,
public val visibility: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dns.outputs.GetManagedZoneResult): GetManagedZoneResult = GetManagedZoneResult(
description = javaType.description(),
dnsName = javaType.dnsName(),
id = javaType.id(),
managedZoneId = javaType.managedZoneId(),
name = javaType.name(),
nameServers = javaType.nameServers().map({ args0 -> args0 }),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
visibility = javaType.visibility(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy