Class WindowsVMGuestPatchMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<WindowsVMGuestPatchMode>
com.azure.resourcemanager.compute.models.WindowsVMGuestPatchMode
public final class WindowsVMGuestPatchMode
extends com.azure.core.util.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.<br /><br /> Possible values are:<br /><br />
**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<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the
OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br />
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties
provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WindowsVMGuestPatchModeStatic value AutomaticByOS for WindowsVMGuestPatchMode.static final WindowsVMGuestPatchModeStatic value AutomaticByPlatform for WindowsVMGuestPatchMode.static final WindowsVMGuestPatchModeStatic value Manual for WindowsVMGuestPatchMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WindowsVMGuestPatchModefromString(String name) Creates or finds a WindowsVMGuestPatchMode from its string representation.static Collection<WindowsVMGuestPatchMode>values()Gets known WindowsVMGuestPatchMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
MANUAL
Static value Manual for WindowsVMGuestPatchMode. -
AUTOMATIC_BY_OS
Static value AutomaticByOS for WindowsVMGuestPatchMode. -
AUTOMATIC_BY_PLATFORM
Static value AutomaticByPlatform for WindowsVMGuestPatchMode.
-
-
Constructor Details
-
WindowsVMGuestPatchMode
public WindowsVMGuestPatchMode()
-
-
Method Details
-
fromString
Creates or finds a WindowsVMGuestPatchMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding WindowsVMGuestPatchMode.
-
values
Gets known WindowsVMGuestPatchMode values.- Returns:
- known WindowsVMGuestPatchMode values.
-