com.pulumi.gcp.container.kotlin.outputs.ClusterNodePoolNodeConfigAdvancedMachineFeatures.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.container.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
/**
*
* @property enableNestedVirtualization Defines whether the instance should have nested virtualization enabled. Defaults to false.
* @property threadsPerCore The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
*/
public data class ClusterNodePoolNodeConfigAdvancedMachineFeatures(
public val enableNestedVirtualization: Boolean? = null,
public val threadsPerCore: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterNodePoolNodeConfigAdvancedMachineFeatures): ClusterNodePoolNodeConfigAdvancedMachineFeatures =
ClusterNodePoolNodeConfigAdvancedMachineFeatures(
enableNestedVirtualization = javaType.enableNestedVirtualization().map({ args0 ->
args0
}).orElse(null),
threadsPerCore = javaType.threadsPerCore(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy