MigStrategy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. MigStrategy
- com.
- com.
public final class MigStrategy
extends ExpandableStringEnum<MigStrategy>
Sets the MIG (Multi-Instance GPU) strategy that will be used for managed MIG support. For more information about the different strategies, visit aka.ms/aks/managed-gpu. When not specified, the default is None.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Mig |
MIXED
Set the MIG strategy for managed MIG as mixed. |
|
static final
Mig |
NONE
Don't set a MIG strategy. |
|
static final
Mig |
SINGLE
Set the MIG strategy for managed MIG as single. |
Constructor Summary
| Constructor | Description |
|---|---|
| MigStrategy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Mig |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Mig |
fromString(String name)
Creates or finds a Mig |
|
static
Collection<Mig |
values()
Gets known Mig |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
MIXED
public static final MigStrategy MIXED
Set the MIG strategy for managed MIG as mixed.
NONE
public static final MigStrategy NONE
Don't set a MIG strategy. If you previously had one set, this will override it and set remove the set MIG strategy.
SINGLE
public static final MigStrategy SINGLE
Set the MIG strategy for managed MIG as single.
Constructor Details
MigStrategy
@Deprecated
public MigStrategy()
Deprecated
Creates a new instance of MigStrategy value.
Method Details
fromString
public static MigStrategy fromString(String name)
Creates or finds a MigStrategy from its string representation.
Parameters:
Returns:
values
public static Collection<MigStrategy> values()
Gets known MigStrategy values.
Returns: