
com.pulumi.azure.apimanagement.kotlin.inputs.ServiceVirtualNetworkConfigurationArgs.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.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.ServiceVirtualNetworkConfigurationArgs.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 subnetId The id of the subnet that will be used for the API Management.
*/
public data class ServiceVirtualNetworkConfigurationArgs(
public val subnetId: Output,
) : ConvertibleToJava {
override fun toJava():
com.pulumi.azure.apimanagement.inputs.ServiceVirtualNetworkConfigurationArgs =
com.pulumi.azure.apimanagement.inputs.ServiceVirtualNetworkConfigurationArgs.builder()
.subnetId(subnetId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceVirtualNetworkConfigurationArgs].
*/
@PulumiTagMarker
public class ServiceVirtualNetworkConfigurationArgsBuilder internal constructor() {
private var subnetId: Output? = null
/**
* @param value The id of the subnet that will be used for the API Management.
*/
@JvmName("jvptbbopyxwalhwy")
public suspend fun subnetId(`value`: Output) {
this.subnetId = value
}
/**
* @param value The id of the subnet that will be used for the API Management.
*/
@JvmName("fmervkyhpguykuox")
public suspend fun subnetId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.subnetId = mapped
}
internal fun build(): ServiceVirtualNetworkConfigurationArgs =
ServiceVirtualNetworkConfigurationArgs(
subnetId = subnetId ?: throw PulumiNullFieldException("subnetId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy