WindowsPatchAssessmentMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. WindowsPatchAssessmentMode
- com.
- com.
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
Windows |
AUTOMATIC_BY_PLATFORM
Static value Automatic |
static final
Windows |
IMAGE_DEFAULT
Static value Image |
Constructor Summary
Constructor | Description |
---|---|
WindowsPatchAssessmentMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Windows |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Windows |
fromString(String name)
Creates or finds a Windows |
static
Collection<Windows |
values()
Gets known Windows |
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
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:
Returns:
values
public static Collection
Gets known WindowsPatchAssessmentMode values.
Returns:
Applies to
Azure SDK for Java