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>

public final class LoginMode extends com.azure.core.util.ExpandableStringEnum<LoginMode>
LoginMode enums.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final LoginMode
    The LOGON32_LOGON_BATCH Win32 login mode.
    static final LoginMode
    The LOGON32_LOGON_INTERACTIVE Win32 login mode.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static LoginMode
    Creates or finds a LoginMode from its string representation.
    Gets known LoginMode values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

  • Method Details

    • fromString

      public static LoginMode fromString(String name)
      Creates or finds a LoginMode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding LoginMode.
    • values

      public static Collection<LoginMode> values()
      Gets known LoginMode values.
      Returns:
      known LoginMode values.