OSFamilyProperties Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. OSFamilyProperties
- com.
Implements
public final class OSFamilyProperties
implements JsonSerializable<OSFamilyProperties>
OS family properties.
Constructor Summary
Constructor | Description |
---|---|
OSFamilyProperties() |
Creates an instance of OSFamily |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
OSFamily |
fromJson(JsonReader jsonReader)
Reads an instance of OSFamily |
String |
label()
Get the label property: The OS family label. |
String |
name()
Get the name property: The OS family name. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<OSVersion |
versions()
Get the versions property: List of OS versions belonging to this family. |
Methods inherited from java.lang.Object
Constructor Details
OSFamilyProperties
public OSFamilyProperties()
Creates an instance of OSFamilyProperties class.
Method Details
fromJson
public static OSFamilyProperties fromJson(JsonReader jsonReader)
Reads an instance of OSFamilyProperties from the JsonReader.
Parameters:
Returns:
Throws:
label
public String label()
Get the label property: The OS family label.
Returns:
name
public String name()
Get the name property: The OS family name.
Returns:
toJson
validate
public void validate()
Validates the instance.
versions
public List
Get the versions property: List of OS versions belonging to this family.
Returns:
Applies to
Azure SDK for Java