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

com.pulumi.gcp.compute.kotlin.inputs.RegionInstanceTemplateNetworkInterfaceAccessConfigArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.compute.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.RegionInstanceTemplateNetworkInterfaceAccessConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property natIp The IP address that will be 1:1 mapped to the instance's
 * network ip. If not given, one will be generated.
 * @property networkTier The service-level to be provided for IPv6 traffic when the
 * subnet has an external subnet. Only PREMIUM and STANDARD tier is valid for IPv6.
 * @property publicPtrDomainName The DNS domain name for the public PTR record.The DNS domain name for the public PTR record.
 */
public data class RegionInstanceTemplateNetworkInterfaceAccessConfigArgs(
    public val natIp: Output? = null,
    public val networkTier: Output? = null,
    public val publicPtrDomainName: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.RegionInstanceTemplateNetworkInterfaceAccessConfigArgs =
        com.pulumi.gcp.compute.inputs.RegionInstanceTemplateNetworkInterfaceAccessConfigArgs.builder()
            .natIp(natIp?.applyValue({ args0 -> args0 }))
            .networkTier(networkTier?.applyValue({ args0 -> args0 }))
            .publicPtrDomainName(publicPtrDomainName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RegionInstanceTemplateNetworkInterfaceAccessConfigArgs].
 */
@PulumiTagMarker
public class RegionInstanceTemplateNetworkInterfaceAccessConfigArgsBuilder internal constructor() {
    private var natIp: Output? = null

    private var networkTier: Output? = null

    private var publicPtrDomainName: Output? = null

    /**
     * @param value The IP address that will be 1:1 mapped to the instance's
     * network ip. If not given, one will be generated.
     */
    @JvmName("evgrmkpyfebhdbkv")
    public suspend fun natIp(`value`: Output) {
        this.natIp = value
    }

    /**
     * @param value The service-level to be provided for IPv6 traffic when the
     * subnet has an external subnet. Only PREMIUM and STANDARD tier is valid for IPv6.
     */
    @JvmName("koxlrmnxljtewtod")
    public suspend fun networkTier(`value`: Output) {
        this.networkTier = value
    }

    /**
     * @param value The DNS domain name for the public PTR record.The DNS domain name for the public PTR record.
     */
    @JvmName("guytelmgbuswyvui")
    public suspend fun publicPtrDomainName(`value`: Output) {
        this.publicPtrDomainName = value
    }

    /**
     * @param value The IP address that will be 1:1 mapped to the instance's
     * network ip. If not given, one will be generated.
     */
    @JvmName("tfqcxtochkxkubjj")
    public suspend fun natIp(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.natIp = mapped
    }

    /**
     * @param value The service-level to be provided for IPv6 traffic when the
     * subnet has an external subnet. Only PREMIUM and STANDARD tier is valid for IPv6.
     */
    @JvmName("necsxaebpvfombca")
    public suspend fun networkTier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkTier = mapped
    }

    /**
     * @param value The DNS domain name for the public PTR record.The DNS domain name for the public PTR record.
     */
    @JvmName("sklkvwshpxslpmjl")
    public suspend fun publicPtrDomainName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publicPtrDomainName = mapped
    }

    internal fun build(): RegionInstanceTemplateNetworkInterfaceAccessConfigArgs =
        RegionInstanceTemplateNetworkInterfaceAccessConfigArgs(
            natIp = natIp,
            networkTier = networkTier,
            publicPtrDomainName = publicPtrDomainName,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy