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

com.pulumi.googlenative.vmmigration.v1.kotlin.enums.ComputeSchedulingOnHostMaintenance.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.vmmigration.v1.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
 */
public enum class ComputeSchedulingOnHostMaintenance(
    public val javaValue: com.pulumi.googlenative.vmmigration.v1.enums.ComputeSchedulingOnHostMaintenance,
) :
    ConvertibleToJava {
    /**
     * An unknown, unexpected behavior.
     */
    OnHostMaintenanceUnspecified(com.pulumi.googlenative.vmmigration.v1.enums.ComputeSchedulingOnHostMaintenance.OnHostMaintenanceUnspecified),

    /**
     * Terminate the instance when the host machine undergoes maintenance.
     */
    Terminate(com.pulumi.googlenative.vmmigration.v1.enums.ComputeSchedulingOnHostMaintenance.Terminate),

    /**
     * Migrate the instance when the host machine undergoes maintenance.
     */
    Migrate(com.pulumi.googlenative.vmmigration.v1.enums.ComputeSchedulingOnHostMaintenance.Migrate),
    ;

    override fun toJava(): com.pulumi.googlenative.vmmigration.v1.enums.ComputeSchedulingOnHostMaintenance = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.vmmigration.v1.enums.ComputeSchedulingOnHostMaintenance): ComputeSchedulingOnHostMaintenance =
            ComputeSchedulingOnHostMaintenance.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy