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

com.pulumi.azurenative.network.kotlin.inputs.PrivateDnsZoneConfigArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.network.kotlin.inputs

import com.pulumi.azurenative.network.inputs.PrivateDnsZoneConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * PrivateDnsZoneConfig resource.
 * @property name Name of the resource that is unique within a resource group. This name can be used to access the resource.
 * @property privateDnsZoneId The resource id of the private dns zone.
 */
public data class PrivateDnsZoneConfigArgs(
    public val name: Output? = null,
    public val privateDnsZoneId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.PrivateDnsZoneConfigArgs =
        com.pulumi.azurenative.network.inputs.PrivateDnsZoneConfigArgs.builder()
            .name(name?.applyValue({ args0 -> args0 }))
            .privateDnsZoneId(privateDnsZoneId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PrivateDnsZoneConfigArgs].
 */
@PulumiTagMarker
public class PrivateDnsZoneConfigArgsBuilder internal constructor() {
    private var name: Output? = null

    private var privateDnsZoneId: Output? = null

    /**
     * @param value Name of the resource that is unique within a resource group. This name can be used to access the resource.
     */
    @JvmName("nvhpaoegdoyndjcu")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The resource id of the private dns zone.
     */
    @JvmName("drstmudibjyxgxun")
    public suspend fun privateDnsZoneId(`value`: Output) {
        this.privateDnsZoneId = value
    }

    /**
     * @param value Name of the resource that is unique within a resource group. This name can be used to access the resource.
     */
    @JvmName("iupgqcemosxorjdb")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The resource id of the private dns zone.
     */
    @JvmName("vjnfievodpmbmtox")
    public suspend fun privateDnsZoneId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateDnsZoneId = mapped
    }

    internal fun build(): PrivateDnsZoneConfigArgs = PrivateDnsZoneConfigArgs(
        name = name,
        privateDnsZoneId = privateDnsZoneId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy