com.pulumi.gcp.migrationcenter.kotlin.inputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs.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.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowedMachineSeries Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series.
* Structure is documented below.
*/
public data class
PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs(
public val allowedMachineSeries: Output>? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs =
com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs.builder()
.allowedMachineSeries(
allowedMachineSeries?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs].
*/
@PulumiTagMarker
public class
PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgsBuilder
internal constructor() {
private var allowedMachineSeries:
Output>? =
null
/**
* @param value Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series.
* Structure is documented below.
*/
@JvmName("wqlcooqccwsretfw")
public suspend fun allowedMachineSeries(`value`: Output>) {
this.allowedMachineSeries = value
}
@JvmName("sakkmxjwureaeoxq")
public suspend fun allowedMachineSeries(vararg values: Output) {
this.allowedMachineSeries = Output.all(values.asList())
}
/**
* @param values Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series.
* Structure is documented below.
*/
@JvmName("xjvynmnhpdecqtpb")
public suspend fun allowedMachineSeries(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy