LinuxVMGuestPatchAutomaticByPlatformSettings Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. LinuxVMGuestPatchAutomaticByPlatformSettings
- com.
Implements
public final class LinuxVMGuestPatchAutomaticByPlatformSettings
implements JsonSerializable<LinuxVMGuestPatchAutomaticByPlatformSettings>
Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.
Constructor Summary
Constructor | Description |
---|---|
LinuxVMGuestPatchAutomaticByPlatformSettings() |
Creates an instance of Linux |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
bypassPlatformSafetyChecksOnUserSchedule()
Get the bypass |
static
Linux |
fromJson(JsonReader jsonReader)
Reads an instance of Linux |
Linux |
rebootSetting()
Get the reboot |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Linux |
withBypassPlatformSafetyChecksOnUserSchedule(Boolean bypassPlatformSafetyChecksOnUserSchedule)
Set the bypass |
Linux |
withRebootSetting(LinuxVMGuestPatchAutomaticByPlatformRebootSetting rebootSetting)
Set the reboot |
Methods inherited from java.lang.Object
Constructor Details
LinuxVMGuestPatchAutomaticByPlatformSettings
public LinuxVMGuestPatchAutomaticByPlatformSettings()
Creates an instance of LinuxVMGuestPatchAutomaticByPlatformSettings class.
Method Details
bypassPlatformSafetyChecksOnUserSchedule
public Boolean bypassPlatformSafetyChecksOnUserSchedule()
Get the bypassPlatformSafetyChecksOnUserSchedule property: Enables customer to schedule patching without accidental upgrades.
Returns:
fromJson
public static LinuxVMGuestPatchAutomaticByPlatformSettings fromJson(JsonReader jsonReader)
Reads an instance of LinuxVMGuestPatchAutomaticByPlatformSettings from the JsonReader.
Parameters:
Returns:
Throws:
rebootSetting
public LinuxVMGuestPatchAutomaticByPlatformRebootSetting rebootSetting()
Get the rebootSetting property: Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBypassPlatformSafetyChecksOnUserSchedule
public LinuxVMGuestPatchAutomaticByPlatformSettings withBypassPlatformSafetyChecksOnUserSchedule(Boolean bypassPlatformSafetyChecksOnUserSchedule)
Set the bypassPlatformSafetyChecksOnUserSchedule property: Enables customer to schedule patching without accidental upgrades.
Parameters:
Returns:
withRebootSetting
public LinuxVMGuestPatchAutomaticByPlatformSettings withRebootSetting(LinuxVMGuestPatchAutomaticByPlatformRebootSetting rebootSetting)
Set the rebootSetting property: Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
Parameters:
Returns:
Applies to
Azure SDK for Java