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

com.pulumi.azure.compute.kotlin.outputs.LinuxVirtualMachineScaleSetAutomaticOsUpgradePolicy.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property disableAutomaticRollback Should automatic rollbacks be disabled?
 * @property enableAutomaticOsUpgrade Should OS Upgrades automatically be applied to Scale Set instances in a rolling fashion when a newer version of the OS Image becomes available?
 */
public data class LinuxVirtualMachineScaleSetAutomaticOsUpgradePolicy(
    public val disableAutomaticRollback: Boolean,
    public val enableAutomaticOsUpgrade: Boolean,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.compute.outputs.LinuxVirtualMachineScaleSetAutomaticOsUpgradePolicy):
            LinuxVirtualMachineScaleSetAutomaticOsUpgradePolicy =
            LinuxVirtualMachineScaleSetAutomaticOsUpgradePolicy(
                disableAutomaticRollback = javaType.disableAutomaticRollback(),
                enableAutomaticOsUpgrade = javaType.enableAutomaticOsUpgrade(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy