OSVersionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. OSVersionProperties
- com.
Implements
public final class OSVersionProperties
implements JsonSerializable<OSVersionProperties>
OS version properties.
Constructor Summary
Constructor | Description |
---|---|
OSVersionProperties() |
Creates an instance of OSVersion |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
family()
Get the family property: The family of this OS version. |
String |
familyLabel()
Get the family |
static
OSVersion |
fromJson(JsonReader jsonReader)
Reads an instance of OSVersion |
Boolean |
isActive()
Get the is |
Boolean |
isDefault()
Get the is |
String |
label()
Get the label property: The OS version label. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: The OS version. |
Methods inherited from java.lang.Object
Constructor Details
OSVersionProperties
public OSVersionProperties()
Creates an instance of OSVersionProperties class.
Method Details
family
public String family()
Get the family property: The family of this OS version.
Returns:
familyLabel
public String familyLabel()
Get the familyLabel property: The family label of this OS version.
Returns:
fromJson
public static OSVersionProperties fromJson(JsonReader jsonReader)
Reads an instance of OSVersionProperties from the JsonReader.
Parameters:
Returns:
Throws:
isActive
public Boolean isActive()
Get the isActive property: Specifies whether this OS version is active.
Returns:
isDefault
public Boolean isDefault()
Get the isDefault property: Specifies whether this is the default OS version for its family.
Returns:
label
public String label()
Get the label property: The OS version label.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: The OS version.
Returns:
Applies to
Azure SDK for Java