![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.hybridnetwork.kotlin.inputs.AzureArcK8sClusterNFVIDetailsArgs.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.hybridnetwork.kotlin.inputs
import com.pulumi.azurenative.hybridnetwork.inputs.AzureArcK8sClusterNFVIDetailsArgs.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.jvm.JvmName
/**
* The AzureArcK8sCluster NFVI detail.
* @property customLocationReference The reference to the custom location.
* @property name Name of the nfvi.
* @property nfviType The NFVI type.
* Expected value is 'AzureArcKubernetes'.
*/
public data class AzureArcK8sClusterNFVIDetailsArgs(
public val customLocationReference: Output? = null,
public val name: Output? = null,
public val nfviType: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.hybridnetwork.inputs.AzureArcK8sClusterNFVIDetailsArgs =
com.pulumi.azurenative.hybridnetwork.inputs.AzureArcK8sClusterNFVIDetailsArgs.builder()
.customLocationReference(
customLocationReference?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.nfviType(nfviType.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureArcK8sClusterNFVIDetailsArgs].
*/
@PulumiTagMarker
public class AzureArcK8sClusterNFVIDetailsArgsBuilder internal constructor() {
private var customLocationReference: Output? = null
private var name: Output? = null
private var nfviType: Output? = null
/**
* @param value The reference to the custom location.
*/
@JvmName("ivylaiywqhfekmtp")
public suspend fun customLocationReference(`value`: Output) {
this.customLocationReference = value
}
/**
* @param value Name of the nfvi.
*/
@JvmName("akxoxovvbhblbakt")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The NFVI type.
* Expected value is 'AzureArcKubernetes'.
*/
@JvmName("gugfeomkebjmhsru")
public suspend fun nfviType(`value`: Output) {
this.nfviType = value
}
/**
* @param value The reference to the custom location.
*/
@JvmName("bwwybfanjhwfpsvs")
public suspend fun customLocationReference(`value`: ReferencedResourceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customLocationReference = mapped
}
/**
* @param argument The reference to the custom location.
*/
@JvmName("nwjvxxwvdatpioyn")
public suspend fun customLocationReference(argument: suspend ReferencedResourceArgsBuilder.() -> Unit) {
val toBeMapped = ReferencedResourceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.customLocationReference = mapped
}
/**
* @param value Name of the nfvi.
*/
@JvmName("wqnjjicssdvdqxpp")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The NFVI type.
* Expected value is 'AzureArcKubernetes'.
*/
@JvmName("dumcnhqkvhgugmai")
public suspend fun nfviType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.nfviType = mapped
}
internal fun build(): AzureArcK8sClusterNFVIDetailsArgs = AzureArcK8sClusterNFVIDetailsArgs(
customLocationReference = customLocationReference,
name = name,
nfviType = nfviType ?: throw PulumiNullFieldException("nfviType"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy