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

com.pulumi.gcp.dns.kotlin.outputs.GetManagedZoneResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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: String,
    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