UpgradeMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. servicefabric. models. UpgradeMode
- com.
- com.
public final class UpgradeMode
extends ExpandableStringEnum<UpgradeMode>
The upgrade mode of the cluster when new Service Fabric runtime version is available.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Upgrade |
AUTOMATIC
Static value Automatic for Upgrade |
static final
Upgrade |
MANUAL
Static value Manual for Upgrade |
Constructor Summary
Constructor | Description |
---|---|
UpgradeMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Upgrade |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Upgrade |
fromString(String name)
Creates or finds a Upgrade |
static
Collection<Upgrade |
values()
Gets known Upgrade |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUTOMATIC
public static final UpgradeMode AUTOMATIC
Static value Automatic for UpgradeMode.
MANUAL
public static final UpgradeMode MANUAL
Static value Manual for UpgradeMode.
Constructor Details
UpgradeMode
@Deprecated
public UpgradeMode()
Deprecated
Creates a new instance of UpgradeMode value.
Method Details
fromString
public static UpgradeMode fromString(String name)
Creates or finds a UpgradeMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known UpgradeMode values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for