WindowsConfiguration Class
- java.
lang. Object - com.
azure. compute. batch. models. WindowsConfiguration
- com.
Implements
public final class WindowsConfiguration
implements JsonSerializable<WindowsConfiguration>
Windows operating system settings to apply to the virtual machine.
Constructor Summary
| Constructor | Description |
|---|---|
| WindowsConfiguration() |
Creates an instance of Windows |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Windows |
fromJson(JsonReader jsonReader)
Reads an instance of Windows |
| Boolean |
isEnableAutomaticUpdates()
Get the enable |
|
Windows |
setEnableAutomaticUpdates(Boolean enableAutomaticUpdates)
Set the enable |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
WindowsConfiguration
public WindowsConfiguration()
Creates an instance of WindowsConfiguration class.
Method Details
fromJson
public static WindowsConfiguration fromJson(JsonReader jsonReader)
Reads an instance of WindowsConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
isEnableAutomaticUpdates
public Boolean isEnableAutomaticUpdates()
Get the enableAutomaticUpdates property: Whether automatic updates are enabled on the virtual machine. If omitted, the default value is true.
Returns:
setEnableAutomaticUpdates
public WindowsConfiguration setEnableAutomaticUpdates(Boolean enableAutomaticUpdates)
Set the enableAutomaticUpdates property: Whether automatic updates are enabled on the virtual machine. If omitted, the default value is true.
Parameters:
Returns: