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

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

package com.pulumi.azure.compute.kotlin.inputs

import com.pulumi.azure.compute.inputs.ScaleSetNetworkProfileIpConfigurationPublicIpAddressConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property domainNameLabel The domain name label for the DNS settings.
 * @property idleTimeout The idle timeout in minutes. This value must be between 4 and 30.
 * @property name The name of the public IP address configuration
 */
public data class ScaleSetNetworkProfileIpConfigurationPublicIpAddressConfigurationArgs(
    public val domainNameLabel: Output,
    public val idleTimeout: Output,
    public val name: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.compute.inputs.ScaleSetNetworkProfileIpConfigurationPublicIpAddressConfigurationArgs =
        com.pulumi.azure.compute.inputs.ScaleSetNetworkProfileIpConfigurationPublicIpAddressConfigurationArgs.builder()
            .domainNameLabel(domainNameLabel.applyValue({ args0 -> args0 }))
            .idleTimeout(idleTimeout.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ScaleSetNetworkProfileIpConfigurationPublicIpAddressConfigurationArgs].
 */
@PulumiTagMarker
public class ScaleSetNetworkProfileIpConfigurationPublicIpAddressConfigurationArgsBuilder internal constructor() {
    private var domainNameLabel: Output? = null

    private var idleTimeout: Output? = null

    private var name: Output? = null

    /**
     * @param value The domain name label for the DNS settings.
     */
    @JvmName("rebnjjewjxubaine")
    public suspend fun domainNameLabel(`value`: Output) {
        this.domainNameLabel = value
    }

    /**
     * @param value The idle timeout in minutes. This value must be between 4 and 30.
     */
    @JvmName("cjyhobythbnibyfo")
    public suspend fun idleTimeout(`value`: Output) {
        this.idleTimeout = value
    }

    /**
     * @param value The name of the public IP address configuration
     */
    @JvmName("crvynubdglsiuytd")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The domain name label for the DNS settings.
     */
    @JvmName("poyhtnytpaolhwif")
    public suspend fun domainNameLabel(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.domainNameLabel = mapped
    }

    /**
     * @param value The idle timeout in minutes. This value must be between 4 and 30.
     */
    @JvmName("qeukfbxqqaiyvrad")
    public suspend fun idleTimeout(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.idleTimeout = mapped
    }

    /**
     * @param value The name of the public IP address configuration
     */
    @JvmName("nqvoggabhttedtye")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): ScaleSetNetworkProfileIpConfigurationPublicIpAddressConfigurationArgs =
        ScaleSetNetworkProfileIpConfigurationPublicIpAddressConfigurationArgs(
            domainNameLabel = domainNameLabel ?: throw PulumiNullFieldException("domainNameLabel"),
            idleTimeout = idleTimeout ?: throw PulumiNullFieldException("idleTimeout"),
            name = name ?: throw PulumiNullFieldException("name"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy