
com.pulumi.gcp.vmwareengine.kotlin.outputs.PrivateCloudManagementCluster.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.vmwareengine.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 PrivateCloudManagementCluster(
public val clusterId: String,
public val nodeTypeConfigs: List? = null,
public val stretchedClusterConfig: PrivateCloudManagementClusterStretchedClusterConfig? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.vmwareengine.outputs.PrivateCloudManagementCluster): PrivateCloudManagementCluster = PrivateCloudManagementCluster(
clusterId = javaType.clusterId(),
nodeTypeConfigs = javaType.nodeTypeConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vmwareengine.kotlin.outputs.PrivateCloudManagementClusterNodeTypeConfig.Companion.toKotlin(args0)
})
}),
stretchedClusterConfig = javaType.stretchedClusterConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vmwareengine.kotlin.outputs.PrivateCloudManagementClusterStretchedClusterConfig.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy