LinuxPatchAssessmentMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. LinuxPatchAssessmentMode
- com.
- com.
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
Linux |
AUTOMATIC_BY_PLATFORM
Static value Automatic |
static final
Linux |
IMAGE_DEFAULT
Static value Image |
Constructor Summary
Constructor | Description |
---|---|
LinuxPatchAssessmentMode() |
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 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
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:
Returns:
values
public static Collection
Gets known LinuxPatchAssessmentMode values.
Returns:
Applies to
Azure SDK for Java