![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.sqlvirtualmachine.kotlin.inputs.LoadBalancerConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.sqlvirtualmachine.kotlin.inputs
import com.pulumi.azurenative.sqlvirtualmachine.inputs.LoadBalancerConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A load balancer configuration for an availability group listener.
* @property loadBalancerResourceId Resource id of the load balancer.
* @property privateIpAddress Private IP address.
* @property probePort Probe port.
* @property publicIpAddressResourceId Resource id of the public IP.
* @property sqlVirtualMachineInstances List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
*/
public data class LoadBalancerConfigurationArgs(
public val loadBalancerResourceId: Output? = null,
public val privateIpAddress: Output? = null,
public val probePort: Output? = null,
public val publicIpAddressResourceId: Output? = null,
public val sqlVirtualMachineInstances: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.sqlvirtualmachine.inputs.LoadBalancerConfigurationArgs =
com.pulumi.azurenative.sqlvirtualmachine.inputs.LoadBalancerConfigurationArgs.builder()
.loadBalancerResourceId(loadBalancerResourceId?.applyValue({ args0 -> args0 }))
.privateIpAddress(privateIpAddress?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.probePort(probePort?.applyValue({ args0 -> args0 }))
.publicIpAddressResourceId(publicIpAddressResourceId?.applyValue({ args0 -> args0 }))
.sqlVirtualMachineInstances(
sqlVirtualMachineInstances?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [LoadBalancerConfigurationArgs].
*/
@PulumiTagMarker
public class LoadBalancerConfigurationArgsBuilder internal constructor() {
private var loadBalancerResourceId: Output? = null
private var privateIpAddress: Output? = null
private var probePort: Output? = null
private var publicIpAddressResourceId: Output? = null
private var sqlVirtualMachineInstances: Output>? = null
/**
* @param value Resource id of the load balancer.
*/
@JvmName("xtrevdgatpljhcyv")
public suspend fun loadBalancerResourceId(`value`: Output) {
this.loadBalancerResourceId = value
}
/**
* @param value Private IP address.
*/
@JvmName("qdffihvjjjdcgqcp")
public suspend fun privateIpAddress(`value`: Output) {
this.privateIpAddress = value
}
/**
* @param value Probe port.
*/
@JvmName("fwvlpcbvimgoqyur")
public suspend fun probePort(`value`: Output) {
this.probePort = value
}
/**
* @param value Resource id of the public IP.
*/
@JvmName("vjnudpckvfyttiyk")
public suspend fun publicIpAddressResourceId(`value`: Output) {
this.publicIpAddressResourceId = value
}
/**
* @param value List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
*/
@JvmName("gnivbfmygeadokcw")
public suspend fun sqlVirtualMachineInstances(`value`: Output>) {
this.sqlVirtualMachineInstances = value
}
@JvmName("uxvaovlmfaoyjjra")
public suspend fun sqlVirtualMachineInstances(vararg values: Output) {
this.sqlVirtualMachineInstances = Output.all(values.asList())
}
/**
* @param values List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
*/
@JvmName("sfmomwfdcwpvaxrw")
public suspend fun sqlVirtualMachineInstances(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy