Class StopHostsWhen
java.lang.Object
com.azure.core.util.ExpandableStringEnum<StopHostsWhen>
com.azure.resourcemanager.desktopvirtualization.models.StopHostsWhen
Specifies when to stop hosts during ramp down period.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StopHostsWhenStatic value ZeroActiveSessions for StopHostsWhen.static final StopHostsWhenStatic value ZeroSessions for StopHostsWhen. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StopHostsWhenfromString(String name) Creates or finds a StopHostsWhen from its string representation.static Collection<StopHostsWhen>values()Gets known StopHostsWhen values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ZERO_SESSIONS
Static value ZeroSessions for StopHostsWhen. -
ZERO_ACTIVE_SESSIONS
Static value ZeroActiveSessions for StopHostsWhen.
-
-
Constructor Details
-
StopHostsWhen
Deprecated.Use thefromString(String)factory method.Creates a new instance of StopHostsWhen value.
-
-
Method Details
-
fromString
Creates or finds a StopHostsWhen from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding StopHostsWhen.
-
values
Gets known StopHostsWhen values.- Returns:
- known StopHostsWhen values.
-
fromString(String)factory method.