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

com.pulumi.gcp.compute.kotlin.inputs.InstanceFromTemplateNetworkInterfaceAccessConfigArgs.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.InstanceFromTemplateNetworkInterfaceAccessConfigArgs.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 is be 1:1 mapped to the instance's network ip.
 * @property networkTier The networking tier used for configuring this instance. One of PREMIUM or STANDARD.
 * @property publicPtrDomainName The DNS domain name for the public PTR record.
 * @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 InstanceFromTemplateNetworkInterfaceAccessConfigArgs(
    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.InstanceFromTemplateNetworkInterfaceAccessConfigArgs =
        com.pulumi.gcp.compute.inputs.InstanceFromTemplateNetworkInterfaceAccessConfigArgs.builder()
            .natIp(natIp?.applyValue({ args0 -> args0 }))
            .networkTier(networkTier?.applyValue({ args0 -> args0 }))
            .publicPtrDomainName(publicPtrDomainName?.applyValue({ args0 -> args0 }))
            .securityPolicy(securityPolicy?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InstanceFromTemplateNetworkInterfaceAccessConfigArgs].
 */
@PulumiTagMarker
public class InstanceFromTemplateNetworkInterfaceAccessConfigArgsBuilder 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 is be 1:1 mapped to the instance's network ip.
     */
    @JvmName("txvkxnyghwsbgknd")
    public suspend fun natIp(`value`: Output) {
        this.natIp = value
    }

    /**
     * @param value The networking tier used for configuring this instance. One of PREMIUM or STANDARD.
     */
    @JvmName("pwlappelugsimvff")
    public suspend fun networkTier(`value`: Output) {
        this.networkTier = value
    }

    /**
     * @param value The DNS domain name for the public PTR record.
     */
    @JvmName("mjykltejbtijqrfw")
    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("kxxppsrtafswmquk")
    public suspend fun securityPolicy(`value`: Output) {
        this.securityPolicy = value
    }

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

    /**
     * @param value The networking tier used for configuring this instance. One of PREMIUM or STANDARD.
     */
    @JvmName("fkwlkqlmqxjysrdc")
    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.
     */
    @JvmName("ajxcgfxofgyqyoyi")
    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("awjeraddiiaktvab")
    public suspend fun securityPolicy(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.securityPolicy = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy