Expander Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. Expander
- com.
- com.
public final class Expander
extends ExpandableStringEnum<Expander>
The expander to use when scaling up If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md\#what-are-expanders) for more information.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final Expander |
LEAST_WASTE
Static value least-waste for Expander. |
static final Expander |
MOST_PODS
Static value most-pods for Expander. |
static final Expander |
PRIORITY
Static value priority for Expander. |
static final Expander |
RANDOM
Static value random for Expander. |
Constructor Summary
Constructor | Description |
---|---|
Expander() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Expander value. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Expander |
fromString(String name)
Creates or finds a Expander from its string representation. |
static Collection<Expander> |
values()
Gets known Expander values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
LEAST_WASTE
public static final Expander LEAST_WASTE
Static value least-waste for Expander.
MOST_PODS
public static final Expander MOST_PODS
Static value most-pods for Expander.
PRIORITY
public static final Expander PRIORITY
Static value priority for Expander.
RANDOM
public static final Expander RANDOM
Static value random for Expander.
Constructor Details
Expander
@Deprecated
public Expander()
Deprecated
Creates a new instance of Expander value.
Method Details
fromString
public static Expander fromString(String name)
Creates or finds a Expander from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known Expander values.
Returns:
Applies to
Azure SDK for Java