Class OSVersionPropertiesBase
java.lang.Object
com.azure.resourcemanager.compute.models.OSVersionPropertiesBase
Configuration view of an OS version.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OSVersionPropertiesBase class. -
Method Summary
Modifier and TypeMethodDescriptionisActive()Get the isActive property: Specifies whether this OS version is active.Get the isDefault property: Specifies whether this is the default OS version for its family.label()Get the label property: The OS version label.voidvalidate()Validates the instance.version()Get the version property: The OS version.
-
Constructor Details
-
OSVersionPropertiesBase
public OSVersionPropertiesBase()Creates an instance of OSVersionPropertiesBase class.
-
-
Method Details
-
version
Get the version property: The OS version.- Returns:
- the version value.
-
label
Get the label property: The OS version label.- Returns:
- the label value.
-
isDefault
Get the isDefault property: Specifies whether this is the default OS version for its family.- Returns:
- the isDefault value.
-
isActive
Get the isActive property: Specifies whether this OS version is active.- Returns:
- the isActive value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-