Class WindowsConfiguration
java.lang.Object
com.azure.resourcemanager.batch.models.WindowsConfiguration
Windows operating system settings to apply to the virtual machine.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the enableAutomaticUpdates property: Whether automatic updates are enabled on the virtual machine.void
validate()
Validates the instance.withEnableAutomaticUpdates
(Boolean enableAutomaticUpdates) Set the enableAutomaticUpdates property: Whether automatic updates are enabled on the virtual machine.
-
Constructor Details
-
WindowsConfiguration
public WindowsConfiguration()Creates an instance of WindowsConfiguration class.
-
-
Method Details
-
enableAutomaticUpdates
Get the enableAutomaticUpdates property: Whether automatic updates are enabled on the virtual machine.If omitted, the default value is true.
- Returns:
- the enableAutomaticUpdates value.
-
withEnableAutomaticUpdates
Set the enableAutomaticUpdates property: Whether automatic updates are enabled on the virtual machine.If omitted, the default value is true.
- Parameters:
enableAutomaticUpdates
- the enableAutomaticUpdates value to set.- Returns:
- the WindowsConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-