Class FunctionAppStackProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.FunctionAppStackProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FunctionAppStackProperties>
public final class FunctionAppStackProperties
extends Object
implements com.azure.json.JsonSerializable<FunctionAppStackProperties>
FunctionAppStack resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FunctionAppStackProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the displayText property: Function App stack (display only).static FunctionAppStackPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FunctionAppStackProperties from the JsonReader.Get the majorVersions property: List of major versions available.Get the preferredOs property: Function App stack preferred OS.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.value()Get the value property: Function App stack name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FunctionAppStackProperties
public FunctionAppStackProperties()Creates an instance of FunctionAppStackProperties class.
-
-
Method Details
-
displayText
Get the displayText property: Function App stack (display only).- Returns:
- the displayText value.
-
value
Get the value property: Function App stack name.- Returns:
- the value value.
-
majorVersions
Get the majorVersions property: List of major versions available.- Returns:
- the majorVersions value.
-
preferredOs
Get the preferredOs property: Function App stack preferred OS.- Returns:
- the preferredOs value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<FunctionAppStackProperties>- Throws:
IOException
-
fromJson
public static FunctionAppStackProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FunctionAppStackProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FunctionAppStackProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the FunctionAppStackProperties.
-