
com.pulumi.azurenative.azurestackhci.kotlin.inputs.GetSecurityRulePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurestackhci.kotlin.inputs
import com.pulumi.azurenative.azurestackhci.inputs.GetSecurityRulePlainArgs.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 networkSecurityGroupName Name of the network security group
* @property resourceGroupName The name of the resource group. The name is case insensitive.
* @property securityRuleName Name of the security rule.
*/
public data class GetSecurityRulePlainArgs(
public val networkSecurityGroupName: String,
public val resourceGroupName: String,
public val securityRuleName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.azurestackhci.inputs.GetSecurityRulePlainArgs =
com.pulumi.azurenative.azurestackhci.inputs.GetSecurityRulePlainArgs.builder()
.networkSecurityGroupName(networkSecurityGroupName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.securityRuleName(securityRuleName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSecurityRulePlainArgs].
*/
@PulumiTagMarker
public class GetSecurityRulePlainArgsBuilder internal constructor() {
private var networkSecurityGroupName: String? = null
private var resourceGroupName: String? = null
private var securityRuleName: String? = null
/**
* @param value Name of the network security group
*/
@JvmName("cpfcinldcswpleac")
public suspend fun networkSecurityGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.networkSecurityGroupName = mapped
}
/**
* @param value The name of the resource group. The name is case insensitive.
*/
@JvmName("rmomcdcsffdpgrwi")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value Name of the security rule.
*/
@JvmName("xsbbbteuftqgrfsf")
public suspend fun securityRuleName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.securityRuleName = mapped
}
internal fun build(): GetSecurityRulePlainArgs = GetSecurityRulePlainArgs(
networkSecurityGroupName = networkSecurityGroupName ?: throw
PulumiNullFieldException("networkSecurityGroupName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
securityRuleName = securityRuleName ?: throw PulumiNullFieldException("securityRuleName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy