Class WindowsConfiguration

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

public final class WindowsConfiguration extends Object
Windows operating system settings to apply to the virtual machine.
  • Constructor Details

    • WindowsConfiguration

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

    • enableAutomaticUpdates

      public Boolean enableAutomaticUpdates()
      Get the enableAutomaticUpdates property: Whether automatic updates are enabled on the virtual machine.

      If omitted, the default value is true.

      Returns:
      the enableAutomaticUpdates value.
    • withEnableAutomaticUpdates

      public WindowsConfiguration withEnableAutomaticUpdates(Boolean enableAutomaticUpdates)
      Set the enableAutomaticUpdates property: Whether automatic updates are enabled on the virtual machine.

      If omitted, the default value is true.

      Parameters:
      enableAutomaticUpdates - the enableAutomaticUpdates value to set.
      Returns:
      the WindowsConfiguration object itself.
    • validate

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