com.pulumi.azure.privatelink.kotlin.inputs.EndpointIpConfigurationArgs.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.privatelink.kotlin.inputs
import com.pulumi.azure.privatelink.inputs.EndpointIpConfigurationArgs.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 memberName Specifies the member name this IP address applies to. If it is not specified, it will use the value of `subresource_name`. Changing this forces a new resource to be created.
* > **NOTE:** `member_name` will be required and will not take the value of `subresource_name` in the next major version.
* @property name Specifies the Name of the IP Configuration. Changing this forces a new resource to be created.
* @property privateIpAddress Specifies the static IP address within the private endpoint's subnet to be used. Changing this forces a new resource to be created.
* @property subresourceName Specifies the subresource this IP address applies to. `subresource_names` corresponds to `group_id`. Changing this forces a new resource to be created.
*/
public data class EndpointIpConfigurationArgs(
public val memberName: Output? = null,
public val name: Output,
public val privateIpAddress: Output,
public val subresourceName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.privatelink.inputs.EndpointIpConfigurationArgs =
com.pulumi.azure.privatelink.inputs.EndpointIpConfigurationArgs.builder()
.memberName(memberName?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.privateIpAddress(privateIpAddress.applyValue({ args0 -> args0 }))
.subresourceName(subresourceName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EndpointIpConfigurationArgs].
*/
@PulumiTagMarker
public class EndpointIpConfigurationArgsBuilder internal constructor() {
private var memberName: Output? = null
private var name: Output? = null
private var privateIpAddress: Output? = null
private var subresourceName: Output? = null
/**
* @param value Specifies the member name this IP address applies to. If it is not specified, it will use the value of `subresource_name`. Changing this forces a new resource to be created.
* > **NOTE:** `member_name` will be required and will not take the value of `subresource_name` in the next major version.
*/
@JvmName("ndnnhihgnalswejk")
public suspend fun memberName(`value`: Output) {
this.memberName = value
}
/**
* @param value Specifies the Name of the IP Configuration. Changing this forces a new resource to be created.
*/
@JvmName("rdvshhwlxwehikkg")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Specifies the static IP address within the private endpoint's subnet to be used. Changing this forces a new resource to be created.
*/
@JvmName("hdemygbosjjtadbk")
public suspend fun privateIpAddress(`value`: Output) {
this.privateIpAddress = value
}
/**
* @param value Specifies the subresource this IP address applies to. `subresource_names` corresponds to `group_id`. Changing this forces a new resource to be created.
*/
@JvmName("bhltxvbwjuquwmwc")
public suspend fun subresourceName(`value`: Output) {
this.subresourceName = value
}
/**
* @param value Specifies the member name this IP address applies to. If it is not specified, it will use the value of `subresource_name`. Changing this forces a new resource to be created.
* > **NOTE:** `member_name` will be required and will not take the value of `subresource_name` in the next major version.
*/
@JvmName("gelngppajyodxssr")
public suspend fun memberName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.memberName = mapped
}
/**
* @param value Specifies the Name of the IP Configuration. Changing this forces a new resource to be created.
*/
@JvmName("udgvqffcigllcjev")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Specifies the static IP address within the private endpoint's subnet to be used. Changing this forces a new resource to be created.
*/
@JvmName("uansjvthbqbwdjlo")
public suspend fun privateIpAddress(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.privateIpAddress = mapped
}
/**
* @param value Specifies the subresource this IP address applies to. `subresource_names` corresponds to `group_id`. Changing this forces a new resource to be created.
*/
@JvmName("dturxkoeyimrbcax")
public suspend fun subresourceName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.subresourceName = mapped
}
internal fun build(): EndpointIpConfigurationArgs = EndpointIpConfigurationArgs(
memberName = memberName,
name = name ?: throw PulumiNullFieldException("name"),
privateIpAddress = privateIpAddress ?: throw PulumiNullFieldException("privateIpAddress"),
subresourceName = subresourceName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy