Class AutoUpgradeOptions
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AutoUpgradeOptions>
com.azure.resourcemanager.hybridcontainerservice.models.AutoUpgradeOptions
public final class AutoUpgradeOptions
extends com.azure.core.util.ExpandableStringEnum<AutoUpgradeOptions>
Indicates whether the Arc agents on the provisioned clusters be upgraded automatically to the latest version.
Defaults to Enabled.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AutoUpgradeOptions
Static value Disabled for AutoUpgradeOptions.static final AutoUpgradeOptions
Static value Enabled for AutoUpgradeOptions. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AutoUpgradeOptions
fromString
(String name) Creates or finds a AutoUpgradeOptions from its string representation.static Collection<AutoUpgradeOptions>
values()
Gets known AutoUpgradeOptions values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for AutoUpgradeOptions. -
DISABLED
Static value Disabled for AutoUpgradeOptions.
-
-
Constructor Details
-
AutoUpgradeOptions
public AutoUpgradeOptions()
-
-
Method Details
-
fromString
Creates or finds a AutoUpgradeOptions from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AutoUpgradeOptions.
-
values
Gets known AutoUpgradeOptions values.- Returns:
- known AutoUpgradeOptions values.
-