Class RebalanceBehavior
java.lang.Object
com.azure.core.util.ExpandableStringEnum<RebalanceBehavior>
com.azure.resourcemanager.compute.models.RebalanceBehavior
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class RebalanceBehavior
extends com.azure.core.util.ExpandableStringEnum<RebalanceBehavior>
Type of rebalance behavior that will be used for recreating virtual machines in the scale set across availability
zones. Default and only supported value for now is CreateBeforeDelete.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RebalanceBehaviorStatic value CreateBeforeDelete for RebalanceBehavior. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RebalanceBehaviorfromString(String name) Creates or finds a RebalanceBehavior from its string representation.static Collection<RebalanceBehavior> values()Gets known RebalanceBehavior values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
CREATE_BEFORE_DELETE
Static value CreateBeforeDelete for RebalanceBehavior.
-
-
Constructor Details
-
RebalanceBehavior
Deprecated.Use thefromString(String)factory method.Creates a new instance of RebalanceBehavior value.
-
-
Method Details
-
fromString
Creates or finds a RebalanceBehavior from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding RebalanceBehavior.
-
values
Gets known RebalanceBehavior values.- Returns:
- known RebalanceBehavior values.
-
fromString(String)factory method.