com.pulumi.digitalocean.kotlin.outputs.GetDomainResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-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.digitalocean.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getDomain.
* @property domainUrn The uniform resource name of the domain
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property ttl The TTL of the domain.
* @property zoneFile The zone file of the domain.
*/
public data class GetDomainResult(
public val domainUrn: String,
public val id: String,
public val name: String,
public val ttl: Int,
public val zoneFile: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetDomainResult): GetDomainResult = GetDomainResult(
domainUrn = javaType.domainUrn(),
id = javaType.id(),
name = javaType.name(),
ttl = javaType.ttl(),
zoneFile = javaType.zoneFile(),
)
}
}