![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.desktopvirtualization.models.StopHostsWhen Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-desktopvirtualization Show documentation
Show all versions of azure-resourcemanager-desktopvirtualization Show documentation
This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2024-04.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.desktopvirtualization.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Specifies when to stop hosts during ramp down period.
*/
public final class StopHostsWhen extends ExpandableStringEnum {
/**
* Static value ZeroSessions for StopHostsWhen.
*/
public static final StopHostsWhen ZERO_SESSIONS = fromString("ZeroSessions");
/**
* Static value ZeroActiveSessions for StopHostsWhen.
*/
public static final StopHostsWhen ZERO_ACTIVE_SESSIONS = fromString("ZeroActiveSessions");
/**
* Creates a new instance of StopHostsWhen value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public StopHostsWhen() {
}
/**
* Creates or finds a StopHostsWhen from its string representation.
*
* @param name a name to look for.
* @return the corresponding StopHostsWhen.
*/
public static StopHostsWhen fromString(String name) {
return fromString(name, StopHostsWhen.class);
}
/**
* Gets known StopHostsWhen values.
*
* @return known StopHostsWhen values.
*/
public static Collection values() {
return values(StopHostsWhen.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy