InputPatchConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. maintenance. models. InputPatchConfiguration
- com.
public final class InputPatchConfiguration
Input configuration for a patch run.
Constructor Summary
| Constructor | Description |
|---|---|
| InputPatchConfiguration() |
Creates an instance of Input |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Input |
linuxParameters()
Get the linux |
|
Reboot |
rebootSetting()
Get the reboot |
| void |
validate()
Validates the instance. |
|
Input |
windowsParameters()
Get the windows |
|
Input |
withLinuxParameters(InputLinuxParameters linuxParameters)
Set the linux |
|
Input |
withRebootSetting(RebootOptions rebootSetting)
Set the reboot |
|
Input |
withWindowsParameters(InputWindowsParameters windowsParameters)
Set the windows |
Methods inherited from java.lang.Object
Constructor Details
InputPatchConfiguration
public InputPatchConfiguration()
Creates an instance of InputPatchConfiguration class.
Method Details
linuxParameters
public InputLinuxParameters linuxParameters()
Get the linuxParameters property: Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
Returns:
rebootSetting
public RebootOptions rebootSetting()
Get the rebootSetting property: Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
Returns:
validate
public void validate()
Validates the instance.
windowsParameters
public InputWindowsParameters windowsParameters()
Get the windowsParameters property: Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
Returns:
withLinuxParameters
public InputPatchConfiguration withLinuxParameters(InputLinuxParameters linuxParameters)
Set the linuxParameters property: Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
Parameters:
Returns:
withRebootSetting
public InputPatchConfiguration withRebootSetting(RebootOptions rebootSetting)
Set the rebootSetting property: Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
Parameters:
Returns:
withWindowsParameters
public InputPatchConfiguration withWindowsParameters(InputWindowsParameters windowsParameters)
Set the windowsParameters property: Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
Parameters:
Returns: