Class WindowsUserConfiguration

java.lang.Object
com.azure.resourcemanager.batch.models.WindowsUserConfiguration

public final class WindowsUserConfiguration extends Object
Properties used to create a user account on a Windows node.
  • Constructor Details

    • WindowsUserConfiguration

      public WindowsUserConfiguration()
      Creates an instance of WindowsUserConfiguration class.
  • Method Details

    • loginMode

      public LoginMode loginMode()
      Get the loginMode property: Login mode for user

      Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode.

      Returns:
      the loginMode value.
    • withLoginMode

      public WindowsUserConfiguration withLoginMode(LoginMode loginMode)
      Set the loginMode property: Login mode for user

      Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode.

      Parameters:
      loginMode - the loginMode value to set.
      Returns:
      the WindowsUserConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.