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

com.pulumi.gcp.compute.kotlin.inputs.InstanceNetworkInterfaceAccessConfigArgs.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.InstanceNetworkInterfaceAccessConfigArgs.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 or STANDARD tier is valid for IPv6.
 * @property publicPtrDomainName The domain name to be used when creating DNSv6
 * records for the external IPv6 ranges..
 * @property securityPolicy A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
 */
public data class InstanceNetworkInterfaceAccessConfigArgs(
    public val natIp: Output? = null,
    public val networkTier: Output? = null,
    public val publicPtrDomainName: Output? = null,
    public val securityPolicy: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.InstanceNetworkInterfaceAccessConfigArgs =
        com.pulumi.gcp.compute.inputs.InstanceNetworkInterfaceAccessConfigArgs.builder()
            .natIp(natIp?.applyValue({ args0 -> args0 }))
            .networkTier(networkTier?.applyValue({ args0 -> args0 }))
            .publicPtrDomainName(publicPtrDomainName?.applyValue({ args0 -> args0 }))
            .securityPolicy(securityPolicy?.applyValue({ args0 -> args0 })).build()
}

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

    private var networkTier: Output? = null

    private var publicPtrDomainName: Output? = null

    private var securityPolicy: 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("jmpicfiypshaurqb")
    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 or STANDARD tier is valid for IPv6.
     */
    @JvmName("yhwgdcdabyxouovs")
    public suspend fun networkTier(`value`: Output) {
        this.networkTier = value
    }

    /**
     * @param value The domain name to be used when creating DNSv6
     * records for the external IPv6 ranges..
     */
    @JvmName("vhusylmxoimjwtui")
    public suspend fun publicPtrDomainName(`value`: Output) {
        this.publicPtrDomainName = value
    }

    /**
     * @param value A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
     */
    @JvmName("ftokofqeqprensiv")
    public suspend fun securityPolicy(`value`: Output) {
        this.securityPolicy = 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("sfxuvgyeetwfrrug")
    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 or STANDARD tier is valid for IPv6.
     */
    @JvmName("vhvnxbrkskolptls")
    public suspend fun networkTier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkTier = mapped
    }

    /**
     * @param value The domain name to be used when creating DNSv6
     * records for the external IPv6 ranges..
     */
    @JvmName("heflgqcjjdxewysp")
    public suspend fun publicPtrDomainName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publicPtrDomainName = mapped
    }

    /**
     * @param value A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
     */
    @JvmName("xxuyxmrupjhplsip")
    public suspend fun securityPolicy(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.securityPolicy = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy