![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.inputs.FirewallApplicationRuleCollectionRuleProtocolArgs.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.network.kotlin.inputs
import com.pulumi.azure.network.inputs.FirewallApplicationRuleCollectionRuleProtocolArgs.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 port Specify a port for the connection.
* @property type Specifies the type of connection. Possible values are `Http`, `Https` and `Mssql`.
*/
public data class FirewallApplicationRuleCollectionRuleProtocolArgs(
public val port: Output,
public val type: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.FirewallApplicationRuleCollectionRuleProtocolArgs =
com.pulumi.azure.network.inputs.FirewallApplicationRuleCollectionRuleProtocolArgs.builder()
.port(port.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FirewallApplicationRuleCollectionRuleProtocolArgs].
*/
@PulumiTagMarker
public class FirewallApplicationRuleCollectionRuleProtocolArgsBuilder internal constructor() {
private var port: Output? = null
private var type: Output? = null
/**
* @param value Specify a port for the connection.
*/
@JvmName("fehhbfcvdqqfgksl")
public suspend fun port(`value`: Output) {
this.port = value
}
/**
* @param value Specifies the type of connection. Possible values are `Http`, `Https` and `Mssql`.
*/
@JvmName("txvwpdxevfbgfrxa")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Specify a port for the connection.
*/
@JvmName("ydcshiickabiewdq")
public suspend fun port(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.port = mapped
}
/**
* @param value Specifies the type of connection. Possible values are `Http`, `Https` and `Mssql`.
*/
@JvmName("bjynbpdcmpopslnw")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): FirewallApplicationRuleCollectionRuleProtocolArgs =
FirewallApplicationRuleCollectionRuleProtocolArgs(
port = port ?: throw PulumiNullFieldException("port"),
type = type ?: throw PulumiNullFieldException("type"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy