Class VirtualMachineInstallPatchesParameters
java.lang.Object
com.microsoft.azure.management.compute.VirtualMachineInstallPatchesParameters
Input for InstallPatches as directly received by the API.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet input for InstallPatches on a Linux VM, as directly received by the API.Get specifies the maximum amount of time that the operation will run.Get defines when it is acceptable to reboot a VM during a software update operation.Get input for InstallPatches on a Windows VM, as directly received by the API.withLinuxParameters
(LinuxParameters linuxParameters) Set input for InstallPatches on a Linux VM, as directly received by the API.withMaximumDuration
(String maximumDuration) Set specifies the maximum amount of time that the operation will run.withRebootSetting
(VMGuestPatchRebootSetting rebootSetting) Set defines when it is acceptable to reboot a VM during a software update operation.withWindowsParameters
(WindowsParameters windowsParameters) Set input for InstallPatches on a Windows VM, as directly received by the API.
-
Constructor Details
-
VirtualMachineInstallPatchesParameters
public VirtualMachineInstallPatchesParameters()
-
-
Method Details
-
maximumDuration
Get specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours).- Returns:
- the maximumDuration value
-
withMaximumDuration
Set specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours).- Parameters:
maximumDuration
- the maximumDuration value to set- Returns:
- the VirtualMachineInstallPatchesParameters object itself.
-
rebootSetting
Get defines when it is acceptable to reboot a VM during a software update operation. Possible values include: 'IfRequired', 'Never', 'Always'.- Returns:
- the rebootSetting value
-
withRebootSetting
public VirtualMachineInstallPatchesParameters withRebootSetting(VMGuestPatchRebootSetting rebootSetting) Set defines when it is acceptable to reboot a VM during a software update operation. Possible values include: 'IfRequired', 'Never', 'Always'.- Parameters:
rebootSetting
- the rebootSetting value to set- Returns:
- the VirtualMachineInstallPatchesParameters object itself.
-
windowsParameters
Get input for InstallPatches on a Windows VM, as directly received by the API.- Returns:
- the windowsParameters value
-
withWindowsParameters
public VirtualMachineInstallPatchesParameters withWindowsParameters(WindowsParameters windowsParameters) Set input for InstallPatches on a Windows VM, as directly received by the API.- Parameters:
windowsParameters
- the windowsParameters value to set- Returns:
- the VirtualMachineInstallPatchesParameters object itself.
-
linuxParameters
Get input for InstallPatches on a Linux VM, as directly received by the API.- Returns:
- the linuxParameters value
-
withLinuxParameters
Set input for InstallPatches on a Linux VM, as directly received by the API.- Parameters:
linuxParameters
- the linuxParameters value to set- Returns:
- the VirtualMachineInstallPatchesParameters object itself.
-