Class AutomaticOSUpgradeProperties

java.lang.Object
com.azure.resourcemanager.compute.models.AutomaticOSUpgradeProperties

public final class AutomaticOSUpgradeProperties extends Object
Describes automatic OS upgrade properties on the image.
  • Constructor Details

    • AutomaticOSUpgradeProperties

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

    • automaticOSUpgradeSupported

      public boolean automaticOSUpgradeSupported()
      Get the automaticOSUpgradeSupported property: Specifies whether automatic OS upgrade is supported on the image.
      Returns:
      the automaticOSUpgradeSupported value.
    • withAutomaticOSUpgradeSupported

      public AutomaticOSUpgradeProperties withAutomaticOSUpgradeSupported(boolean automaticOSUpgradeSupported)
      Set the automaticOSUpgradeSupported property: Specifies whether automatic OS upgrade is supported on the image.
      Parameters:
      automaticOSUpgradeSupported - the automaticOSUpgradeSupported value to set.
      Returns:
      the AutomaticOSUpgradeProperties object itself.
    • validate

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