AutomaticOSUpgradeProperties Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. AutomaticOSUpgradeProperties
- com.
Implements
public final class AutomaticOSUpgradeProperties
implements JsonSerializable<AutomaticOSUpgradeProperties>
Describes automatic OS upgrade properties on the image.
Constructor Summary
Constructor | Description |
---|---|
AutomaticOSUpgradeProperties() |
Creates an instance of Automatic |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
automaticOSUpgradeSupported()
Get the automatic |
static
Automatic |
fromJson(JsonReader jsonReader)
Reads an instance of Automatic |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Automatic |
withAutomaticOSUpgradeSupported(boolean automaticOSUpgradeSupported)
Set the automatic |
Methods inherited from java.lang.Object
Constructor Details
AutomaticOSUpgradeProperties
public AutomaticOSUpgradeProperties()
Creates an instance of AutomaticOSUpgradeProperties class.
Method Details
automaticOSUpgradeSupported
public boolean automaticOSUpgradeSupported()
Get the automaticOSUpgradeSupported property: Specifies whether automatic OS upgrade is supported on the image.
Returns:
fromJson
public static AutomaticOSUpgradeProperties fromJson(JsonReader jsonReader)
Reads an instance of AutomaticOSUpgradeProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAutomaticOSUpgradeSupported
public AutomaticOSUpgradeProperties withAutomaticOSUpgradeSupported(boolean automaticOSUpgradeSupported)
Set the automaticOSUpgradeSupported property: Specifies whether automatic OS upgrade is supported on the image.
Parameters:
Returns:
Applies to
Azure SDK for Java