com.pulumi.gcp.sql.kotlin.outputs.DatabaseInstanceSettingsAdvancedMachineFeatures.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.sql.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property threadsPerCore The number of threads per core. The value of this flag can be 1 or 2. To disable SMT, set this flag to 1. Only available in Cloud SQL for SQL Server instances. See [smt](https://cloud.google.com/sql/docs/sqlserver/create-instance#smt-create-instance) for more details.
*/
public data class DatabaseInstanceSettingsAdvancedMachineFeatures(
public val threadsPerCore: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.DatabaseInstanceSettingsAdvancedMachineFeatures): DatabaseInstanceSettingsAdvancedMachineFeatures =
DatabaseInstanceSettingsAdvancedMachineFeatures(
threadsPerCore = javaType.threadsPerCore().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy