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

com.pulumi.azure.privatedns.kotlin.inputs.GetResolverVirtualNetworkLinkPlainArgs.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.privatedns.kotlin.inputs

import com.pulumi.azure.privatedns.inputs.GetResolverVirtualNetworkLinkPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getResolverVirtualNetworkLink.
 * @property dnsForwardingRulesetId ID of the Private DNS Resolver DNS Forwarding Ruleset.
 * @property name Name of the Private DNS Resolver Virtual Network Link.
 */
public data class GetResolverVirtualNetworkLinkPlainArgs(
    public val dnsForwardingRulesetId: String,
    public val name: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.privatedns.inputs.GetResolverVirtualNetworkLinkPlainArgs =
        com.pulumi.azure.privatedns.inputs.GetResolverVirtualNetworkLinkPlainArgs.builder()
            .dnsForwardingRulesetId(dnsForwardingRulesetId.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetResolverVirtualNetworkLinkPlainArgs].
 */
@PulumiTagMarker
public class GetResolverVirtualNetworkLinkPlainArgsBuilder internal constructor() {
    private var dnsForwardingRulesetId: String? = null

    private var name: String? = null

    /**
     * @param value ID of the Private DNS Resolver DNS Forwarding Ruleset.
     */
    @JvmName("kubvsgookofxuwba")
    public suspend fun dnsForwardingRulesetId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.dnsForwardingRulesetId = mapped
    }

    /**
     * @param value Name of the Private DNS Resolver Virtual Network Link.
     */
    @JvmName("vltibatpvjgpnhwp")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    internal fun build(): GetResolverVirtualNetworkLinkPlainArgs =
        GetResolverVirtualNetworkLinkPlainArgs(
            dnsForwardingRulesetId = dnsForwardingRulesetId ?: throw
                PulumiNullFieldException("dnsForwardingRulesetId"),
            name = name ?: throw PulumiNullFieldException("name"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy