com.pulumi.azure.logicapps.kotlin.inputs.GetStandardSiteConfigIpRestriction.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.logicapps.kotlin.inputs
import com.pulumi.azure.logicapps.inputs.GetStandardSiteConfigIpRestriction.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property action
* @property headers
* @property ipAddress
* @property name The name of this Logic App.
* @property priority
* @property serviceTag
* @property virtualNetworkSubnetId
*/
public data class GetStandardSiteConfigIpRestriction(
public val action: String? = null,
public val headers: GetStandardSiteConfigIpRestrictionHeaders,
public val ipAddress: String? = null,
public val name: String,
public val priority: Int? = null,
public val serviceTag: String? = null,
public val virtualNetworkSubnetId: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.logicapps.inputs.GetStandardSiteConfigIpRestriction =
com.pulumi.azure.logicapps.inputs.GetStandardSiteConfigIpRestriction.builder()
.action(action?.let({ args0 -> args0 }))
.headers(headers.let({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.ipAddress(ipAddress?.let({ args0 -> args0 }))
.name(name.let({ args0 -> args0 }))
.priority(priority?.let({ args0 -> args0 }))
.serviceTag(serviceTag?.let({ args0 -> args0 }))
.virtualNetworkSubnetId(virtualNetworkSubnetId?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetStandardSiteConfigIpRestriction].
*/
@PulumiTagMarker
public class GetStandardSiteConfigIpRestrictionBuilder internal constructor() {
private var action: String? = null
private var headers: GetStandardSiteConfigIpRestrictionHeaders? = null
private var ipAddress: String? = null
private var name: String? = null
private var priority: Int? = null
private var serviceTag: String? = null
private var virtualNetworkSubnetId: String? = null
/**
* @param value
*/
@JvmName("mrhhndfccqafpbeq")
public suspend fun action(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.action = mapped
}
/**
* @param value
*/
@JvmName("xjjmocqosresjxvi")
public suspend fun headers(`value`: GetStandardSiteConfigIpRestrictionHeaders) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.headers = mapped
}
/**
* @param argument
*/
@JvmName("nllgllboghjgllxp")
public suspend
fun headers(argument: suspend GetStandardSiteConfigIpRestrictionHeadersBuilder.() -> Unit) {
val toBeMapped = GetStandardSiteConfigIpRestrictionHeadersBuilder().applySuspend {
argument()
}.build()
val mapped = toBeMapped
this.headers = mapped
}
/**
* @param value
*/
@JvmName("ocqvscvrcqhvdapg")
public suspend fun ipAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.ipAddress = mapped
}
/**
* @param value The name of this Logic App.
*/
@JvmName("bvnwwjetmcllnlca")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value
*/
@JvmName("rakvedvhrfuwshca")
public suspend fun priority(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.priority = mapped
}
/**
* @param value
*/
@JvmName("ymxbogpajfrxagcm")
public suspend fun serviceTag(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.serviceTag = mapped
}
/**
* @param value
*/
@JvmName("qpurbvhinsydyarc")
public suspend fun virtualNetworkSubnetId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.virtualNetworkSubnetId = mapped
}
internal fun build(): GetStandardSiteConfigIpRestriction = GetStandardSiteConfigIpRestriction(
action = action,
headers = headers ?: throw PulumiNullFieldException("headers"),
ipAddress = ipAddress,
name = name ?: throw PulumiNullFieldException("name"),
priority = priority,
serviceTag = serviceTag,
virtualNetworkSubnetId = virtualNetworkSubnetId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy