RebalanceStrategy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. RebalanceStrategy
- com.
- com.
public final class RebalanceStrategy
extends ExpandableStringEnum<RebalanceStrategy>
Type of rebalance strategy that will be used for rebalancing virtual machines in the scale set across availability zones. Default and only supported value for now is Recreate.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Rebalance |
RECREATE
Static value Recreate for Rebalance |
Constructor Summary
| Constructor | Description |
|---|---|
| RebalanceStrategy() |
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
RECREATE
public static final RebalanceStrategy RECREATE
Static value Recreate for RebalanceStrategy.
Constructor Details
RebalanceStrategy
@Deprecated
public RebalanceStrategy()
Deprecated
Creates a new instance of RebalanceStrategy value.
Method Details
fromString
public static RebalanceStrategy fromString(String name)
Creates or finds a RebalanceStrategy from its string representation.
Parameters:
Returns:
values
public static Collection<RebalanceStrategy> values()
Gets known RebalanceStrategy values.
Returns: