WindowsVMGuestPatchMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. WindowsVMGuestPatchMode
- com.
- com.
public final class WindowsVMGuestPatchMode
extends ExpandableStringEnum<WindowsVMGuestPatchMode>
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.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Windows |
AUTOMATIC_BY_OS
Static value Automatic |
static final
Windows |
AUTOMATIC_BY_PLATFORM
Static value Automatic |
static final
Windows |
MANUAL
Static value Manual for Windows |
Constructor Summary
Constructor | Description |
---|---|
WindowsVMGuestPatchMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Windows |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Windows |
fromString(String name)
Creates or finds a Windows |
static
Collection<Windows |
values()
Gets known Windows |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUTOMATIC_BY_OS
public static final WindowsVMGuestPatchMode AUTOMATIC_BY_OS
Static value AutomaticByOS for WindowsVMGuestPatchMode.
AUTOMATIC_BY_PLATFORM
public static final WindowsVMGuestPatchMode AUTOMATIC_BY_PLATFORM
Static value AutomaticByPlatform for WindowsVMGuestPatchMode.
MANUAL
public static final WindowsVMGuestPatchMode MANUAL
Static value Manual for WindowsVMGuestPatchMode.
Constructor Details
WindowsVMGuestPatchMode
@Deprecated
public WindowsVMGuestPatchMode()
Deprecated
Creates a new instance of WindowsVMGuestPatchMode value.
Method Details
fromString
public static WindowsVMGuestPatchMode fromString(String name)
Creates or finds a WindowsVMGuestPatchMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known WindowsVMGuestPatchMode values.
Returns:
Applies to
Azure SDK for Java