LinuxParameters Class
- java.
lang. Object - com.
azure. resourcemanager. connectedvmware. models. LinuxParameters
- com.
public final class LinuxParameters
Input for InstallPatches on a Linux VM, as directly received by the API.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| LinuxParameters() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<VMGuest |
classificationsToInclude()
Get the classifications |
| List<String> |
packageNameMasksToExclude()
Get the package |
| List<String> |
packageNameMasksToInclude()
Get the package |
| void |
validate()
Validates the instance. |
|
Linux |
withClassificationsToInclude(List<VMGuestPatchClassificationLinux> classificationsToInclude)
Set the classifications |
|
Linux |
withPackageNameMasksToExclude(List<String> packageNameMasksToExclude)
Set the package |
|
Linux |
withPackageNameMasksToInclude(List<String> packageNameMasksToInclude)
Set the package |
Methods inherited from java.lang.Object
Constructor Details
LinuxParameters
public LinuxParameters()
Method Details
classificationsToInclude
public List<VMGuestPatchClassificationLinux> classificationsToInclude()
Get the classificationsToInclude property: The update classifications to select when installing patches for Linux.
Returns:
packageNameMasksToExclude
public List<String> packageNameMasksToExclude()
Get the packageNameMasksToExclude property: packages to exclude in the patch operation. Format: packageName_packageVersion.
Returns:
packageNameMasksToInclude
public List<String> packageNameMasksToInclude()
Get the packageNameMasksToInclude property: packages to include in the patch operation. Format: packageName_packageVersion.
Returns:
validate
public void validate()
Validates the instance.
withClassificationsToInclude
public LinuxParameters withClassificationsToInclude(List<VMGuestPatchClassificationLinux> classificationsToInclude)
Set the classificationsToInclude property: The update classifications to select when installing patches for Linux.
Parameters:
Returns:
withPackageNameMasksToExclude
public LinuxParameters withPackageNameMasksToExclude(List<String> packageNameMasksToExclude)
Set the packageNameMasksToExclude property: packages to exclude in the patch operation. Format: packageName_packageVersion.
Parameters:
Returns:
withPackageNameMasksToInclude
public LinuxParameters withPackageNameMasksToInclude(List<String> packageNameMasksToInclude)
Set the packageNameMasksToInclude property: packages to include in the patch operation. Format: packageName_packageVersion.
Parameters:
Returns: