
com.pulumi.azure.privatedns.kotlin.inputs.ResolverInboundEndpointIpConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.privatedns.kotlin.inputs
import com.pulumi.azure.privatedns.inputs.ResolverInboundEndpointIpConfigurationArgs.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 privateIpAddress Private IP address of the IP configuration.
* @property privateIpAllocationMethod Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`.
* @property subnetId The subnet ID of the IP configuration.
*/
public data class ResolverInboundEndpointIpConfigurationArgs(
public val privateIpAddress: Output? = null,
public val privateIpAllocationMethod: Output? = null,
public val subnetId: Output,
) : ConvertibleToJava {
override fun toJava():
com.pulumi.azure.privatedns.inputs.ResolverInboundEndpointIpConfigurationArgs =
com.pulumi.azure.privatedns.inputs.ResolverInboundEndpointIpConfigurationArgs.builder()
.privateIpAddress(privateIpAddress?.applyValue({ args0 -> args0 }))
.privateIpAllocationMethod(privateIpAllocationMethod?.applyValue({ args0 -> args0 }))
.subnetId(subnetId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ResolverInboundEndpointIpConfigurationArgs].
*/
@PulumiTagMarker
public class ResolverInboundEndpointIpConfigurationArgsBuilder internal constructor() {
private var privateIpAddress: Output? = null
private var privateIpAllocationMethod: Output? = null
private var subnetId: Output? = null
/**
* @param value Private IP address of the IP configuration.
*/
@JvmName("wgberubydkmxxtoi")
public suspend fun privateIpAddress(`value`: Output) {
this.privateIpAddress = value
}
/**
* @param value Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`.
*/
@JvmName("oiuxbrmlnajvwkqj")
public suspend fun privateIpAllocationMethod(`value`: Output) {
this.privateIpAllocationMethod = value
}
/**
* @param value The subnet ID of the IP configuration.
*/
@JvmName("yffsaycwxeenqhxk")
public suspend fun subnetId(`value`: Output) {
this.subnetId = value
}
/**
* @param value Private IP address of the IP configuration.
*/
@JvmName("xwpywsbevtcpbxpt")
public suspend fun privateIpAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privateIpAddress = mapped
}
/**
* @param value Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`.
*/
@JvmName("viuylcbptxlkdluw")
public suspend fun privateIpAllocationMethod(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privateIpAllocationMethod = mapped
}
/**
* @param value The subnet ID of the IP configuration.
*/
@JvmName("tnddwxvstgycylyd")
public suspend fun subnetId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.subnetId = mapped
}
internal fun build(): ResolverInboundEndpointIpConfigurationArgs =
ResolverInboundEndpointIpConfigurationArgs(
privateIpAddress = privateIpAddress,
privateIpAllocationMethod = privateIpAllocationMethod,
subnetId = subnetId ?: throw PulumiNullFieldException("subnetId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy