com.pulumi.gcp.migrationcenter.kotlin.outputs.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences.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.migrationcenter.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
*
* @property commitmentPlan Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
* Possible values:
* COMMITMENT_PLAN_UNSPECIFIED
* ON_DEMAND
* COMMITMENT_1_YEAR_MONTHLY_PAYMENTS
* COMMITMENT_3_YEAR_MONTHLY_PAYMENTS
* COMMITMENT_1_YEAR_UPFRONT_PAYMENT
* COMMITMENT_3_YEAR_UPFRONT_PAYMENT
* @property cpuOvercommitRatio CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
* @property memoryOvercommitRatio Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
* @property storageDeduplicationCompressionRatio The Deduplication and Compression ratio is based on the logical (Used Before) space required to store data before applying deduplication and compression, in relation to the physical (Used After) space required after applying deduplication and compression. Specifically, the ratio is the Used Before space divided by the Used After space. For example, if the Used Before space is 3 GB, but the physical Used After space is 1 GB, the deduplication and compression ratio is 3x. Acceptable values are between 1.0 and 4.0.
*/
public data class PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences(
public val commitmentPlan: String? = null,
public val cpuOvercommitRatio: Double? = null,
public val memoryOvercommitRatio: Double? = null,
public val storageDeduplicationCompressionRatio: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.migrationcenter.outputs.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences): PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences =
PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences(
commitmentPlan = javaType.commitmentPlan().map({ args0 -> args0 }).orElse(null),
cpuOvercommitRatio = javaType.cpuOvercommitRatio().map({ args0 -> args0 }).orElse(null),
memoryOvercommitRatio = javaType.memoryOvercommitRatio().map({ args0 -> args0 }).orElse(null),
storageDeduplicationCompressionRatio = javaType.storageDeduplicationCompressionRatio().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy