![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.networkcloud.kotlin.inputs.RackDefinitionArgs.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.networkcloud.kotlin.inputs
import com.pulumi.azurenative.networkcloud.inputs.RackDefinitionArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property availabilityZone The zone name used for this rack when created. Availability zones are used for workload placement.
* @property bareMetalMachineConfigurationData The unordered list of bare metal machine configuration.
* @property networkRackId The resource ID of the network rack that matches this rack definition.
* @property rackLocation The free-form description of the rack's location.
* @property rackSerialNumber The unique identifier for the rack within Network Cloud cluster. An alternate unique alphanumeric value other than a serial number may be provided if desired.
* @property rackSkuId The resource ID of the sku for the rack being added.
* @property storageApplianceConfigurationData The list of storage appliance configuration data for this rack.
*/
public data class RackDefinitionArgs(
public val availabilityZone: Output? = null,
public val bareMetalMachineConfigurationData: Output>? =
null,
public val networkRackId: Output,
public val rackLocation: Output? = null,
public val rackSerialNumber: Output,
public val rackSkuId: Output,
public val storageApplianceConfigurationData: Output>? =
null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.networkcloud.inputs.RackDefinitionArgs =
com.pulumi.azurenative.networkcloud.inputs.RackDefinitionArgs.builder()
.availabilityZone(availabilityZone?.applyValue({ args0 -> args0 }))
.bareMetalMachineConfigurationData(
bareMetalMachineConfigurationData?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.networkRackId(networkRackId.applyValue({ args0 -> args0 }))
.rackLocation(rackLocation?.applyValue({ args0 -> args0 }))
.rackSerialNumber(rackSerialNumber.applyValue({ args0 -> args0 }))
.rackSkuId(rackSkuId.applyValue({ args0 -> args0 }))
.storageApplianceConfigurationData(
storageApplianceConfigurationData?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
).build()
}
/**
* Builder for [RackDefinitionArgs].
*/
@PulumiTagMarker
public class RackDefinitionArgsBuilder internal constructor() {
private var availabilityZone: Output? = null
private var bareMetalMachineConfigurationData:
Output>? = null
private var networkRackId: Output? = null
private var rackLocation: Output? = null
private var rackSerialNumber: Output? = null
private var rackSkuId: Output? = null
private var storageApplianceConfigurationData:
Output>? = null
/**
* @param value The zone name used for this rack when created. Availability zones are used for workload placement.
*/
@JvmName("hgwvacwvjagdbyoh")
public suspend fun availabilityZone(`value`: Output) {
this.availabilityZone = value
}
/**
* @param value The unordered list of bare metal machine configuration.
*/
@JvmName("hsualmcyqndsuetk")
public suspend fun bareMetalMachineConfigurationData(`value`: Output>) {
this.bareMetalMachineConfigurationData = value
}
@JvmName("ynffsxyxxfhemxir")
public suspend fun bareMetalMachineConfigurationData(vararg values: Output) {
this.bareMetalMachineConfigurationData = Output.all(values.asList())
}
/**
* @param values The unordered list of bare metal machine configuration.
*/
@JvmName("txtehhntpwnjfkiq")
public suspend fun bareMetalMachineConfigurationData(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy