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

com.pulumi.gcp.compute.kotlin.inputs.InstanceFromMachineImageNetworkInterfaceAliasIpRangeArgs.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.12.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.InstanceFromMachineImageNetworkInterfaceAliasIpRangeArgs.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

/**
 *
 * @property ipCidrRange The IP CIDR range represented by this alias IP range.
 * @property subnetworkRangeName The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
 */
public data class InstanceFromMachineImageNetworkInterfaceAliasIpRangeArgs(
    public val ipCidrRange: Output,
    public val subnetworkRangeName: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.InstanceFromMachineImageNetworkInterfaceAliasIpRangeArgs =
        com.pulumi.gcp.compute.inputs.InstanceFromMachineImageNetworkInterfaceAliasIpRangeArgs.builder()
            .ipCidrRange(ipCidrRange.applyValue({ args0 -> args0 }))
            .subnetworkRangeName(subnetworkRangeName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InstanceFromMachineImageNetworkInterfaceAliasIpRangeArgs].
 */
@PulumiTagMarker
public class InstanceFromMachineImageNetworkInterfaceAliasIpRangeArgsBuilder internal constructor() {
    private var ipCidrRange: Output? = null

    private var subnetworkRangeName: Output? = null

    /**
     * @param value The IP CIDR range represented by this alias IP range.
     */
    @JvmName("navokseiqwsjuncf")
    public suspend fun ipCidrRange(`value`: Output) {
        this.ipCidrRange = value
    }

    /**
     * @param value The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
     */
    @JvmName("tuldvldhmrnkyenc")
    public suspend fun subnetworkRangeName(`value`: Output) {
        this.subnetworkRangeName = value
    }

    /**
     * @param value The IP CIDR range represented by this alias IP range.
     */
    @JvmName("nvwhbpsywegpyicf")
    public suspend fun ipCidrRange(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ipCidrRange = mapped
    }

    /**
     * @param value The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
     */
    @JvmName("suvxjdwpeqvuiill")
    public suspend fun subnetworkRangeName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subnetworkRangeName = mapped
    }

    internal fun build(): InstanceFromMachineImageNetworkInterfaceAliasIpRangeArgs =
        InstanceFromMachineImageNetworkInterfaceAliasIpRangeArgs(
            ipCidrRange = ipCidrRange ?: throw PulumiNullFieldException("ipCidrRange"),
            subnetworkRangeName = subnetworkRangeName,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy