
com.pulumi.azurenative.workloads.kotlin.inputs.ApplicationServerFullResourceNamesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.workloads.kotlin.inputs
import com.pulumi.azurenative.workloads.inputs.ApplicationServerFullResourceNamesArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
* @property availabilitySetName The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
* @property virtualMachines The list of virtual machine naming details.
*/
public data class ApplicationServerFullResourceNamesArgs(
public val availabilitySetName: Output? = null,
public val virtualMachines: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.workloads.inputs.ApplicationServerFullResourceNamesArgs =
com.pulumi.azurenative.workloads.inputs.ApplicationServerFullResourceNamesArgs.builder()
.availabilitySetName(availabilitySetName?.applyValue({ args0 -> args0 }))
.virtualMachines(
virtualMachines?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ApplicationServerFullResourceNamesArgs].
*/
@PulumiTagMarker
public class ApplicationServerFullResourceNamesArgsBuilder internal constructor() {
private var availabilitySetName: Output? = null
private var virtualMachines: Output>? = null
/**
* @param value The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
*/
@JvmName("pekgggyhlofvsdxr")
public suspend fun availabilitySetName(`value`: Output) {
this.availabilitySetName = value
}
/**
* @param value The list of virtual machine naming details.
*/
@JvmName("khctlkntgttyuouo")
public suspend fun virtualMachines(`value`: Output>) {
this.virtualMachines = value
}
@JvmName("gptbotahtlayviap")
public suspend fun virtualMachines(vararg values: Output) {
this.virtualMachines = Output.all(values.asList())
}
/**
* @param values The list of virtual machine naming details.
*/
@JvmName("lsqplhftgchmehau")
public suspend fun virtualMachines(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy