Class Workload
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Workload>
com.azure.resourcemanager.subscription.models.Workload
The workload type of the subscription. It can be either Production or DevTest.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Workload
fromString
(String name) Creates or finds a Workload from its string representation.static Collection<Workload>
values()
Gets known Workload values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PRODUCTION
Static value Production for Workload. -
DEV_TEST
Static value DevTest for Workload.
-
-
Constructor Details
-
Workload
Deprecated.Use thefromString(String)
factory method.Creates a new instance of Workload value.
-
-
Method Details
-
fromString
Creates or finds a Workload from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding Workload.
-
values
Gets known Workload values.- Returns:
- known Workload values.
-
fromString(String)
factory method.