RepairAction Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. RepairAction
- com.
- com.
public final class RepairAction
extends ExpandableStringEnum<RepairAction>
Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Repair |
REIMAGE
Static value Reimage for Repair |
static final
Repair |
REPLACE
Static value Replace for Repair |
static final
Repair |
RESTART
Static value Restart for Repair |
Constructor Summary
Constructor | Description |
---|---|
RepairAction() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Repair |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Repair |
fromString(String name)
Creates or finds a Repair |
static
Collection<Repair |
values()
Gets known Repair |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
REIMAGE
public static final RepairAction REIMAGE
Static value Reimage for RepairAction.
REPLACE
public static final RepairAction REPLACE
Static value Replace for RepairAction.
RESTART
public static final RepairAction RESTART
Static value Restart for RepairAction.
Constructor Details
RepairAction
@Deprecated
public RepairAction()
Deprecated
Creates a new instance of RepairAction value.
Method Details
fromString
public static RepairAction fromString(String name)
Creates or finds a RepairAction from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known RepairAction values.
Returns:
Applies to
Azure SDK for Java