Class LinuxVMGuestPatchMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LinuxVMGuestPatchMode>
com.azure.resourcemanager.compute.models.LinuxVMGuestPatchMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class LinuxVMGuestPatchMode
extends com.azure.core.util.ExpandableStringEnum<LinuxVMGuestPatchMode>
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 />
**ImageDefault** - The virtual machine's default patching configuration is used. <br /><br />
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property
provisionVMAgent must be true.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LinuxVMGuestPatchModeStatic value AutomaticByPlatform for LinuxVMGuestPatchMode.static final LinuxVMGuestPatchModeStatic value ImageDefault for LinuxVMGuestPatchMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LinuxVMGuestPatchModefromString(String name) Creates or finds a LinuxVMGuestPatchMode from its string representation.static Collection<LinuxVMGuestPatchMode> values()Gets known LinuxVMGuestPatchMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
IMAGE_DEFAULT
Static value ImageDefault for LinuxVMGuestPatchMode. -
AUTOMATIC_BY_PLATFORM
Static value AutomaticByPlatform for LinuxVMGuestPatchMode.
-
-
Constructor Details
-
LinuxVMGuestPatchMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of LinuxVMGuestPatchMode value.
-
-
Method Details
-
fromString
Creates or finds a LinuxVMGuestPatchMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LinuxVMGuestPatchMode.
-
values
Gets known LinuxVMGuestPatchMode values.- Returns:
- known LinuxVMGuestPatchMode values.
-
fromString(String)factory method.