![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.compute.kotlin.enums.WindowsVMGuestPatchMode.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.compute.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
*/
public enum class WindowsVMGuestPatchMode(
public val javaValue: com.pulumi.azurenative.compute.enums.WindowsVMGuestPatchMode,
) : ConvertibleToJava {
Manual(com.pulumi.azurenative.compute.enums.WindowsVMGuestPatchMode.Manual),
AutomaticByOS(com.pulumi.azurenative.compute.enums.WindowsVMGuestPatchMode.AutomaticByOS),
AutomaticByPlatform(com.pulumi.azurenative.compute.enums.WindowsVMGuestPatchMode.AutomaticByPlatform),
;
override fun toJava(): com.pulumi.azurenative.compute.enums.WindowsVMGuestPatchMode = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.compute.enums.WindowsVMGuestPatchMode): WindowsVMGuestPatchMode =
WindowsVMGuestPatchMode.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy