WindowsPatchAssessmentMode Class

public final class WindowsPatchAssessmentMode
extends ExpandableStringEnum<WindowsPatchAssessmentMode>

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

Static value AutomaticByPlatform for WindowsPatchAssessmentMode.

static final WindowsPatchAssessmentMode IMAGE_DEFAULT

Static value ImageDefault for WindowsPatchAssessmentMode.

Constructor Summary

Constructor Description
WindowsPatchAssessmentMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WindowsPatchAssessmentMode value.

Method Summary

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

Creates or finds a WindowsPatchAssessmentMode from its string representation.

static Collection<WindowsPatchAssessmentMode> values()

Gets known WindowsPatchAssessmentMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUTOMATIC_BY_PLATFORM

public static final WindowsPatchAssessmentMode AUTOMATIC_BY_PLATFORM

Static value AutomaticByPlatform for WindowsPatchAssessmentMode.

IMAGE_DEFAULT

public static final WindowsPatchAssessmentMode IMAGE_DEFAULT

Static value ImageDefault for WindowsPatchAssessmentMode.

Constructor Details

WindowsPatchAssessmentMode

@Deprecated
public WindowsPatchAssessmentMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WindowsPatchAssessmentMode value.

Method Details

fromString

public static WindowsPatchAssessmentMode fromString(String name)

Creates or finds a WindowsPatchAssessmentMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WindowsPatchAssessmentMode.

values

public static Collection values()

Gets known WindowsPatchAssessmentMode values.

Returns:

known WindowsPatchAssessmentMode values.

Applies to