com.pulumi.gcp.dns.kotlin.outputs.GetManagedZonesManagedZone.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
/**
*
* @property description
* @property dnsName
* @property id
* @property managedZoneId
* @property name
* @property nameServers
* @property project The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
* @property visibility
*/
public data class GetManagedZonesManagedZone(
public val description: String,
public val dnsName: String,
public val id: String,
public val managedZoneId: Int,
public val name: String? = null,
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.GetManagedZonesManagedZone): GetManagedZonesManagedZone = GetManagedZonesManagedZone(
description = javaType.description(),
dnsName = javaType.dnsName(),
id = javaType.id(),
managedZoneId = javaType.managedZoneId(),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
nameServers = javaType.nameServers().map({ args0 -> args0 }),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
visibility = javaType.visibility(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy