![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.desktopvirtualization.models.SessionState 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;
/**
* State of user session.
*/
public final class SessionState extends ExpandableStringEnum {
/**
* Static value Unknown for SessionState.
*/
public static final SessionState UNKNOWN = fromString("Unknown");
/**
* Static value Active for SessionState.
*/
public static final SessionState ACTIVE = fromString("Active");
/**
* Static value Disconnected for SessionState.
*/
public static final SessionState DISCONNECTED = fromString("Disconnected");
/**
* Static value Pending for SessionState.
*/
public static final SessionState PENDING = fromString("Pending");
/**
* Static value LogOff for SessionState.
*/
public static final SessionState LOG_OFF = fromString("LogOff");
/**
* Static value UserProfileDiskMounted for SessionState.
*/
public static final SessionState USER_PROFILE_DISK_MOUNTED = fromString("UserProfileDiskMounted");
/**
* Creates a new instance of SessionState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public SessionState() {
}
/**
* Creates or finds a SessionState from its string representation.
*
* @param name a name to look for.
* @return the corresponding SessionState.
*/
public static SessionState fromString(String name) {
return fromString(name, SessionState.class);
}
/**
* Gets known SessionState values.
*
* @return known SessionState values.
*/
public static Collection values() {
return values(SessionState.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy