LoginMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. LoginMode
- com.
- com.
public final class LoginMode
extends ExpandableStringEnum<LoginMode>
LoginMode enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Login |
BATCH
The LOGON32_LOGON_BATCH Win32 login mode. |
|
static final
Login |
INTERACTIVE
The LOGON32_LOGON_INTERACTIVE Win32 login mode. |
Constructor Summary
| Constructor | Description |
|---|---|
| LoginMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Login |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Login |
fromString(String name)
Creates or finds a Login |
|
static
Collection<Login |
values()
Gets known Login |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BATCH
public static final LoginMode BATCH
The LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.
INTERACTIVE
public static final LoginMode INTERACTIVE
The LOGON32_LOGON_INTERACTIVE Win32 login mode. UAC is enabled on Windows VirtualMachineConfiguration Pools. If this option is used with an elevated user identity in a Windows VirtualMachineConfiguration Pool, the user session will not be elevated unless the application executed by the Task command line is configured to always require administrative privilege or to always require maximum privilege.
Constructor Details
LoginMode
@Deprecated
public LoginMode()
Deprecated
Creates a new instance of LoginMode value.
Method Details
fromString
public static LoginMode fromString(String name)
Creates or finds a LoginMode from its string representation.
Parameters:
Returns:
values
public static Collection<LoginMode> values()
Gets known LoginMode values.
Returns: