Class WindowsParameters

java.lang.Object
com.microsoft.azure.management.compute.WindowsParameters

public class WindowsParameters extends Object
Input for InstallPatches on a Windows VM, as directly received by the API.
  • Constructor Details

    • WindowsParameters

      public WindowsParameters()
  • Method Details

    • classificationsToInclude

      public List<VMGuestPatchClassificationWindows> classificationsToInclude()
      Get the update classifications to select when installing patches for Windows.
      Returns:
      the classificationsToInclude value
    • withClassificationsToInclude

      public WindowsParameters withClassificationsToInclude(List<VMGuestPatchClassificationWindows> classificationsToInclude)
      Set the update classifications to select when installing patches for Windows.
      Parameters:
      classificationsToInclude - the classificationsToInclude value to set
      Returns:
      the WindowsParameters object itself.
    • kbNumbersToInclude

      public List<String> kbNumbersToInclude()
      Get kbs to include in the patch operation.
      Returns:
      the kbNumbersToInclude value
    • withKbNumbersToInclude

      public WindowsParameters withKbNumbersToInclude(List<String> kbNumbersToInclude)
      Set kbs to include in the patch operation.
      Parameters:
      kbNumbersToInclude - the kbNumbersToInclude value to set
      Returns:
      the WindowsParameters object itself.
    • kbNumbersToExclude

      public List<String> kbNumbersToExclude()
      Get kbs to exclude in the patch operation.
      Returns:
      the kbNumbersToExclude value
    • withKbNumbersToExclude

      public WindowsParameters withKbNumbersToExclude(List<String> kbNumbersToExclude)
      Set kbs to exclude in the patch operation.
      Parameters:
      kbNumbersToExclude - the kbNumbersToExclude value to set
      Returns:
      the WindowsParameters object itself.
    • excludeKbsRequiringReboot

      public Boolean excludeKbsRequiringReboot()
      Get filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true.
      Returns:
      the excludeKbsRequiringReboot value
    • withExcludeKbsRequiringReboot

      public WindowsParameters withExcludeKbsRequiringReboot(Boolean excludeKbsRequiringReboot)
      Set filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true.
      Parameters:
      excludeKbsRequiringReboot - the excludeKbsRequiringReboot value to set
      Returns:
      the WindowsParameters object itself.
    • maxPatchPublishDate

      public org.joda.time.DateTime maxPatchPublishDate()
      Get this is used to install patches that were published on or before this given max published date.
      Returns:
      the maxPatchPublishDate value
    • withMaxPatchPublishDate

      public WindowsParameters withMaxPatchPublishDate(org.joda.time.DateTime maxPatchPublishDate)
      Set this is used to install patches that were published on or before this given max published date.
      Parameters:
      maxPatchPublishDate - the maxPatchPublishDate value to set
      Returns:
      the WindowsParameters object itself.