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

com.pulumi.azure.dns.kotlin.outputs.GetZoneResult.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.dns.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getZone.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property maxNumberOfRecordSets Maximum number of Records in the zone.
 * @property name
 * @property nameServers A list of values that make up the NS record for the zone.
 * @property numberOfRecordSets The number of records already in the zone.
 * @property resourceGroupName
 * @property tags A mapping of tags assigned to the DNS Zone.
 */
public data class GetZoneResult(
    public val id: String,
    public val maxNumberOfRecordSets: Int,
    public val name: String,
    public val nameServers: List,
    public val numberOfRecordSets: Int,
    public val resourceGroupName: String,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.dns.outputs.GetZoneResult): GetZoneResult =
            GetZoneResult(
                id = javaType.id(),
                maxNumberOfRecordSets = javaType.maxNumberOfRecordSets(),
                name = javaType.name(),
                nameServers = javaType.nameServers().map({ args0 -> args0 }),
                numberOfRecordSets = javaType.numberOfRecordSets(),
                resourceGroupName = javaType.resourceGroupName(),
                tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy