LinuxVMGuestPatchMode Class

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 LinuxVMGuestPatchMode AUTOMATIC_BY_PLATFORM

Static value AutomaticByPlatform for LinuxVMGuestPatchMode.

static final LinuxVMGuestPatchMode IMAGE_DEFAULT

Static value ImageDefault for LinuxVMGuestPatchMode.

Constructor Summary

Constructor Description
LinuxVMGuestPatchMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LinuxVMGuestPatchMode value.

Method Summary

Modifier and Type Method and Description
static LinuxVMGuestPatchMode fromString(String name)

Creates or finds a LinuxVMGuestPatchMode from its string representation.

static Collection<LinuxVMGuestPatchMode> values()

Gets known LinuxVMGuestPatchMode values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding LinuxVMGuestPatchMode.

values

public static Collection values()

Gets known LinuxVMGuestPatchMode values.

Returns:

known LinuxVMGuestPatchMode values.

Applies to