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

com.pulumi.azure.privatelink.kotlin.outputs.EndpointPrivateDnsZoneConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.privatelink.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property id The ID of the Private DNS Zone Config.
 * @property name Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
 * @property privateDnsZoneId A list of IP Addresses
 * @property recordSets A `record_sets` block as defined below.
 */
public data class EndpointPrivateDnsZoneConfig(
    public val id: String? = null,
    public val name: String? = null,
    public val privateDnsZoneId: String? = null,
    public val recordSets: List? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.privatelink.outputs.EndpointPrivateDnsZoneConfig):
            EndpointPrivateDnsZoneConfig = EndpointPrivateDnsZoneConfig(
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            privateDnsZoneId = javaType.privateDnsZoneId().map({ args0 -> args0 }).orElse(null),
            recordSets = javaType.recordSets().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.privatelink.kotlin.outputs.EndpointPrivateDnsZoneConfigRecordSet.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy