LinuxParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.connectedvmware.models.LinuxParameters

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<VMGuestPatchClassificationLinux> classificationsToInclude()

Get the classificationsToInclude property: The update classifications to select when installing patches for Linux.

List<String> packageNameMasksToExclude()

Get the packageNameMasksToExclude property: packages to exclude in the patch operation.

List<String> packageNameMasksToInclude()

Get the packageNameMasksToInclude property: packages to include in the patch operation.

void validate()

Validates the instance.

LinuxParameters withClassificationsToInclude(List<VMGuestPatchClassificationLinux> classificationsToInclude)

Set the classificationsToInclude property: The update classifications to select when installing patches for Linux.

LinuxParameters withPackageNameMasksToExclude(List<String> packageNameMasksToExclude)

Set the packageNameMasksToExclude property: packages to exclude in the patch operation.

LinuxParameters withPackageNameMasksToInclude(List<String> packageNameMasksToInclude)

Set the packageNameMasksToInclude property: packages to include in the patch operation.

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:

the classificationsToInclude value.

packageNameMasksToExclude

public List<String> packageNameMasksToExclude()

Get the packageNameMasksToExclude property: packages to exclude in the patch operation. Format: packageName_packageVersion.

Returns:

the packageNameMasksToExclude value.

packageNameMasksToInclude

public List<String> packageNameMasksToInclude()

Get the packageNameMasksToInclude property: packages to include in the patch operation. Format: packageName_packageVersion.

Returns:

the packageNameMasksToInclude value.

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:

classificationsToInclude - the classificationsToInclude value to set.

Returns:

the LinuxParameters object itself.

withPackageNameMasksToExclude

public LinuxParameters withPackageNameMasksToExclude(List<String> packageNameMasksToExclude)

Set the packageNameMasksToExclude property: packages to exclude in the patch operation. Format: packageName_packageVersion.

Parameters:

packageNameMasksToExclude - the packageNameMasksToExclude value to set.

Returns:

the LinuxParameters object itself.

withPackageNameMasksToInclude

public LinuxParameters withPackageNameMasksToInclude(List<String> packageNameMasksToInclude)

Set the packageNameMasksToInclude property: packages to include in the patch operation. Format: packageName_packageVersion.

Parameters:

packageNameMasksToInclude - the packageNameMasksToInclude value to set.

Returns:

the LinuxParameters object itself.

Applies to