
com.pulumi.azure.privatedns.kotlin.outputs.GetDnsZoneResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.privatedns.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getDnsZone.
* @property id The provider-assigned unique ID for this managed resource.
* @property maxNumberOfRecordSets Maximum number of recordsets that can be created in this Private Zone.
* @property maxNumberOfVirtualNetworkLinks Maximum number of Virtual Networks that can be linked to this Private Zone.
* @property maxNumberOfVirtualNetworkLinksWithRegistration Maximum number of Virtual Networks that can be linked to this Private Zone with registration enabled.
* @property name
* @property numberOfRecordSets The number of recordsets currently in the zone.
* @property resourceGroupName
* @property tags A mapping of tags for the zone.
*/
public data class GetDnsZoneResult(
public val id: String,
public val maxNumberOfRecordSets: Int,
public val maxNumberOfVirtualNetworkLinks: Int,
public val maxNumberOfVirtualNetworkLinksWithRegistration: Int,
public val name: String,
public val numberOfRecordSets: Int,
public val resourceGroupName: String,
public val tags: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.privatedns.outputs.GetDnsZoneResult):
GetDnsZoneResult = GetDnsZoneResult(
id = javaType.id(),
maxNumberOfRecordSets = javaType.maxNumberOfRecordSets(),
maxNumberOfVirtualNetworkLinks = javaType.maxNumberOfVirtualNetworkLinks(),
maxNumberOfVirtualNetworkLinksWithRegistration = javaType.maxNumberOfVirtualNetworkLinksWithRegistration(),
name = javaType.name(),
numberOfRecordSets = javaType.numberOfRecordSets(),
resourceGroupName = javaType.resourceGroupName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy