StopHostsWhen Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. desktopvirtualization. models. StopHostsWhen
- com.
- com.
public final class StopHostsWhen
extends ExpandableStringEnum<StopHostsWhen>
Specifies when to stop hosts during ramp down period.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Stop |
ZERO_ACTIVE_SESSIONS
Static value Zero |
|
static final
Stop |
ZERO_SESSIONS
Static value Zero |
Constructor Summary
| Constructor | Description |
|---|---|
| StopHostsWhen() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Stop |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Stop |
fromString(String name)
Creates or finds a Stop |
|
static
Collection<Stop |
values()
Gets known Stop |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ZERO_ACTIVE_SESSIONS
public static final StopHostsWhen ZERO_ACTIVE_SESSIONS
Static value ZeroActiveSessions for StopHostsWhen.
ZERO_SESSIONS
public static final StopHostsWhen ZERO_SESSIONS
Static value ZeroSessions for StopHostsWhen.
Constructor Details
StopHostsWhen
@Deprecated
public StopHostsWhen()
Deprecated
Creates a new instance of StopHostsWhen value.
Method Details
fromString
public static StopHostsWhen fromString(String name)
Creates or finds a StopHostsWhen from its string representation.
Parameters:
Returns:
values
public static Collection<StopHostsWhen> values()
Gets known StopHostsWhen values.
Returns: