com.pulumi.gcp.migrationcenter.kotlin.inputs.PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs.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.PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property preferredRegions A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.
*/
public data class PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs(
public val preferredRegions: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs =
com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs.builder()
.preferredRegions(preferredRegions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs].
*/
@PulumiTagMarker
public class PreferenceSetVirtualMachinePreferencesRegionPreferencesArgsBuilder internal constructor() {
private var preferredRegions: Output>? = null
/**
* @param value A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.
*/
@JvmName("vyfytorrgtibekuw")
public suspend fun preferredRegions(`value`: Output>) {
this.preferredRegions = value
}
@JvmName("cvnmbcdktjlmljre")
public suspend fun preferredRegions(vararg values: Output) {
this.preferredRegions = Output.all(values.asList())
}
/**
* @param values A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.
*/
@JvmName("vgqeqbkvacjlmwdm")
public suspend fun preferredRegions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy