LinuxVMGuestPatchMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. LinuxVMGuestPatchMode
- com.
- com.
public final class LinuxVMGuestPatchMode
extends 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.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Linux |
AUTOMATIC_BY_PLATFORM
Static value Automatic |
static final
Linux |
IMAGE_DEFAULT
Static value Image |
Constructor Summary
Constructor | Description |
---|---|
LinuxVMGuestPatchMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Linux |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Linux |
fromString(String name)
Creates or finds a Linux |
static
Collection<Linux |
values()
Gets known Linux |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUTOMATIC_BY_PLATFORM
public static final LinuxVMGuestPatchMode AUTOMATIC_BY_PLATFORM
Static value AutomaticByPlatform for LinuxVMGuestPatchMode.
IMAGE_DEFAULT
public static final LinuxVMGuestPatchMode IMAGE_DEFAULT
Static value ImageDefault for LinuxVMGuestPatchMode.
Constructor Details
LinuxVMGuestPatchMode
@Deprecated
public LinuxVMGuestPatchMode()
Deprecated
Creates a new instance of LinuxVMGuestPatchMode value.
Method Details
fromString
public static LinuxVMGuestPatchMode fromString(String name)
Creates or finds a LinuxVMGuestPatchMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known LinuxVMGuestPatchMode values.
Returns:
Applies to
Azure SDK for Java