com.pulumi.azurenative.avs.kotlin.inputs.ManagementClusterArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.avs.kotlin.inputs
import com.pulumi.azurenative.avs.inputs.ManagementClusterArgs.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 kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The properties of a management cluster
* @property clusterSize The cluster size
* @property hosts The hosts
*/
public data class ManagementClusterArgs(
public val clusterSize: Output,
public val hosts: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.avs.inputs.ManagementClusterArgs =
com.pulumi.azurenative.avs.inputs.ManagementClusterArgs.builder()
.clusterSize(clusterSize.applyValue({ args0 -> args0 }))
.hosts(hosts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ManagementClusterArgs].
*/
@PulumiTagMarker
public class ManagementClusterArgsBuilder internal constructor() {
private var clusterSize: Output? = null
private var hosts: Output>? = null
/**
* @param value The cluster size
*/
@JvmName("cyjlxiiptkcmjbxf")
public suspend fun clusterSize(`value`: Output) {
this.clusterSize = value
}
/**
* @param value The hosts
*/
@JvmName("hvkldrujflhxjavx")
public suspend fun hosts(`value`: Output>) {
this.hosts = value
}
@JvmName("cdxamdquvnstnegq")
public suspend fun hosts(vararg values: Output) {
this.hosts = Output.all(values.asList())
}
/**
* @param values The hosts
*/
@JvmName("douyqjcpwccfrubm")
public suspend fun hosts(values: List