RebalanceBehavior Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. RebalanceBehavior
- com.
- com.
public final class RebalanceBehavior
extends 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
| Modifier and Type | Field and Description |
|---|---|
|
static final
Rebalance |
CREATE_BEFORE_DELETE
Static value Create |
Constructor Summary
| Constructor | Description |
|---|---|
| RebalanceBehavior() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Rebalance |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Rebalance |
fromString(String name)
Creates or finds a Rebalance |
|
static
Collection<Rebalance |
values()
Gets known Rebalance |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CREATE_BEFORE_DELETE
public static final RebalanceBehavior CREATE_BEFORE_DELETE
Static value CreateBeforeDelete for RebalanceBehavior.
Constructor Details
RebalanceBehavior
@Deprecated
public RebalanceBehavior()
Deprecated
Creates a new instance of RebalanceBehavior value.
Method Details
fromString
public static RebalanceBehavior fromString(String name)
Creates or finds a RebalanceBehavior from its string representation.
Parameters:
Returns:
values
public static Collection<RebalanceBehavior> values()
Gets known RebalanceBehavior values.
Returns: