LinuxPatchAssessmentMode Class

public final class LinuxPatchAssessmentMode
extends ExpandableStringEnum<LinuxPatchAssessmentMode>

Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.

Field Summary

Modifier and Type Field and Description
static final LinuxPatchAssessmentMode AUTOMATIC_BY_PLATFORM

Static value AutomaticByPlatform for LinuxPatchAssessmentMode.

static final LinuxPatchAssessmentMode IMAGE_DEFAULT

Static value ImageDefault for LinuxPatchAssessmentMode.

Constructor Summary

Constructor Description
LinuxPatchAssessmentMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LinuxPatchAssessmentMode value.

Method Summary

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

Creates or finds a LinuxPatchAssessmentMode from its string representation.

static Collection<LinuxPatchAssessmentMode> values()

Gets known LinuxPatchAssessmentMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUTOMATIC_BY_PLATFORM

public static final LinuxPatchAssessmentMode AUTOMATIC_BY_PLATFORM

Static value AutomaticByPlatform for LinuxPatchAssessmentMode.

IMAGE_DEFAULT

public static final LinuxPatchAssessmentMode IMAGE_DEFAULT

Static value ImageDefault for LinuxPatchAssessmentMode.

Constructor Details

LinuxPatchAssessmentMode

@Deprecated
public LinuxPatchAssessmentMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LinuxPatchAssessmentMode value.

Method Details

fromString

public static LinuxPatchAssessmentMode fromString(String name)

Creates or finds a LinuxPatchAssessmentMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LinuxPatchAssessmentMode.

values

public static Collection values()

Gets known LinuxPatchAssessmentMode values.

Returns:

known LinuxPatchAssessmentMode values.

Applies to