com.pulumi.gcp.vmwareengine.kotlin.inputs.PrivateCloudManagementClusterArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.vmwareengine.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.vmwareengine.inputs.PrivateCloudManagementClusterArgs.builder
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 clusterId The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
* * Only contains 1-63 alphanumeric characters and hyphens
* * Begins with an alphabetical character
* * Ends with a non-hyphen character
* * Not formatted as a UUID
* * Complies with RFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @property nodeTypeConfigs The map of cluster node types in this cluster,
* where the key is canonical identifier of the node type (corresponds to the NodeType).
* Structure is documented below.
* @property stretchedClusterConfig The stretched cluster configuration for the private cloud.
* Structure is documented below.
*/
public data class PrivateCloudManagementClusterArgs(
public val clusterId: Output,
public val nodeTypeConfigs: Output>? = null,
public val stretchedClusterConfig: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.vmwareengine.inputs.PrivateCloudManagementClusterArgs =
com.pulumi.gcp.vmwareengine.inputs.PrivateCloudManagementClusterArgs.builder()
.clusterId(clusterId.applyValue({ args0 -> args0 }))
.nodeTypeConfigs(
nodeTypeConfigs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.stretchedClusterConfig(
stretchedClusterConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [PrivateCloudManagementClusterArgs].
*/
@PulumiTagMarker
public class PrivateCloudManagementClusterArgsBuilder internal constructor() {
private var clusterId: Output? = null
private var nodeTypeConfigs: Output>? = null
private var stretchedClusterConfig:
Output? = null
/**
* @param value The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
* * Only contains 1-63 alphanumeric characters and hyphens
* * Begins with an alphabetical character
* * Ends with a non-hyphen character
* * Not formatted as a UUID
* * Complies with RFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
*/
@JvmName("glolxtaknqnqfpny")
public suspend fun clusterId(`value`: Output) {
this.clusterId = value
}
/**
* @param value The map of cluster node types in this cluster,
* where the key is canonical identifier of the node type (corresponds to the NodeType).
* Structure is documented below.
*/
@JvmName("nohcptctcmgcgcej")
public suspend fun nodeTypeConfigs(`value`: Output>) {
this.nodeTypeConfigs = value
}
@JvmName("esflrjrorrrpolmq")
public suspend fun nodeTypeConfigs(vararg values: Output) {
this.nodeTypeConfigs = Output.all(values.asList())
}
/**
* @param values The map of cluster node types in this cluster,
* where the key is canonical identifier of the node type (corresponds to the NodeType).
* Structure is documented below.
*/
@JvmName("brmvjseonyekkdpg")
public suspend fun nodeTypeConfigs(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy