Class Scenario
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Scenario>
com.azure.resourcemanager.advisor.models.Scenario
Defines values for Scenario.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Scenario
fromString
(String name) Creates or finds a Scenario from its string representation.static Collection<Scenario>
values()
Gets known Scenario values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ALERTS
Static value Alerts for Scenario.
-
-
Constructor Details
-
Scenario
Deprecated.Use thefromString(String)
factory method.Creates a new instance of Scenario value.
-
-
Method Details
-
fromString
Creates or finds a Scenario from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding Scenario.
-
values
Gets known Scenario values.- Returns:
- known Scenario values.
-
fromString(String)
factory method.