Package com.azure.compute.batch.models
Class LoginMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LoginMode>
com.azure.compute.batch.models.LoginMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
LoginMode enums.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LoginMode
fromString
(String name) Creates or finds a LoginMode from its string representation.static Collection
<LoginMode> values()
Gets known LoginMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
BATCH
The LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes. -
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.Use thefromString(String)
factory method.Creates a new instance of LoginMode value.
-
-
Method Details
-
fromString
Creates or finds a LoginMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding LoginMode.
-
values
Gets known LoginMode values.- Returns:
- known LoginMode values.
-
fromString(String)
factory method.