com.pulumi.gcp.migrationcenter.kotlin.inputs.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @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 PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs(
public val commitmentPlan: Output? = null,
public val cpuOvercommitRatio: Output? = null,
public val memoryOvercommitRatio: Output? = null,
public val storageDeduplicationCompressionRatio: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs =
com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs.builder()
.commitmentPlan(commitmentPlan?.applyValue({ args0 -> args0 }))
.cpuOvercommitRatio(cpuOvercommitRatio?.applyValue({ args0 -> args0 }))
.memoryOvercommitRatio(memoryOvercommitRatio?.applyValue({ args0 -> args0 }))
.storageDeduplicationCompressionRatio(
storageDeduplicationCompressionRatio?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs].
*/
@PulumiTagMarker
public class PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgsBuilder internal constructor() {
private var commitmentPlan: Output? = null
private var cpuOvercommitRatio: Output? = null
private var memoryOvercommitRatio: Output? = null
private var storageDeduplicationCompressionRatio: Output? = null
/**
* @param value 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
*/
@JvmName("qijdhxehlprwvpoh")
public suspend fun commitmentPlan(`value`: Output) {
this.commitmentPlan = value
}
/**
* @param value CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
*/
@JvmName("btqgvbwekautbgsr")
public suspend fun cpuOvercommitRatio(`value`: Output) {
this.cpuOvercommitRatio = value
}
/**
* @param value Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
*/
@JvmName("svlhifrkdsympsca")
public suspend fun memoryOvercommitRatio(`value`: Output) {
this.memoryOvercommitRatio = value
}
/**
* @param value 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.
*/
@JvmName("ysggtuussbuvhsdf")
public suspend fun storageDeduplicationCompressionRatio(`value`: Output) {
this.storageDeduplicationCompressionRatio = value
}
/**
* @param value 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
*/
@JvmName("dsovyxsbxvqfltsm")
public suspend fun commitmentPlan(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.commitmentPlan = mapped
}
/**
* @param value CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
*/
@JvmName("eqlbbodajtclibhg")
public suspend fun cpuOvercommitRatio(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cpuOvercommitRatio = mapped
}
/**
* @param value Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
*/
@JvmName("kxevqtdqjtfixlql")
public suspend fun memoryOvercommitRatio(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.memoryOvercommitRatio = mapped
}
/**
* @param value 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.
*/
@JvmName("swaeoklstbpoqkqf")
public suspend fun storageDeduplicationCompressionRatio(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storageDeduplicationCompressionRatio = mapped
}
internal fun build(): PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs =
PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs(
commitmentPlan = commitmentPlan,
cpuOvercommitRatio = cpuOvercommitRatio,
memoryOvercommitRatio = memoryOvercommitRatio,
storageDeduplicationCompressionRatio = storageDeduplicationCompressionRatio,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy