
com.pulumi.azure.network.kotlin.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin
import com.pulumi.azure.network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Manages the association between a Network Interface and a Application Gateway's Backend Address Pool.
* ## Import
* Associations between Network Interfaces and Application Gateway Backend Address Pools can be imported using the `resource id`, e.g.
* ```sh
* $ pulumi import azure:network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation:NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation association1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/example|/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/applicationGateways/gateway1/backendAddressPools/pool1
* ```
* @property backendAddressPoolId The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
* @property ipConfigurationName The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
* @property networkInterfaceId The ID of the Network Interface. Changing this forces a new resource to be created.
*/
public data class NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs(
public val backendAddressPoolId: Output? = null,
public val ipConfigurationName: Output? = null,
public val networkInterfaceId: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs =
com.pulumi.azure.network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs.builder()
.backendAddressPoolId(backendAddressPoolId?.applyValue({ args0 -> args0 }))
.ipConfigurationName(ipConfigurationName?.applyValue({ args0 -> args0 }))
.networkInterfaceId(networkInterfaceId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs].
*/
@PulumiTagMarker
public class NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgsBuilder internal constructor() {
private var backendAddressPoolId: Output? = null
private var ipConfigurationName: Output? = null
private var networkInterfaceId: Output? = null
/**
* @param value The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
*/
@JvmName("owjjwgijqlbwhyyf")
public suspend fun backendAddressPoolId(`value`: Output) {
this.backendAddressPoolId = value
}
/**
* @param value The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
*/
@JvmName("tyiixigykdvjdvtn")
public suspend fun ipConfigurationName(`value`: Output) {
this.ipConfigurationName = value
}
/**
* @param value The ID of the Network Interface. Changing this forces a new resource to be created.
*/
@JvmName("wvgxnrkogyjptnsv")
public suspend fun networkInterfaceId(`value`: Output) {
this.networkInterfaceId = value
}
/**
* @param value The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
*/
@JvmName("xglsglkwwfxkevki")
public suspend fun backendAddressPoolId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.backendAddressPoolId = mapped
}
/**
* @param value The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
*/
@JvmName("oehqlrtkicdpyoep")
public suspend fun ipConfigurationName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipConfigurationName = mapped
}
/**
* @param value The ID of the Network Interface. Changing this forces a new resource to be created.
*/
@JvmName("vkyucdoynblbqsmu")
public suspend fun networkInterfaceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.networkInterfaceId = mapped
}
internal fun build(): NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs =
NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs(
backendAddressPoolId = backendAddressPoolId,
ipConfigurationName = ipConfigurationName,
networkInterfaceId = networkInterfaceId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy