
com.pulumi.azurenative.azurefleet.kotlin.inputs.VirtualMachineScaleSetNetworkProfileArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurefleet.kotlin.inputs
import com.pulumi.azurenative.azurefleet.inputs.VirtualMachineScaleSetNetworkProfileArgs.builder
import com.pulumi.azurenative.azurefleet.kotlin.enums.NetworkApiVersion
import com.pulumi.core.Either
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Describes a virtual machine scale set network profile.
* @property healthProbe A reference to a load balancer probe used to determine the health of an
* instance in the virtual machine scale set. The reference will be in the form:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
* @property networkApiVersion specifies the Microsoft.Network API version used when creating networking
* resources in the Network Interface Configurations for Virtual Machine Scale Set
* with orchestration mode 'Flexible'
* @property networkInterfaceConfigurations The list of network configurations.
*/
public data class VirtualMachineScaleSetNetworkProfileArgs(
public val healthProbe: Output? = null,
public val networkApiVersion: Output>? = null,
public val networkInterfaceConfigurations: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.azurefleet.inputs.VirtualMachineScaleSetNetworkProfileArgs =
com.pulumi.azurenative.azurefleet.inputs.VirtualMachineScaleSetNetworkProfileArgs.builder()
.healthProbe(healthProbe?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.networkApiVersion(
networkApiVersion?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.networkInterfaceConfigurations(
networkInterfaceConfigurations?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
).build()
}
/**
* Builder for [VirtualMachineScaleSetNetworkProfileArgs].
*/
@PulumiTagMarker
public class VirtualMachineScaleSetNetworkProfileArgsBuilder internal constructor() {
private var healthProbe: Output? = null
private var networkApiVersion: Output>? = null
private var networkInterfaceConfigurations:
Output>? = null
/**
* @param value A reference to a load balancer probe used to determine the health of an
* instance in the virtual machine scale set. The reference will be in the form:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
*/
@JvmName("uaatngelnrpyrbpb")
public suspend fun healthProbe(`value`: Output) {
this.healthProbe = value
}
/**
* @param value specifies the Microsoft.Network API version used when creating networking
* resources in the Network Interface Configurations for Virtual Machine Scale Set
* with orchestration mode 'Flexible'
*/
@JvmName("hsembkscspfjeayd")
public suspend fun networkApiVersion(`value`: Output>) {
this.networkApiVersion = value
}
/**
* @param value The list of network configurations.
*/
@JvmName("pchcmqlowmmsbmxo")
public suspend fun networkInterfaceConfigurations(`value`: Output>) {
this.networkInterfaceConfigurations = value
}
@JvmName("okyilimbpcqiqokd")
public suspend fun networkInterfaceConfigurations(vararg values: Output) {
this.networkInterfaceConfigurations = Output.all(values.asList())
}
/**
* @param values The list of network configurations.
*/
@JvmName("jhbfvjuboblrlabq")
public suspend fun networkInterfaceConfigurations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy