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