Class LinuxParameters
java.lang.Object
com.microsoft.azure.management.compute.LinuxParameters
Input for InstallPatches on a Linux VM, as directly received by the API.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the update classifications to select when installing patches for Linux.Get this is used as a maintenance run identifier for Auto VM Guest Patching in Linux.Get packages to exclude in the patch operation.Get packages to include in the patch operation.withClassificationsToInclude
(List<VMGuestPatchClassificationLinux> classificationsToInclude) Set the update classifications to select when installing patches for Linux.withMaintenanceRunId
(String maintenanceRunId) Set this is used as a maintenance run identifier for Auto VM Guest Patching in Linux.withPackageNameMasksToExclude
(List<String> packageNameMasksToExclude) Set packages to exclude in the patch operation.withPackageNameMasksToInclude
(List<String> packageNameMasksToInclude) Set packages to include in the patch operation.
-
Constructor Details
-
LinuxParameters
public LinuxParameters()
-
-
Method Details
-
classificationsToInclude
Get the update classifications to select when installing patches for Linux.- Returns:
- the classificationsToInclude value
-
withClassificationsToInclude
public LinuxParameters withClassificationsToInclude(List<VMGuestPatchClassificationLinux> classificationsToInclude) Set the update classifications to select when installing patches for Linux.- Parameters:
classificationsToInclude
- the classificationsToInclude value to set- Returns:
- the LinuxParameters object itself.
-
packageNameMasksToInclude
Get packages to include in the patch operation. Format: packageName_packageVersion.- Returns:
- the packageNameMasksToInclude value
-
withPackageNameMasksToInclude
Set packages to include in the patch operation. Format: packageName_packageVersion.- Parameters:
packageNameMasksToInclude
- the packageNameMasksToInclude value to set- Returns:
- the LinuxParameters object itself.
-
packageNameMasksToExclude
Get packages to exclude in the patch operation. Format: packageName_packageVersion.- Returns:
- the packageNameMasksToExclude value
-
withPackageNameMasksToExclude
Set packages to exclude in the patch operation. Format: packageName_packageVersion.- Parameters:
packageNameMasksToExclude
- the packageNameMasksToExclude value to set- Returns:
- the LinuxParameters object itself.
-
maintenanceRunId
Get this is used as a maintenance run identifier for Auto VM Guest Patching in Linux.- Returns:
- the maintenanceRunId value
-
withMaintenanceRunId
Set this is used as a maintenance run identifier for Auto VM Guest Patching in Linux.- Parameters:
maintenanceRunId
- the maintenanceRunId value to set- Returns:
- the LinuxParameters object itself.
-