RollingUpgradeMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. servicefabric. models. RollingUpgradeMode
- com.
- com.
public final class RollingUpgradeMode
extends ExpandableStringEnum<RollingUpgradeMode>
The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Rolling |
INVALID
Static value Invalid for Rolling |
|
static final
Rolling |
MONITORED
Static value Monitored for Rolling |
|
static final
Rolling |
UNMONITORED_AUTO
Static value Unmonitored |
|
static final
Rolling |
UNMONITORED_MANUAL
Static value Unmonitored |
Constructor Summary
| Constructor | Description |
|---|---|
| RollingUpgradeMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Rolling |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Rolling |
fromString(String name)
Creates or finds a Rolling |
|
static
Collection<Rolling |
values()
Gets known Rolling |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
INVALID
public static final RollingUpgradeMode INVALID
Static value Invalid for RollingUpgradeMode.
MONITORED
public static final RollingUpgradeMode MONITORED
Static value Monitored for RollingUpgradeMode.
UNMONITORED_AUTO
public static final RollingUpgradeMode UNMONITORED_AUTO
Static value UnmonitoredAuto for RollingUpgradeMode.
UNMONITORED_MANUAL
public static final RollingUpgradeMode UNMONITORED_MANUAL
Static value UnmonitoredManual for RollingUpgradeMode.
Constructor Details
RollingUpgradeMode
@Deprecated
public RollingUpgradeMode()
Deprecated
Creates a new instance of RollingUpgradeMode value.
Method Details
fromString
public static RollingUpgradeMode fromString(String name)
Creates or finds a RollingUpgradeMode from its string representation.
Parameters:
Returns:
values
public static Collection<RollingUpgradeMode> values()
Gets known RollingUpgradeMode values.
Returns: