All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.migrationcenter.kotlin.outputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferences.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.migrationcenter.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property licenseType License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan.
 * Possible values:
 * LICENSE_TYPE_UNSPECIFIED
 * LICENSE_TYPE_DEFAULT
 * LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
 * @property machinePreferences The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions.
 * Structure is documented below.
 */
public data class PreferenceSetVirtualMachinePreferencesComputeEnginePreferences(
    public val licenseType: String? = null,
    public val machinePreferences: PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.migrationcenter.outputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferences): PreferenceSetVirtualMachinePreferencesComputeEnginePreferences =
            PreferenceSetVirtualMachinePreferencesComputeEnginePreferences(
                licenseType = javaType.licenseType().map({ args0 -> args0 }).orElse(null),
                machinePreferences = javaType.machinePreferences().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.migrationcenter.kotlin.outputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy