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

com.pulumi.googlenative.compute.alpha.kotlin.enums.NodeGroupMaintenanceInterval.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.compute.alpha.kotlin.enums

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

/**
 * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
 */
public enum class NodeGroupMaintenanceInterval(
    public val javaValue: com.pulumi.googlenative.compute.alpha.enums.NodeGroupMaintenanceInterval,
) : ConvertibleToJava {
    /**
     * VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options.
     */
    AsNeeded(com.pulumi.googlenative.compute.alpha.enums.NodeGroupMaintenanceInterval.AsNeeded),

    /**
     * VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available.
     */
    Periodic(com.pulumi.googlenative.compute.alpha.enums.NodeGroupMaintenanceInterval.Periodic),

    /**
     * VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs.
     */
    Recurrent(com.pulumi.googlenative.compute.alpha.enums.NodeGroupMaintenanceInterval.Recurrent),
    ;

    override fun toJava(): com.pulumi.googlenative.compute.alpha.enums.NodeGroupMaintenanceInterval =
        javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.compute.alpha.enums.NodeGroupMaintenanceInterval): NodeGroupMaintenanceInterval =
            NodeGroupMaintenanceInterval.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy