Class WindowsParameters

java.lang.Object
com.azure.resourcemanager.connectedvmware.models.WindowsParameters

public final 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 classificationsToInclude property: The update classifications to select when installing patches for Windows.
      Returns:
      the classificationsToInclude value.
    • withClassificationsToInclude

      public WindowsParameters withClassificationsToInclude(List<VMGuestPatchClassificationWindows> classificationsToInclude)
      Set the classificationsToInclude property: 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 the kbNumbersToInclude property: Kbs to include in the patch operation.
      Returns:
      the kbNumbersToInclude value.
    • withKbNumbersToInclude

      public WindowsParameters withKbNumbersToInclude(List<String> kbNumbersToInclude)
      Set the kbNumbersToInclude property: 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 the kbNumbersToExclude property: Kbs to exclude in the patch operation.
      Returns:
      the kbNumbersToExclude value.
    • withKbNumbersToExclude

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

      public Boolean excludeKbsRequiringReboot()
      Get the excludeKbsRequiringReboot property: 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 the excludeKbsRequiringReboot property: 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 OffsetDateTime maxPatchPublishDate()
      Get the maxPatchPublishDate property: 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(OffsetDateTime maxPatchPublishDate)
      Set the maxPatchPublishDate property: 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.
    • validate

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