Workload Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. subscription. models. Workload
- com.
- com.
public final class Workload
extends ExpandableStringEnum<Workload>
The workload type of the subscription. It can be either Production or DevTest.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final Workload |
DEV_TEST
Static value Dev |
| static final Workload |
PRODUCTION
Static value Production for Workload. |
Constructor Summary
| Constructor | Description |
|---|---|
| Workload() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Workload value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Workload |
fromString(String name)
Creates or finds a Workload from its string representation. |
| static Collection<Workload> |
values()
Gets known Workload values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DEV_TEST
public static final Workload DEV_TEST
Static value DevTest for Workload.
PRODUCTION
public static final Workload PRODUCTION
Static value Production for Workload.
Constructor Details
Workload
@Deprecated
public Workload()
Deprecated
Creates a new instance of Workload value.
Method Details
fromString
public static Workload fromString(String name)
Creates or finds a Workload from its string representation.
Parameters:
Returns:
values
public static Collection<Workload> values()
Gets known Workload values.
Returns: