com.pulumi.azure.mssql.kotlin.outputs.VirtualMachineSqlInstance.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.mssql.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property adhocWorkloadsOptimizationEnabled Specifies if the SQL Server is optimized for adhoc workloads. Possible values are `true` and `false`. Defaults to `false`.
* @property collation Collation of the SQL Server. Defaults to `SQL_Latin1_General_CP1_CI_AS`. Changing this forces a new resource to be created.
* @property instantFileInitializationEnabled Specifies if Instant File Initialization is enabled for the SQL Server. Possible values are `true` and `false`. Defaults to `false`. Changing this forces a new resource to be created.
* @property lockPagesInMemoryEnabled Specifies if Lock Pages in Memory is enabled for the SQL Server. Possible values are `true` and `false`. Defaults to `false`. Changing this forces a new resource to be created.
* @property maxDop Maximum Degree of Parallelism of the SQL Server. Possible values are between `0` and `32767`. Defaults to `0`.
* @property maxServerMemoryMb Maximum amount memory that SQL Server Memory Manager can allocate to the SQL Server process. Possible values are between `128` and `2147483647` Defaults to `2147483647`.
* @property minServerMemoryMb Minimum amount memory that SQL Server Memory Manager can allocate to the SQL Server process. Possible values are between `0` and `2147483647` Defaults to `0`.
* > **NOTE:** `max_server_memory_mb` must be greater than or equal to `min_server_memory_mb`
*/
public data class VirtualMachineSqlInstance(
public val adhocWorkloadsOptimizationEnabled: Boolean? = null,
public val collation: String? = null,
public val instantFileInitializationEnabled: Boolean? = null,
public val lockPagesInMemoryEnabled: Boolean? = null,
public val maxDop: Int? = null,
public val maxServerMemoryMb: Int? = null,
public val minServerMemoryMb: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.mssql.outputs.VirtualMachineSqlInstance):
VirtualMachineSqlInstance = VirtualMachineSqlInstance(
adhocWorkloadsOptimizationEnabled = javaType.adhocWorkloadsOptimizationEnabled().map({ args0 ->
args0
}).orElse(null),
collation = javaType.collation().map({ args0 -> args0 }).orElse(null),
instantFileInitializationEnabled = javaType.instantFileInitializationEnabled().map({ args0 ->
args0
}).orElse(null),
lockPagesInMemoryEnabled = javaType.lockPagesInMemoryEnabled().map({ args0 -> args0 }).orElse(null),
maxDop = javaType.maxDop().map({ args0 -> args0 }).orElse(null),
maxServerMemoryMb = javaType.maxServerMemoryMb().map({ args0 -> args0 }).orElse(null),
minServerMemoryMb = javaType.minServerMemoryMb().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy