Class WindowsParameters
java.lang.Object
com.microsoft.azure.management.compute.WindowsParameters
Input for InstallPatches on a Windows VM, as directly received by the API.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the update classifications to select when installing patches for Windows.Get filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true.Get kbs to exclude in the patch operation.Get kbs to include in the patch operation.org.joda.time.DateTime
Get this is used to install patches that were published on or before this given max published date.withClassificationsToInclude
(List<VMGuestPatchClassificationWindows> classificationsToInclude) Set the update classifications to select when installing patches for Windows.withExcludeKbsRequiringReboot
(Boolean excludeKbsRequiringReboot) Set filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true.withKbNumbersToExclude
(List<String> kbNumbersToExclude) Set kbs to exclude in the patch operation.withKbNumbersToInclude
(List<String> kbNumbersToInclude) Set kbs to include in the patch operation.withMaxPatchPublishDate
(org.joda.time.DateTime maxPatchPublishDate) Set this is used to install patches that were published on or before this given max published date.
-
Constructor Details
-
WindowsParameters
public WindowsParameters()
-
-
Method Details
-
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
Get kbs to include in the patch operation.- Returns:
- the kbNumbersToInclude value
-
withKbNumbersToInclude
Set kbs to include in the patch operation.- Parameters:
kbNumbersToInclude
- the kbNumbersToInclude value to set- Returns:
- the WindowsParameters object itself.
-
kbNumbersToExclude
Get kbs to exclude in the patch operation.- Returns:
- the kbNumbersToExclude value
-
withKbNumbersToExclude
Set kbs to exclude in the patch operation.- Parameters:
kbNumbersToExclude
- the kbNumbersToExclude value to set- Returns:
- the WindowsParameters object itself.
-
excludeKbsRequiringReboot
Get filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true.- Returns:
- the excludeKbsRequiringReboot value
-
withExcludeKbsRequiringReboot
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
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.
-