![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.analysisservices.kotlin.inputs.ServerIpv4FirewallRuleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.analysisservices.kotlin.inputs
import com.pulumi.azure.analysisservices.inputs.ServerIpv4FirewallRuleArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property name Specifies the name of the firewall rule.
* @property rangeEnd End of the firewall rule range as IPv4 address.
* @property rangeStart Start of the firewall rule range as IPv4 address.
*/
public data class ServerIpv4FirewallRuleArgs(
public val name: Output,
public val rangeEnd: Output,
public val rangeStart: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.analysisservices.inputs.ServerIpv4FirewallRuleArgs =
com.pulumi.azure.analysisservices.inputs.ServerIpv4FirewallRuleArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.rangeEnd(rangeEnd.applyValue({ args0 -> args0 }))
.rangeStart(rangeStart.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServerIpv4FirewallRuleArgs].
*/
@PulumiTagMarker
public class ServerIpv4FirewallRuleArgsBuilder internal constructor() {
private var name: Output? = null
private var rangeEnd: Output? = null
private var rangeStart: Output? = null
/**
* @param value Specifies the name of the firewall rule.
*/
@JvmName("ttybnmkoabcqjnjy")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value End of the firewall rule range as IPv4 address.
*/
@JvmName("grossfeesjymkill")
public suspend fun rangeEnd(`value`: Output) {
this.rangeEnd = value
}
/**
* @param value Start of the firewall rule range as IPv4 address.
*/
@JvmName("torgssvfwiinygll")
public suspend fun rangeStart(`value`: Output) {
this.rangeStart = value
}
/**
* @param value Specifies the name of the firewall rule.
*/
@JvmName("rismwkhsblcllsfj")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value End of the firewall rule range as IPv4 address.
*/
@JvmName("nmycymdsxlyllajd")
public suspend fun rangeEnd(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.rangeEnd = mapped
}
/**
* @param value Start of the firewall rule range as IPv4 address.
*/
@JvmName("iuxgxfagfjhnruug")
public suspend fun rangeStart(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.rangeStart = mapped
}
internal fun build(): ServerIpv4FirewallRuleArgs = ServerIpv4FirewallRuleArgs(
name = name ?: throw PulumiNullFieldException("name"),
rangeEnd = rangeEnd ?: throw PulumiNullFieldException("rangeEnd"),
rangeStart = rangeStart ?: throw PulumiNullFieldException("rangeStart"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy